Version 1.7i

This commit is contained in:
nemunaire 2008-11-16 12:00:00 +01:00
commit ba5e741c99
136 changed files with 2561 additions and 2105 deletions

View file

@ -20,7 +20,7 @@ if (isset($_POST['coeff_metal']) && isset($_POST['coeff_cs'])) {
$bdd->escape($coeff_hydrogene);
$bdd->escape($coeff_cs);
$bdd->escape($coeff_ce);
$bdd->query("UPDATE `planete` SET `coeff_mine_m` = '".($coeff_metal/100)."', `coeff_mine_c` = '".($coeff_cristal/100)."', `coeff_mine_h` = '".($coeff_hydrogene/100)."', `coeff_centrale_s` = '".($coeff_cs/100)."', `coeff_centrale_f` = '".($coeff_ce/100)."' WHERE `id` = '$idPlan'");
$bdd->query("UPDATE planete SET coeff_mine_m = '".($coeff_metal/100)."', coeff_mine_c = '".($coeff_cristal/100)."', coeff_mine_h = '".($coeff_hydrogene/100)."', coeff_centrale_s = '".($coeff_cs/100)."', coeff_centrale_f = '".($coeff_ce/100)."' WHERE id = '$idPlan'");
$bdd->deconnexion();
header('Location: ?p=ressources');
exit;