summary refs log tree commit diff stats
path: root/theme/css
diff options
context:
space:
mode:
authorStarla Insigna <hatkirby@fourisland.com>2008-11-24 17:57:24 -0500
committerStarla Insigna <hatkirby@fourisland.com>2008-11-24 17:57:24 -0500
commitbed8ca70bfa9c85fd6c3b9cffb258a11b60ac37d (patch)
tree53585224712a6ee7c99b7850124ea03011ead88f /theme/css
parent214246e5c2e02ff60506af3d2478a06e38bfd0c2 (diff)
downloadfourisland-bed8ca70bfa9c85fd6c3b9cffb258a11b60ac37d.tar.gz
fourisland-bed8ca70bfa9c85fd6c3b9cffb258a11b60ac37d.tar.bz2
fourisland-bed8ca70bfa9c85fd6c3b9cffb258a11b60ac37d.zip
Returned holiday backgrounds
Diffstat (limited to 'theme/css')
-rw-r--r--theme/css/day.css2
-rw-r--r--theme/css/holiday.php112
-rw-r--r--theme/css/night.css10
3 files changed, 118 insertions, 6 deletions
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}