diff options
Diffstat (limited to 'theme/layouts/7/holiday.php')
-rwxr-xr-x | theme/layouts/7/holiday.php | 139 |
1 files changed, 139 insertions, 0 deletions
diff --git a/theme/layouts/7/holiday.php b/theme/layouts/7/holiday.php new file mode 100755 index 0000000..d9a9c10 --- /dev/null +++ b/theme/layouts/7/holiday.php | |||
@@ -0,0 +1,139 @@ | |||
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 | ||
10 | 4::::444444::::444 | ||
11 | 4::::::::::::::::4 theme/layouts/7/holiday.php | ||
12 | 4444444444:::::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 | |||
21 | if (!defined('S_INCLUDE_FILE')) {define('S_INCLUDE_FILE',1);} | ||
22 | |||
23 | require('headerproc.php'); | ||
24 | include_once('../includes/specialdates.php'); | ||
25 | |||
26 | $bgcolor='aqua'; | ||
27 | |||
28 | if (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 | |||
105 | div#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 | |||
116 | if ($bgcolor == 'aqua') | ||
117 | { | ||
118 | ?> | ||
119 | |||
120 | div#content div#actual-content { | ||
121 | background-color: rgba(255, 255, 255, 0.5); | ||
122 | } | ||
123 | |||
124 | <?php | ||
125 | } else { | ||
126 | ?> | ||
127 | |||
128 | div#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 | ?> | ||