forked from halo-battle/game
68 lines
1.9 KiB
PHP
68 lines
1.9 KiB
PHP
<? session_start(); ?>
|
|
<HTML>
|
|
<HEAD>
|
|
<TITLE>Space Battleship</TITLE>
|
|
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
|
|
<link rel="stylesheet" media="screen" name="design" href="design/designtechno.css">
|
|
<?
|
|
$id=$_SESSION['id'];
|
|
$galaxy=$_SESSION['galaxy'];
|
|
$ss=$_SESSION['ss'];
|
|
$pos=$_SESSION['pos'];
|
|
include 'ressource.php';
|
|
include 'bdd.php';
|
|
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>";
|
|
}
|
|
}
|
|
?>
|
|
</head>
|
|
<body>
|
|
|
|
<center><table><tr><td class="a"><a href="arbre_techno_caserne.php">Caserne</a> |
|
|
<a href="arbre_techno_technologie.php">Technologies</a> |
|
|
<a href="arbre_techno_batiments_p.php">Batiments</a>
|
|
</td></tr></table><br><br></center>
|
|
|
|
<TABLE>
|
|
<tr><td>Image</td><td>Nom</td><td>Techno</td></tr>
|
|
|
|
<tr><td><img src="" width="100" height="80" ></td>
|
|
<td><a href="">Specialisation</td>
|
|
<td><? @techno(Laboratoire,$labo, 2) ?></td></tr>
|
|
|
|
<tr><td><img src="" width="100" height="80" ></td>
|
|
<td><a href="">Blindage</td>
|
|
<td><? @techno(Laboratoire,$labo, 2) ?><br><? @techno("Recupértateur de métaux",$recup_metaux, 5) ?></td></tr>
|
|
|
|
<tr><td><img src="" width="100" height="80" ></td>
|
|
<td><a href="">Elevage</td>
|
|
<td><? @techno(Laboratoire,$labo, 1) ?></td></tr>
|
|
|
|
<tr><td><img src="" width="100" height="80" ></td>
|
|
<td><a href="">Concombre de mer</td>
|
|
<td><? @techno(Laboratoire,$labo, 4) ?></td></tr>
|
|
|
|
<tr><td><img src="" width="100" height="80" ></td>
|
|
<td><a href="">Vitesse</td>
|
|
<td><? @techno(Laboratoire,$labo, 3) ?></td></tr>
|
|
|
|
<tr><td><img src="" width="100" height="80" ></td>
|
|
<td><a href="">Mjolinor</td>
|
|
<td><? @techno(Laboratoire,$labo, 7) ?><br><? @techno(Blindage,$blindage, 5) ?></td></tr>
|
|
|
|
<tr><td class="a"><img src="" width="100" height="80" ></td>
|
|
<td class="a">Espionnage</td>
|
|
<td class="a"><? @techno(Laboratoire,$labo, 3) ?></td></tr>
|
|
|
|
</TABLE>
|
|
|
|
</body>
|
|
</html>
|