if (!defined("IN_FUSION")) { header("Location:../../index.php"); exit; } openside("Najnowsze fotki"); echo "
"; $result = dbquery("SELECT * FROM ".$db_prefix."photos ORDER BY photo_id DESC LIMIT 0,8"); if (dbrows($result) != 0) { while($data = dbarray($result)) { $itemsubject = trimlink($data['photo_id'], 23); $itemsubject = trimlink($data['photo_title'], 23); echo "$itemsubject\n"; } } else { echo "
".$locale['004']."
\n"; } echo "
"; closeside();