blob: 51e7dbfe5230f1bb674694e6dfb28588b7345eb6 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
|
<?php
/*
444444444
4::::::::4
4:::::::::4
4::::44::::4
4::::4 4::::4 Four Island
4::::4 4::::4
4::::4 4::::4 Written and maintained by Starla Insigna
4::::444444::::444
4::::::::::::::::4 theme/css/backgrounds.php
4444444444:::::444
4::::4 Please do not use, reproduce or steal the
4::::4 contents of this file without explicit
4::::4 permission from Hatkirby.
44::::::44
4::::::::4
4444444444
*/
if (!defined('S_INCLUDE_FILE')) {define('S_INCLUDE_FILE',1);}
require('headerproc.php');
?>
/* Four Island Background CSS */
<?php
include_once('../includes/specialdates.php');
if (sd_ifNoSpecialDay())
{
$bgimgm = 'island6';
} elseif (sd_isSpecialDay('Four Island A'))
{
$bgimgm = 'islandYearly';
} elseif (sd_isSpecialDay('Christmas Eve'))
{
$bgimgm = 'christmasEve';
$bgcolor = 'black';
} elseif (sd_isSpecialDay('Christmas Day'))
{
$bgimgm = 'christmas';
} elseif (sd_isSpecialDay('New Years Eve'))
{
$bgimgm = 'newYearsEve';
$bgcolor = 'black';
} elseif (sd_isSpecialDay('Veterans Day'))
{
$bgimgm = 'veterans';
} elseif (sd_isSpecialDay('Independance Day'))
{
$bgimgm = '4ofjuly';
$bgcolor = 'black';
} elseif (sd_isSpecialDay('Fathers Day'))
{
$bgimgm = 'fathers';
} elseif (sd_isSpecialDay('Hatkirbys B-Day'))
{
$bgimgm = 'hatkirbybday';
} elseif (sd_isSpecialDay('Kirby Week'))
{
$bgimgm = 'kirbyweek';
} elseif (sd_isSpecialDay('Memorial Day'))
{
$bgimgm = 'memorial';
$bgcolor = 'gray';
} elseif (sd_isSpecialDay('Mothers Day'))
{
$bgimgm = 'mothers';
} elseif (sd_isSpecialDay('New Years Day'))
{
$bgimgm = 'newYear';
} elseif (sd_isSpecialDay('Ash Wednesday'))
{
$bgimgm = 'ashWeds';
} elseif (sd_isSpecialDay('Columbus Day'))
{
$bgimgm = 'columbus';
} elseif (sd_isSpecialDay('Easter'))
{
$bgimgm = 'easter';
} elseif (sd_isSpecialDay('Flag Day'))
{
$bgimgm = 'flagDay';
} elseif (sd_isSpecialDay('Good Friday'))
{
$bgimgm = 'goodFriday';
} elseif (sd_isSpecialDay('Groundhog Day'))
{
$bgimgm = 'groundhog';
} elseif (sd_isSpecialDay('Halloween'))
{
$bgimgm = 'halloween';
$bgcolor = 'black';
} elseif (sd_isSpecialDay('Mardi Gras'))
{
$bgimgm = 'mardiGras';
} elseif (sd_isSpecialDay('Martin Luther King Day'))
{
$bgimgm = 'martinLuther';
} elseif (sd_isSpecialDay('Valentines Day'))
{
$bgimgm = 'valentines';
} else {
$bgimgm = 'island6';
}
if (isset($_GET['nolayout']))
{
if ((date('G') >= 20) || (date('G') <= 6))
{
// $bodyID = 'night';
} else {
$bodyID = 'day';
}
} else {
$bodyID = $_GET['id'];
}
if (!isset($bgcolor)) {$bgcolor='aqua';}
if (($bgimgm == 'island6') && ($bodyID == 'night')) {$bgcolor='black';}
?>
/* Body */
body {
background-color: <?php echo($bgcolor); ?>;
background-image: url(/theme/images/backgrounds/<?php echo($bgimgm); ?>.PNG);
background-repeat: repeat-x;
background-attachment: fixed;
background-position: bottom left;
font-family: Arial, FreeSans;
margin: 0px;
padding: 0px 0px 30px !important;
}
<?php
if ($bgimgm == 'island6')
{
?>
body#night {
background: black url(/theme/images/backgrounds/island6night.PNG) repeat-x fixed bottom left;
}
<?php
}
?>
|