<? 
include ('logue.php'); 
include ('entete2.php');
include ('entete.php');
include ('ressource.php');

echo"

<style>
.Style1 {color: #0000FF}
.Style2 {color: #FF0000}
.Style3 {color: #00CC00}
form {
background-color:#000000;
padding:10px;
width:350px;
}
input {
border:1px solid #7E7E7E;
background-color:#000000;
font-family:'trebuchet ms',sans-serif;
color:white;
}
textarea {
border:1px solid #7E7E7E;
background-color:#000000;
font-family:'trebuchet ms',sans-serif;
color:white;
}
select, option {
background-color:#000000;
color:white;
}
</STYLE>";
echo"<form name=\"colo\" method=\"post\" action=\"colonie.php\" target=\"_parent\">
<table align=\"center\" width=\"600\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
   <tr>
     <td width=\"100\" rowspan=\"2\" valign=\"middle\">
       <div align=\"center\">
         <input name=\"page\" value=\"" . $PHP_SELF . "\" type=\"hidden\" id=\"page\">
         <select name=\"idcolo\" onchange=submit()>";
include ('colo2.php'); 


$sql = "SELECT pts,silo_lvl,techenergie_lvl,techenergie_evolution,techlaser_lvl,techlaser_evolution,techions_lvl,techions_evolution,techplasma_lvl,techplasma_evolution,techordi_lvl,techordi_evolution,techcombustion_lvl,techcombustion_evolution,techAsgaards_lvl,techAsgaards_evolution,techhyperespace_lvl,techhyperespace_evolution,techhypernav_lvl,techhypenav_evolution,techespio1_lvl,techespio1_evolution,techespio2_lvl,techespio2_evolution,techArmement_lvl,techArmement_evolution,techBouclier_lvl,techBouclier_evolution,techcoque_lvl,techcoque_evolution,techproAsgaard_lvl,techproAsgaard_evolution,techproAncien_lvl,techproAncien_evolution,techinfra_lvl,techinfra_evolution,technaqua_lvl,technaqua_evolution  FROM matgraph_users WHERE id='$dataid[id]' ";
$res = mysql_query($sql)or die('erreur sql<br>'.$sql.'<br>'.mysql_error());
$row = mysql_fetch_array($res); 
$sql2 = "SELECT chantier_lvl,postav_lvl,robo_lvl,silo_lvl,hangarfer_lvl,hangarfer_evolution,hangaror_lvl,hangaror_evolution,hangarada_lvl,hangarada_evolution,hangaror_lvl,hangarura_lvl,hangarura_evolution,labo_lvl,labo_evolution,fer_energie,or_energie,ada_energie,ura_energie,exfer_energie,exor_energie,central_energie  FROM matgraph_users WHERE id = '$planete' ";
$res2 = mysql_query($sql2)or die('erreur sql<br>'.$sql2.'<br>'.mysql_error());
$row2 = mysql_fetch_array($res2);

// silo
if ($row2[silo_lvl] =="0") {
$silo_lvl = "0";
}
else {
$silo_lvl = $row2[silo_lvl];
} 
// postavancé
if ($row2[postav_lvl] =="0") {
$postav_lvl = "0";
}
else {
$postav_lvl = $row2[postav_lvl];
}
//techenergie
if ($row[techenergie_lvl] =="0") {
$techenergie_lvl = "0";
}
else {
$techenergie_lvl = $row[techenergie_lvl];
}
// techlaser
if ($row[techlaser_lvl] =="0") {
$techlaser_lvl = "0";
}
else {
$techlaser_lvl = $row[techlaser_lvl];
}
// techions
if ($row[techions_lvl] =="0") {
$techions_lvl = "0";
}
else {
$techions_lvl = $row[techions_lvl];
}
// techplasma
if ($row[techplasma_lvl] =="0") {
$techplasma_lvl = "0";
}
else {
$techplasma_lvl = $row[techplasma_lvl];
}
// techordi
if ($row[techordi_lvl] =="0") {
$techordi_lvl = "0";
}
else {
$techordi_lvl = $row[techordi_lvl];
}
// techcombustion
if ($row[techcombustion_lvl] =="0") {
$techcombustion_lvl = "0";
}
else {
$techcombustion_lvl = $row[techcombustion_lvl];
}
// techAsgaards
if ($row[techAsgaards_lvl] =="0") {
$techAsgaards_lvl = "0";
}
else {
$techAsgaards_lvl = $row[techAsgaards_lvl];
}
// techhyperespace
if ($row[techhyperespace_lvl] =="0") {
$techhyperespace_lvl = "0";
}
else {
$techhyperespace_lvl = $row[techhyperespace_lvl];
}
// techhypernav
if ($row[techhypernav_lvl] =="0") {
	$techhypernav_lvl = "0";
}else{
	$techhypernav_lvl = $row[techhypernav_lvl];
}
// techespio1
if ($row[techespio1_lvl] =="0") {
$techespio1_lvl = "0";
}
else {
$techespio1_lvl = $row[techespio1_lvl];
}
// techespio2
if ($row[techespio2_lvl] =="0") {
$techespio2_lvl = "0";
}
else {
$techespio2_lvl = $row[techespio2_lvl];
}
// techArmement
if ($row[techArmement_lvl] =="0") {
$techArmement_lvl = "0";
}
else {
$techArmement_lvl = $row[techArmement_lvl];
}
// techBouclier
if ($row[techBouclier_lvl] =="0") {
$techBouclier_lvl = "0";
}
else {
$techBouclier_lvl = $row[techBouclier_lvl];
}
// techcoque
if ($row[techcoque_lvl] =="0") {
$techcoque_lvl = "0";
}
else {
$techcoque_lvl = $row[techcoque_lvl];
}
// techproAsgaard
if ($row[techproAsgaard_lvl] =="0") {
$techproAsgaard_lvl = "0";
}
else {
$techproAsgaard_lvl = $row[techproAsgaard_lvl];
}
// techproAncien
if ($row[techproAncien_lvl] =="0") {
$techproAncien_lvl = "0";
}
else {
$techproAncien_lvl = $row[techproAncien_lvl];
}
// techinfra
if ($row[techinfra_lvl] =="0") {
$techinfra_lvl = "0";
}
else {
$techinfra_lvl = $row[techinfra_lvl];
}
// technaqua
if ($row[technaqua_lvl] =="0") {
$technaqua_lvl = "0";
}
else {
$technaqua_lvl = $row[technaqua_lvl];
}
// chantier
if ($row2[chantier_lvl] =="0") {
$chantier_lvl = "0";
}
else {
$chantier_lvl = $row2[chantier_lvl];
}


if(empty($infra)){$infra = $_POST["infra"];}

if($infra == "1") {
	if($techinfra_lvl >=1 && $chantier_lvl >= 1){
		$place = 200;
		$coutfer=300;
		$coutor=300;
		$coutada=20;
		$coutura=5;
		$chantier_lvl = 1;
	}
	else
	{
		echo '<script language="javascript" type="text/javascript">
		<!--
		window.location.replace("chantier.php");
		-->
		</script>';
		exit;
	}
}
if($infra == "2") {
	if($techinfra_lvl >=2 && $chantier_lvl >= 2){
		$place = 9000;
		$coutfer=500;
		$coutor=500;
		$coutada=50;
		$coutura=10;
		$chantier_lvl = 2; 
	}
	else
	{
		echo '<script language="javascript" type="text/javascript">
		<!--
		window.location.replace("chantier.php");
		-->
		</script>';
		exit;
	}
}
if($infra == "3") {
	if($techinfra_lvl >=4 && $chantier_lvl >= 4){
		$place = 15000;
		$coutfer=1200;
		$coutor=1200;
		$coutada=100;
		$coutura=20;
		$chantier_lvl = 4;
	}
	else
	{
		echo '<script language="javascript" type="text/javascript">
		<!--
		window.location.replace("chantier.php");
		-->
		</script>';
		exit;
	}
}
if($infra == "4") {
	if($techinfra_lvl >=5 && $chantier_lvl >= 5){
		$place = 25000;
		$coutfer=4000;
		$coutor=4000;
		$coutada=400;
		$coutura=50;
		$chantier_lvl = 5;
	}
	else
	{
		echo '<script language="javascript" type="text/javascript">
		<!--
		window.location.replace("chantier.php");
		-->
		</script>';
		exit;
	}
}
if($infra == "5") {
	if($techinfra_lvl >=7 && $chantier_lvl >= 7){
		$place = 75000;
		$coutfer=10000;
		$coutor=10000;
		$coutada=1000;
		$coutura=100;
		$chantier_lvl = 7;
	}
	else
	{
		echo '<script language="javascript" type="text/javascript">
		<!--
		window.location.replace("chantier.php");
		-->
		</script>';
		exit;
	}
}
if($infra == "6") {
	if($techinfra_lvl >=10 && $chantier_lvl >= 10){
		$place = 150000;
		$coutfer=15000;
		$coutor=15000;
		$coutada=1500;
		$coutura=200;
		$chantier_lvl = 10;
	}
	else
	{
		echo '<script language="javascript" type="text/javascript">
		<!--
		window.location.replace("chantier.php");
		-->
		</script>';
		exit;
	}
}
if($infra == "7") {
	if($techinfra_lvl >=12 && $chantier_lvl >= 12){
		$place = 300000;
		$coutfer=100000;
		$coutor=100000;
		$coutada=30000;
		$coutura=25000;
		$chantier_lvl = 12;
	}
	else
	{
		echo '<script language="javascript" type="text/javascript">
		<!--
		window.location.replace("chantier.php");
		-->
		</script>';
		exit;
	}
}
if($infra == "8") {
	if($techinfra_lvl >=15 && $chantier_lvl >= 15){
		$place = 500000;
		$coutfer=500000;
		$coutor=500000;
		$coutada=50000;
		$coutura=40000;
		$chantier_lvl = 15;
	}
	else
	{
		echo '<script language="javascript" type="text/javascript">
		<!--
		window.location.replace("chantier.php");
		-->
		</script>';
		exit;
	}
}
//http://home.nordnet.fr/~dbonnaillie/vaisseau.jpg
echo "

<script language=\"javascript\">

function affiche(i) {
formulaire.cadre.value = i;
}
function affiche_image(j) {

document.images.src = \"imgs/vaisseaux/\" + j + \".jpg\"
document.getElementById('image_url').value='';
}
function redimension(){
	if(document.images.width > 170){
		document.images.width = 170; 
	}
	if(document.images.height > 130 ){
		document.images.height = 130;
	} 
}
function affiche_image_url(j){
	var reg=new RegExp('((http://)[a-zA-Z0-9/.]+)+','gi');
	if(j.match(reg)){
		document.images.src = j;
		setTimeout('redimension()', 200);
	}
}

function totalpricefer() {
var total = Math.round('$coutfer');

total+= Math.round(document.getElementById('mitraillette_simple').value)*100;
total+= Math.round(document.getElementById('mitraillette_ameliorer').value)*300;
total+= Math.round(document.getElementById('pclaser').value)*1000;
total+= Math.round(document.getElementById('gclaser').value)*1500;
total+= Math.round(document.getElementById('pcions').value)*2000;
total+= Math.round(document.getElementById('gcions').value)*2000;
total+= Math.round(document.getElementById('plplasma').value)*4000;
total+= Math.round(document.getElementById('bplasma').value)*4000;
total+= Math.round(document.getElementById('glplasma').value)*6500;
total+= Math.round(document.getElementById('bnaquadria').value)*15000;
total+= Math.round(document.getElementById('cnaquadria').value)*25000;
total+= Math.round(document.getElementById('pcombustion').value)*100;
total+= Math.round(document.getElementById('gcombustion').value)*350;
total+= Math.round(document.getElementById('pimpulsion').value)*400;
total+= Math.round(document.getElementById('gimpulsion').value)*450;
total+= Math.round(document.getElementById('phyperspatial').value)*500;
total+= Math.round(document.getElementById('ghyperspatial').value)*550;
total+= Math.round(document.getElementById('hypernav').value)*1000;
total+= Math.round(document.getElementById('mbouclier').value)*1500;
total+= Math.round(document.getElementById('champs').value)*3000;
total+= Math.round(document.getElementById('gbouclier').value)*5000;
total+= Math.round(document.getElementById('abouclier').value)*8000;
total+= Math.round(document.getElementById('pcoque').value)*500;
total+= Math.round(document.getElementById('gcoque').value)*1000;
total+= Math.round(document.getElementById('ccoque').value)*2000;
total+= Math.round(document.getElementById('ncoque').value)*5000;
total+= Math.round(document.getElementById('ocoque').value)*9000;
total+= Math.round(document.getElementById('babel').value)*4000000;

document.getElementById('totalpricefer_ligne').innerHTML = total;
document.getElementById('fer').value= total;
}


function totalpriceor() {
var total = Math.round('$coutor');

total+= Math.round(document.getElementById('mitraillette_simple').value)*100;
total+= Math.round(document.getElementById('mitraillette_ameliorer').value)*100;
total+= Math.round(document.getElementById('pclaser').value)*1000;
total+= Math.round(document.getElementById('gclaser').value)*1500;
total+= Math.round(document.getElementById('pcions').value)*2000;
total+= Math.round(document.getElementById('gcions').value)*2000;
total+= Math.round(document.getElementById('plplasma').value)*3500;
total+= Math.round(document.getElementById('bplasma').value)*3000;
total+= Math.round(document.getElementById('glplasma').value)*6000;
total+= Math.round(document.getElementById('bnaquadria').value)*14000;
total+= Math.round(document.getElementById('cnaquadria').value)*25000;
total+= Math.round(document.getElementById('pcombustion').value)*100;
total+= Math.round(document.getElementById('gcombustion').value)*250;
total+= Math.round(document.getElementById('pimpulsion').value)*300;
total+= Math.round(document.getElementById('gimpulsion').value)*350;
total+= Math.round(document.getElementById('phyperspatial').value)*400;
total+= Math.round(document.getElementById('ghyperspatial').value)*450;
total+= Math.round(document.getElementById('hypernav').value)*900;
total+= Math.round(document.getElementById('mbouclier').value)*1500;
total+= Math.round(document.getElementById('champs').value)*3000;
total+= Math.round(document.getElementById('gbouclier').value)*5000;
total+= Math.round(document.getElementById('abouclier').value)*8000;
total+= Math.round(document.getElementById('pcoque').value)*500;
total+= Math.round(document.getElementById('gcoque').value)*1000;
total+= Math.round(document.getElementById('ccoque').value)*2000;
total+= Math.round(document.getElementById('ncoque').value)*5000;
total+= Math.round(document.getElementById('ocoque').value)*9000;
total+= Math.round(document.getElementById('babel').value)*3000000;

document.getElementById('totalpriceor_ligne').innerHTML = total;
document.getElementById('or').value= total;
}


function totalpriceada() {
var total = Math.round('$coutada');

total+= Math.round(document.getElementById('mitraillette_simple').value)*10;
total+= Math.round(document.getElementById('mitraillette_ameliorer').value)*15;
total+= Math.round(document.getElementById('pclaser').value)*50;
total+= Math.round(document.getElementById('gclaser').value)*60;
total+= Math.round(document.getElementById('pcions').value)*100;
total+= Math.round(document.getElementById('gcions').value)*110;
total+= Math.round(document.getElementById('plplasma').value)*200;
total+= Math.round(document.getElementById('bplasma').value)*180;
total+= Math.round(document.getElementById('glplasma').value)*600;
total+= Math.round(document.getElementById('bnaquadria').value)*2500;
total+= Math.round(document.getElementById('cnaquadria').value)*5000;
total+= Math.round(document.getElementById('gcombustion').value)*180;
total+= Math.round(document.getElementById('pimpulsion').value)*200;
total+= Math.round(document.getElementById('gimpulsion').value)*250;
total+= Math.round(document.getElementById('phyperspatial').value)*300;
total+= Math.round(document.getElementById('ghyperspatial').value)*350;
total+= Math.round(document.getElementById('hypernav').value)*600;
total+= Math.round(document.getElementById('gbouclier').value)*700;
total+= Math.round(document.getElementById('abouclier').value)*2000;
total+= Math.round(document.getElementById('ccoque').value)*300;
total+= Math.round(document.getElementById('ncoque').value)*400;
total+= Math.round(document.getElementById('ocoque').value)*700;


document.getElementById('totalpriceada_ligne').innerHTML = total;
document.getElementById('ada').value= total;
}


function totalpriceura() {
var total = Math.round('$coutura');
total+= Math.round(document.getElementById('bnaquadria').value)*400;
total+= Math.round(document.getElementById('cnaquadria').value)*1000;
total+= Math.round(document.getElementById('gcombustion').value)*200;
total+= Math.round(document.getElementById('hypernav').value)*100;
total+= Math.round(document.getElementById('ncoque').value)*500;
total+= Math.round(document.getElementById('ocoque').value)*900;
total+= Math.round(document.getElementById('babel').value)*1000000;

document.getElementById('totalpriceura_ligne').innerHTML = total;
document.getElementById('ura').value= total;
}



function totalarme() {
var total = 0;

total+= Math.round(document.getElementById('mitraillette_simple').value)*1;
total+= Math.round(document.getElementById('mitraillette_ameliorer').value)*2;
total+= Math.round(document.getElementById('pclaser').value)*10;
total+= Math.round(document.getElementById('gclaser').value)*16;
total+= Math.round(document.getElementById('pcions').value)*22;
total+= Math.round(document.getElementById('gcions').value)*30;
total+= Math.round(document.getElementById('plplasma').value)*50;
total+= Math.round(document.getElementById('bplasma').value)*70;
total+= Math.round(document.getElementById('glplasma').value)*120;
total+= Math.round(document.getElementById('bnaquadria').value)*250;
total+= Math.round(document.getElementById('cnaquadria').value)*600;
total+= Math.round(document.getElementById('babel').value)*200;

document.getElementById('totalarme_ligne').innerHTML = total;
document.getElementById('arme').value= total;
}


function totalcoque() {
var total = 0;

total+= Math.round(document.getElementById('pcoque').value)*40;
total+= Math.round(document.getElementById('gcoque').value)*90;
total+= Math.round(document.getElementById('ccoque').value)*200;
total+= Math.round(document.getElementById('ncoque').value)*500;
total+= Math.round(document.getElementById('ocoque').value)*1000;

document.getElementById('totalcoque_ligne').innerHTML = total;
document.getElementById('coque').value= total;
}


function totalbouclier() {
var total = 0; 
total+= Math.round(document.getElementById('mbouclier').value)*40;
total+= Math.round(document.getElementById('champs').value)*85;
total+= Math.round(document.getElementById('gbouclier').value)*150;
total+= Math.round(document.getElementById('abouclier').value)*400;

document.getElementById('totalbouclier_ligne').innerHTML = total;
document.getElementById('bouclier').value= total;
}



function totalvitesse() {
var total = 0; 
total+= Math.round(document.getElementById('pcombustion').value)*(1/20);
total+= Math.round(document.getElementById('gcombustion').value)*(4/20);
total+= Math.round(document.getElementById('pimpulsion').value)*(5/20);
total+= Math.round(document.getElementById('gimpulsion').value)*(6/20);
total+= Math.round(document.getElementById('phyperspatial').value)*(8/20);
total+= Math.round(document.getElementById('ghyperspatial').value)*(10/20);
total+= Math.round(document.getElementById('hypernav').value);
total-= Math.round(document.getElementById('babel').value)*(4/20);
if (total > 4 ) {
	arrondi = Math.round( total *100) /100;
  document.getElementById('totalvitesse_ligne').innerHTML = arrondi;
  document.getElementById('vitesse').value= total;
  alert (' Vous avez ateint la limite de vitesse.');
} else {
arrondi = Math.round( total *100) /100;
  document.getElementById('totalvitesse_ligne').innerHTML = arrondi;
  document.getElementById('vitesse').value= total;
}
}



function totalspace() {
var total = Math.round('$place');
total-= Math.round(document.getElementById('mitraillette_simple').value)*2;
total-= Math.round(document.getElementById('mitraillette_ameliorer').value)*4;
total-= Math.round(document.getElementById('pclaser').value)*4;
total-= Math.round(document.getElementById('gclaser').value)*7;
total-= Math.round(document.getElementById('pcions').value)*10;
total-= Math.round(document.getElementById('gcions').value)*20;
total-= Math.round(document.getElementById('plplasma').value)*30;
total-= Math.round(document.getElementById('bplasma').value)*30;
total-= Math.round(document.getElementById('glplasma').value)*35;
total-= Math.round(document.getElementById('bnaquadria').value)*50;
total-= Math.round(document.getElementById('cnaquadria').value)*100;
total-= Math.round(document.getElementById('pcombustion').value)*5;
total-= Math.round(document.getElementById('gcombustion').value)*10;
total-= Math.round(document.getElementById('pimpulsion').value)*15;
total-= Math.round(document.getElementById('gimpulsion').value)*20;
total-= Math.round(document.getElementById('phyperspatial').value)*50;
total-= Math.round(document.getElementById('ghyperspatial').value)*100;
total-= Math.round(document.getElementById('hypernav').value)*150;
total-= Math.round(document.getElementById('mbouclier').value)*15;
total-= Math.round(document.getElementById('champs').value)*20;
total-= Math.round(document.getElementById('gbouclier').value)*30;
total-= Math.round(document.getElementById('abouclier').value)*50;
total-= Math.round(document.getElementById('pcoque').value)*5;
total-= Math.round(document.getElementById('gcoque').value)*15;
total-= Math.round(document.getElementById('ccoque').value)*25;
total-= Math.round(document.getElementById('ncoque').value)*35;
total-= Math.round(document.getElementById('ocoque').value)*60;
total-= Math.round(document.getElementById('babel').value)*5000;
if (total < 0 ) {
  alert (' Vous ne disposez pas de la place nécessaire. ');
  document.getElementById('totalspace_ligne').innerHTML = total;
  document.getElementById('place').value= total;
} else {
  document.getElementById('totalspace_ligne').innerHTML = total;
  document.getElementById('place').value= total;
}
}
</script>
";




echo"<form action=\"creerenregistrer.php\" method=\"post\" target=\"_parent\">
<table width=\"718\" border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\" bordercolor=\"#006600\">
  <tr>
    <td colspan=\"2\"><b><font color=\"23BC23\">Nom :</b><br><input type=\"text\" name=\"nom\" value=\"$nom\" size=\"40\" maxlength=\"40\"> 
      <br>
      <br><b><font color=\"23BC23\">
      Description :</b><br> 
      <input type=\"text\" name=\"description\" value=\"$description\" size=\"100\" maxlength=\"100\"></textarea>
    <br></td>
  </tr>";
    echo"<tr>
    <td colspan=\"2\">&nbsp;</td>
  </tr>";
  echo"<tr>
    <td><b><font color=\"23BC23\">Arme :</p></b></td>
    <td>&nbsp;<input name=\"infra\" value=\"$infra\" type=\"hidden\" id=\"infra\">
	<input name=\"fer\" value=\"$fer\" type=\"hidden\" id=\"fer\">
	<input name=\"or\" value=\"$or\" type=\"hidden\" id=\"or\">
	<input name=\"ada\" value=\"$ada\" type=\"hidden\" id=\"ada\">
	<input name=\"ura\" value=\"$ura\" type=\"hidden\" id=\"ura\">
	<input name=\"place\" value=\"$place\" type=\"hidden\" id=\"place\">
	<input name=\"vitesse\" value=\"$vitesse\" type=\"hidden\" id=\"vitesse\">
	<input name=\"coque\" value=\"$coque\" type=\"hidden\" id=\"coque\">
	<input name=\"bouclier\" value=\"$bouclier\" type=\"hidden\" id=\"bouclier\">
	<input name=\"arme\" value=\"$arme\" type=\"hidden\" id=\"arme\">
	<input name=\"chantier_lvl\" value=\"$chantier_lvl\" type=\"hidden\" id=\"chantier_lvl\">
	</td>
  </tr>
    <tr>
    <td><font color=\"DC143C\"> Mitraillette simple:</font> (Prix: Fer : 100 ; Or : 100 ; Cristal : 10 ; place : 2 ; puissance : 1)</td>
    <td><input type=\"text\" name=\"mitraillette_simple\" value=\"$mitraillette_simple\" id=\"mitraillette_simple\" onChange=\"totalpricefer(); totalpriceor(); totalpriceada(); totalspace(); totalarme();\" value=\"0\" size=\"3\"></td>
  </tr>
    <tr>
    <td><font color=\"DC143C\">Mitraillette amélioré:</font> (Prix: Fer : 300 ; Or : 100 ; Cristal : 15 ; place : 4 ; puissance : 2)</td>
    <td><input type=\"text\" name=\"mitraillette_ameliorer\" value=\"$mitraillette_ameliorer\" id=\"mitraillette_ameliorer\" onChange=\"totalpricefer(); totalpriceor(); totalpriceada(); totalspace(); totalarme();\" value=\"0\" size=\"3\"></td>
  </tr>";
  if ($techlaser_lvl >= 3) { echo"<tr>
    <td><font color=\"DC143C\">Petit canon laser :</font> (Prix: Fer : 1.000 ; Or : 1.000 ; Cristal : 50 ; place : 4 ; puissance : 10)</td>
    <td><input type=\"text\" name=\"pclaser\" value=\"$pclaser\" id=\"pclaser\" onChange=\"totalpricefer(); totalpriceor(); totalpriceada(); totalspace(); totalarme();\" value=\"0\" size=\"3\"></td>
  </tr>";} else { echo"<input type=\"hidden\" name=\"pclaser\" value=\"$pclaser\" id=\"pclaser\" onChange=\"totalpricefer(); totalpriceor(); totalpriceada(); totalspace(); totalarme();\" value=\"0\" size=\"3\">";}
  if ($techlaser_lvl >= 7) { echo"<tr>
    <td><font color=\"DC143C\">Grand canon laser :</font> (Prix: Fer : 1.500 ; Or : 1.500 ; Cristal : 60 ; place : 7 ; puissance : 18)</td>
    <td><input type=\"text\" name=\"gclaser\" value=\"$gclaser\" id=\"gclaser\" onChange=\"totalpricefer(); totalpriceor(); totalpriceada(); totalspace(); totalarme();\" value=\"0\" size=\"3\"></td>
  </tr>";} else { echo"<input type=\"hidden\" name=\"gclaser\" value=\"$gclaser\" id=\"gclaser\" onChange=\"totalpricefer(); totalpriceor(); totalpriceada(); totalspace(); totalarme();\" value=\"0\" size=\"3\">";}
  if ($techions_lvl >= 5) { echo"<tr>
    <td><font color=\"DC143C\">Canon à ions courte portée :</font> (Prix: Fer : 2.000 ; Or : 2.000 ; Cristal : 100 ; place : 10 ; puissance : 25)</td>
    <td><input type=\"text\" name=\"pcions\" value=\"$pcions\" id=\"pcions\" onChange=\"totalpricefer(); totalpriceor(); totalpriceada(); totalspace(); totalarme();\" value=\"0\" size=\"3\"></td>
  </tr>";} else { echo"<input type=\"hidden\" name=\"pcions\" value=\"$pcions\" id=\"pcions\" onChange=\"totalpricefer(); totalpriceor(); totalpriceada(); totalspace(); totalarme();\" value=\"0\" size=\"3\">";}
  if ($techions_lvl >= 8) { echo"<tr>
    <td><font color=\"DC143C\">Canon à ions longue portée :</font> (Prix: Fer : 2.000 ; Or : 2.000 ; Cristal : 110 ; place : 20 ; puissance : 32)</td>
    <td><input type=\"text\" name=\"gcions\" value=\"$gcions\" id=\"gcions\" onChange=\"totalpricefer(); totalpriceor(); totalpriceada(); totalspace(); totalarme();\" value=\"0\" size=\"3\"></td>
  </tr>";} else { echo"<input type=\"hidden\" name=\"gcions\" value=\"$gcions\" id=\"gcions\" onChange=\"totalpricefer(); totalpriceor(); totalpriceada(); totalspace(); totalarme();\" value=\"0\" size=\"3\">";}
  if ($techplasma_lvl >= 2) { echo"<tr>
    <td><font color=\"DC143C\">Petit lanceur de plasma :</font> (Prix: Fer : 4.000 ; Or : 3.500 ; Cristal : 200 ; place : 30 ; puissance : 50)</td>
    <td><input type=\"text\" name=\"plplasma\" value=\"$plplasma\" id=\"plplasma\" onChange=\"totalpricefer(); totalpriceor(); totalpriceada(); totalspace(); totalarme();\" value=\"0\" size=\"3\"></td>
  </tr>";} else { echo"<input type=\"hidden\" name=\"plplasma\" value=\"$plplasma\" id=\"plplasma\" onChange=\"totalpricefer(); totalpriceor(); totalpriceada(); totalspace(); totalarme();\" value=\"0\" size=\"3\">";}
  if ($techplasma_lvl >= 5) { echo"<tr>
    <td><font color=\"DC143C\">Bombe &agrave; plasma :</font> (Prix: Fer : 4.500 ; Or : 4.000 ; Cristal : 180 ; place : 30 ; puissance : 70)</td>
    <td><input type=\"text\" name=\"bplasma\" value=\"$bplasma\" id=\"bplasma\" onChange=\"totalpricefer(); totalpriceor(); totalpriceada(); totalspace(); totalarme();\" value=\"0\" size=\"3\"></td>
  </tr>";} else { echo"<input type=\"hidden\" name=\"bplasma\" value=\"$bplasma\" id=\"bplasma\" onChange=\"totalpricefer(); totalpriceor(); totalpriceada(); totalspace(); totalarme();\" value=\"0\" size=\"3\">";}
  if ($techplasma_lvl >= 10) { echo"<tr>
    <td><font color=\"DC143C\">Grand lanceur de plasma :</font> (Prix: Fer : 6.500 ; Or : 6.000 ; Cristal : 600 ; place : 35 ; puissance : 120)</td>
    <td><input type=\"text\" name=\"glplasma\" value=\"$glplasma\" id=\"glplasma\" onChange=\"totalpricefer(); totalpriceor(); totalpriceada(); totalspace(); totalarme();\" value=\"0\" size=\"3\"></td>
  </tr> ";} else { echo"<input type=\"hidden\" name=\"glplasma\" value=\"$glplasma\" id=\"glplasma\" onChange=\"totalpricefer(); totalpriceor(); totalpriceada(); totalspace(); totalarme();\" value=\"0\" size=\"3\">";}
  if ($technaqua_lvl >= 1 && $techplasma_lvl >= 10) { echo"<tr>
    <td><font color=\"DC143C\">Bombe de Naquadria :</font> (Prix: Fer : 12.000 ; Or : 10.000 ; Cristal : 2.500 ; Naquadah : 400 ; place : 50 ; puissance : 250)</td>
    <td><input type=\"text\" name=\"bnaquadria\" value=\"$bnaquadria\" id=\"bnaquadria\" onChange=\"totalpricefer(); totalpriceor(); totalpriceada(); totalpriceura(); totalspace(); totalarme();\" value=\"0\" size=\"3\"></td>
  </tr>";} else { echo"<input type=\"hidden\" name=\"bnaquadria\" value=\"$bnaquadria\" id=\"bnaquadria\" onChange=\"totalpricefer(); totalpriceor(); totalpriceada(); totalpriceura(); totalspace(); totalarme();\" value=\"0\" size=\"3\">";}
  if ($technaqua_lvl >= 10 && $techplasma_lvl >= 10) { echo"<tr>
    <td><font color=\"DC143C\">Canon de Naquadria :</font> (Prix: Fer : 25.000 ; Or : 25.000 ; Cristal : 5.000; Naquadah : 1000 ; place : 100 ; puissance :600)</td>
    <td><input type=\"text\" name=\"cnaquadria\" value=\"$cnaquadria\" id=\"cnaquadria\" onChange=\"totalpricefer(); totalpriceor(); totalpriceada(); totalpriceura(); totalspace(); totalarme();\" value=\"0\" size=\"3\"></td>
  </tr> ";} else { echo"<input type=\"hidden\" name=\"cnaquadria\" value=\"$cnaquadria\" id=\"cnaquadria\" onChange=\"totalpricefer(); totalpriceor(); totalpriceada(); totalpriceura(); totalspace(); totalarme();\" value=\"0\" size=\"3\">";}
  if ($silo_lvl >= 10 && $techplasma_lvl >= 10 && $techproAncien_lvl >= 15) {/* echo"<tr>
    <td><font color=\"DC143C\">Rayon de Dakara :</font> (Prix: Fer : 4.000.000 ; Or : 3.000.000 ; Naquadah : 1.000.000 ; place : 5.000 ; puissance : 100.000)</td>
    <td><input type=\"text\" name=\"babel\" value=\"$babel\" id=\"babel\" onChange=\"totalpricefer(); totalpriceor(); totalpriceada(); totalpriceura(); totalspace(); totalarme();\" value=\"0\" size=\"3\"></td>
  </tr>";*/ }else { echo"<input type=\"hidden\" name=\"babel\" value=\"$babel\" id=\"babel\" onChange=\"totalpricefer(); totalpriceor(); totalpriceada(); totalpriceura(); totalspace(); totalarme();\" value=\"0\" size=\"3\">"; }
    echo"<tr>
    <td colspan=\"2\">&nbsp;</td>
  </tr>";
  echo"<tr>
    <td><b><font color=\"23BC23\">R&eacute;acteur :</p></b></td>
    <td>&nbsp;</td>
  </tr>";
  if ($techcombustion_lvl >= 1) { echo"<tr>
    <td><font color=\"DC143C\">Petit r&eacute;acteur &agrave; combustion :</font> (Prix: Fer : 100 ; Or : 100 ; place : 5 ; Rapidit&eacute; : 1/20)</td>
    <td><input type=\"text\" name=\"pcombustion\" value=\"$pcombustion\" id=\"pcombustion\" onChange=\"totalpricefer(); totalpriceor(); totalspace(); totalvitesse();\" value=\"0\" size=\"3\"></td>
  </tr>";} else { echo"<input type=\"hidden\" name=\"pcombustion\" value=\"$pcombustion\" id=\"pcombustion\" onChange=\"totalpricefer(); totalpriceor(); totalspace(); totalvitesse();\" value=\"0\" size=\"3\">";}
  if ($techcombustion_lvl >= 3) { echo"<tr>
    <td><font color=\"DC143C\">Grand r&eacute;acteur &agrave; combustion :</font> (Prix: Fer : 350 ; Or : 250 ; Cristal : 180 ; place : 10 ; Rapidit&eacute; : 4/20)</td>
    <td><input type=\"text\" name=\"gcombustion\" value=\"$gcombustion\" id=\"gcombustion\" onChange=\"totalpricefer(); totalpriceor(); totalpriceada(); totalpriceura(); totalspace(); totalvitesse();\" value=\"0\" size=\"3\"></td>
  </tr>";} else { echo"<input type=\"hidden\" name=\"gcombustion\" value=\"$gcombustion\" id=\"gcombustion\" onChange=\"totalpricefer(); totalpriceor(); totalpriceada(); totalpriceura(); totalspace(); totalvitesse();\" value=\"0\" size=\"3\">";}
  if ($techAsgaards_lvl >= 1) { echo"<tr>
    <td><font color=\"DC143C\">Petit r&eacute;acteur &agrave; Asgard :</font> (Prix: Fer : 400 ; Or : 300 ; Cristal : 200 ; place : 15 ; Rapidit&eacute; : 5/20)</td>
    <td><input type=\"text\" name=\"pimpulsion\" value=\"$pimpulsion\" id=\"pimpulsion\" onChange=\"totalpricefer(); totalpriceor(); totalpriceada(); totalpriceura(); totalspace(); totalvitesse();\" value=\"0\" size=\"3\"></td>
  </tr>";} else { echo"<input type=\"hidden\" name=\"pimpulsion\" value=\"$pimpulsion\" id=\"pimpulsion\" onChange=\"totalpricefer(); totalpriceor(); totalpriceada(); totalpriceura(); totalspace(); totalvitesse();\" value=\"0\" size=\"3\">";}
  if ($techAsgaards_lvl >= 5) { echo"<tr>
    <td><font color=\"DC143C\">R&eacute;acteur &agrave; Asgard am&eacute;lior&eacute; :</font> (Prix: Fer : 450 ; Or : 350 ; Cristal : 250 ; place : 20 ; Rapidit&eacute; : 6/20)</td>
    <td><input type=\"text\" name=\"gimpulsion\" value=\"$gimpulsion\" id=\"gimpulsion\" onChange=\"totalpricefer(); totalpriceor(); totalpriceada(); totalpriceura(); totalspace(); totalvitesse();\" value=\"0\" size=\"3\"></td>
  </tr>"; } else { echo"<input type=\"hidden\" name=\"gimpulsion\" value=\"$gimpulsion\" id=\"gimpulsion\" onChange=\"totalpricefer(); totalpriceor(); totalpriceada(); totalpriceura(); totalspace(); totalvitesse();\" value=\"0\" size=\"3\">"; }
  if ($techhyperespace_lvl >= 2) { echo"<tr>
    <td><font color=\"DC143C\">R&eacute;acteur hyperspatial basique :</font> (Prix: Fer : 500 ; Or : 400 ; Cristal : 300   ; place : 50 ; Rapidit&eacute; : 8/20)</td>
    <td><input type=\"text\" name=\"phyperspatial\" value=\"$phyperspatial\" id=\"phyperspatial\" onChange=\"totalpricefer(); totalpriceor(); totalspace(); totalvitesse();\" value=\"0\" size=\"3\"></td>
  </tr>";} else { echo"<input type=\"hidden\" name=\"phyperspatial\" value=\"$phyperspatial\" id=\"phyperspatial\" onChange=\"totalpricefer(); totalpriceor(); totalspace(); totalvitesse();\" value=\"0\" size=\"3\">";} 
  if ($techhyperespace_lvl >= 5) { echo"<tr>
    <td><font color=\"DC143C\">R&eacute;acteur de propulsion hyperespace :</font> (Prix: Fer : 550 ; Or : 450 ; Cristal : 350  ; place : 100 ; Rapidit&eacute; : 10/20)</td>
    <td><input type=\"text\" name=\"ghyperspatial\" value=\"$ghyperspatial\" id=\"ghyperspatial\" onChange=\"totalpricefer(); totalpriceor(); totalpriceada(); totalpriceura(); totalspace(); totalvitesse();\" value=\"0\" size=\"3\"></td>
  </tr>"; } else { echo"<input type=\"hidden\" name=\"ghyperspatial\" value=\"$ghyperspatial\" id=\"ghyperspatial\" onChange=\"totalpricefer(); totalpriceor(); totalpriceada(); totalpriceura(); totalspace(); totalvitesse();\" value=\"0\" size=\"3\">"; }
  if ($techhyperenav_lvl >= 5 && $techenergie_lvl >= 12) { echo"<tr>
    <td><font color=\"DC143C\">R&eacute;acteur d'Hypernavigation Intergalactique :</font> (Prix: Fer : 1000 ; Or : 900 ; Cristal : 600  ; Naquadah : 100 ; place : 150 ; Rapidit&eacute; : 20/20)</td>
    <td><input type=\"text\" name=\"hypernav\" value=\"$hypernav\" id=\"hypernav\" onChange=\"totalpricefer(); totalpriceor(); totalpriceada(); totalpriceura(); totalspace(); totalvitesse();\" value=\"0\" size=\"3\"></td>
  </tr>"; } else { echo"<input type=\"hidden\" name=\"hypernav\" value=\"$hypernav\" id=\"hypernav\" onChange=\"totalpricefer(); totalpriceor(); totalpriceada(); totalpriceura(); totalspace(); totalvitesse();\" value=\"0\" size=\"3\">"; }
    echo"<tr>
    <td colspan=\"2\">&nbsp;</td>
  </tr>";
  echo"<tr>
    <td><b><font color=\"23BC23\">Bouclier :</p></b></td>
    <td>&nbsp;</td>
  </tr>";
  if ($techBouclier_lvl >= 3) { echo"<tr>
    <td><font color=\"DC143C\">Mini Bouclier de Protection :</font> (Prix: Fer : 1500 ; Or : 1500 ; place : 15 ; Bouclier : 40)</td>
    <td><input type=\"text\" name=\"mbouclier\" value=\"$mbouclier\" id=\"mbouclier\" onChange=\"totalpricefer(); totalpriceor(); totalspace(); totalbouclier();\" value=\"0\" size=\"3\"></td>
  </tr>"; } else { echo"<input type=\"hidden\" name=\"mbouclier\" value=\"$mbouclier\" id=\"mbouclier\" onChange=\"totalpricefer(); totalpriceor(); totalspace(); totalbouclier();\" value=\"0\" size=\"3\">"; }
  if ($techBouclier_lvl >= 7) { echo"<tr>
    <td><font color=\"DC143C\">Champs de force :</font> (Prix: Fer : 3.000 ; Or : 3.000 ; place : 20 ; Bouclier : 85)</td>
    <td><input type=\"text\" name=\"champs\" value=\"$champs\" id=\"champs\" onChange=\"totalpricefer(); totalpriceor(); totalspace(); totalbouclier();\" value=\"0\" size=\"3\"></td>
  </tr>";} else  { echo"<input type=\"hidden\" name=\"champs\" value=\"$champs\" id=\"champs\" onChange=\"totalpricefer(); totalpriceor(); totalspace(); totalbouclier();\" value=\"0\" size=\"3\">";} 
  if ($techBouclier_lvl >= 10) { echo"<tr>
    <td><font color=\"DC143C\">Grand Bouclier :</font> (Prix: Fer : 5.000 ; Or : 5.000 ; cristal : 700 ; place : 30 ; Bouclier : 150)</td>
    <td><input type=\"text\" name=\"gbouclier\" value=\"$gbouclier\" id=\"gbouclier\" onChange=\"totalpricefer(); totalpriceor(); totalpriceada(); totalspace(); totalbouclier();\" value=\"0\" size=\"3\"></td>
  </tr>";} else { echo"<input type=\"hidden\" name=\"gbouclier\" value=\"$gbouclier\" id=\"gbouclier\" onChange=\"totalpricefer(); totalpriceor(); totalpriceada(); totalspace(); totalbouclier();\" value=\"0\" size=\"3\">";}
  if ($techBouclier_lvl >= 15 && $techproAncien_lvl >= 8) { echo"<tr>
    <td><font color=\"DC143C\">Bouclier des Anciens :</font> (Prix: Fer : 8.000 ; Or : 8.000 ; cristal : 2.000 ; place : 50 ; Bouclier : 400)</td>
    <td><input type=\"text\" name=\"abouclier\" value=\"$abouclier\" id=\"abouclier\" onChange=\"totalpricefer(); totalpriceor(); totalpriceada(); totalspace(); totalbouclier();\" value=\"0\" size=\"3\"></td>
  </tr>";} else { echo"<input type=\"hidden\" name=\"abouclier\" value=\"$abouclier\" id=\"abouclier\" onChange=\"totalpricefer(); totalpriceor(); totalpriceada(); totalspace(); totalbouclier();\" value=\"0\" size=\"3\">";}
    echo"<tr>
    <td colspan=\"2\">&nbsp;</td>
  </tr>";
  echo"<tr>
    <td><b><font color=\"23BC23\">Coque :</p></b></td>
    <td>&nbsp;</td>
  </tr>"; 
  if ($techcoque_lvl >= 2) { echo"<tr>
    <td><font color=\"DC143C\">Petite coque :</font> (Prix: Fer : 500 ; Or : 500 ; place : 5 ; Coque : 40)</td>
    <td><input type=\"text\" name=\"pcoque\" value=\"$pcoque\" id=\"pcoque\" onChange=\"totalpricefer(); totalpriceor(); totalspace(); totalcoque();\" value=\"0\" size=\"3\"></td>
  </tr>";} else { echo"<input type=\"hidden\" name=\"pcoque\" value=\"$pcoque\" id=\"pcoque\" onChange=\"totalpricefer(); totalpriceor(); totalspace(); totalcoque();\" value=\"0\" size=\"3\">";}
  if ($techcoque_lvl >= 5) { echo"<tr>
    <td><font color=\"DC143C\">Grand Coque :</font> (Prix: Fer : 1.000 ; Or : 1.000 ; place : 15 ; Coque : 90)</td>
    <td><input type=\"text\" name=\"gcoque\" value=\"$gcoque\" id=\"gcoque\" onChange=\"totalpricefer(); totalpriceor(); totalspace(); totalcoque();\" value=\"0\" size=\"3\"></td>
  </tr>";} else { echo"<input type=\"hidden\" name=\"gcoque\" value=\"$gcoque\" id=\"gcoque\" onChange=\"totalpricefer(); totalpriceor(); totalspace(); totalcoque();\" value=\"0\" size=\"3\">";}
  if ($techcoque_lvl >= 10) { echo"<tr>
    <td><font color=\"DC143C\">Coque cristalis&eacute;e :</font> (Prix: Fer : 2.000 ; Or : 2.000 ; cristal : 300 ; place : 25 ; Coque : 200)</td>
    <td><input type=\"text\" name=\"ccoque\" value=\"$ccoque\" id=\"ccoque\" onChange=\"totalpricefer(); totalpriceor(); totalpriceada(); totalspace(); totalcoque();\" value=\"0\" size=\"3\"></td>
  </tr>";} else { echo"<input type=\"hidden\" name=\"ccoque\" value=\"$ccoque\" id=\"ccoque\" onChange=\"totalpricefer(); totalpriceor(); totalpriceada(); totalspace(); totalcoque();\" value=\"0\" size=\"3\">";}
  if ($techcoque_lvl >= 15 && $technaqua_lvl > "1") { echo"<tr>
    <td><font color=\"DC143C\">Coque au Naquadah :</font> (Prix: Fer : 5000 ; Or : 5000 ; cristal : 400 ; Naquadah : 500 ; place : 35 ; Coque : 500)</td>
    <td><input type=\"text\" name=\"ncoque\" value=\"$ncoque\" id=\"ncoque\" onChange=\"totalpricefer(); totalpriceor(); totalpriceada(); totalpriceura(); totalspace(); totalcoque();\" value=\"0\" size=\"3\"></td>
  </tr>";} else { echo"<input type=\"hidden\" name=\"ncoque\" value=\"$ncoque\" id=\"ncoque\" onChange=\"totalpricefer(); totalpriceor(); totalpriceada(); totalpriceura(); totalspace(); totalcoque();\" value=\"0\" size=\"3\">";}
  if ($techcoque_lvl >= 16) { echo"<tr>
    <td><font color=\"DC143C\">Coque Organique :</font> (Prix: Fer : 9000 ; Or : 9000 ; cristal : 1000 ; Naquadah : 1000 ; place : 70 ; Coque : 1000)</td>
    <td><input type=\"text\" name=\"ocoque\" value=\"$ocoque\" id=\"ocoque\" onChange=\"totalpricefer(); totalpriceor(); totalpriceada(); totalpriceura(); totalspace(); totalcoque();\" value=\"0\" size=\"3\"></td>
  </tr>";} else { echo"<input type=\"hidden\" name=\"ocoque\" value=\"$ocoque\" id=\"ocoque\" onChange=\"totalpricefer(); totalpriceor(); totalpriceada(); totalpriceura(); totalspace(); totalcoque();\" value=\"0\" size=\"3\">";}
    echo"<tr>
    <td colspan=\"2\">&nbsp;</td>
  </tr>";
  echo"<tr>
    <td>Image :</td>
    <td><select name=\"img\" Onchange=\"affiche_image(value);\">
<option>Liste Images</option>
<option value=\"1\">Dart</option>
<option value=\"2\">Al'Kesh</option>
<option value=\"3\">Vaisseau cargo</option>
<option value=\"4\">Vaisseau cargo2</option>
<option value=\"5\">Ha'tak</option>
<option value=\"6\">Promethé</option>
<option value=\"7\">Jumper</option>
<option value=\"8\">Anubis</option>
<option value=\"9\">Apophis</option>
<option value=\"10\">F-302</option>
<option value=\"11\">Ha'tak</option>
<option value=\"12\">Osiris</option>
<option value=\"13\">Planeur de la mort</option>
<option value=\"14\">Planeur modifié</option>
<option value=\"15\">Prométhé</option>
<option value=\"16\">Transport</option>
<option value=\"17\">Teltakray</option>
<option value=\"18\">X-302</option>
<option value=\"19\">Al'Kesh</option>
<option value=\"20\">Deadalus</option>
<option value=\"21\">Deadalus 1</option>
<option value=\"22\">Deadalus 2</option>
<option value=\"23\">Deadalus 3</option>
<option value=\"24\">Le char de Thor 2</option>
<option value=\"25\">Cargo Goa-uld</option>
<option value=\"26\">Vaisseau personnel d'osiris</option>
<option value=\"27\">alkesh en orbite</option>
<option value=\"28\">Beliskner</option>
<option value=\"29\">Le char de Thor</option>
<option value=\"30\">Planeur de la mort</option>
<option value=\"31\">F 302 Antartique</option>
<option value=\"32\">jumper en Egypte</option>
<option value=\"33\">jumper espace</option>
<option value=\"34\">Le daniel Jackson</option>
<option value=\"35\">Le O'Neill</option>
<option value=\"36\">Vaisseau Ha’tak 1</option>
<option value=\"37\">Planeur de la mort 2</option>
<option value=\"38\">Planeur de la Mort Modifié</option>
<option value=\"39\">Jumper</option>
<option value=\"40\">F-302 Torri</option>
<option value=\"41\">Jumper Atlantis</option>
<option value=\"42\">Flotte F-302</option>
<option value=\"43\">Deadalus</option>
<option value=\"44\">Deadalus en Propulsion</option>
<option value=\"45\">Deadalus Ciel</option>
<option value=\"46\">Prométhé en Orbite</option>
<option value=\"47\">Prométhé en manoeuvre</option>
<!--<option value=\"48\"></option>-->
<option value=\"49\">Prométhé en Orbite 2</option>
<option value=\"50\">vaisseau mère ASgard</option>
<option value=\"51\">Vaisseau Scientifique Asgard</option>
<option value=\"52\">Vaisseau blinder goa'ould </option>
<option value=\"53\">Réplicateur (Atterrisseur)</option>
<option value=\"54\">Vaisseau Ha’tak 2</option>
<option value=\"55\">Vaisseaux Asgard</option>
<option value=\"56\">Vaisseau Asgard</option>
<option value=\"57\">Prométhé</option>
<option value=\"58\">Prométhé et Dedale</option>
<option value=\"59\">Jumper</option>
<option value=\"60\">Vaisseaux Ruches</option>
<option value=\"61\">Dart</option>
<option value=\"62\">Dedale</option>
<option value=\"63\">Orion 1</option>
<option value=\"64\">Orion 2</option>
<br/><input type=\"text\" onchange=\"affiche_image_url(value);\" id=\"image_url\" />
</td>
  </tr> 
  <tr>
    <td></td>
    <td>&nbsp;</td>
  </tr> 
  <tr>
    <td><b>Prix Total Fer</b></td>
    <td><div name=\"totalpricefer_ligne\" id=\"totalpricefer_ligne\">$coutfer</div></td>
  </tr>
  <tr>
    <td><b>Prix Total Or</b></td>
    <td><div name=\"totalpriceor_ligne\" id=\"totalpriceor_ligne\">$coutor</div></td>
  </tr>
  <tr>
    <td><b>Prix Total Cristal</b></td>
    <td><div name=\"totalpriceada_ligne\" id=\"totalpriceada_ligne\">$coutada</div></td>
  </tr>
  <tr>
    <td><b>Prix Total Naquadah</b></td>
    <td><div name=\"totalpriceura_ligne\" id=\"totalpriceura_ligne\">$coutura</div></td>
  </tr>
    <tr>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td><b>Place Restante (fret)</b> </td>
    <td><div name=\"totalspace_ligne\" id=\"totalspace_ligne\">$infra</div></td>
  </tr>
  <tr>
    <td><b>Vitesse Totale</b></td>
    <td><div name=\"totalvitesse_ligne\" id=\"totalvitesse_ligne\">0</div></td>
  </tr>
  <tr>
    <td><b>Coque Total</b></td>
    <td><div name=\"totalcoque_ligne\" id=\"totalcoque_ligne\">0</div></td>
  </tr>
  <tr>
    <td><b>Bouclier Totale</b></td>
    <td><div name=\"totalbouclier_ligne\" id=\"totalbouclier_ligne\">0</div></td>
  </tr>
  <tr>
    <td><b>Puissance de feux</b></td>
    <td><div name=\"totalarme_ligne\" id=\"totalarme_ligne\">0</div></td>
  </tr>
   <tr>
    <td colspan=\"2\" align=\"center\"><br/><IMG hspace=10 src='imgs/vaisseaux/1.jpg' name=\"images\"><br/><br/></td>
  </tr>
  <tr>
    <td colspan=\"2\"><div align=\"center\">
	<input type=\"submit\" name=\"Submit\" value=\"Cr&eacute;er\">
    </div></td>
  </tr>
</table>


<body onload=\"totalpricefer(); totalpriceor();  totalpriceada();  totalpriceura(); totalspace(); totalcoque(); totalarme(); totalvitesse();\">";

?>