summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rwxr-xr-xtheme/css.php16
-rw-r--r--theme/css/day.css2
-rw-r--r--theme/css/holiday.php112
-rw-r--r--theme/css/night.css10
-rw-r--r--theme/images/backgrounds/4ofjuly.PNGbin0 -> 16866 bytes
-rw-r--r--theme/images/backgrounds/ashWeds.PNGbin0 -> 14191 bytes
-rw-r--r--theme/images/backgrounds/christmas.PNGbin0 -> 14513 bytes
-rw-r--r--theme/images/backgrounds/christmasEve.PNGbin0 -> 11391 bytes
-rw-r--r--theme/images/backgrounds/columbus.PNGbin0 -> 14016 bytes
-rw-r--r--theme/images/backgrounds/easter.PNGbin0 -> 14073 bytes
-rw-r--r--theme/images/backgrounds/fathers.PNGbin0 -> 14976 bytes
-rw-r--r--theme/images/backgrounds/flagDay.PNGbin0 -> 14476 bytes
-rw-r--r--theme/images/backgrounds/goodFriday.PNGbin0 -> 12776 bytes
-rw-r--r--theme/images/backgrounds/groundhog.PNGbin0 -> 13936 bytes
-rw-r--r--theme/images/backgrounds/halloween.PNGbin0 -> 10937 bytes
-rw-r--r--theme/images/backgrounds/hatkirbybday.PNGbin0 -> 16655 bytes
-rw-r--r--theme/images/backgrounds/islandYearly.PNGbin0 -> 16259 bytes
-rw-r--r--theme/images/backgrounds/kirbyweek.PNGbin0 -> 16824 bytes
-rw-r--r--theme/images/backgrounds/mardiGras.PNGbin0 -> 14333 bytes
-rw-r--r--theme/images/backgrounds/martinLuther.PNGbin0 -> 14114 bytes
-rw-r--r--theme/images/backgrounds/memorial.PNGbin0 -> 22185 bytes
-rw-r--r--theme/images/backgrounds/mothers.PNGbin0 -> 15125 bytes
-rw-r--r--theme/images/backgrounds/newYear.PNGbin0 -> 14184 bytes
-rw-r--r--theme/images/backgrounds/newYearsEve.PNGbin0 -> 12160 bytes
-rw-r--r--theme/images/backgrounds/valentines.PNGbin0 -> 15108 bytes
-rw-r--r--theme/images/backgrounds/veterans.PNGbin0 -> 13997 bytes
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
25include('../../security/config.php'); 25include('../../security/config.php');
26include('../includes/db.php'); 26include('../includes/db.php');
27include('../includes/specialdates.php');
27 28
28include("css/website.css"); 29include("css/website.css");
29include("css/bubbles.css"); 30include("css/bubbles.css");
30include("css/thickbox.css"); 31include("css/thickbox.css");
31 32
32if ($_GET['id'] == 'day') 33if (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
40if ($_GET['cat'] == 'home') 46if ($_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 @@
1body#day { 1body {
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
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');
24
25if (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'];
99if (!isset($bgcolor))
100{
101 $bgcolor='aqua';
102
103 include("css/day.css");
104} else {
105 include("css/night.css");
106}
107
108?>
109
110body {
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 @@
1body#night { 1body {
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
6body#night div#banner { 6body 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
10body#night div#top-fade { 10body 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