\n"; echo "\n\n"; echo "\n"; echo "".htmlspecialchars($sitename)."\n"; echo "".htmlspecialchars($nukeurl)."\n"; echo "".$slogan."\n"; echo "".$backend_language."\n"; echo "".$adminmail."\n"; echo "".$now."\n\n"; echo "hourly\n"; echo "1\n"; echo "".$now."\n\n"; $result = $db->sql_query("SELECT s.sid,t.topicname,s.informant,s.title,s.time,s.hometext FROM ".$prefix."_stories s, ".$prefix."_topics t where s.topic = t.topicid ORDER BY sid DESC LIMIT 10"); while ($row = $db->sql_fetchrow($result)) { $rsid = intval($row['sid']); $topicname = $row['topicname']; $informant = $row['informant']; $title = $row['title']; $time = $row['time']; $hometext = $row['hometext']; // format: 2004-08-02T12:15:23-06:00 $date = date("Y-m-d\TH:i:s", strtotime($time)); $date = $date . $gmtstr; echo "\n"; echo "".$title."\n"; echo "$nukeurl/modules.php?name=News&file=article&sid=$rsid\n"; echo "".htmlspecialchars($hometext)."\n"; echo "".$rsid."@".$nukeurl."\n"; echo "".$topicname."\n"; echo "".$date."\n"; echo "\n\n"; } echo "\n"; echo "\n"; ?>