website/old_news.php

31 lines
819 B
PHP
Raw Normal View History

2000-06-17 19:27:42 +00:00
<?
$pageName = 'News Archives';
$focused = "home"; // Dock icon name to get a border
require("parts/preamble.php"); // Load most of document
?>
<!--NOSEARCH-->
<TABLE width="100%" cellSpacing="0" cellPadding="0" border="0">
<TR vAlign="top">
<TD colSpan="2"><?
require ("lib/sql.php");
require ("news_funcs.php");
if ($month || $year) {
2000-06-17 19:44:10 +00:00
tableBoxHeader( 'black', tableHeadColor );
tableTitle( $pageName, 1, tableHeadColor );
monthlyNews ($month, $year);
tableBoxFooter ();
2000-06-17 19:27:42 +00:00
} else {
if ($string) {
searchNews ($string);
} else {
newsItem ('now', 'Web Server', "You didn't specify a search, giving up.");
}
}
?></TD>
</TR>
</TABLE>
<!--NOSEARCH-->
<?
require("parts/postamble.php"); // Finish this sucker up
?>