diff options
Diffstat (limited to 'theme/css/holiday.php')
-rw-r--r-- | theme/css/holiday.php | 112 |
1 files changed, 112 insertions, 0 deletions
diff --git a/theme/css/holiday.php b/theme/css/holiday.php new file mode 100644 index 0000000..65c1826 --- /dev/null +++ b/theme/css/holiday.php | |||
@@ -0,0 +1,112 @@ | |||
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/css/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 | |||
25 | if (sd_isSpecialDay('Four Island A')) | ||
26 | { | ||
27 | $bgimgm = 'islandYearly'; | ||
28 | } elseif (sd_isSpecialDay('Christmas Eve')) | ||
29 | { | ||
30 | $bgimgm = 'christmasEve'; | ||
31 | $bgcolor = 'black'; | ||
32 | } elseif (sd_isSpecialDay('Christmas Day')) | ||
33 | { | ||
34 | $bgimgm = 'christmas'; | ||
35 | } elseif (sd_isSpecialDay('New Years Eve')) | ||
36 | { | ||
37 | $bgimgm = 'newYearsEve'; | ||
38 | $bgcolor = 'black'; | ||
39 | } elseif (sd_isSpecialDay('Veterans Day')) | ||
40 | { | ||
41 | $bgimgm = 'veterans'; | ||
42 | } elseif (sd_isSpecialDay('Independance Day')) | ||
43 | { | ||
44 | $bgimgm = '4ofjuly'; | ||
45 | $bgcolor = 'black'; | ||
46 | } elseif (sd_isSpecialDay('Fathers Day')) | ||
47 | { | ||
48 | $bgimgm = 'fathers'; | ||
49 | } elseif (sd_isSpecialDay('Hatkirbys B-Day')) | ||
50 | { | ||
51 | $bgimgm = 'hatkirbybday'; | ||
52 | } elseif (sd_isSpecialDay('Kirby Week')) | ||
53 | { | ||
54 | $bgimgm = 'kirbyweek'; | ||
55 | } elseif (sd_isSpecialDay('Memorial Day')) | ||
56 | { | ||
57 | $bgimgm = 'memorial'; | ||
58 | $bgcolor = 'gray'; | ||
59 | } elseif (sd_isSpecialDay('Mothers Day')) | ||
60 | { | ||
61 | $bgimgm = 'mothers'; | ||
62 | } elseif (sd_isSpecialDay('New Years Day')) | ||
63 | { | ||
64 | $bgimgm = 'newYear'; | ||
65 | } elseif (sd_isSpecialDay('Ash Wednesday')) | ||
66 | { | ||
67 | $bgimgm = 'ashWeds'; | ||
68 | } elseif (sd_isSpecialDay('Columbus Day')) | ||
69 | { | ||
70 | $bgimgm = 'columbus'; | ||
71 | } elseif (sd_isSpecialDay('Easter')) | ||
72 | { | ||
73 | $bgimgm = 'easter'; | ||
74 | } elseif (sd_isSpecialDay('Flag Day')) | ||
75 | { | ||
76 | $bgimgm = 'flagDay'; | ||
77 | } elseif (sd_isSpecialDay('Good Friday')) | ||
78 | { | ||
79 | $bgimgm = 'goodFriday'; | ||
80 | } elseif (sd_isSpecialDay('Groundhog Day')) | ||
81 | { | ||
82 | $bgimgm = 'groundhog'; | ||
83 | } elseif (sd_isSpecialDay('Halloween')) | ||
84 | { | ||
85 | $bgimgm = 'halloween'; | ||
86 | $bgcolor = 'black'; | ||
87 | } elseif (sd_isSpecialDay('Mardi Gras')) | ||
88 | { | ||
89 | $bgimgm = 'mardiGras'; | ||
90 | } elseif (sd_isSpecialDay('Martin Luther King Day')) | ||
91 | { | ||
92 | $bgimgm = 'martinLuther'; | ||
93 | } elseif (sd_isSpecialDay('Valentines Day')) | ||
94 | { | ||
95 | $bgimgm = 'valentines'; | ||
96 | } | ||
97 | |||
98 | $bodyID = $_GET['id']; | ||
99 | if (!isset($bgcolor)) | ||
100 | { | ||
101 | $bgcolor='aqua'; | ||
102 | |||
103 | include("css/day.css"); | ||
104 | } else { | ||
105 | include("css/night.css"); | ||
106 | } | ||
107 | |||
108 | ?> | ||
109 | |||
110 | body { | ||
111 | background-image: url(/theme/images/backgrounds/<?php echo($bgimgm); ?>.PNG) !important; | ||
112 | } | ||