161 lines
4.1 KiB
PHP
161 lines
4.1 KiB
PHP
<?
|
|
session_start();
|
|
|
|
$id=$_SESSION['id'];
|
|
$galaxy=$_SESSION['galaxy'];
|
|
$ss=$_SESSION['ss'];
|
|
$pos=$_SESSION['pos'];
|
|
|
|
echo'<html>
|
|
<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;
|
|
}
|
|
</style>';
|
|
|
|
|
|
function techno($nom, $niveau, $niveau_ress)
|
|
{
|
|
if ($niveau < $niveau_ress)
|
|
{
|
|
echo "<font color=red >".$nom." ".$niveau_ress." (".$niveau.")</font>";
|
|
}
|
|
else
|
|
{
|
|
echo "<font color=#00CC99 >".$nom." ".$niveau_ress." (".$niveau.")</font>";
|
|
}
|
|
}
|
|
|
|
include 'bdd.php';
|
|
|
|
|
|
echo'</head>
|
|
<body>
|
|
|
|
<table align=center id=tablo>
|
|
<tr><td><a href=arbre_bat_humain.php>Batiments</a> |
|
|
<a href=arbre_techno_humain.php>Technologies</a> |
|
|
<a href=arbre_unitees_humain.php>Ecole militaire</a> |
|
|
<a href=arbre_vehicules_humain.php>Chantier terrestre</a> |
|
|
<a href=arbre_vaisseaux_humain.php>Chantier spatial</a></td></tr></table>
|
|
|
|
<table align=center>
|
|
|
|
<tr>
|
|
<td class=c>Véhicules</td>
|
|
<td class=e>Technologies nécessaires (niveau actuel)</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class=c><a href=descriptions/.php>Sparrowhawk</a></td>
|
|
<td class=e>'; @techno("Chantier terrestre",$chantier_terrestre, 1); echo'</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class=c><a href=descriptions/.php>077-TC Pelican</a></td>
|
|
<td class=e>'; @techno("Chantier terrestre",$chantier_terrestre, 3); echo'<br>'; @techno(Armement,$armement, 1); echo'</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class=c><a href=descriptions/.php>C703 Shortsword Bomber</a></td>
|
|
<td class=e>'; @techno("Chantier terrestre",$chantier_terrestre, 4); echo'<br>'; @techno("Réacteur à combustion",$reacteur, 1); echo'</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class=c><a href=descriptions/.php>SHD Albatros</a></td>
|
|
<td class=e>'; @techno("Chantier terrestre",$chantier_terrestre, 6); echo'<br>'; @techno("Réacteur à combustion",$reacteur, 3); echo'</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class=c><a href=descriptions/.php>M12 LRV Warthogs</a></td>
|
|
<td class=e>'; @techno("Chantier terrestre",$chantier_terrestre, 1); echo'</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class=c><a href=descriptions/.php>M12G1 LAAV Warthogs</a></td>
|
|
<td class=e>'; @techno("Chantier terrestre",$chantier_terrestre, 1); echo'</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class=c><a href=descriptions/.php>M12A1 LAAV Warthogs</a></td>
|
|
<td class=e>'; @techno("Chantier terrestre",$chantier_terrestre, 3); echo'<br>'; @techno(Armement,$armement, 1); echo'</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class=c><a href=descriptions/.php>Scorpion</a></td>
|
|
<td class=e>'; @techno("Chantier terrestre",$chantier_terrestre, 5); echo'<br>'; @techno(Armement,$armement, 2);
|
|
echo'<br>'; @techno(Blindage,$blindage, 2); echo'</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class=c><a href=descriptions/.php>Mitrailleuse automatique M247 GP</a></td>
|
|
<td class=e>'; @techno("Chantier terrestre",$chantier_terrestre, 1); echo'</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class=c><a href=descriptions/.php>DCA légère</a></td>
|
|
<td class=e>'; @techno("Chantier terrestre",$chantier_terrestre, 3); echo'<br>'; @techno("Maitrise de l'énergie",$energie_t, 2); echo'</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class=c><a href=descriptions/.php>DCA lourde</a></td>
|
|
<td class=e>'; @techno("Chantier terrestre",$chantier_terrestre, 4); echo'<br>'; @techno(Armement,$armement, 1); echo'</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class=c><a href=descriptions/.php>Canon Gauss</a></td>
|
|
<td class=e>'; @techno("Chantier terrestre",$chantier_terrestre, 4); echo'<br>'; @techno(Armement,$armement, 3);
|
|
echo'<br>'; @techno("Maitrise de l'énergie",$energie_t, 3); echo'</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class=c><a href=descriptions/.php>Lanceur de missiles</a></td>
|
|
<td class=e>'; @techno("Chantier terrestre",$chantier_terrestre, 8); echo'<br>'; @techno(Armement,$armement, 5);
|
|
echo'<br>'; @techno(IA,$informatique, 4); echo'</td>
|
|
</tr>
|
|
|
|
|
|
</table>
|
|
|
|
|
|
</body>
|
|
</html>'; ?>
|