game/pages/descriptions/description_pt.php

73 lines
2.0 KiB
PHP

<? echo"<html>
<head>
<title>Space battleship</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 >";
$chantier_spatial = 2;
$propu = 2;
$pilotes = 2;
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>";
}
}
function equipe($nom, $perso, $need_perso)
{
if ($perso < $need_perso)
{
$z = abs($perso - $need_perso);
echo "<font color=red ><ACRONYM title='".$z." ".$nom."'>".$need_perso." ".$nom."</ACRONYM></font>";
}
else
{
echo "<font color=#40ff00 >".$need_perso." ".$nom."</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>
<u>Equipage :</u><br>"; @equipe(pilotes, $pilotes, 3);
echo "</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>";
?>