<!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_chan;?> Idle RPG: <?php 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="55" height="45" />');
?>
    </div>

    <div id="menu" class="menu">

<?php
    $topbarurl = array(
        'Le jeu' => $BASEURL . 'index.php',
        'Les joueurs' => $BASEURL . 'players.php',
        'La carte' => $BASEURL . 'worldmap.php',
        'Les qu&ecirc;tes' => $BASEURL . 'quest.php',
        'Contact' => $BASEURL . 'contact.php',
        'Forum' => 'http://forum.nainwak.com/viewforum.php?f=34',
        'D\'autres IRPG' => 'http://idlerpg.net/others.php',
        'Code Source' => 'http://idlerpg.net/source.php',
        'Source du site' => 'http://idlerpg.net/sitesource.php'
    );

    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">
