mirror of
https://git.code.sf.net/p/quake/website
synced 2025-02-25 21:21:33 +00:00
temp fix on old news as well
This commit is contained in:
parent
a303bd17c9
commit
8c4492d6ef
1 changed files with 30 additions and 29 deletions
59
old_news.php
59
old_news.php
|
@ -1,29 +1,30 @@
|
||||||
<?
|
<?
|
||||||
$pageName = 'News Archives';
|
$pageName = 'News Archives';
|
||||||
$focused = "home"; // Dock icon name to get a border
|
$focused = "home"; // Dock icon name to get a border
|
||||||
require("parts/preamble.php"); // Load most of document
|
require("parts/preamble.php"); // Load most of document
|
||||||
?>
|
?>
|
||||||
<!--NOSEARCH-->
|
<!--NOSEARCH-->
|
||||||
<TABLE width="100%" cellSpacing="0" cellPadding="0" border="0">
|
<TABLE width="100%" cellSpacing="0" cellPadding="0" border="0">
|
||||||
<TR vAlign="top">
|
<TR vAlign="top">
|
||||||
<TD colSpan="2"><?
|
<TD colSpan="2"><?
|
||||||
tableBoxHeader( 'black', tableHeadColor );
|
tableBoxHeader( 'black', tableHeadColor );
|
||||||
tableTitle( $pageName, 1, tableHeadColor );
|
tableTitle( $pageName, 1, tableHeadColor );
|
||||||
require ("news_funcs.php");
|
require ("lib/sql.php");
|
||||||
if ($month || $year) {
|
require ("news_funcs.php");
|
||||||
monthlyNews ($month, $year);
|
if ($month || $year) {
|
||||||
} else {
|
monthlyNews ($month, $year);
|
||||||
if ($string) {
|
} else {
|
||||||
searchNews ($string);
|
if ($string) {
|
||||||
} else {
|
searchNews ($string);
|
||||||
newsItem ('now', 'Web Server', "You didn't specify a search, giving up.");
|
} else {
|
||||||
}
|
newsItem ('now', 'Web Server', "You didn't specify a search, giving up.");
|
||||||
}
|
}
|
||||||
tableBoxFooter ();
|
}
|
||||||
?></TD>
|
tableBoxFooter ();
|
||||||
</TR>
|
?></TD>
|
||||||
</TABLE>
|
</TR>
|
||||||
<!--NOSEARCH-->
|
</TABLE>
|
||||||
<?
|
<!--NOSEARCH-->
|
||||||
require("parts/postamble.php"); // Finish this sucker up
|
<?
|
||||||
?>
|
require("parts/postamble.php"); // Finish this sucker up
|
||||||
|
?>
|
||||||
|
|
Loading…
Reference in a new issue