diff options
Diffstat (limited to 'theme/css.php')
-rwxr-xr-x | theme/css.php | 16 |
1 files changed, 11 insertions, 5 deletions
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'); | |||
24 | 24 | ||
25 | include('../../security/config.php'); | 25 | include('../../security/config.php'); |
26 | include('../includes/db.php'); | 26 | include('../includes/db.php'); |
27 | include('../includes/specialdates.php'); | ||
27 | 28 | ||
28 | include("css/website.css"); | 29 | include("css/website.css"); |
29 | include("css/bubbles.css"); | 30 | include("css/bubbles.css"); |
30 | include("css/thickbox.css"); | 31 | include("css/thickbox.css"); |
31 | 32 | ||
32 | if ($_GET['id'] == 'day') | 33 | if (sd_ifNoSpecialDay()) |
33 | { | 34 | { |
34 | include("css/day.css"); | 35 | if ($_GET['id'] == 'day') |
35 | } else if ($_GET['id'] == 'night') | 36 | { |
36 | { | 37 | include("css/day.css"); |
37 | include("css/night.css"); | 38 | } else if ($_GET['id'] == 'night') |
39 | { | ||
40 | include("css/night.css"); | ||
41 | } | ||
42 | } else { | ||
43 | include("css/holiday.php"); | ||
38 | } | 44 | } |
39 | 45 | ||
40 | if ($_GET['cat'] == 'home') | 46 | if ($_GET['cat'] == 'home') |