mirror of
https://git.code.sf.net/p/quake/website
synced 2024-11-30 16:01:24 +00:00
23 lines
559 B
PHP
23 lines
559 B
PHP
<?
|
|
$pageName = 'News Archives';
|
|
$currPage = 'news';
|
|
$modules = 'news_search'; // Modules to display
|
|
require "parts/preamble.php"; // Load most of document
|
|
?>
|
|
<DIV class="newsBox">
|
|
<DIV class="newsTitle"><H2>News Archives</H2></DIV>
|
|
<?
|
|
if ($month || $year) {
|
|
monthlyNews ($month, $year);
|
|
} else {
|
|
if ($string) {
|
|
searchNews ($string);
|
|
} else {
|
|
newsItem ('now', 'Web Server', 'Go ahead, tough guy...use one of the forms to search the old news.');
|
|
}
|
|
}
|
|
?>
|
|
</DIV>
|
|
<?
|
|
require "parts/postamble.php"; // Finish this sucker up
|
|
?>
|