Remove the years 1999 and 2005-6 from the date search field, since there

were no news postings in those years. :/
This commit is contained in:
Jeff Teunissen 2007-03-16 17:17:46 +00:00
parent 4f981a2670
commit 470b8127a5

View file

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