45 lines
1.4 KiB
PHP
45 lines
1.4 KiB
PHP
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1 Strict//EN"
|
|
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
|
|
|
|
<html>
|
|
<head>
|
|
<title><?php echo $irpg_page_title; ?> :: <?php echo $irpg_chan; ?></title>
|
|
<meta name="description" content="<?php echo $irpg_page_desc; ?>" />
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
<link rel="stylesheet" type="text/css" href="<?php echo $irpg_stylesheet; ?>" />
|
|
</head>
|
|
<body>
|
|
<div class="head">
|
|
<?php
|
|
echo " <img src=\"$irpg_logo\" alt=\"$irpg_chan\" title=\"$irpg_chan\" width=\"400\" height=\"56\" />\n";
|
|
?>
|
|
</div>
|
|
<div id="menu" class="menu">
|
|
<?php
|
|
$topbarurl = array(
|
|
'Game Info' => $irpg_base_dir . 'index.php',
|
|
'Player Info' => $irpg_base_dir . 'players.php',
|
|
'Quest Info' => $irpg_base_dir . 'quest.php',
|
|
'World Map' => $irpg_base_dir . 'worldmap.php',
|
|
);
|
|
|
|
if ($irpg_site_email && $irpg_site_email != "disabled") {
|
|
$topbarurl['Contact'] = $irpg_base_dir . 'contact.php';
|
|
}
|
|
|
|
if ($irpg_forum_url) {
|
|
$topbarurl['Forum'] = $irpg_forum_url;
|
|
}
|
|
|
|
foreach ($topbarurl as $key => $value) {
|
|
if ($value == $_SERVER['PHP_SELF']) {
|
|
echo " <a class=\"home\" href=\"$value\">$key</a>\n";
|
|
}
|
|
else {
|
|
echo " <a href=\"$value\">$key</a>\n";
|
|
}
|
|
}
|
|
?>
|
|
</div>
|
|
<div class="content">
|