diff options
26 files changed, 129 insertions, 11 deletions
diff --git a/theme/css.php b/theme/css.php index d8825ae..9eb3906 100755 --- a/theme/css.php +++ b/theme/css.php | |||
@@ -24,17 +24,23 @@ header('Content-type: text/css'); | |||
24 | 24 | ||
25 | include('../../security/config.php'); | 25 | include('../../security/config.php'); |
26 | include('../includes/db.php'); | 26 | include('../includes/db.php'); |
27 | include('../includes/specialdates.php'); | ||
27 | 28 | ||
28 | include("css/website.css"); | 29 | include("css/website.css"); |
29 | include("css/bubbles.css"); | 30 | include("css/bubbles.css"); |
30 | include("css/thickbox.css"); | 31 | include("css/thickbox.css"); |
31 | 32 | ||
32 | if ($_GET['id'] == 'day') | 33 | if (sd_ifNoSpecialDay()) |
33 | { | 34 | { |
34 | include("css/day.css"); | 35 | if ($_GET['id'] == 'day') |
35 | } else if ($_GET['id'] == 'night') | 36 | { |
36 | { | 37 | include("css/day.css"); |
37 | include("css/night.css"); | 38 | } else if ($_GET['id'] == 'night') |
39 | { | ||
40 | include("css/night.css"); | ||
41 | } | ||
42 | } else { | ||
43 | include("css/holiday.php"); | ||
38 | } | 44 | } |
39 | 45 | ||
40 | if ($_GET['cat'] == 'home') | 46 | if ($_GET['cat'] == 'home') |
diff --git a/theme/css/day.css b/theme/css/day.css index 63926b3..16fc9a6 100644 --- a/theme/css/day.css +++ b/theme/css/day.css | |||
@@ -1,4 +1,4 @@ | |||
1 | body#day { | 1 | body { |
2 | background-color: aqua; | 2 | background-color: aqua; |
3 | background-image: url(/theme/images/backgrounds/island6.PNG); | 3 | background-image: url(/theme/images/backgrounds/island6.PNG); |
4 | } | 4 | } |
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 | } | ||
diff --git a/theme/css/night.css b/theme/css/night.css index 0b4a5ea..e46d200 100644 --- a/theme/css/night.css +++ b/theme/css/night.css | |||
@@ -1,12 +1,12 @@ | |||
1 | body#night { | 1 | body { |
2 | background-color: black; | 2 | background-color: black; |
3 | background-image: url(/theme/images/backgrounds/island6night.PNG); | 3 | background-image: url(/theme/images/backgrounds/island6night.PNG); |
4 | } | 4 | } |
5 | 5 | ||
6 | body#night div#banner { | 6 | body div#banner { |
7 | background-image: url("/theme/images/fourisland_header_night.png"); | 7 | background-image: url("/theme/images/fourisland_header_night.png") !important; |
8 | } | 8 | } |
9 | 9 | ||
10 | body#night div#top-fade { | 10 | body div#top-fade { |
11 | background-image: url(/theme/images/top_fade_night.png); | 11 | background-image: url(/theme/images/top_fade_night.png) !important; |
12 | } | 12 | } |
diff --git a/theme/images/backgrounds/4ofjuly.PNG b/theme/images/backgrounds/4ofjuly.PNG new file mode 100644 index 0000000..41c71ea --- /dev/null +++ b/theme/images/backgrounds/4ofjuly.PNG | |||
Binary files differ | |||
diff --git a/theme/images/backgrounds/ashWeds.PNG b/theme/images/backgrounds/ashWeds.PNG new file mode 100644 index 0000000..b1f9db4 --- /dev/null +++ b/theme/images/backgrounds/ashWeds.PNG | |||
Binary files differ | |||
diff --git a/theme/images/backgrounds/christmas.PNG b/theme/images/backgrounds/christmas.PNG new file mode 100644 index 0000000..7491fa6 --- /dev/null +++ b/theme/images/backgrounds/christmas.PNG | |||
Binary files differ | |||
diff --git a/theme/images/backgrounds/christmasEve.PNG b/theme/images/backgrounds/christmasEve.PNG new file mode 100644 index 0000000..7f10edb --- /dev/null +++ b/theme/images/backgrounds/christmasEve.PNG | |||
Binary files differ | |||
diff --git a/theme/images/backgrounds/columbus.PNG b/theme/images/backgrounds/columbus.PNG new file mode 100644 index 0000000..069f2fd --- /dev/null +++ b/theme/images/backgrounds/columbus.PNG | |||
Binary files differ | |||
diff --git a/theme/images/backgrounds/easter.PNG b/theme/images/backgrounds/easter.PNG new file mode 100644 index 0000000..8a40688 --- /dev/null +++ b/theme/images/backgrounds/easter.PNG | |||
Binary files differ | |||
diff --git a/theme/images/backgrounds/fathers.PNG b/theme/images/backgrounds/fathers.PNG new file mode 100644 index 0000000..f0ba36f --- /dev/null +++ b/theme/images/backgrounds/fathers.PNG | |||
Binary files differ | |||
diff --git a/theme/images/backgrounds/flagDay.PNG b/theme/images/backgrounds/flagDay.PNG new file mode 100644 index 0000000..6440e46 --- /dev/null +++ b/theme/images/backgrounds/flagDay.PNG | |||
Binary files differ | |||
diff --git a/theme/images/backgrounds/goodFriday.PNG b/theme/images/backgrounds/goodFriday.PNG new file mode 100644 index 0000000..3eb2c0c --- /dev/null +++ b/theme/images/backgrounds/goodFriday.PNG | |||
Binary files differ | |||
diff --git a/theme/images/backgrounds/groundhog.PNG b/theme/images/backgrounds/groundhog.PNG new file mode 100644 index 0000000..3e7229e --- /dev/null +++ b/theme/images/backgrounds/groundhog.PNG | |||
Binary files differ | |||
diff --git a/theme/images/backgrounds/halloween.PNG b/theme/images/backgrounds/halloween.PNG new file mode 100644 index 0000000..b9897c6 --- /dev/null +++ b/theme/images/backgrounds/halloween.PNG | |||
Binary files differ | |||
diff --git a/theme/images/backgrounds/hatkirbybday.PNG b/theme/images/backgrounds/hatkirbybday.PNG new file mode 100644 index 0000000..f82354e --- /dev/null +++ b/theme/images/backgrounds/hatkirbybday.PNG | |||
Binary files differ | |||
diff --git a/theme/images/backgrounds/islandYearly.PNG b/theme/images/backgrounds/islandYearly.PNG new file mode 100644 index 0000000..4125be6 --- /dev/null +++ b/theme/images/backgrounds/islandYearly.PNG | |||
Binary files differ | |||
diff --git a/theme/images/backgrounds/kirbyweek.PNG b/theme/images/backgrounds/kirbyweek.PNG new file mode 100644 index 0000000..202c5e0 --- /dev/null +++ b/theme/images/backgrounds/kirbyweek.PNG | |||
Binary files differ | |||
diff --git a/theme/images/backgrounds/mardiGras.PNG b/theme/images/backgrounds/mardiGras.PNG new file mode 100644 index 0000000..131efd2 --- /dev/null +++ b/theme/images/backgrounds/mardiGras.PNG | |||
Binary files differ | |||
diff --git a/theme/images/backgrounds/martinLuther.PNG b/theme/images/backgrounds/martinLuther.PNG new file mode 100644 index 0000000..8313af8 --- /dev/null +++ b/theme/images/backgrounds/martinLuther.PNG | |||
Binary files differ | |||
diff --git a/theme/images/backgrounds/memorial.PNG b/theme/images/backgrounds/memorial.PNG new file mode 100644 index 0000000..cc5be0a --- /dev/null +++ b/theme/images/backgrounds/memorial.PNG | |||
Binary files differ | |||
diff --git a/theme/images/backgrounds/mothers.PNG b/theme/images/backgrounds/mothers.PNG new file mode 100644 index 0000000..3c7d69d --- /dev/null +++ b/theme/images/backgrounds/mothers.PNG | |||
Binary files differ | |||
diff --git a/theme/images/backgrounds/newYear.PNG b/theme/images/backgrounds/newYear.PNG new file mode 100644 index 0000000..9884051 --- /dev/null +++ b/theme/images/backgrounds/newYear.PNG | |||
Binary files differ | |||
diff --git a/theme/images/backgrounds/newYearsEve.PNG b/theme/images/backgrounds/newYearsEve.PNG new file mode 100644 index 0000000..81f9a5b --- /dev/null +++ b/theme/images/backgrounds/newYearsEve.PNG | |||
Binary files differ | |||
diff --git a/theme/images/backgrounds/valentines.PNG b/theme/images/backgrounds/valentines.PNG new file mode 100644 index 0000000..7d105a9 --- /dev/null +++ b/theme/images/backgrounds/valentines.PNG | |||
Binary files differ | |||
diff --git a/theme/images/backgrounds/veterans.PNG b/theme/images/backgrounds/veterans.PNG new file mode 100644 index 0000000..a0a5a03 --- /dev/null +++ b/theme/images/backgrounds/veterans.PNG | |||
Binary files differ | |||