Manage news

\n"; echo "
\n"; echo "\n"; echo "
\n"; $r = sqlSelect("news", "story != ''", "", "lastmod desc"); if ($r['n']) { echo "
Existing Stories
\n"; echo "\n"; while ($l = mysql_fetch_assoc($r['r'])) { echo " \n"; echo " \n"; echo " \n"; echo " \n"; } echo "
".substr($l['lastmod'], 0, 4).".".substr($l['lastmod'], 4, 2).".".substr($l['lastmod'], 6, 2)."@".substr($l['lastmod'], 8, 2).":".substr($l['lastmod'], 10, 2)."".substr(str_replace("\n", " ", stripslashes($l['story'])), 0, 50)."
\n"; } ?>