summary refs log tree commit diff stats
path: root/theme/css/holiday.php
diff options
context:
space:
mode:
authorStarla Insigna <hatkirby@fourisland.com>2009-11-15 11:52:07 -0500
committerStarla Insigna <hatkirby@fourisland.com>2009-11-15 11:52:07 -0500
commitde53fc452a22beedf28a92defe19168153e078cd (patch)
treebf38e3ae1df07089608a039b071c05c791b4c486 /theme/css/holiday.php
parentb0aabd0559eb6ca70af2ffeb35299b63d7edf097 (diff)
downloadfourisland-de53fc452a22beedf28a92defe19168153e078cd.tar.gz
fourisland-de53fc452a22beedf28a92defe19168153e078cd.tar.bz2
fourisland-de53fc452a22beedf28a92defe19168153e078cd.zip
Added holidays to Layouts 4.5 and 6.2
Diffstat (limited to 'theme/css/holiday.php')
-rwxr-xr-xtheme/css/holiday.php139
1 files changed, 0 insertions, 139 deletions
diff --git a/theme/css/holiday.php b/theme/css/holiday.php deleted file mode 100755 index a1639c7..0000000 --- a/theme/css/holiday.php +++ /dev/null
@@ -1,139 +0,0 @@
1<?php
2/*
3 444444444
4 4::::::::4
5 4:::::::::4
6 4::::44::::4
7 4::::4 4::::4 Four Island
8 4::::4 4::::4
9 4::::4 4::::4 Written and maintained by Starla Insigna
104::::444444::::444
114::::::::::::::::4 theme/css/holiday.php
124444444444:::::444
13 4::::4 Please do not use, reproduce or steal the
14 4::::4 contents of this file without explicit
15 4::::4 permission from Hatkirby.
16 44::::::44
17 4::::::::4
18 4444444444
19*/
20
21if (!defined('S_INCLUDE_FILE')) {define('S_INCLUDE_FILE',1);}
22
23require('headerproc.php');
24include('../includes/specialdates.php');
25
26$bgcolor='aqua';
27
28if (sd_isSpecialDay('Four Island A'))
29{
30 $bgimgm = 'islandYearly';
31} elseif (sd_isSpecialDay('Christmas Eve'))
32{
33 $bgimgm = 'christmasEve';
34 $bgcolor = 'black';
35} elseif (sd_isSpecialDay('Christmas Day'))
36{
37 $bgimgm = 'christmas';
38} elseif (sd_isSpecialDay('New Years Eve'))
39{
40 $bgimgm = 'newYearsEve';
41 $bgcolor = 'black';
42} elseif (sd_isSpecialDay('Veterans Day'))
43{
44 $bgimgm = 'veterans';
45} elseif (sd_isSpecialDay('Independance Day'))
46{
47 $bgimgm = '4ofjuly';
48 $bgcolor = 'black';
49} elseif (sd_isSpecialDay('Fathers Day'))
50{
51 $bgimgm = 'fathers';
52} elseif (sd_isSpecialDay('Hatkirbys B-Day'))
53{
54 $bgimgm = 'hatkirbybday';
55} elseif (sd_isSpecialDay('Kirby Week'))
56{
57 $bgimgm = 'kirbyweek';
58} elseif (sd_isSpecialDay('Memorial Day'))
59{
60 $bgimgm = 'memorial';
61 $bgcolor = 'gray';
62} elseif (sd_isSpecialDay('Mothers Day'))
63{
64 $bgimgm = 'mothers';
65} elseif (sd_isSpecialDay('New Years Day'))
66{
67 $bgimgm = 'newYear';
68} elseif (sd_isSpecialDay('Ash Wednesday'))
69{
70 $bgimgm = 'ashWeds';
71} elseif (sd_isSpecialDay('Columbus Day'))
72{
73 $bgimgm = 'columbus';
74} elseif (sd_isSpecialDay('Easter'))
75{
76 $bgimgm = 'easter';
77} elseif (sd_isSpecialDay('Flag Day'))
78{
79 $bgimgm = 'flagDay';
80} elseif (sd_isSpecialDay('Good Friday'))
81{
82 $bgimgm = 'goodFriday';
83} elseif (sd_isSpecialDay('Groundhog Day'))
84{
85 $bgimgm = 'groundhog';
86} elseif (sd_isSpecialDay('Halloween'))
87{
88 $bgimgm = 'halloween';
89 $bgcolor = 'black';
90} elseif (sd_isSpecialDay('Mardi Gras'))
91{
92 $bgimgm = 'mardiGras';
93} elseif (sd_isSpecialDay('Martin Luther King Day'))
94{
95 $bgimgm = 'martinLuther';
96} elseif (sd_isSpecialDay('Valentines Day'))
97{
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;
112}
113
114<?php
115
116if ($bgcolor == 'aqua')
117{
118?>
119
120div#content div#actual-content {
121 background-color: rgba(255, 255, 255, 0.5);
122}
123
124<?php
125} else {
126?>
127
128div#content div#actual-content {
129 background-color: rgba(0, 0, 0, 0.75);
130}
131
132.light-at-night {
133 color: #536482;
134}
135
136<?php
137}
138
139?>