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
92
pages/arbre_techno_ct.php
Normal file
92
pages/arbre_techno_ct.php
Normal file
|
|
@ -0,0 +1,92 @@
|
|||
<? 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>Banshee</td>
|
||||
<td><? @techno("Chantier terrestre",$chantier_terrestre, 1) ?></td></tr>
|
||||
|
||||
<tr><td><img src="" width="100" height="80" ></td>
|
||||
<td>Spirit</td>
|
||||
<td><? @techno("Chantier terrestre",$chantier_terrestre, 3) ?><br><? @techno(Armement,$armement, 1) ?></td></tr>
|
||||
|
||||
<tr><td><img src="" width="100" height="80" ></td>
|
||||
<td>Phantom</td>
|
||||
<td><? @techno("Chantier terrestre",$chantier_terrestre, 4) ?><br><? @techno("Réacteur à antigravité",$reacteur, 1) ?></td></tr>
|
||||
|
||||
<tr><td><img src="" width="100" height="80" ></td>
|
||||
<td>Boarding craft</td>
|
||||
<td><? @techno("Chantier terrestre",$chantier_terrestre, 6) ?><br><? @techno("Réacteur à antigravité",$reacteur, 3) ?></td></tr>
|
||||
|
||||
<tr><td><img src="" width="100" height="80" ></td>
|
||||
<td>Ghost</td>
|
||||
<td><? @techno("Chantier terrestre",$chantier_terrestre, 1) ?></td></tr>
|
||||
|
||||
<tr><td><img src="" width="100" height="80" ></td>
|
||||
<td>Shadow</td>
|
||||
<td><? @techno("Chantier terrestre",$chantier_terrestre, 2) ?></td></tr>
|
||||
|
||||
<tr><td><img src="" width="100" height="80" ></td>
|
||||
<td>Spectre</td>
|
||||
<td><? @techno("Chantier terrestre",$chantier_terrestre, 3) ?><br><? @techno(Armement,$armement, 1) ?></td></tr>
|
||||
|
||||
<tr><td><img src="" width="100" height="80" ></td>
|
||||
<td>Apparition</td>
|
||||
<td><? @techno("Chantier terrestre",$chantier_terrestre, 5) ?><br><? @techno(Armement,$armement, 2) ?>
|
||||
<br><? @techno(Bouclier,$blindage, 2) ?></td></tr>
|
||||
|
||||
<tr><td><img src="" width="100" height="80" ></td>
|
||||
<td>Shade</td>
|
||||
<td><? @techno("Chantier terrestre",$chantier_terrestre, 1) ?></td></tr>
|
||||
|
||||
<tr><td><img src="" width="100" height="80" ></td>
|
||||
<td>Strong shade</td>
|
||||
<td><? @techno("Chantier terrestre",$chantier_terrestre, 3) ?><br><? @techno("Maitrise de l'énergie",$energie_t, 2) ?></td></tr>
|
||||
|
||||
<tr><td><img src="" width="100" height="80" ></td>
|
||||
<td>Tourelle à barreau de combustible</td>
|
||||
<td><? @techno("Chantier terrestre",$chantier_terrestre, 4) ?><br><? @techno(Armement,$armement, 1) ?></td></tr>
|
||||
|
||||
<tr><td><img src="" width="100" height="80" ></td>
|
||||
<td>Tourelle à plasma</td>
|
||||
<td><? @techno("Chantier terrestre",$chantier_terrestre, 6) ?><br><? @techno(Armement,$armement, 3) ?>
|
||||
<br><? @techno("Maitrise de l'énergie",$energie_t, 3) ?></td></tr>
|
||||
|
||||
<tr><td><img src="" width="100" height="80" ></td>
|
||||
<td>Lanceur de torpilles plasma</td>
|
||||
<td><? @techno("Chantier terrestre",$chantier_terrestre, 8) ?><br><? @techno(Armement,$armement, 5) ?>
|
||||
<br><? @techno(Informatique,$informatique, 4) ?></td></tr>
|
||||
|
||||
</TABLE>
|
||||
</body>
|
||||
</html>
|
||||
Loading…
Add table
Add a link
Reference in a new issue