-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.theme.php
More file actions
81 lines (73 loc) · 3.79 KB
/
index.theme.php
File metadata and controls
81 lines (73 loc) · 3.79 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
<?php require_once("includes/init.php");?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $charset?>" />
<meta name="Author" content="<?php echo $meta_author?>" />
<meta name="keywords" content="<?php echo $meta_keywords?>" />
<meta name="description" content="<?php echo $meta_description?>" />
<title><?php echo $title?></title>
<link rel="stylesheet" href="theme/css/style.css" type="text/css" />
<link rel="shortcut icon" href="theme/img/affro.ico" type="image/ico" />
<link rel="icon" href="theme/img/affro.ico" type="image/ico" />
</head>
<body>
<div id="sitehead">
<a href="<?php echo $url ?>"><img src="theme/img/logo2.png" alt="<?php echo $sitename?>" title="<?php echo $sitename?>" width="344" height="70" id="logo" /></a>
<!-- <div id="tr"><img src="theme/img/topright.jpg" alt="curve" width="50" height="27" /></div>
--> <form action="?" method="get" title="Search Site" id="searchstyle">
<p>
<label for="search">Search site</label>
<input name="search" id="search" type="text" size="20" maxlength="20"<?php if (isset ($search)){ echo " value=\"$search\"";} ?> />
<input type="submit" value="Go!" />
</p>
</form>
</div>
<div id="quote">
<?php require_once("modules/module_quote.php");?>
</div>
<div id="container">
<div id="leftmenu">
<?php require_once("modules/module_menu.php");?>
</div>
<!--<div id="rightmenu">-->
<!-- <span class="section"><a href="http://nexuiz.affro.net" target="_blank">Our Nexuiz clan</a></span>-->
<!-- <span class="section"><a href="http://www.youtube.com/user/AffroProductions" target="_blank">Our YouTube channel</a></span>-->
<!-- <span class="section irc"><a href="irc://irc.quakenet.org/affro">#affro @ quakenet</a></span>-->
<!-- <span class="section black">Recommended</span>-->
<!-- <div class="subpages">-->
<!-- <a href="http://www.spreadfirefox.com/node&id=42456&t=314"><img border="0" alt="Firefox 3" title="Firefox 3" src="http://sfx-images.mozilla.org/affiliates/Buttons/firefox3/FF3_88x31_b.png"/></a>-->
<!-- </div>-->
<!-- <span class="section black">Valid code</span>-->
<!-- <div class="subpages">-->
<!-- <a href="http://validator.w3.org/check?uri=referer"><img src="theme/img/valid-xhtml10.gif" alt="Valid XHTML 1.0" title="Valid XHTML 1.0" width="80" height="15" /></a>-->
<!-- <a href="http://jigsaw.w3.org/css-validator/check/referer"><img src="theme/img/valid-css.gif" alt="Valid CSS!" title="Valid CSS!" style="margin-top:3px;margin-bottom:3px;" width="80" height="15" /></a>-->
<!-- <a href="http://www.contentquality.com/"><img src="theme/img/valid-sec508.gif" alt="Follows Section 508 guidlines" title="Follows Section 508 guidlines" width="80" height="15" /></a>-->
<!-- </div>-->
<!--</div>-->
<div id="content">
<?php
echo "<!-- Database content, begin -->\n";
if (isset($search)) require_once("modules/module_search.php");
else if (isset($_GET["sitemap"])) require_once("modules/module_sitemap.php");
else if (isset($_GET["wtfomg"])) require_once("modules/module_wtfomg.php");
else if (isset($_GET["news"])) require_once("modules/module_news.php");
else if (isset($_GET["guestbook"])) require_once("modules/module_guestbook.php");
else require_once("modules/module_content.php");
echo "\n<!-- Database content, end -->\n";
?>
</div>
<div id="containerfixer"> </div>
</div>
<div id="sitefoot">
<?php
$timeafter = microtime(true);
$time = $timeafter - $timebefore;
?>
<!--<img src="theme/img/smalllogo.gif" alt="::" width="23" height="26" />-->
© 2005-<?php echo date("Y");?> <?php echo $sitename?>. <a href="?sitemap=all" title="Shows all pages">Site Map</a><br>
<?php echo "Server spent ".substr($time,0,5)." seconds loading the page."; ?><br>
800x600 minimum resolution.
</div>
</body>
</html>