this should finish up the sidebar

This commit is contained in:
Dan Olson 2000-06-17 19:44:10 +00:00
parent 8488d0e75c
commit 67272c30a1
2 changed files with 10 additions and 10 deletions

View file

@ -7,12 +7,13 @@
<TABLE width="100%" cellSpacing="0" cellPadding="0" border="0">
<TR vAlign="top">
<TD colSpan="2"><?
tableBoxHeader( 'black', tableHeadColor );
tableTitle( $pageName, 1, tableHeadColor );
require ("lib/sql.php");
require ("news_funcs.php");
if ($month || $year) {
monthlyNews ($month, $year);
tableBoxHeader( 'black', tableHeadColor );
tableTitle( $pageName, 1, tableHeadColor );
monthlyNews ($month, $year);
tableBoxFooter ();
} else {
if ($string) {
searchNews ($string);
@ -20,7 +21,6 @@
newsItem ('now', 'Web Server', "You didn't specify a search, giving up.");
}
}
tableBoxFooter ();
?></TD>
</TR>
</TABLE>

View file

@ -4,11 +4,11 @@
include("old_news.php");
}
else {
// Preamble
$pageName = "Search Results";
$focused = "none"; // Dock icon name to gets a border
require("parts/preamble.php"); // Load most of document
echo '<P>That type of search isn\'t supported yet. Please check back later.';
// Preamble
$pageName = "Search Results";
$focused = "none"; // Dock icon name to gets a border
require("parts/preamble.php"); // Load most of document
echo '<P>That type of search isn\'t supported yet. Please check back later.';
require("parts/postamble.php"); // Finish this sucker up
}
require("parts/postamble.php"); // Finish this sucker up
?>