website/parts/preamble.php

38 lines
1.1 KiB
PHP

<? // Preamble
$siteName = "The QuakeForge Project";
define('siteHome', "/home/groups/quake/htdocs");
require siteHome . "/parts/library.php"; // Load function library
if ($need) {
need ($need);
unset ($need);
}
need ('table');
require siteHome . "/parts/head.php"; // Load the HEAD and open BODY
require siteHome . "/parts/topstrip.php"; // Display top strip
require siteHome . "/parts/titletable.php"; // Display main title w/ logos
?>
<TABLE width="100%" cellSpacing="0" cellPadding="0" border="0">
<TR vAlign="top">
<TD bgColor="<? echo menuBgColor; ?>">
<? include siteHome . "/parts/menu.php"; ?>
</TD>
<TD width="100%">
<? tableHeader ("100%", "black"); ?>
<TR>
<? tableSpacer (9, 9, 3, "black"); ?>
</TR>
<TR>
<? tableSpacer (9, 9, 1, "black"); ?>
<TD>
<? require siteHome . "/parts/topmain.php"; ?>
</TD>
<? tableSpacer (9, 9, 1, "black"); ?>
</TR>
<TR>
<? tableSpacer (18, 9, 3, "black"); ?>
</TR>
<TR>
<? tableSpacer (9, 9, 1, "black"); ?>
<TD>
<!-- Content Start -->