mirror of
https://git.code.sf.net/p/quake/website
synced 2024-12-18 00:11:47 +00:00
34 lines
904 B
PHP
34 lines
904 B
PHP
<? // Preamble
|
|
$pageName = "News";
|
|
$focused = "home"; // Dock icon name to get a border
|
|
require "parts/preamble.php"; // Load most of document
|
|
?>
|
|
<!--SEARCHME-->
|
|
<TABLE width="100%" cellSpacing="0" cellPadding="0" border="0">
|
|
<TR vAlign="top">
|
|
<TD colSpan="2"><? // News display
|
|
tableBoxHeader (featureBgColor, featureHeadColor);
|
|
tableTitle ('Latest News', 1, featureHeadColor);
|
|
need ("news");
|
|
$cached = latestNews ('1 month');
|
|
tableBoxFooter ();
|
|
if ($cached)
|
|
echo '<P>A MySQL error occoured. This news is cached and may not be current';
|
|
?></TD>
|
|
</TR>
|
|
<TR vAlign="top">
|
|
<? tableSpacer (9, 1, 1, black); ?>
|
|
</TR>
|
|
<TR vAlign="top">
|
|
<TD align="center">
|
|
<? include "sponsor_incl.html"; ?>
|
|
</TD>
|
|
</TR>
|
|
<TR vAlign="top">
|
|
<? tableSpacer (9, 1, 1, black); ?>
|
|
</TR>
|
|
</TABLE>
|
|
<!--NOSEARCH-->
|
|
<?
|
|
require "parts/postamble.php"; // Finish this sucker up
|
|
?>
|