blob: 54499a907959354d1726c4b274165a11bb22f965 (
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
149
150
|
<?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/layouts/7/holiday.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');
include_once('../includes/specialdates.php');
$bgcolor='aqua';
if (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 (sd_isSpecialDay('April Fools Day'))
{
?>
div#banner {
background-image: url(/theme/images/afd-l7.png);
}
<?php
}
?>
div#window {
background-color: <?php echo($bgcolor); ?>;
background-image: url(/theme/images/backgrounds/<?php echo($bgimgm); ?>.PNG);
background-position: bottom left;
background-repeat: repeat-x;
background-attachment: fixed;
padding: 0 !important;
}
<?php
if ($bgcolor == 'aqua')
{
?>
div#content div#actual-content {
background-color: rgba(255, 255, 255, 0.5);
}
<?php
} else {
?>
div#content div#actual-content {
background-color: rgba(0, 0, 0, 0.75);
}
.light-at-night {
color: #536482;
}
<?php
}
?>
|