25 header(
"Content-Type: text/html");
26 echo
"<html><head><title>" . htmlspecialchars(
$xoops->getConfig(
'sitename')) .
"</title>
27 <meta name='HandheldFriendly' content='True' />
28 <meta name='PalmComputingPlatform' content='True' />
32 $sql =
"SELECT storyid, title FROM " .
$xoopsDB->prefix(
"stories") .
" WHERE published>0 AND published<" . time() .
" ORDER BY published DESC";
36 echo
"An error occured";
38 echo
"<img src='images/logo.gif' alt='" . htmlspecialchars(
$xoops->getConfig(
'sitename'), ENT_QUOTES) .
"' border='0' /><br />";
39 echo
"<h2>" . htmlspecialchars(
$xoops->getConfig(
'slogan')) .
"</h2>";
42 echo
"<a href='" .
$xoops_url .
"/modules/news/print.php?storyid={$storyid}'>" . htmlspecialchars($title) .
"</a><br />";
46 echo
"</body></html>";
defined('DS') or define('DS' DIRECTORY_SEPARATOR