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 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) (limited to 'theme/css.php') 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') -- cgit 1.4.1