From: Richard Whitehouse Date: Sat, 29 Jan 2011 20:44:51 +0000 (+0000) Subject: Added splash page. Add new graphics for both splash page and about page. Moved to... X-Git-Url: https://git.richardwhiuk.com/?a=commitdiff_plain;h=095ca9ee52d86ffae35427cc5832cb6a6ca4f7c6;p=hmb.git Added splash page. Add new graphics for both splash page and about page. Moved to fixed width design --- diff --git a/index.php b/index.php index 6d922a4..d9b9c55 100644 --- a/index.php +++ b/index.php @@ -8,7 +8,7 @@ require_once 'template/index.php'; $pages = array(); $templates = array(); -$files = array('about','tickets','food','ents','committee','sponsorship','charity','workers'); +$files = array('splash','about','tickets','food','ents','committee','sponsorship','charity','workers'); foreach($files as $page){ if(is_file('page/' . $page . '.php') && is_file('template/' . $page . '.php')){ @@ -28,8 +28,8 @@ foreach($pages as $name => $page){ if(isset($_GET['page']) && isset($templates[$_GET['page']])){ $current = $_GET['page']; -} elseif(isset($templates['about'])){ - $current = 'about'; +} elseif(isset($templates['splash'])){ + $current = 'splash'; } elseif(count($templates) > 0) { $current = array_shift(array_keys($templates)); } diff --git a/page/splash.php b/page/splash.php new file mode 100644 index 0000000..416ac81 --- /dev/null +++ b/page/splash.php @@ -0,0 +1,10 @@ + -
@@ -48,7 +47,9 @@ public function Display(){
keys[$this->current] > 0)){ ?> style="display: none;" >
-
- - 0){ $("#arrow-l").fadeIn('slow'); diff --git a/theme/logo.png b/theme/logo.png index ff7009b..e3d13b5 100644 Binary files a/theme/logo.png and b/theme/logo.png differ diff --git a/theme/splash.png b/theme/splash.png new file mode 100644 index 0000000..dd4bb25 Binary files /dev/null and b/theme/splash.png differ