diff options
author | Starla Insigna <hatkirby@fourisland.com> | 2009-11-15 11:52:07 -0500 |
---|---|---|
committer | Starla Insigna <hatkirby@fourisland.com> | 2009-11-15 11:52:07 -0500 |
commit | de53fc452a22beedf28a92defe19168153e078cd (patch) | |
tree | bf38e3ae1df07089608a039b071c05c791b4c486 /theme/layouts | |
parent | b0aabd0559eb6ca70af2ffeb35299b63d7edf097 (diff) | |
download | fourisland-de53fc452a22beedf28a92defe19168153e078cd.tar.gz fourisland-de53fc452a22beedf28a92defe19168153e078cd.tar.bz2 fourisland-de53fc452a22beedf28a92defe19168153e078cd.zip |
Added holidays to Layouts 4.5 and 6.2
Diffstat (limited to 'theme/layouts')
-rw-r--r-- | theme/layouts/4.5/holiday.php | 4 | ||||
-rwxr-xr-x | theme/layouts/6.2/holiday.php | 148 | ||||
-rwxr-xr-x | theme/layouts/6.2/style.php | 2 | ||||
-rwxr-xr-x | theme/layouts/7/holiday.php | 139 | ||||
-rwxr-xr-x | theme/layouts/7/style.php | 1 |
5 files changed, 292 insertions, 2 deletions
diff --git a/theme/layouts/4.5/holiday.php b/theme/layouts/4.5/holiday.php index 65c1826..775e52a 100644 --- a/theme/layouts/4.5/holiday.php +++ b/theme/layouts/4.5/holiday.php | |||
@@ -100,9 +100,9 @@ if (!isset($bgcolor)) | |||
100 | { | 100 | { |
101 | $bgcolor='aqua'; | 101 | $bgcolor='aqua'; |
102 | 102 | ||
103 | include("css/day.css"); | 103 | include("layouts/4.5/day.css"); |
104 | } else { | 104 | } else { |
105 | include("css/night.css"); | 105 | include("layouts/4.5/night.css"); |
106 | } | 106 | } |
107 | 107 | ||
108 | ?> | 108 | ?> |
diff --git a/theme/layouts/6.2/holiday.php b/theme/layouts/6.2/holiday.php new file mode 100755 index 0000000..697e2cc --- /dev/null +++ b/theme/layouts/6.2/holiday.php | |||
@@ -0,0 +1,148 @@ | |||
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/6.2/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 | body { | ||
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 | } | ||
112 | |||
113 | <?php | ||
114 | |||
115 | if ($bgcolor == 'aqua') | ||
116 | { | ||
117 | ?> | ||
118 | |||
119 | div#wrap { | ||
120 | background-color: rgba(255, 255, 255, 0.5); | ||
121 | } | ||
122 | |||
123 | <?php | ||
124 | } else { | ||
125 | ?> | ||
126 | |||
127 | div#wrap { | ||
128 | background-color: rgba(0, 0, 0, 0.75); | ||
129 | } | ||
130 | |||
131 | div#banner { | ||
132 | background-color: black; | ||
133 | background-image: url(/theme/images/fourisland_header_night.png); | ||
134 | } | ||
135 | |||
136 | div#fi-navbar ul li.active img { | ||
137 | background-color: black; | ||
138 | outline: black solid .5em; | ||
139 | } | ||
140 | |||
141 | .light-at-night, .light-at-night-l6p2 { | ||
142 | color: #555555; | ||
143 | } | ||
144 | |||
145 | <?php | ||
146 | } | ||
147 | |||
148 | ?> | ||
diff --git a/theme/layouts/6.2/style.php b/theme/layouts/6.2/style.php index 73bce49..0d619e5 100755 --- a/theme/layouts/6.2/style.php +++ b/theme/layouts/6.2/style.php | |||
@@ -29,4 +29,6 @@ if (((date('G') >= 20) || (date('G') <= 6)) || isset($_GET['night']) && !isset($ | |||
29 | include('layouts/6.2/night.css'); | 29 | include('layouts/6.2/night.css'); |
30 | } | 30 | } |
31 | 31 | ||
32 | include('layouts/6.2/holiday.php'); | ||
33 | |||
32 | ?> | 34 | ?> |
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 | ?> | ||
diff --git a/theme/layouts/7/style.php b/theme/layouts/7/style.php index 3c44d1e..1062e77 100755 --- a/theme/layouts/7/style.php +++ b/theme/layouts/7/style.php | |||
@@ -23,5 +23,6 @@ if (!defined('S_INCLUDE_FILE')) {define('S_INCLUDE_FILE',1);} | |||
23 | require('headerproc.php'); | 23 | require('headerproc.php'); |
24 | 24 | ||
25 | include('layouts/7/style.css'); | 25 | include('layouts/7/style.css'); |
26 | include('layouts/7/holiday.php'); | ||
26 | 27 | ||
27 | ?> | 28 | ?> |