21 header(
"Content-Type: text/html");
22 echo
"<html><head><title>" . htmlspecialchars(
$xoopsConfig[
'sitename']) .
"</title>
23 <meta name='HandheldFriendly' content='True' />
24 <meta name='PalmComputingPlatform' content='True' />
28 $sql =
"SELECT storyid, title FROM " .
$xoopsDB->prefix(
"stories") .
" WHERE published>0 AND published<" . time() .
" ORDER BY published DESC";
32 echo
"An error occured";
34 echo
"<img src='images/logo.gif' alt='" . htmlspecialchars(
$xoopsConfig[
'sitename'], ENT_QUOTES) .
"' border='0' /><br />";
35 echo
"<h2>" . htmlspecialchars(
$xoopsConfig[
'slogan']) .
"</h2>";
38 echo
"<a href='" . XOOPS_URL .
"/modules/news/print.php?storyid=$storyid'>" . htmlspecialchars(
$title) .
"</a><br />";
42 echo
"</body></html>";