source: irpg/trunk/htdocs/header.php@ 1451

Last change on this file since 1451 was 1451, checked in by skalpette, 15 years ago

Import initial

File size: 1.4 KB
Line 
1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1 Strict//EN"
2 "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
3
4<html>
5 <head>
6 <title><?echo $irpg_chan;?> Idle RPG: <?echo $irpg_page_title;?></title>
7 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
8 <link rel="stylesheet" type="text/css" href="g7.css" />
9 </head>
10 <body>
11
12 <!-- Idle RPG Logo -->
13
14 <div class="head">
15<?php
16 echo(' <img src="'. $irpg_logo .'" alt="'. $irpg_chan .' Idle RPG" title="'. $irpg_chan .' Idle RPG" width="338" height="115" />');
17?>
18 </div>
19
20 <div id="menu" class="menu">
21
22<?php
23 $topbarurl = array(
24 'Le jeu' => $BASEURL . 'index.php',
25 'Les joueurs' => $BASEURL . 'players.php',
26 'La carte' => $BASEURL . 'worldmap.php',
27 'Les qu&ecirc;tes' => $BASEURL . 'quest.php',
28 'Contact' => $BASEURL . 'contact.php',
29 'D\'autres IRPG' => 'http://idlerpg.net/others.php',
30 'Code Source' => 'http://idlerpg.net/source.php',
31 'Source du site' => 'http://idlerpg.net/sitesource.php',
32 'Forum' => 'http://idlerpg.net/forum.php'
33 );
34
35 foreach ($topbarurl as $key => $value) {
36 if ($topbarurl[$key] == $_SERVER['PHP_SELF']) {
37 echo " <a class=\"home\" href=\"$value\">$key</a>\n";
38 }
39 else {
40 echo " <a href=\"$value\">$key</a>\n";
41 }
42 }
43?>
44 </div>
45
46 <div class="content">
Note: See TracBrowser for help on using the repository browser.