summary refs log tree commit diff stats
path: root/theme/css/backgrounds.php
diff options
context:
space:
mode:
authorStarla Insigna <hatkirby@fourisland.com>2008-11-22 18:01:52 -0500
committerStarla Insigna <hatkirby@fourisland.com>2008-11-22 18:01:52 -0500
commit284226706885e3b40769dea5853a95e2b32efda8 (patch)
tree77392f8cdb81eb805660b433c0ae9cfac7174607 /theme/css/backgrounds.php
parent3796eb62b5a6a959d1a45697e08998adf7fd78a3 (diff)
downloadfourisland-284226706885e3b40769dea5853a95e2b32efda8.tar.gz
fourisland-284226706885e3b40769dea5853a95e2b32efda8.tar.bz2
fourisland-284226706885e3b40769dea5853a95e2b32efda8.zip
Created the 6th layout
Diffstat (limited to 'theme/css/backgrounds.php')
-rwxr-xr-xtheme/css/backgrounds.php148
1 files changed, 0 insertions, 148 deletions
diff --git a/theme/css/backgrounds.php b/theme/css/backgrounds.php deleted file mode 100755 index 51e7dbf..0000000 --- a/theme/css/backgrounds.php +++ /dev/null
@@ -1,148 +0,0 @@
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/backgrounds.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?>
25/* Four Island Background CSS */
26<?php
27
28include_once('../includes/specialdates.php');
29
30if (sd_ifNoSpecialDay())
31{
32 $bgimgm = 'island6';
33} elseif (sd_isSpecialDay('Four Island A'))
34{
35 $bgimgm = 'islandYearly';
36} elseif (sd_isSpecialDay('Christmas Eve'))
37{
38 $bgimgm = 'christmasEve';
39 $bgcolor = 'black';
40} elseif (sd_isSpecialDay('Christmas Day'))
41{
42 $bgimgm = 'christmas';
43} elseif (sd_isSpecialDay('New Years Eve'))
44{
45 $bgimgm = 'newYearsEve';
46 $bgcolor = 'black';
47} elseif (sd_isSpecialDay('Veterans Day'))
48{
49 $bgimgm = 'veterans';
50} elseif (sd_isSpecialDay('Independance Day'))
51{
52 $bgimgm = '4ofjuly';
53 $bgcolor = 'black';
54} elseif (sd_isSpecialDay('Fathers Day'))
55{
56 $bgimgm = 'fathers';
57} elseif (sd_isSpecialDay('Hatkirbys B-Day'))
58{
59 $bgimgm = 'hatkirbybday';
60} elseif (sd_isSpecialDay('Kirby Week'))
61{
62 $bgimgm = 'kirbyweek';
63} elseif (sd_isSpecialDay('Memorial Day'))
64{
65 $bgimgm = 'memorial';
66 $bgcolor = 'gray';
67} elseif (sd_isSpecialDay('Mothers Day'))
68{
69 $bgimgm = 'mothers';
70} elseif (sd_isSpecialDay('New Years Day'))
71{
72 $bgimgm = 'newYear';
73} elseif (sd_isSpecialDay('Ash Wednesday'))
74{
75 $bgimgm = 'ashWeds';
76} elseif (sd_isSpecialDay('Columbus Day'))
77{
78 $bgimgm = 'columbus';
79} elseif (sd_isSpecialDay('Easter'))
80{
81 $bgimgm = 'easter';
82} elseif (sd_isSpecialDay('Flag Day'))
83{
84 $bgimgm = 'flagDay';
85} elseif (sd_isSpecialDay('Good Friday'))
86{
87 $bgimgm = 'goodFriday';
88} elseif (sd_isSpecialDay('Groundhog Day'))
89{
90 $bgimgm = 'groundhog';
91} elseif (sd_isSpecialDay('Halloween'))
92{
93 $bgimgm = 'halloween';
94 $bgcolor = 'black';
95} elseif (sd_isSpecialDay('Mardi Gras'))
96{
97 $bgimgm = 'mardiGras';
98} elseif (sd_isSpecialDay('Martin Luther King Day'))
99{
100 $bgimgm = 'martinLuther';
101} elseif (sd_isSpecialDay('Valentines Day'))
102{
103 $bgimgm = 'valentines';
104} else {
105 $bgimgm = 'island6';
106}
107
108if (isset($_GET['nolayout']))
109{
110 if ((date('G') >= 20) || (date('G') <= 6))
111 {
112// $bodyID = 'night';
113 } else {
114 $bodyID = 'day';
115 }
116} else {
117 $bodyID = $_GET['id'];
118}
119
120if (!isset($bgcolor)) {$bgcolor='aqua';}
121if (($bgimgm == 'island6') && ($bodyID == 'night')) {$bgcolor='black';}
122
123?>
124/* Body */
125
126body {
127 background-color: <?php echo($bgcolor); ?>;
128 background-image: url(/theme/images/backgrounds/<?php echo($bgimgm); ?>.PNG);
129 background-repeat: repeat-x;
130 background-attachment: fixed;
131 background-position: bottom left;
132 font-family: Arial, FreeSans;
133 margin: 0px;
134 padding: 0px 0px 30px !important;
135}
136
137<?php
138
139if ($bgimgm == 'island6')
140{
141?>
142body#night {
143 background: black url(/theme/images/backgrounds/island6night.PNG) repeat-x fixed bottom left;
144}
145
146<?php
147}
148?>