summary refs log tree commit diff stats
path: root/theme/layouts/4.5/holiday.php
blob: 2ef5585391eebef472c94f8e77bfcdbc16eef6ef (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
<?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/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');

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('Columbus Day'))
{
	$bgimgm = 'columbus';
} elseif (sd_isSpecialDay('Easter'))
{
	$bgimgm = 'easter';
} elseif (sd_isSpecialDay('Flag Day'))
{
	$bgimgm = 'flagDay';
} 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';
}

$bodyID = $_GET['id'];
if (!isset($bgcolor))
{
	$bgcolor='aqua';

	include("layouts/4.5/day.css");
} else {
	include("layouts/4.5/night.css");
}

?>

body {
 background-image: url(/theme/images/backgrounds/<?php echo($bgimgm); ?>.PNG) !important;
}