"; $result2 = dbquery("SELECT * FROM ".$db_prefix."ug_photo_albums ORDER BY album_title ASC LIMIT 0,50"); if (dbrows($result2) != 0) { while($data2 = dbarray($result2)) { $itemsubject = trimlink($data2['album_title'], 30); echo "
$itemsubject
"; } } else { echo "
Brak Galerii
\n"; } echo ""; closetable(); require_once BASEDIR."footer.php"; ?>