From bed8ca70bfa9c85fd6c3b9cffb258a11b60ac37d Mon Sep 17 00:00:00 2001 From: Starla Insigna Date: Mon, 24 Nov 2008 17:57:24 -0500 Subject: Returned holiday backgrounds --- theme/css.php | 16 +++-- theme/css/day.css | 2 +- theme/css/holiday.php | 112 ++++++++++++++++++++++++++++++ theme/css/night.css | 10 +-- theme/images/backgrounds/4ofjuly.PNG | Bin 0 -> 16866 bytes theme/images/backgrounds/ashWeds.PNG | Bin 0 -> 14191 bytes theme/images/backgrounds/christmas.PNG | Bin 0 -> 14513 bytes theme/images/backgrounds/christmasEve.PNG | Bin 0 -> 11391 bytes theme/images/backgrounds/columbus.PNG | Bin 0 -> 14016 bytes theme/images/backgrounds/easter.PNG | Bin 0 -> 14073 bytes theme/images/backgrounds/fathers.PNG | Bin 0 -> 14976 bytes theme/images/backgrounds/flagDay.PNG | Bin 0 -> 14476 bytes theme/images/backgrounds/goodFriday.PNG | Bin 0 -> 12776 bytes theme/images/backgrounds/groundhog.PNG | Bin 0 -> 13936 bytes theme/images/backgrounds/halloween.PNG | Bin 0 -> 10937 bytes theme/images/backgrounds/hatkirbybday.PNG | Bin 0 -> 16655 bytes theme/images/backgrounds/islandYearly.PNG | Bin 0 -> 16259 bytes theme/images/backgrounds/kirbyweek.PNG | Bin 0 -> 16824 bytes theme/images/backgrounds/mardiGras.PNG | Bin 0 -> 14333 bytes theme/images/backgrounds/martinLuther.PNG | Bin 0 -> 14114 bytes theme/images/backgrounds/memorial.PNG | Bin 0 -> 22185 bytes theme/images/backgrounds/mothers.PNG | Bin 0 -> 15125 bytes theme/images/backgrounds/newYear.PNG | Bin 0 -> 14184 bytes theme/images/backgrounds/newYearsEve.PNG | Bin 0 -> 12160 bytes theme/images/backgrounds/valentines.PNG | Bin 0 -> 15108 bytes theme/images/backgrounds/veterans.PNG | Bin 0 -> 13997 bytes 26 files changed, 129 insertions(+), 11 deletions(-) create mode 100644 theme/css/holiday.php create mode 100644 theme/images/backgrounds/4ofjuly.PNG create mode 100644 theme/images/backgrounds/ashWeds.PNG create mode 100644 theme/images/backgrounds/christmas.PNG create mode 100644 theme/images/backgrounds/christmasEve.PNG create mode 100644 theme/images/backgrounds/columbus.PNG create mode 100644 theme/images/backgrounds/easter.PNG create mode 100644 theme/images/backgrounds/fathers.PNG create mode 100644 theme/images/backgrounds/flagDay.PNG create mode 100644 theme/images/backgrounds/goodFriday.PNG create mode 100644 theme/images/backgrounds/groundhog.PNG create mode 100644 theme/images/backgrounds/halloween.PNG create mode 100644 theme/images/backgrounds/hatkirbybday.PNG create mode 100644 theme/images/backgrounds/islandYearly.PNG create mode 100644 theme/images/backgrounds/kirbyweek.PNG create mode 100644 theme/images/backgrounds/mardiGras.PNG create mode 100644 theme/images/backgrounds/martinLuther.PNG create mode 100644 theme/images/backgrounds/memorial.PNG create mode 100644 theme/images/backgrounds/mothers.PNG create mode 100644 theme/images/backgrounds/newYear.PNG create mode 100644 theme/images/backgrounds/newYearsEve.PNG create mode 100644 theme/images/backgrounds/valentines.PNG create mode 100644 theme/images/backgrounds/veterans.PNG (limited to 'theme') diff --git a/theme/css.php b/theme/css.php index d8825ae..9eb3906 100755 --- a/theme/css.php +++ b/theme/css.php @@ -24,17 +24,23 @@ header('Content-type: text/css'); include('../../security/config.php'); include('../includes/db.php'); +include('../includes/specialdates.php'); include("css/website.css"); include("css/bubbles.css"); include("css/thickbox.css"); -if ($_GET['id'] == 'day') +if (sd_ifNoSpecialDay()) { - include("css/day.css"); -} else if ($_GET['id'] == 'night') -{ - include("css/night.css"); + if ($_GET['id'] == 'day') + { + include("css/day.css"); + } else if ($_GET['id'] == 'night') + { + include("css/night.css"); + } +} else { + include("css/holiday.php"); } if ($_GET['cat'] == 'home') diff --git a/theme/css/day.css b/theme/css/day.css index 63926b3..16fc9a6 100644 --- a/theme/css/day.css +++ b/theme/css/day.css @@ -1,4 +1,4 @@ -body#day { +body { background-color: aqua; background-image: url(/theme/images/backgrounds/island6.PNG); } diff --git a/theme/css/holiday.php b/theme/css/holiday.php new file mode 100644 index 0000000..65c1826 --- /dev/null +++ b/theme/css/holiday.php @@ -0,0 +1,112 @@ + + +body { + background-image: url(/theme/images/backgrounds/.PNG) !important; +} diff --git a/theme/css/night.css b/theme/css/night.css index 0b4a5ea..e46d200 100644 --- a/theme/css/night.css +++ b/theme/css/night.css @@ -1,12 +1,12 @@ -body#night { +body { background-color: black; background-image: url(/theme/images/backgrounds/island6night.PNG); } -body#night div#banner { - background-image: url("/theme/images/fourisland_header_night.png"); +body div#banner { + background-image: url("/theme/images/fourisland_header_night.png") !important; } -body#night div#top-fade { - background-image: url(/theme/images/top_fade_night.png); +body div#top-fade { + background-image: url(/theme/images/top_fade_night.png) !important; } diff --git a/theme/images/backgrounds/4ofjuly.PNG b/theme/images/backgrounds/4ofjuly.PNG new file mode 100644 index 0000000..41c71ea Binary files /dev/null and b/theme/images/backgrounds/4ofjuly.PNG differ diff --git a/theme/images/backgrounds/ashWeds.PNG b/theme/images/backgrounds/ashWeds.PNG new file mode 100644 index 0000000..b1f9db4 Binary files /dev/null and b/theme/images/backgrounds/ashWeds.PNG differ diff --git a/theme/images/backgrounds/christmas.PNG b/theme/images/backgrounds/christmas.PNG new file mode 100644 index 0000000..7491fa6 Binary files /dev/null and b/theme/images/backgrounds/christmas.PNG differ diff --git a/theme/images/backgrounds/christmasEve.PNG b/theme/images/backgrounds/christmasEve.PNG new file mode 100644 index 0000000..7f10edb Binary files /dev/null and b/theme/images/backgrounds/christmasEve.PNG differ diff --git a/theme/images/backgrounds/columbus.PNG b/theme/images/backgrounds/columbus.PNG new file mode 100644 index 0000000..069f2fd Binary files /dev/null and b/theme/images/backgrounds/columbus.PNG differ diff --git a/theme/images/backgrounds/easter.PNG b/theme/images/backgrounds/easter.PNG new file mode 100644 index 0000000..8a40688 Binary files /dev/null and b/theme/images/backgrounds/easter.PNG differ diff --git a/theme/images/backgrounds/fathers.PNG b/theme/images/backgrounds/fathers.PNG new file mode 100644 index 0000000..f0ba36f Binary files /dev/null and b/theme/images/backgrounds/fathers.PNG differ diff --git a/theme/images/backgrounds/flagDay.PNG b/theme/images/backgrounds/flagDay.PNG new file mode 100644 index 0000000..6440e46 Binary files /dev/null and b/theme/images/backgrounds/flagDay.PNG differ diff --git a/theme/images/backgrounds/goodFriday.PNG b/theme/images/backgrounds/goodFriday.PNG new file mode 100644 index 0000000..3eb2c0c Binary files /dev/null and b/theme/images/backgrounds/goodFriday.PNG differ diff --git a/theme/images/backgrounds/groundhog.PNG b/theme/images/backgrounds/groundhog.PNG new file mode 100644 index 0000000..3e7229e Binary files /dev/null and b/theme/images/backgrounds/groundhog.PNG differ diff --git a/theme/images/backgrounds/halloween.PNG b/theme/images/backgrounds/halloween.PNG new file mode 100644 index 0000000..b9897c6 Binary files /dev/null and b/theme/images/backgrounds/halloween.PNG differ diff --git a/theme/images/backgrounds/hatkirbybday.PNG b/theme/images/backgrounds/hatkirbybday.PNG new file mode 100644 index 0000000..f82354e Binary files /dev/null and b/theme/images/backgrounds/hatkirbybday.PNG differ diff --git a/theme/images/backgrounds/islandYearly.PNG b/theme/images/backgrounds/islandYearly.PNG new file mode 100644 index 0000000..4125be6 Binary files /dev/null and b/theme/images/backgrounds/islandYearly.PNG differ diff --git a/theme/images/backgrounds/kirbyweek.PNG b/theme/images/backgrounds/kirbyweek.PNG new file mode 100644 index 0000000..202c5e0 Binary files /dev/null and b/theme/images/backgrounds/kirbyweek.PNG differ diff --git a/theme/images/backgrounds/mardiGras.PNG b/theme/images/backgrounds/mardiGras.PNG new file mode 100644 index 0000000..131efd2 Binary files /dev/null and b/theme/images/backgrounds/mardiGras.PNG differ diff --git a/theme/images/backgrounds/martinLuther.PNG b/theme/images/backgrounds/martinLuther.PNG new file mode 100644 index 0000000..8313af8 Binary files /dev/null and b/theme/images/backgrounds/martinLuther.PNG differ diff --git a/theme/images/backgrounds/memorial.PNG b/theme/images/backgrounds/memorial.PNG new file mode 100644 index 0000000..cc5be0a Binary files /dev/null and b/theme/images/backgrounds/memorial.PNG differ diff --git a/theme/images/backgrounds/mothers.PNG b/theme/images/backgrounds/mothers.PNG new file mode 100644 index 0000000..3c7d69d Binary files /dev/null and b/theme/images/backgrounds/mothers.PNG differ diff --git a/theme/images/backgrounds/newYear.PNG b/theme/images/backgrounds/newYear.PNG new file mode 100644 index 0000000..9884051 Binary files /dev/null and b/theme/images/backgrounds/newYear.PNG differ diff --git a/theme/images/backgrounds/newYearsEve.PNG b/theme/images/backgrounds/newYearsEve.PNG new file mode 100644 index 0000000..81f9a5b Binary files /dev/null and b/theme/images/backgrounds/newYearsEve.PNG differ diff --git a/theme/images/backgrounds/valentines.PNG b/theme/images/backgrounds/valentines.PNG new file mode 100644 index 0000000..7d105a9 Binary files /dev/null and b/theme/images/backgrounds/valentines.PNG differ diff --git a/theme/images/backgrounds/veterans.PNG b/theme/images/backgrounds/veterans.PNG new file mode 100644 index 0000000..a0a5a03 Binary files /dev/null and b/theme/images/backgrounds/veterans.PNG differ -- cgit 1.4.1