Christmas time at the QuakeForge ranch! :)
BIN
img/logos/christmas-logo1.png
Normal file
After Width: | Height: | Size: 4.7 KiB |
BIN
img/logos/christmas-logo2.png
Normal file
After Width: | Height: | Size: 5.6 KiB |
BIN
img/logos/christmas-logo3.png
Normal file
After Width: | Height: | Size: 5.4 KiB |
Before Width: | Height: | Size: 4.7 KiB After Width: | Height: | Size: 4.7 KiB |
Before Width: | Height: | Size: 8.4 KiB After Width: | Height: | Size: 8.4 KiB |
Before Width: | Height: | Size: 5.7 KiB After Width: | Height: | Size: 5.7 KiB |
|
@ -1,7 +1,25 @@
|
||||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
|
||||||
<HTML>
|
<HTML>
|
||||||
<HEAD>
|
<HEAD>
|
||||||
<LINK rel="StyleSheet" href="/styles/quakeforge.css" type="text/css">
|
<LINK rel="StyleSheet" href="/styles/<? echo $theme; ?>.css" type="text/css">
|
||||||
<TITLE><? echo "$siteName: $pageName"; ?></TITLE>
|
<TITLE>
|
||||||
|
<?
|
||||||
|
switch ($theme) {
|
||||||
|
case "christmas":
|
||||||
|
echo "Merry Christmas! -- ";
|
||||||
|
break;
|
||||||
|
default:
|
||||||
|
}
|
||||||
|
echo "$siteName: $pageName";
|
||||||
|
?>
|
||||||
|
</TITLE>
|
||||||
</HEAD>
|
</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";
|
||||||
|
?>
|
||||||
|
|
|
@ -2,14 +2,38 @@
|
||||||
// helpful constants
|
// helpful constants
|
||||||
if (!defined( '_COLORS_' )) {
|
if (!defined( '_COLORS_' )) {
|
||||||
define ('_COLORS_', 1);
|
define ('_COLORS_', 1);
|
||||||
|
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 ('tableHeadColor', '#737b9c');
|
||||||
define ('tableBgColor', 'black');
|
define ('tableBgColor', 'black');
|
||||||
define ('menuHeadColor', '#737b9c');
|
define ('menuHeadColor', '#737b9c');
|
||||||
define ('menuBgColor', '#4b4f66');
|
define ('menuBgColor', '#4b4f66');
|
||||||
define ('featureHeadColor', tableHeadColor);
|
define ('featureHeadColor', tableHeadColor);
|
||||||
define ('featureBgColor', '#252733');
|
define ('featureBgColor', '#252733');
|
||||||
define ('black', "black");
|
}
|
||||||
define ('white', "white");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!defined ('_SQLCONSTS_')) {
|
if (!defined ('_SQLCONSTS_')) {
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
<? // Preamble
|
<? // Preamble
|
||||||
$siteName = "The QuakeForge Project";
|
$siteName = "The QuakeForge Project";
|
||||||
|
$theme = "christmas";
|
||||||
define('siteHome', "/home/groups/quake/htdocs");
|
define('siteHome', "/home/groups/quake/htdocs");
|
||||||
|
|
||||||
require siteHome . "/parts/library.php"; // Load function library
|
require siteHome . "/parts/library.php"; // Load function library
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
<TD align="center" vAlign="center">
|
<TD align="center" vAlign="center">
|
||||||
<? // Project logo rotation
|
<? // Project logo rotation
|
||||||
srand ((double) microtime () * 1000000);
|
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>
|
</TD>
|
||||||
<? tableSpacer (3, 1, 1, menuBgColor); ?>
|
<? tableSpacer (3, 1, 1, menuBgColor); ?>
|
||||||
|
|