forked from halo-battle/game
Version 2007-11-05
This commit is contained in:
parent
ebc73c5744
commit
d08fb34825
58 changed files with 1819 additions and 1447 deletions
165
pages/arbre_techno_humain.php
Normal file
165
pages/arbre_techno_humain.php
Normal file
|
|
@ -0,0 +1,165 @@
|
|||
<?
|
||||
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." (".$niveau.")</font>";
|
||||
}
|
||||
else
|
||||
{
|
||||
echo "<font color=#00CC99 >".$nom." ".$niveau_ress." (".$niveau.")</font>";
|
||||
}
|
||||
}
|
||||
|
||||
include 'bdd.php';
|
||||
|
||||
|
||||
echo'</head>
|
||||
<body>
|
||||
|
||||
<table align=center id=tablo>
|
||||
<tr><td><a href=arbre_bat_humain.php>Batiments</a> |
|
||||
<a href=arbre_techno_humain.php>Technologies</a> |
|
||||
<a href=arbre_unitees_humain.php>Ecole militaire</a> |
|
||||
<a href=arbre_vehicules_humain.php>Chantier terrestre</a> |
|
||||
<a href=arbre_vaisseaux_humain.php>Chantier spatial</a></td></tr></table>
|
||||
|
||||
<table align=center>
|
||||
|
||||
<tr>
|
||||
<td class=c>Technologie</td>
|
||||
<td class=c>Niveau</td>
|
||||
<td class=e>Technologies nécessaires (niveau actuel)</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td class=c><a href=descriptions/.php>IA</a></td>
|
||||
<td class=d>'.$informatique.'</td>
|
||||
<td class=e>'; @techno('Laboratoire',$labo, 1); echo'</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td class=c><a href=descriptions/.php>Radar</a></td>
|
||||
<td class=d>'.$detection.'</td>
|
||||
<td class=e>'; @techno('Laboratoire',$labo, 2); echo'<br>'; @techno(IA ,$informatique, 2); echo'</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td class=c><a href=descriptions/.php>Armement</a></td>
|
||||
<td class=d>'.$armement.'</td>
|
||||
<td class=e>'; @techno('Laboratoire',$labo, 5); echo'</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td class=c><a href=descriptions/.php>Blindage</a></td>
|
||||
<td class=d>'.$blindage.'</td>
|
||||
<td class=e>'; @techno('Laboratoire',$labo, 4); echo'</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td class=c><a href=descriptions/.php>Maitrise de l\'énergie</a></td>
|
||||
<td class=d>'.$energie_t.'</td>
|
||||
<td class=e>'; @techno('Laboratoire',$labo, 2); echo'</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td class=c><a href=descriptions/.php>Réacteur à combustion</a></td>
|
||||
<td class=d>'.$reacteur.'</td>
|
||||
<td class=e>'; @techno('Laboratoire',$labo, 2); echo'</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td class=c><a href=descriptions/.php>Réacteur à fusion</a></td>
|
||||
<td class=d>'.$reacteur_f.'</td>
|
||||
<td class=e>'; @techno('Laboratoire',$labo, 4); echo'<br>';
|
||||
@techno("Maitrise de l'énergie",$energie_t, 2); echo'<br>';
|
||||
@techno("Réacteur à combustion",$reacteur, 4); echo'</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td class=c><a href=descriptions/.php>Réacteur à fusion de type II</a></td>
|
||||
<td class=d>'.$reacteur_ff.'</td>
|
||||
<td class=e>'; @techno('Laboratoire',$labo, 6); echo'<br>';
|
||||
@techno("Maitrise de l'énergie",$energie_t, 5); echo'<br>';
|
||||
@techno("Réacteur à fusion",$reacteur_f, 4); echo'</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td class=c><a href=descriptions/.php>Médecine</a></td>
|
||||
<td class=d>'.$medecine.'</td>
|
||||
<td class=e>'; @techno('Laboratoire',$labo, 1); echo'</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td class=c><a href=descriptions/.php>Spartan</a></td>
|
||||
<td class=d>'.$spartan.'</td>
|
||||
<td class=e>'; @techno('Laboratoire',$labo, 8); echo'<br>';
|
||||
@techno("Médecine",$medecine, 5); echo'<br>';
|
||||
@techno('IA',$informatique, 8); echo'</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td class=c><a href=descriptions/.php>Commandemant militaire</a></td>
|
||||
<td class=d>'.$tactique.'</td>
|
||||
<td class=e>'; @techno('Laboratoire',$labo, 3); echo'</td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
|
||||
|
||||
</body>
|
||||
</html>'; ?>
|
||||
Loading…
Add table
Add a link
Reference in a new issue