Second revision by Master Leon
This commit is contained in:
parent
4230eb6922
commit
b8e951f59d
382 changed files with 3112 additions and 14815 deletions
199
pages/menu.php
Normal file
199
pages/menu.php
Normal file
|
|
@ -0,0 +1,199 @@
|
|||
<?
|
||||
session_start();
|
||||
$race = $_SESSION['race'];
|
||||
|
||||
echo '<html>
|
||||
<head>
|
||||
<title>Space battleship</title>
|
||||
|
||||
<link rel="stylesheet" media="screen" type="text/css" title="design" href="descriptions/diz/menu.css" >
|
||||
<meta http-equiv="pragma" content="no-cache" >
|
||||
<meta http-equiv="content-type" content="text/html;charset=iso-8869-1" >
|
||||
<link rel="shortcut icon" type="image/x-icon" href="favicon.ico" >
|
||||
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<div>
|
||||
<SCRIPT language="javascript">
|
||||
parent.frames["changement"].window.location="version.html"
|
||||
</SCRIPT>
|
||||
<A HREF="version.html" target="changement" class=link>Version 0.1</A>
|
||||
</div>'; ?>
|
||||
|
||||
<script language="javascript">
|
||||
function dateTempsReel ( ) {
|
||||
var days = new Array('Dim', 'Lun', 'Mar', 'Mer', 'Jeu', 'Ven', 'Sam');
|
||||
var months = new Array('jan', 'fév', 'mar', 'avr', 'mai', 'juin', 'juil', 'aoû', 'sep', 'oct', 'nov', 'déc');
|
||||
date = new Date;
|
||||
date.setTime(date.getTime());
|
||||
var hour = date.getHours();
|
||||
var min = date.getMinutes();
|
||||
var sec = date.getSeconds();
|
||||
var day = days[date.getDay()];
|
||||
var day_number = date.getDate();
|
||||
var month = months[date.getMonth()];
|
||||
if (sec < 10) sec = '0' + sec;
|
||||
if (min < 10) min = '0' + min;
|
||||
if (hour < 10) hour = '0' + hour;
|
||||
var datetime = day + ' ' + day_number + ' ' + month + ' ' + hour + ':' + min + ':' + sec;
|
||||
if (document.getElementById)
|
||||
{
|
||||
document.getElementById('datetime').innerHTML = datetime;
|
||||
}
|
||||
setTimeout('dateTempsReel()', 999)
|
||||
} </script>
|
||||
<? echo '<div id="datetime"></div><script language="javascript">dateTempsReel();</script>
|
||||
|
||||
|
||||
<div>
|
||||
<SCRIPT language="javascript">
|
||||
parent.frames["changement"].window.location="depart.php"
|
||||
</SCRIPT>
|
||||
<A HREF="depart.php" target="changement" >Accueil</A>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<SCRIPT language="javascript">
|
||||
parent.frames["changement"].window.location="batiment_'.$race.'.php"
|
||||
</SCRIPT>
|
||||
<a href="batiment_'.$race.'.php" target="changement">Bâtiments</a>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<SCRIPT language="javascript">
|
||||
parent.frames["changement"].window.location="caserne_'.$race.'.php"
|
||||
</SCRIPT>
|
||||
<a href="caserne_'.$race.'.php" target="changement">Caserne</a>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<SCRIPT language="javascript">
|
||||
parent.frames["changement"].window.location="fabrique_'.$race.'.php"
|
||||
</SCRIPT>
|
||||
<a href="fabrique_'.$race.'.php" target="changement">Fabrique d\'armes</a>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<SCRIPT language="javascript">
|
||||
parent.frames["changement"].window.location="chantier_spatial_'.$race.'.php"
|
||||
</SCRIPT>
|
||||
<a href="chantier_spatial_'.$race.'.php" target="changement">Chantier spatial</a>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<SCRIPT language="javascript">
|
||||
parent.frames["changement"].window.location="laboratoire_'.$race.'.php"
|
||||
</SCRIPT>
|
||||
<a href="laboratoire_'.$race.'.php" target="changement">Laboratoire</a>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<SCRIPT language="javascript">
|
||||
parent.frames["changement"].window.location="arbre_bat_'.$race.'.php"
|
||||
</SCRIPT>
|
||||
<a href="arbre_bat_'.$race.'.php" target="changement">Arbre technologique</a>
|
||||
</div>
|
||||
|
||||
|
||||
<div class=blanc>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<SCRIPT language="javascript">
|
||||
parent.frames["changement"].window.location="ressources.php"
|
||||
</SCRIPT>
|
||||
<a href="ressources.php" target="changement">Ressources</a>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<SCRIPT language="javascript">
|
||||
parent.frames["changement"].window.location="gestion.php"
|
||||
</SCRIPT>
|
||||
<a href="gestion.php" target="changement">Gestion</a>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<SCRIPT language="javascript">
|
||||
parent.frames["changement"].window.location="flotte_'.$race.'.php"</SCRIPT>
|
||||
<a href="flotte_'.$race.'.php" target="changement">Flotte</a>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<SCRIPT language="javascript">
|
||||
parent.frames["changement"].window.location="armee_'.$race.'.php"
|
||||
</SCRIPT>
|
||||
<a href="armee_'.$race.'.php" target="changement">Armée</a>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<SCRIPT language="javascript">
|
||||
parent.frames["changement"].window.location="carte.php"
|
||||
</SCRIPT>
|
||||
<a href="carte.php" target="changement">Carte spatiale</a>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<SCRIPT language="javascript">
|
||||
parent.frames["changement"].window.location="options.php"
|
||||
</SCRIPT>
|
||||
<a href="options.php" target="changement">Options</a>
|
||||
</div>
|
||||
|
||||
|
||||
<div class=blanc>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<SCRIPT language="javascript">
|
||||
parent.frames["changement"].window.location="messages.php"
|
||||
</SCRIPT>
|
||||
<a href="messages.php" target="changement">Messages</a>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<SCRIPT language="javascript">
|
||||
parent.frames["changement"].window.location="alliance_choix.php"
|
||||
</SCRIPT>
|
||||
<a href="alliance_choix.php" target="changement">Guilde</a>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<SCRIPT language="javascript">
|
||||
parent.frames["changement"].window.location="#"
|
||||
</SCRIPT>
|
||||
<a href="javascript:top.location.href=http://www.halo-battle.s-fr.com/forum/index.php">Forum</a>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<SCRIPT language="javascript">
|
||||
parent.frames["changement"].window.location="rapport_bug.php"
|
||||
</SCRIPT>
|
||||
<a href="rapport_bug.php" target="changement">Rapport de bugs</a>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<SCRIPT language="javascript">
|
||||
parent.frames["changement"].window.location="faq.php"
|
||||
</SCRIPT>
|
||||
<a href="faq.php" target="changement">F.A.Q.</a>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<SCRIPT language="javascript">
|
||||
parent.frames["changement"].window.location="logout.php"
|
||||
</SCRIPT>
|
||||
<a href="javascript:top.location.href=\'logout.php\'">Déconnexion</a>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<SCRIPT language="javascript">
|
||||
parent.frames["changement"].window.location="depart.php"
|
||||
</SCRIPT>
|
||||
|
||||
|
||||
</body>
|
||||
</html>';
|
||||
?>
|
||||
Loading…
Add table
Add a link
Reference in a new issue