diff --git a/img/logos/christmas-logo1.png b/img/logos/christmas-logo1.png new file mode 100644 index 0000000..211a366 Binary files /dev/null and b/img/logos/christmas-logo1.png differ diff --git a/img/logos/christmas-logo2.png b/img/logos/christmas-logo2.png new file mode 100644 index 0000000..757cca7 Binary files /dev/null and b/img/logos/christmas-logo2.png differ diff --git a/img/logos/christmas-logo3.png b/img/logos/christmas-logo3.png new file mode 100644 index 0000000..9875ff9 Binary files /dev/null and b/img/logos/christmas-logo3.png differ diff --git a/img/logos/qf-logo1.png b/img/logos/quakeforge-logo1.png similarity index 100% rename from img/logos/qf-logo1.png rename to img/logos/quakeforge-logo1.png diff --git a/img/logos/qf-logo2.png b/img/logos/quakeforge-logo2.png similarity index 100% rename from img/logos/qf-logo2.png rename to img/logos/quakeforge-logo2.png diff --git a/img/logos/qf-logo3.png b/img/logos/quakeforge-logo3.png similarity index 100% rename from img/logos/qf-logo3.png rename to img/logos/quakeforge-logo3.png diff --git a/parts/head.php b/parts/head.php index 65ae269..b62294a 100644 --- a/parts/head.php +++ b/parts/head.php @@ -1,7 +1,25 @@ - - <? echo "$siteName: $pageName"; ?> + + + <? + switch ($theme) { + case "christmas": + echo "Merry Christmas! -- "; + break; + default: + } + echo "$siteName: $pageName"; + ?> + - +' . "\n"; +?> diff --git a/parts/library.php b/parts/library.php index 11a54ab..0ec831f 100644 --- a/parts/library.php +++ b/parts/library.php @@ -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_')) { diff --git a/parts/preamble.php b/parts/preamble.php index d12dfcc..f5dca88 100644 --- a/parts/preamble.php +++ b/parts/preamble.php @@ -1,5 +1,6 @@ '; + echo 'QuakeForge'; ?>