diff options
Diffstat (limited to 'theme/css/holiday.php')
| -rwxr-xr-x | theme/css/holiday.php | 43 |
1 files changed, 35 insertions, 8 deletions
| diff --git a/theme/css/holiday.php b/theme/css/holiday.php index 65c1826..a1639c7 100755 --- a/theme/css/holiday.php +++ b/theme/css/holiday.php | |||
| @@ -21,6 +21,9 @@ | |||
| 21 | if (!defined('S_INCLUDE_FILE')) {define('S_INCLUDE_FILE',1);} | 21 | if (!defined('S_INCLUDE_FILE')) {define('S_INCLUDE_FILE',1);} |
| 22 | 22 | ||
| 23 | require('headerproc.php'); | 23 | require('headerproc.php'); |
| 24 | include('../includes/specialdates.php'); | ||
| 25 | |||
| 26 | $bgcolor='aqua'; | ||
| 24 | 27 | ||
| 25 | if (sd_isSpecialDay('Four Island A')) | 28 | if (sd_isSpecialDay('Four Island A')) |
| 26 | { | 29 | { |
| @@ -93,20 +96,44 @@ if (sd_isSpecialDay('Four Island A')) | |||
| 93 | } elseif (sd_isSpecialDay('Valentines Day')) | 96 | } elseif (sd_isSpecialDay('Valentines Day')) |
| 94 | { | 97 | { |
| 95 | $bgimgm = 'valentines'; | 98 | $bgimgm = 'valentines'; |
| 99 | } else { | ||
| 100 | $bgimgm = 'island6'; | ||
| 101 | } | ||
| 102 | |||
| 103 | ?> | ||
| 104 | |||
| 105 | div#window { | ||
| 106 | background-color: <?php echo($bgcolor); ?>; | ||
| 107 | background-image: url(/theme/images/backgrounds/<?php echo($bgimgm); ?>.PNG); | ||
| 108 | background-position: bottom left; | ||
| 109 | background-repeat: repeat-x; | ||
| 110 | background-attachment: fixed; | ||
| 111 | padding: 0 !important; | ||
| 96 | } | 112 | } |
| 97 | 113 | ||
| 98 | $bodyID = $_GET['id']; | 114 | <?php |
| 99 | if (!isset($bgcolor)) | 115 | |
| 116 | if ($bgcolor == 'aqua') | ||
| 100 | { | 117 | { |
| 101 | $bgcolor='aqua'; | 118 | ?> |
| 102 | 119 | ||
| 103 | include("css/day.css"); | 120 | div#content div#actual-content { |
| 104 | } else { | 121 | background-color: rgba(255, 255, 255, 0.5); |
| 105 | include("css/night.css"); | ||
| 106 | } | 122 | } |
| 107 | 123 | ||
| 124 | <?php | ||
| 125 | } else { | ||
| 108 | ?> | 126 | ?> |
| 109 | 127 | ||
| 110 | body { | 128 | div#content div#actual-content { |
| 111 | background-image: url(/theme/images/backgrounds/<?php echo($bgimgm); ?>.PNG) !important; | 129 | background-color: rgba(0, 0, 0, 0.75); |
| 112 | } | 130 | } |
| 131 | |||
| 132 | .light-at-night { | ||
| 133 | color: #536482; | ||
| 134 | } | ||
| 135 | |||
| 136 | <?php | ||
| 137 | } | ||
| 138 | |||
| 139 | ?> | ||
