\n\n\n\n\n"; global $settings, $db_prefix; $result = dbquery("SELECT * FROM ".$db_prefix."news ORDER BY news_datestamp DESC LIMIT 0, 50"); $numrows = dbrows($result); echo "\n\n"; echo "\n"; echo "".htmlspecialchars($settings['sitename']).". ".$locale['rss_r103']."\n"; echo "".$settings['siteurl']."\n"; echo "".$settings['description']."\n"; echo " ".htmlspecialchars($settings['sitename'])." ".IMAGES."logo.png ".$settings['siteurl']." "; echo "ar-sa\n\n"; for ($i=0;$i < $numrows;$i++) { $data = dbarray($result); if ($data['news_breaks'] == "y") { $data['news_news'] = nl2br($data['news_news']); } echo "\n"; echo "".$data['news_subject']."\n"; echo "".stripslashes(htmlspecialchars($settings['siteurl']."news/index.php?more=".$data['news_id']))."\n"; echo "".stripslashes(htmlspecialchars($data['news_news']))."\n"; echo "".date("r",$data['news_datestamp'])."\n"; echo "".stripslashes(htmlspecialchars($settings['siteurl']."news/index.php?more=".$data['news_id']))."\n"; echo "\n\n"; } echo "\n"; echo ""; ?>