mirror of
https://git.code.sf.net/p/quake/website
synced 2024-11-27 22:42:57 +00:00
927f37abfc
I'm considering moving this into lib/news.php, once I get permission from Dan Olson to GPL his contributions to that file.
29 lines
758 B
PHP
29 lines
758 B
PHP
<?
|
|
$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"><?
|
|
tableBoxHeader( 'black', tableHeadColor );
|
|
tableTitle( $pageName, 1, tableHeadColor );
|
|
require ("news_funcs.php");
|
|
if ($month || $year) {
|
|
monthlyNews ($month, $year);
|
|
} else {
|
|
if ($string) {
|
|
searchNews ($string);
|
|
} else {
|
|
newsItem ('now', 'Web Server', "You didn't specify a search, giving up.");
|
|
}
|
|
}
|
|
tableBoxFooter ();
|
|
?></TD>
|
|
</TR>
|
|
</TABLE>
|
|
<!--NOSEARCH-->
|
|
<?
|
|
require("parts/postamble.php"); // Finish this sucker up
|
|
?>
|