Add project files.
This commit is contained in:
47
irpg/header.php
Normal file
47
irpg/header.php
Normal file
@@ -0,0 +1,47 @@
|
||||
<!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>
|
||||
|
||||
<!-- Idle RPG Logo -->
|
||||
|
||||
<div class="head">
|
||||
<?php
|
||||
echo(' <img src="'. $irpg_logo .'" alt="'. $irpg_chan .' Idle RPG" title="'. $irpg_chan .' Idle RPG" width="338" height="115" />');
|
||||
?>
|
||||
</div>
|
||||
|
||||
<div id="menu" class="menu">
|
||||
|
||||
<?php
|
||||
$topbarurl = array(
|
||||
'Game Info' => $BASEURL . 'index.php',
|
||||
'Player Info' => $BASEURL . 'players.php',
|
||||
'Contact' => $BASEURL . 'contact.php',
|
||||
'Source' => 'http://idlerpg.net/source.php',
|
||||
'Other IRPGs' => 'http://idlerpg.net/others.php',
|
||||
'Site Source' => 'http://idlerpg.net/sitesource.php',
|
||||
'World Map' => $BASEURL . 'worldmap.php',
|
||||
'Quest Info' => $BASEURL . 'quest.php',
|
||||
'Forum' => 'http://idlerpg.net/forum.php',
|
||||
'moo.' => 'http://cowcult.org',
|
||||
);
|
||||
|
||||
foreach ($topbarurl as $key => $value) {
|
||||
if ($topbarurl[$key] == $_SERVER['PHP_SELF']) {
|
||||
echo " <a class=\"home\" href=\"$value\">$key</a>\n";
|
||||
}
|
||||
else {
|
||||
echo " <a href=\"$value\">$key</a>\n";
|
||||
}
|
||||
}
|
||||
?>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
Reference in New Issue
Block a user