summary refs log tree commit diff stats
path: root/theme/css/holiday.php
diff options
context:
space:
mode:
authorStarla Insigna <hatkirby@fourisland.com>2009-08-09 09:14:58 -0400
committerStarla Insigna <hatkirby@fourisland.com>2009-08-09 09:14:58 -0400
commit893957c41481a0cd5eb624096337762ffa54ff28 (patch)
tree09d2487f8add5a6281e3482a471abf21faa4f819 /theme/css/holiday.php
parentd27a3784c81f0c582e43655509e806978b7e65e4 (diff)
downloadfourisland-893957c41481a0cd5eb624096337762ffa54ff28.tar.gz
fourisland-893957c41481a0cd5eb624096337762ffa54ff28.tar.bz2
fourisland-893957c41481a0cd5eb624096337762ffa54ff28.zip
Created layout 7
The following changes were also made in this revision:

* All HTML was changed to XHTML and a !DOCTYPE was included to reflect this
* Rewrote quotes tracking system to be much less complicated and actually working
* Changed quotes rendering to look more like Chirpy than Rash
* Fixed comment textarea bug
* Rewrote a ton of CSS so it's not as bloated
* Added a JavaScript confirmation when deleting a comment
* AJAXified voting on the POTW
* AJAXified voting and flagging quotes
* AJAXified commenting
* AJAXified voting on posts
* Added DateFinder back after it was accidentally deleted in Layout 4.5

The following database changes must be performed as soon as possible:

* Fix title of NO <!DOCTYPE> post (the &lt; is missing the semicolon)
* Restore post Frasty Tha Snaman from a backup
* Reset "flag" field of all rows in "rash_quotes" to 0
* Remove the "vote" and "flag" columns of "rash_tracking"
* Rename the "quote_id" column of "rash_tracking" to "vote"

The following external code changes must also be performed as soon as possible:

* Add the following line to the end of the // Four Island block in The Fourm's functions.php:
  require('/svr/www/hatkirby/fourisland/main/includes/specialdates.php');
Diffstat (limited to 'theme/css/holiday.php')
-rwxr-xr-xtheme/css/holiday.php43
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 @@
21if (!defined('S_INCLUDE_FILE')) {define('S_INCLUDE_FILE',1);} 21if (!defined('S_INCLUDE_FILE')) {define('S_INCLUDE_FILE',1);}
22 22
23require('headerproc.php'); 23require('headerproc.php');
24include('../includes/specialdates.php');
25
26$bgcolor='aqua';
24 27
25if (sd_isSpecialDay('Four Island A')) 28if (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
105div#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
99if (!isset($bgcolor)) 115
116if ($bgcolor == 'aqua')
100{ 117{
101 $bgcolor='aqua'; 118?>
102 119
103 include("css/day.css"); 120div#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
110body { 128div#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?>