openside("Najnowsze Filmiki"); $result = dbquery("SELECT * FROM ".$db_prefix."photos ORDER BY photo_id DESC LIMIT 5"); echo 'Najnowsze Filmiki:
'; $rows = dbrows($result); if ($rows != 0) { while ($row = mysql_fetch_array($result)) { echo ' '.$row['photo_filename'].'
'; } } else { echo 'Obecnie nie ma nowych filmików.'; } echo '

'; closeside();