if(FUSION_SELF == "index.php") { $result = dbquery("SELECT news_id, news_subject, news_id FROM ".$db_prefix."news ORDER BY news_id DESC LIMIT 15"); echo 'Ostatnie newsy:
'; $rows = dbrows($result); if ($rows != 0) { while ($row = mysql_fetch_array($result)) { echo ' '.$row['news_subject'].'
'; } } else { echo 'Brak danych do wyświetlenia w newsach'; } echo '

'; }