\n"; echo "\n"; echo " ".htmlspecialchars($sitename)."\n"; echo " \n"; echo " ".$modified."\n"; echo " ".$slogan."\n"; echo " tag:$domain,$year:/blog//1\n"; echo " Copyright (c), $year ".$domain."\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']; if ($informant == "") { $informant = $anonymous; } // 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 " \n"; echo " ".$date."\n"; echo " ".$date."\n"; echo " tag:$domain,$year:/blog//$rsid\n"; echo " ".$date."\n\n"; echo " ".$title."\n"; echo " \n"; echo " ".$informant."\n"; echo " ".$nukeurl."\n"; echo " ".$adminmail."\n"; echo " \n"; echo " ".$topicname."\n\n"; echo " \n"; echo " \n"; echo " \n"; echo " \n\n"; } echo "\n"; ?>