2007-11-20 11:00:00 +00:00
|
|
|
|
<?php
|
2007-11-03 11:00:00 +00:00
|
|
|
|
session_start();
|
|
|
|
|
|
|
|
|
|
$id=$_SESSION['id'];
|
|
|
|
|
$galaxy=$_SESSION['galaxy'];
|
|
|
|
|
$ss=$_SESSION['ss'];
|
|
|
|
|
$pos=$_SESSION['pos'];
|
|
|
|
|
|
2007-10-27 10:00:00 +00:00
|
|
|
|
echo'<html>
|
2007-11-03 11:00:00 +00:00
|
|
|
|
<head>
|
|
|
|
|
<title>Halo Battle</title>
|
|
|
|
|
|
|
|
|
|
<link rel=stylesheet media=screen type=text/css title=design href=descriptions/diz/base.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 >
|
|
|
|
|
|
|
|
|
|
<style TYPE=text/css>
|
|
|
|
|
.g {
|
|
|
|
|
width: 200;
|
|
|
|
|
margin-left: 115;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.h {
|
|
|
|
|
text-align: center;
|
|
|
|
|
width: 30;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.j {
|
|
|
|
|
text-align: left;
|
|
|
|
|
width: 200;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#tablo {
|
|
|
|
|
margin-bottom: 20px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
TD.c {
|
|
|
|
|
background-color: #00024A;
|
|
|
|
|
border: 1px solid #02058A;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
TD.d {
|
|
|
|
|
background-color: #000151;
|
|
|
|
|
border: 1px solid #00007D;
|
|
|
|
|
color: #ff8040;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
TD.e {
|
|
|
|
|
background-color: #000151;
|
|
|
|
|
border: 1px solid #00007D;
|
|
|
|
|
}
|
2007-10-27 10:00:00 +00:00
|
|
|
|
</style>';
|
2007-11-03 11:00:00 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
function techno($nom, $niveau, $niveau_ress)
|
|
|
|
|
{
|
|
|
|
|
if ($niveau < $niveau_ress)
|
|
|
|
|
{
|
2007-10-27 10:00:00 +00:00
|
|
|
|
echo "<font color=red >".$nom." ".$niveau_ress." (".$niveau.")</font>";
|
2007-11-03 11:00:00 +00:00
|
|
|
|
}
|
|
|
|
|
else
|
|
|
|
|
{
|
2007-10-27 10:00:00 +00:00
|
|
|
|
echo "<font color=#00CC99 >".$nom." ".$niveau_ress." (".$niveau.")</font>";
|
2007-11-03 11:00:00 +00:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
include 'bdd.php';
|
|
|
|
|
|
|
|
|
|
|
2007-10-27 10:00:00 +00:00
|
|
|
|
echo'</head>
|
2007-11-03 11:00:00 +00:00
|
|
|
|
<body>
|
|
|
|
|
|
|
|
|
|
<table align=center id=tablo>
|
2007-11-20 11:00:00 +00:00
|
|
|
|
<tr><td><a href=arbre_bat_covenant.php>Batiments</a> |
|
|
|
|
|
<a href=arbre_techno_covenant.php>Technologies</a> |
|
|
|
|
|
<a href=arbre_unitees_covenant.php>Caserne</a> |
|
|
|
|
|
<a href=arbre_vehicules_covenant.php>Chantier terrestre</a> |
|
2007-11-03 11:00:00 +00:00
|
|
|
|
<a href=arbre_vaisseaux_covenant.php>Chantier spatial</a></td></tr></table>
|
|
|
|
|
|
|
|
|
|
<table align=center>
|
|
|
|
|
|
|
|
|
|
<tr>
|
|
|
|
|
<td class=c>B<EFBFBD>timent</td>
|
|
|
|
|
<td class=c>Niveau</td>
|
2007-10-27 10:00:00 +00:00
|
|
|
|
<td class=e>Technologies n<EFBFBD>cessaires (niveau actuel)</td>
|
2007-11-03 11:00:00 +00:00
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
|
|
<tr>
|
2007-11-20 11:00:00 +00:00
|
|
|
|
<td class=c><a href="descriptions.php?bat=0">Purificateur de m<EFBFBD>tal</a></td>
|
2007-10-27 10:00:00 +00:00
|
|
|
|
<td class=d>'.$mine_m.'</td>
|
2007-11-03 11:00:00 +00:00
|
|
|
|
<td class=e><font color=#00CC99>D<>bloqu<71></font></td>
|
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
|
|
<tr>
|
2007-11-20 11:00:00 +00:00
|
|
|
|
<td class=c><a href="descriptions.php?bat=1">Purificateur de cristal</a></td>
|
2007-10-27 10:00:00 +00:00
|
|
|
|
<td class=d>'.$mine_c.'</td>
|
2007-11-03 11:00:00 +00:00
|
|
|
|
<td class=e><font color=#00CC99>D<>bloqu<71></font></td>
|
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
|
|
<tr>
|
2007-11-20 11:00:00 +00:00
|
|
|
|
<td class=c><a href="descriptions.php?bat=2">Ionisateur</a></td>
|
2007-10-27 10:00:00 +00:00
|
|
|
|
<td class=d>'.$mine_h.'</td>
|
2007-11-03 11:00:00 +00:00
|
|
|
|
<td class=e><font color=#00CC99>D<>bloqu<71></font></td>
|
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
|
|
<tr>
|
2007-11-20 11:00:00 +00:00
|
|
|
|
<td class=c><a href="descriptions.php?bat=3">Centrale solaire</a></td>
|
2007-10-27 10:00:00 +00:00
|
|
|
|
<td class=d>'.$centrale_s.'</td>
|
2007-11-03 11:00:00 +00:00
|
|
|
|
<td class=e><font color=#00CC99>D<>bloqu<71></font></td>
|
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
|
|
<tr>
|
2007-11-20 11:00:00 +00:00
|
|
|
|
<td class=c><a href="descriptions.php?bat=4">Centrale de fusion</a></td>
|
2007-10-27 10:00:00 +00:00
|
|
|
|
<td class=d>'.$centrale_f.'</td>
|
2007-11-20 11:00:00 +00:00
|
|
|
|
<td class=e>'; @techno("Maitrise de l'<EFBFBD>nergie",$energie_t, 5); echo'<br>'; @techno('Centrale solaire',$centrale_s, 12); echo'</td>
|
2007-11-03 11:00:00 +00:00
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
|
|
<tr>
|
2007-11-20 11:00:00 +00:00
|
|
|
|
<td class=c><a href="descriptions.php?bat=5">Oeil des proph<EFBFBD>tes</a></td>
|
2007-10-27 10:00:00 +00:00
|
|
|
|
<td class=d>'.$radar.'</td>
|
|
|
|
|
<td class=e>'; @techno(D<>tection,$detection, 1); echo'</td>
|
2007-11-03 11:00:00 +00:00
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
|
|
<tr>
|
2007-11-20 11:00:00 +00:00
|
|
|
|
<td class=c><a href="descriptions.php?bat=6">Centre de recherches</a></td>
|
2007-10-27 10:00:00 +00:00
|
|
|
|
<td class=d>'.$labo.'</td>
|
2007-11-03 11:00:00 +00:00
|
|
|
|
<td class=e><font color=#00CC99 >D<>bloqu<71></font></td>
|
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
|
|
<tr>
|
2007-11-20 11:00:00 +00:00
|
|
|
|
<td class=c><a href="descriptions.php?bat=7">Chantier terrestre</a></td>
|
2007-10-27 10:00:00 +00:00
|
|
|
|
<td class=d>'.$chantier_terrestre.'</td>
|
2007-11-03 11:00:00 +00:00
|
|
|
|
<td class=e><font color=#00CC99 >D<>bloqu<71></font></td>
|
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
|
|
<tr>
|
2007-11-20 11:00:00 +00:00
|
|
|
|
<td class=c><a href="descriptions.php?bat=8">Chantier spatial</a></td>
|
2007-10-27 10:00:00 +00:00
|
|
|
|
<td class=d>'.$chantier_spatial.'</td>
|
|
|
|
|
<td class=e>'; @techno('Chantier terrestre',$chantier_terrestre, 2); echo'</font></td>
|
2007-11-03 11:00:00 +00:00
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
|
|
<tr>
|
2007-11-20 11:00:00 +00:00
|
|
|
|
<td class=c><a href="descriptions.php?bat=9">Caserne</a></td>
|
2007-10-27 10:00:00 +00:00
|
|
|
|
<td class=d>'.$caserne.'</td>
|
2007-11-03 11:00:00 +00:00
|
|
|
|
<td class=e><font color=#00CC99 >D<>bloqu<71></font></td>
|
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
|
|
<tr>
|
2007-11-20 11:00:00 +00:00
|
|
|
|
<td class=c><a href="descriptions.php?bat=10">Entrep<EFBFBD>t</a></td>
|
2007-10-27 10:00:00 +00:00
|
|
|
|
<td class=d>'.$silo.'</td>
|
2007-11-03 11:00:00 +00:00
|
|
|
|
<td class=e><font color=#00CC99 >D<>bloqu<71></font></td>
|
|
|
|
|
</tr>
|
|
|
|
|
|
2007-11-04 11:00:00 +00:00
|
|
|
|
<tr>
|
2007-11-20 11:00:00 +00:00
|
|
|
|
<td class=c><a href="descriptions.php?bat=11">Centrale informatque</a></td>
|
2007-11-04 11:00:00 +00:00
|
|
|
|
<td class=d>'.$centre_info.'</td>
|
|
|
|
|
<td class=e>'; @techno('Informatique',$informatique, 2); echo'</td>
|
|
|
|
|
</tr>
|
2007-11-03 11:00:00 +00:00
|
|
|
|
|
|
|
|
|
</table>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</body>
|
2007-10-27 10:00:00 +00:00
|
|
|
|
</html>'; ?>
|