Delete the duplicate news archive page, fix monthly search for

the full range of project history.
This commit is contained in:
Jeff Teunissen 2007-03-09 18:56:34 +00:00
parent 4c73904770
commit dfabbe770f
2 changed files with 1 additions and 24 deletions

View file

@ -75,7 +75,7 @@ CREATE TABLE news_main (
<?
if ($year == "")
$year = date ('Y');
for ($i = 2006; $i <= date ('Y'); $i++ ) {
for ($i = 1999; $i <= date ('Y'); $i++ ) {
printf ("<OPTION%s>%04d</OPTION>", $i == $year ? " selected" : "", $i);
}
?>

View file

@ -1,23 +0,0 @@
<? // Preamble
$pageName = "News Archives";
$currPage = "news"; // Name of the page, for menu/dock
$modules = 'news_search'; // right-side 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
?>