This commit is contained in:
2025-09-15 16:30:24 -06:00
parent a4ff18076a
commit 6e23de8f12
61 changed files with 1103 additions and 687 deletions

44
irpg-web/header.php Normal file
View File

@@ -0,0 +1,44 @@
<!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',
'World Map' => $irpg_base_dir . 'worldmap.php',
'Quest Info' => $irpg_base_dir . 'quest.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">