game/pages/descriptions/description.php

58 lines
1.6 KiB
PHP

<? echo "<html>
<head>
<title>Halo</title>
<link rel=stylesheet media=screen type=text/css title=design href=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 >";
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=#40ff00 >".$nom." ".$niveau_ress."</font>";
}
}
echo"</head>
<body>
<div class=long>Petit transporteur</div>
<div class=ensemble>
<div class=e><img src=diz/unit/ptransporteur.JPG><br><br>
<u>Coût :</u><br>
Fer : <span class=rc>100</span><br>
Cristal : <span class=rc>200</span><br><br>
</div>
<i>Le petit transporteur est un vaisseau dont la tâche est d'acheminer des
matières premières ou des unités terrestres sur d'autres planètes rapidement.</i><br>
<u>Besoin de :</u><br>
Bâtiments : "; @techno("Chantier spatial", $chantier_spatial, 1);
echo "<br>Technologie : "; @techno("Propultion conventionelle", $propu, 3);
echo"<br><br><table align=center>
<tr><td align=left colspan=2 class=a>Caractéristiques :</td></tr>
<tr><td class=a>Puissance de feu</td><td class=b>5</td></tr>
<tr><td class=a>Point de structure</td><td class=b>300</td></tr>
<tr><td class=a>Bouclier de protection</td><td class=b>0</td></tr>
<tr><td class=a>Capacité totale</td><td td class=b>1000</></tr>
<tr><td class=a>Consommation de carburant</td><td class=b>10</td></tr>
<tr><td class=a>Rayon d'action</td><td class=b>moyen-faible</td></tr>
</table>
</div>
</body>
</html>";
?>