mirror of
https://git.code.sf.net/p/quake/website
synced 2024-11-24 05:01:23 +00:00
37 lines
956 B
PHP
37 lines
956 B
PHP
<?
|
|
$pageName = 'News Archives';
|
|
$focused = "none"; // Dock icon name to get a border
|
|
require "parts/preamble.php"; // Load most of document
|
|
need ("news");
|
|
?>
|
|
<TABLE width="100%" cellSpacing="2" cellPadding="0" border="0">
|
|
<TR vAlign="top">
|
|
<TD align="center" width="50%"><?
|
|
monthForm ($month, $year);
|
|
?></TD>
|
|
<TD align="center" width="50%"><?
|
|
keywordForm ($string);
|
|
?></TD>
|
|
</TR>
|
|
</TABLE>
|
|
<TABLE width="100%" cellSpacing="0" cellPadding="0" border="0">
|
|
<TR vAlign="top">
|
|
<TD align="center"><?
|
|
tableBoxHeader (featureBgColor, featureHeadColor);
|
|
tableTitle ($pageName, 1, featureHeadColor);
|
|
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>
|
|
<?
|
|
require "parts/postamble.php"; // Finish this sucker up
|
|
?>
|