summary refs log tree commit diff stats
path: root/theme/layouts/6.2/holiday.php
diff options
context:
space:
mode:
Diffstat (limited to 'theme/layouts/6.2/holiday.php')
-rwxr-xr-xtheme/layouts/6.2/holiday.php148
1 files changed, 148 insertions, 0 deletions
diff --git a/theme/layouts/6.2/holiday.php b/theme/layouts/6.2/holiday.php new file mode 100755 index 0000000..697e2cc --- /dev/null +++ b/theme/layouts/6.2/holiday.php
@@ -0,0 +1,148 @@
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/layouts/6.2/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_once('../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
105body {
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}
112
113<?php
114
115if ($bgcolor == 'aqua')
116{
117?>
118
119div#wrap {
120 background-color: rgba(255, 255, 255, 0.5);
121}
122
123<?php
124} else {
125?>
126
127div#wrap {
128 background-color: rgba(0, 0, 0, 0.75);
129}
130
131div#banner {
132 background-color: black;
133 background-image: url(/theme/images/fourisland_header_night.png);
134}
135
136div#fi-navbar ul li.active img {
137 background-color: black;
138 outline: black solid .5em;
139}
140
141.light-at-night, .light-at-night-l6p2 {
142 color: #555555;
143}
144
145<?php
146}
147
148?>