summary refs log tree commit diff stats
path: root/includes/header.php
diff options
context:
space:
mode:
authorStarla Insigna <hatkirby@fourisland.com>2008-11-19 17:27:03 -0500
committerStarla Insigna <hatkirby@fourisland.com>2008-11-19 17:27:03 -0500
commit24503e3abe705acde2df159aeae61be0d009f92e (patch)
tree8debbd53dcd0db2f5934c5e2af4e697e3787781d /includes/header.php
downloadfourisland-24503e3abe705acde2df159aeae61be0d009f92e.tar.gz
fourisland-24503e3abe705acde2df159aeae61be0d009f92e.tar.bz2
fourisland-24503e3abe705acde2df159aeae61be0d009f92e.zip
Imported sources
Diffstat (limited to 'includes/header.php')
-rw-r--r--includes/header.php66
1 files changed, 66 insertions, 0 deletions
diff --git a/includes/header.php b/includes/header.php new file mode 100644 index 0000000..3bedbd7 --- /dev/null +++ b/includes/header.php
@@ -0,0 +1,66 @@
1<?php
2/*
3 444444444
4 4::::::::4
5 4:::::::::4
6 4::::44::::4
7 4::::4 4::::4 Four Island
8 4::::4 4::::4
9 4::::4 4::::4 Written and maintained by Starla Insigna
104::::444444::::444
114::::::::::::::::4 includes/header.php
124444444444:::::444
13 4::::4 Please do not use, reproduce or steal the
14 4::::4 contents of this file without explicit
15 4::::4 permission from Hatkirby.
16 44::::::44
17 4::::::::4
18 4444444444
19*/
20
21if (!defined('S_INCLUDE_FILE')) {define('S_INCLUDE_FILE',1);}
22
23require('headerproc.php');
24
25$headerTemp = new FITemplate('header');
26
27if (!isset($_COOKIE['splashOnce']))
28{
29 setcookie('splashOnce', '1');
30
31 $headerTemp->adds_block('SPLASH', array('exi'=>1));
32}
33
34if ((date('G') >= 20) || (date('G') <= 6))
35{
36 $bodyID = 'night';
37} else {
38 $bodyID = 'day';
39}
40$headerTemp->add('BODYID',$bodyID);
41$headerTemp->add('CATEGORY',(isset($pageCategory)) ? $pageCategory : 'none');
42$headerTemp->add('AID',(isset($pageAID)) ? $pageAID : 'none');
43$headerTemp->add('BODYTAGS',(isset($bodyTags)) ? $bodyTags : '');
44$headerTemp->add('HEADTAGS',isset($headtags) ? $headtags : '');
45$headerTemp->add('EXTRATITLE',isset($title) ? ($title . ' - ') : '');
46$headerTemp->add('PAGEID',(isset($pageID)) ? $pageID : 'none');
47
48if (!isset($noMembers))
49{
50 $headerTemp->add('LOWERLOGDATA',strtolower(echoLogData()));
51 $headerTemp->add('REDIRPAGE',rawurlencode($_SERVER['REQUEST_URI']));
52 $headerTemp->add('LOGDATA',echoLogData());
53 if (getUserlevel() < 3)
54 {
55 $headerTemp->adds_block('PANEL',array('exi'=>1));
56 }
57}
58
59if (isset($_POST['message']))
60{
61 $headerTemp->adds_block('MESSAGE',array('MSG' => $_POST['message']));
62}
63
64$headerTemp->display();
65
66?>