forked from halo-battle/game
Version 2007-10-27
This commit is contained in:
parent
b8e951f59d
commit
4909921671
98 changed files with 6096 additions and 2268 deletions
|
|
@ -6,7 +6,7 @@ $galaxy=$_SESSION['galaxy'];
|
|||
$ss=$_SESSION['ss'];
|
||||
$pos=$_SESSION['pos'];
|
||||
|
||||
echo"<html>
|
||||
echo'<html>
|
||||
<head>
|
||||
<title>Halo Battle</title>
|
||||
|
||||
|
|
@ -50,25 +50,25 @@ TD.e {
|
|||
background-color: #000151;
|
||||
border: 1px solid #00007D;
|
||||
}
|
||||
</style>";
|
||||
</style>';
|
||||
|
||||
|
||||
function techno($nom, $niveau, $niveau_ress)
|
||||
{
|
||||
if ($niveau < $niveau_ress)
|
||||
{
|
||||
echo "<font color=red >".$nom." ".$niveau_ress."</font>";
|
||||
echo "<font color=red >".$nom." ".$niveau_ress." (".$niveau.")</font>";
|
||||
}
|
||||
else
|
||||
{
|
||||
echo "<font color=#00CC99 >".$nom." ".$niveau_ress."</font>";
|
||||
echo "<font color=#00CC99 >".$nom." ".$niveau_ress." (".$niveau.")</font>";
|
||||
}
|
||||
}
|
||||
|
||||
include 'bdd.php';
|
||||
|
||||
|
||||
echo"</head>
|
||||
echo'</head>
|
||||
<body>
|
||||
|
||||
<table align=center id=tablo>
|
||||
|
|
@ -83,72 +83,72 @@ echo"</head>
|
|||
<tr>
|
||||
<td class=c>Bâtiment</td>
|
||||
<td class=c>Niveau</td>
|
||||
<td class=e>Technologies nécessaires</td>
|
||||
<td class=e>Technologies nécessaires (niveau actuel)</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td class=c><a href=descriptions/.php>Purificateur de métal</a></td>
|
||||
<td class=d>".$mine_m."</td>
|
||||
<td class=d>'.$mine_m.'</td>
|
||||
<td class=e><font color=#00CC99>Débloqué</font></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td class=c><a href=descriptions/.php>Purificateur de cristal</a></td>
|
||||
<td class=d>".$mine_c."</td>
|
||||
<td class=d>'.$mine_c.'</td>
|
||||
<td class=e><font color=#00CC99>Débloqué</font></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td class=c><a href=descriptions/.php>Ionisateur</a></td>
|
||||
<td class=d>".$mine_h."</td>
|
||||
<td class=d>'.$mine_h.'</td>
|
||||
<td class=e><font color=#00CC99>Débloqué</font></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td class=c><a href=descriptions/.php>Centrale solaire</a></td>
|
||||
<td class=d>".$centrale_s."</td>
|
||||
<td class=d>'.$centrale_s.'</td>
|
||||
<td class=e><font color=#00CC99>Débloqué</font></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td class=c><a href=descriptions/.php>Centrale de fusion</a></td>
|
||||
<td class=d>".$centrale_f."</td>
|
||||
<td class=e><font color=#00CC99>Débloqué</font></td>
|
||||
<td class=d>'.$centrale_f.'</td>
|
||||
<td class=e>'; @techno(Energie,$energie_t, 5); echo'<br>'; @techno('Centrale solaire',$centrale_s, 12); echo'</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td class=c><a href=descriptions/.php>Oeil des prophètes</a></td>
|
||||
<td class=d>".$radar."</td>
|
||||
<td class=e>"; @techno(Détection,$detection, 1); echo"</td>
|
||||
<td class=d>'.$radar.'</td>
|
||||
<td class=e>'; @techno(Détection,$detection, 1); echo'</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td class=c><a href=descriptions/.php>Centre de recherches</a></td>
|
||||
<td class=d>".$labo."</td>
|
||||
<td class=d>'.$labo.'</td>
|
||||
<td class=e><font color=#00CC99 >Débloqué</font></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td class=c><a href=descriptions/.php>Chantier terrestre</a></td>
|
||||
<td class=d>".$chantier_terrestre."</td>
|
||||
<td class=d>'.$chantier_terrestre.'</td>
|
||||
<td class=e><font color=#00CC99 >Débloqué</font></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td class=c><a href=descriptions/.php>Chantier spatial</a></td>
|
||||
<td class=d>".$chantier_spatial."</td>
|
||||
<td class=e>"; @techno("Chantier terrestre",$chantier_terrestre, 2); echo"</font></td>
|
||||
<td class=d>'.$chantier_spatial.'</td>
|
||||
<td class=e>'; @techno('Chantier terrestre',$chantier_terrestre, 2); echo'</font></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td class=c><a href=descriptions/.php>Caserne</a></td>
|
||||
<td class=d>".$caserne."</td>
|
||||
<td class=d>'.$caserne.'</td>
|
||||
<td class=e><font color=#00CC99 >Débloqué</font></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td class=c><a href=descriptions/.php>Entrepôt</a></td>
|
||||
<td class=d>".$silo."</td>
|
||||
<td class=d>'.$silo.'</td>
|
||||
<td class=e><font color=#00CC99 >Débloqué</font></td>
|
||||
</tr>
|
||||
|
||||
|
|
@ -157,4 +157,4 @@ echo"</head>
|
|||
|
||||
|
||||
</body>
|
||||
</html>"; ?>
|
||||
</html>'; ?>
|
||||
Loading…
Add table
Add a link
Reference in a new issue