Version 1.8
This commit is contained in:
parent
aea537909a
commit
5f81f76b17
184 changed files with 78335 additions and 736 deletions
|
|
@ -42,7 +42,7 @@ for ($i = 0; $i < $nbFlottes; $i++) {
|
|||
$bdd->escape($titreA);
|
||||
$rapportA = 'La flotte '.$queryFlottes[$i]['nom_flotte'].' n\'a pas pu effectuer sa mission correctement car lorsqu\'elle est arrivée sur place, la planète était déserte.';
|
||||
$bdd->escape($rapportA);
|
||||
$db->query("INSERT INTO $table_mail VALUES('', '1', '".$queryFlottes[$i]['id_user']."', '', '$titreA', '$rapportA', '".$end_time."')");
|
||||
$db->query("INSERT INTO $table_mail (destinataire, expediteur, sujet, contenu, temps) VALUES(".$queryFlottes[$i]['id_user'].", '', '$titreA', '$rapportA', '".$end_time."')");
|
||||
$bdd->deconnexion();
|
||||
continue;
|
||||
}
|
||||
|
|
@ -196,7 +196,7 @@ for ($i = 0; $i < $nbFlottes; $i++) {
|
|||
$timesuite = $combat->timestamp;
|
||||
$idFleet = $queryFlottes[$i]['id'];
|
||||
if ($queryFlottes[$i]['effectue']) $bdd->query("UPDATE $table_flottes_combats SET serialize = '$serialise', tactiqueAT = '0', tactiqueEN = '0', timestamp = '$timesuite' WHERE refflotte = '$id_flotte';");
|
||||
else $bdd->query("INSERT INTO $table_flottes_combats VALUES(NULL, '$idFleet', '$timesuite', '$serialise', '0', '0');");
|
||||
else $bdd->query("INSERT INTO $table_flottes_combats (refflotte, timestamp, serialize, tactiqueAT, tactiqueEN) VALUES('$idFleet', '$timesuite', '$serialise', '0', '0');");
|
||||
}
|
||||
$bdd->deconnexion();
|
||||
}
|
||||
|
|
@ -321,7 +321,7 @@ for ($i = 0; $i < $nbFlottes; $i++) {
|
|||
$rapport = new Rapport($mission, $id_att, $id_userT, $end_time);
|
||||
|
||||
if ($diffNiveau < 0) {
|
||||
$rapport->addInfo($resultatT, 0);
|
||||
$rapport->addInfo($queryEN, 0);
|
||||
$rapport->addInfo(false, 1);
|
||||
}
|
||||
if ($diffNiveau >= 0) $rapport->addInfo($queryEN, 0);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue