Christmas time at the QuakeForge ranch! :)

This commit is contained in:
Jeff Teunissen 2000-12-23 08:56:43 +00:00
parent ab57ab3c04
commit 2329cffce0
10 changed files with 55 additions and 12 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.4 KiB

View file

Before

Width:  |  Height:  |  Size: 4.7 KiB

After

Width:  |  Height:  |  Size: 4.7 KiB

View file

Before

Width:  |  Height:  |  Size: 8.4 KiB

After

Width:  |  Height:  |  Size: 8.4 KiB

View file

Before

Width:  |  Height:  |  Size: 5.7 KiB

After

Width:  |  Height:  |  Size: 5.7 KiB

View file

@ -1,7 +1,25 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<HTML>
<HEAD>
<LINK rel="StyleSheet" href="/styles/quakeforge.css" type="text/css">
<TITLE><? echo "$siteName: $pageName"; ?></TITLE>
<LINK rel="StyleSheet" href="/styles/<? echo $theme; ?>.css" type="text/css">
<TITLE>
<?
switch ($theme) {
case "christmas":
echo "Merry Christmas! -- ";
break;
default:
}
echo "$siteName: $pageName";
?>
</TITLE>
</HEAD>
<BODY link="#aaaaff" aLink="#ffffff" vLink="#aaaaff" text="white" bgColor="black" topMargin="0" bottomMargin="0" leftMargin="0" rightMargin="0" marginHeight="0" marginWidth="0">
<? echo '<BODY bgColor="' . bgColor . '" ' .
'text="' . textColor . '" ' .
'link="' . linkColor . '" ' .
'aLink="' . activeLinkColor . '" ' .
'vLink="' . visitedLinkColor . '" ' .
'topMargin="0" bottomMargin="0" ' .
'leftMargin="0" rightMargin="0" ' .
'marginHeight="0" marginWidth="0">' . "\n";
?>

View file

@ -2,14 +2,38 @@
// helpful constants
if (!defined( '_COLORS_' )) {
define ('_COLORS_', 1);
define ('tableHeadColor', '#737b9c');
define ('tableBgColor', 'black');
define ('menuHeadColor', '#737b9c');
define ('menuBgColor', '#4b4f66');
define ('featureHeadColor', tableHeadColor);
define ('featureBgColor', '#252733');
define ('black', "black");
define ('white', "white");
define ('black', "black");
define ('white', "white");
switch ($theme) {
case "christmas":
define ('bgColor', black);
define ('textColor', white);
define ('linkColor', '#aaffaa');
define ('activeLinkColor', white);
define ('visitedLinkColor', '#80ff80');
define ('tableHeadColor', '#900020');
define ('tableBgColor', 'black');
define ('menuHeadColor', '#900020');
define ('menuBgColor', '#084508');
define ('featureHeadColor', tableHeadColor);
define ('featureBgColor', '#083008');
break;
default:
define ('bgColor', black);
define ('textColor', white);
define ('linkColor', '#aaaaff');
define ('activeLinkColor', white);
define ('visitedLinkColor', '#8080ff');
define ('tableHeadColor', '#737b9c');
define ('tableBgColor', 'black');
define ('menuHeadColor', '#737b9c');
define ('menuBgColor', '#4b4f66');
define ('featureHeadColor', tableHeadColor);
define ('featureBgColor', '#252733');
}
}
if (!defined ('_SQLCONSTS_')) {

View file

@ -1,5 +1,6 @@
<? // Preamble
$siteName = "The QuakeForge Project";
$theme = "christmas";
define('siteHome', "/home/groups/quake/htdocs");
require siteHome . "/parts/library.php"; // Load function library

View file

@ -9,7 +9,7 @@
<TD align="center" vAlign="center">
<? // Project logo rotation
srand ((double) microtime () * 1000000);
echo '<IMG src="/img/logos/qf-logo' . rand (1,3) . '.png" alt="QuakeForge" border="0">';
echo '<IMG src="/img/logos/' . $theme . '-logo' . rand (1,3) . '.png" alt="QuakeForge" border="0">';
?>
</TD>
<? tableSpacer (3, 1, 1, menuBgColor); ?>