From 623c36e777ddf7566f338619a21c07e2f1775b71 Mon Sep 17 00:00:00 2001 From: Starla Insigna Date: Sat, 28 Mar 2009 09:52:01 -0400 Subject: Improved rendering in IE Now, Four Island doesn't look downright disgusting in IE, even though there are still a couple more problems to be fixed. Also, a small amount of CSS housekeeping was done. --- includes/header.php | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'includes') diff --git a/includes/header.php b/includes/header.php index 8b9810a..427ad93 100755 --- a/includes/header.php +++ b/includes/header.php @@ -24,12 +24,18 @@ require('headerproc.php'); $headerTemp = new FITemplate('header'); -if ((date('G') >= 20) || (date('G') <= 6)) +if (!isset($_GET['emulateTime'])) { - $bodyID = 'night'; + if ((date('G') >= 20) || (date('G') <= 6)) + { + $bodyID = 'night'; + } else { + $bodyID = 'day'; + } } else { - $bodyID = 'day'; + $bodyID = $_GET['emulateTime']; } + $headerTemp->add('BODYID',$bodyID); $headerTemp->add('CATEGORY',(isset($pageCategory)) ? $pageCategory : 'none'); $headerTemp->add('AID',(isset($pageAID)) ? $pageAID : 'none'); -- cgit 1.4.1