Version 0.7

This commit is contained in:
nemunaire 2007-11-20 12:00:00 +01:00
commit c117da6d77
148 changed files with 1914 additions and 801 deletions

View file

@ -5,6 +5,8 @@ $id=$_SESSION['id'];
$galaxy=$_SESSION['galaxy'];
$ss=$_SESSION['ss'];
$pos=$_SESSION['pos'];
$_SESSION['dernPage'] = 'batiment.php';
require_once '../securite.php';
echo"<html>
<head>
@ -320,7 +322,7 @@ echo '</div>
<img src="images/batiments/'.$batimeni[7].'" alt="">
</div>
<div class="b">
<a href="descriptions.php?bat='.$batimend[7].'">'.$batiment[7].'</a> '; if ($chantier_terrestre > 0) echo '(Niveau '.$chantier_terrestre.')';
<a href="descriptions.php?bat=7">'.$batiment[7].'</a> '; if ($chantier_terrestre > 0) echo '(Niveau '.$chantier_terrestre.')';
echo '<br><span class="description">'.$batimede[7].'</span><br>
Besoin de : ';
$a=ceil(pow(2,$chantier_terrestre)*520);
@ -354,7 +356,7 @@ if ($chantier_terrestre >= 2) {
<img src="images/batiments/'.$batimeni[8].'">
</div>
<div class="b">
<a href="descriptions.php?bat='.$batimend[8].'">'.$batiment[8].'</a> '; if ($chantier_spatial > 0) echo '(Niveau '.$chantier_spatial.')';
<a href="descriptions.php?bat=8">'.$batiment[8].'</a> '; if ($chantier_spatial > 0) echo '(Niveau '.$chantier_spatial.')';
echo '<br><span class="description">'.$batimede[8].'</span><br>
Besoin de : ';
$a=ceil(pow(2,$chantier_spatial)*600);
@ -375,7 +377,7 @@ if ($chantier_terrestre >= 2) {
else {
if ($case <= 0) echo "<font color=red>Planète pleine</font>";
else {
if($unit_s > 0) echo "<font color=red><br><br>Construction en cours dans le </font><a href=chantier_terrestre.php>chantier terrestre</a>";
if($unit_s > 0) echo "<font color=red><br><br>Construction en cours dans le </font><a href=chantier_spatial.php>chantier spatial</a>";
else verification_des_ress(9, $metal, $cristal, $hydrogene, $a, $b, 0);
}
}
@ -387,7 +389,7 @@ echo '<div class="a">
<img src="images/batiments/'.$batimeni[9].'" alt="">
</div>
<div class="b">
<a href="descriptions.php?bat='.$batimend[9].'">'.$batiment[9].'</a> '; if ($caserne > 0) echo '(Niveau '.$caserne.')';
<a href="descriptions.php?bat=9">'.$batiment[9].'</a> '; if ($caserne > 0) echo '(Niveau '.$caserne.')';
echo '<br><span class="description">'.$batimede[9].'</span><br>
Besoin de : ';
$a=ceil(pow(2,$caserne)*200);
@ -419,7 +421,7 @@ echo '</div>
<img src="images/batiments/'.$batimeni[10].'" alt="">
</div>
<div class="b">
<a href="descriptions.php?bat='.$batimend[10].'">'.$batiment[10].'</a> '; if ($silo > 0) echo '(Niveau '.$silo.')';
<a href="descriptions.php?bat=10">'.$batiment[10].'</a> '; if ($silo > 0) echo '(Niveau '.$silo.')';
echo '<br><span class="description">'.$batimede[10].'</span><br>
Besoin de : ';
$a=ceil(pow(2,$silo)*400);
@ -449,7 +451,7 @@ echo'<br class="a">
<img src="images/batiments/'.$batimeni[11].'" alt="">
</div>
<div class="b">
<a href="descriptions.php?bat='.$batimend[11].'">'.$batiment[11].'</a> '; if ($centre_info > 0) echo '(Niveau '.$centre_info.')';
<a href="descriptions.php?bat=11">'.$batiment[11].'</a> '; if ($centre_info > 0) echo '(Niveau '.$centre_info.')';
echo '<br><div class="description">'.$batimede[11].'</div><br>
Besoin de : ';
$a=ceil(pow(1.7,$centre_info)*600);