mirror of
https://git.code.sf.net/p/quake/website
synced 2025-01-31 12:40:49 +00:00
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:
parent
4f981a2670
commit
470b8127a5
1 changed files with 3 additions and 0 deletions
|
@ -76,6 +76,9 @@ CREATE TABLE news_main (
|
||||||
if ($year == "")
|
if ($year == "")
|
||||||
$year = date ('Y');
|
$year = date ('Y');
|
||||||
for ($i = 1999; $i <= date ('Y'); $i++ ) {
|
for ($i = 1999; $i <= date ('Y'); $i++ ) {
|
||||||
|
if ($i == 2005 || $i == 2006)
|
||||||
|
continue;
|
||||||
|
|
||||||
printf ("<OPTION%s>%04d</OPTION>", $i == $year ? " selected" : "", $i);
|
printf ("<OPTION%s>%04d</OPTION>", $i == $year ? " selected" : "", $i);
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
|
Loading…
Reference in a new issue