-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathheader.php
More file actions
46 lines (40 loc) · 1.32 KB
/
header.php
File metadata and controls
46 lines (40 loc) · 1.32 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
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1 Strict//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html>
<head>
<title><?echo $irpg_chan;?> Idle RPG: <?echo $irpg_page_title;?></title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="g7.css" />
</head>
<body>
<div class="container">
<div id="outborder">
<div id="inborder">
<!-- Idle RPG Logo -->
<div class="head">
<?php
echo(' <img src="'. $irpg_logo .'" alt="'. $irpg_chan .' Idle RPG" title="'. $irpg_chan .' Idle RPG"/>');
?>
</div>
<div id="menu" class="menu">
<?php
$topbarurl = array(
'Game Info' => $BASEURL . 'index.php',
'Player Info' => $BASEURL . 'players.php',
// 'Contact' => $BASEURL . 'contact.php',
'World Map' => $BASEURL . 'worldmap.php',
'Quest Info' => $BASEURL . 'quest.php',
'Mozor.net' => "http://mozor.net",
);
foreach ($topbarurl as $key => $value) {
if ($topbarurl[$key] == $_SERVER['PHP_SELF']) {
echo "<div class=\"menuthings\"><a class=\"home\" href=\"$value\">$key</a></div>";
}
else {
echo "<div class=\"menuthings\"><a href=\"$value\">$key</a></div>";
}
}
?>
</div>
<div class="clear"></div>
<div class="content">