summary refs log tree commit diff stats
path: root/theme/css/holiday.php
diff options
context:
space:
mode:
Diffstat (limited to 'theme/css/holiday.php')
-rwxr-xr-xtheme/css/holiday.php43
1 files changed, 35 insertions, 8 deletions
diff --git a/theme/css/holiday.php b/theme/css/holiday.php index 65c1826..a1639c7 100755 --- a/theme/css/holiday.php +++ b/theme/css/holiday.php
@@ -21,6 +21,9 @@
21if (!defined('S_INCLUDE_FILE')) {define('S_INCLUDE_FILE',1);} 21if (!defined('S_INCLUDE_FILE')) {define('S_INCLUDE_FILE',1);}
22 22
23require('headerproc.php'); 23require('headerproc.php');
24include('../includes/specialdates.php');
25
26$bgcolor='aqua';
24 27
25if (sd_isSpecialDay('Four Island A')) 28if (sd_isSpecialDay('Four Island A'))
26{ 29{
@@ -93,20 +96,44 @@ if (sd_isSpecialDay('Four Island A'))
93} elseif (sd_isSpecialDay('Valentines Day')) 96} elseif (sd_isSpecialDay('Valentines Day'))
94{ 97{
95 $bgimgm = 'valentines'; 98 $bgimgm = 'valentines';
99} else {
100 $bgimgm = 'island6';
101}
102
103?>
104
105div#window {
106 background-color: <?php echo($bgcolor); ?>;
107 background-image: url(/theme/images/backgrounds/<?php echo($bgimgm); ?>.PNG);
108 background-position: bottom left;
109 background-repeat: repeat-x;
110 background-attachment: fixed;
111 padding: 0 !important;
96} 112}
97 113
98$bodyID = $_GET['id']; 114<?php
99if (!isset($bgcolor)) 115
116if ($bgcolor == 'aqua')
100{ 117{
101 $bgcolor='aqua'; 118?>
102 119
103 include("css/day.css"); 120div#content div#actual-content {
104} else { 121 background-color: rgba(255, 255, 255, 0.5);
105 include("css/night.css");
106} 122}
107 123
124<?php
125} else {
108?> 126?>
109 127
110body { 128div#content div#actual-content {
111 background-image: url(/theme/images/backgrounds/<?php echo($bgimgm); ?>.PNG) !important; 129 background-color: rgba(0, 0, 0, 0.75);
112} 130}
131
132.light-at-night {
133 color: #536482;
134}
135
136<?php
137}
138
139?>