forked from halo-battle/game
First code received by Master Leon
This commit is contained in:
commit
4230eb6922
330 changed files with 15543 additions and 0 deletions
83
pages/arbre_techno_t.php
Normal file
83
pages/arbre_techno_t.php
Normal file
|
|
@ -0,0 +1,83 @@
|
|||
<? 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/design.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><a href="arbre_techno_b.php">Batiments</a> | <a href="arbre_techno_t.php">Technologies</a> |
|
||||
<a href="arbre_techno_c.php">Caserne</a> | <a href="arbre_techno_ct.php">Chantier terrestre</a> |
|
||||
<a href="arbre_techno_cs.php">Chantier spatial</a></td></tr></table><br><br></center>
|
||||
<TABLE align=center>
|
||||
<tr><td>Image</td><td>Nom</td><td>Techno</td></tr>
|
||||
|
||||
<tr><td><img src="" width="100" height="80" ></td>
|
||||
<td>Informatique</td>
|
||||
<td><? @techno("Centre de recherches",$labo, 1) ?></td></tr>
|
||||
|
||||
<tr><td><img src="" width="100" height="80" ></td>
|
||||
<td>Détection</td>
|
||||
<td><? @techno("Centre de recherches",$labo, 2) ?><br><? @techno(Informatique ,$informatique, 2) ?></td></tr>
|
||||
|
||||
<tr><td><img src="" width="100" height="80" ></td>
|
||||
<td>Armement</td>
|
||||
<td><? @techno("Centre de recherches",$labo, 5) ?></td></tr>
|
||||
|
||||
<tr><td><img src="" width="100" height="80" ></td>
|
||||
<td>Blindage</td>
|
||||
<td><? @techno("Centre de recherches",$labo, 4) ?></td></tr>
|
||||
|
||||
<tr><td><img src="" width="100" height="80" ></td>
|
||||
<td>Maitrise de l'énergie</td>
|
||||
<td><? @techno("Centre de recherches",$labo, 2) ?></td></tr>
|
||||
|
||||
<tr><td><img src="" width="100" height="80" ></td>
|
||||
<td>Réacteur à antigravité</td>
|
||||
<td><? @techno("Centre de recherches",$labo, 2) ?></td></tr>
|
||||
|
||||
<tr><td><img src="" width="100" height="80" ></td>
|
||||
<td>Réacteur à fusion</td>
|
||||
<td><? @techno("Centre de recherches",$labo, 4) ?><br><? @techno("Maitrise de l'énergie",$energie_t, 2) ?><br>
|
||||
<? @techno("Réacteur à antigravité",$reacteur, 4) ?></td></tr>
|
||||
|
||||
<tr><td><img src="" width="100" height="80" ></td>
|
||||
<td>Réacteur à fusion Forruneur</td>
|
||||
<td><? @techno("Centre de recherches",$labo, 6) ?><br><? @techno("Maitrise de l'énergie",$energie_t, 5) ?><br>
|
||||
<? @techno("Réacteur à fusion",$reacteur_f, 4) ?></td></tr>
|
||||
|
||||
<tr><td><img src="" width="100" height="80" ></td>
|
||||
<td>Médecine</td>
|
||||
<td><? @techno("Centre de recherches",$labo, 1) ?></td></tr>
|
||||
|
||||
<tr><td><img src="" width="100" height="80" ></td>
|
||||
<td>Commandemant militaire</td>
|
||||
<td><? @techno("Centre de recherches",$labo, 3) ?></td></tr>
|
||||
|
||||
<tr><td><img src="" width="100" height="80" ></td>
|
||||
<td>Développement</td>
|
||||
<td><? @techno("Centre de recherches",$labo, 8) ?><br><? @techno("Purificateur de métal",$mine_m, 18) ?><br>
|
||||
<? @techno("Purificateur de cristal",$mine_c, 15) ?><br><? @techno(Informatique,$informatique, 8) ?></td></tr>
|
||||
</TABLE>
|
||||
</body>
|
||||
</html>
|
||||
Loading…
Add table
Add a link
Reference in a new issue