forked from halo-battle/game
Second revision by Master Leon
This commit is contained in:
parent
4230eb6922
commit
b8e951f59d
382 changed files with 3112 additions and 14815 deletions
160
pages/arbre_bat_covenant.php
Normal file
160
pages/arbre_bat_covenant.php
Normal file
|
|
@ -0,0 +1,160 @@
|
|||
<?
|
||||
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."</font>";
|
||||
}
|
||||
else
|
||||
{
|
||||
echo "<font color=#00CC99 >".$nom." ".$niveau_ress."</font>";
|
||||
}
|
||||
}
|
||||
|
||||
include 'bdd.php';
|
||||
|
||||
|
||||
echo"</head>
|
||||
<body>
|
||||
|
||||
<table align=center id=tablo>
|
||||
<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> |
|
||||
<a href=arbre_vaisseaux_covenant.php>Chantier spatial</a></td></tr></table>
|
||||
|
||||
<table align=center>
|
||||
|
||||
<tr>
|
||||
<td class=c>Bâtiment</td>
|
||||
<td class=c>Niveau</td>
|
||||
<td class=e>Technologies nécessaires</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td class=c><a href=descriptions/.php>Purificateur de métal</a></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=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=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=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>
|
||||
</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>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td class=c><a href=descriptions/.php>Centre de recherches</a></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=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>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td class=c><a href=descriptions/.php>Caserne</a></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=e><font color=#00CC99 >Débloqué</font></td>
|
||||
</tr>
|
||||
|
||||
|
||||
</table>
|
||||
|
||||
|
||||
</body>
|
||||
</html>"; ?>
|
||||
Loading…
Add table
Add a link
Reference in a new issue