Version 1.7i
This commit is contained in:
parent
8a8280758b
commit
ba5e741c99
136 changed files with 2561 additions and 2105 deletions
|
|
@ -44,10 +44,13 @@ for ($i = 1; $i <= MAX_PLANETE; $i++) {
|
|||
$bdd->escape($s);
|
||||
$resultat = $bdd->query("SELECT id FROM $table_planete WHERE galaxie = '$g' AND ss = '$s' AND position = '$i';");
|
||||
if($resultat) {
|
||||
$d = $bdd->unique_query("SELECT id_user, nom_planete, debris_met, debris_cri FROM $table_planete WHERE galaxie = '$g' AND ss = '$s'AND position = '$i';");
|
||||
$d = $bdd->unique_query("SELECT id_user, nom_planete, debris_met, debris_cri FROM $table_planete WHERE galaxie = '$g' AND ss = '$s' AND position = '$i';");
|
||||
$id_user = $d['id_user'];
|
||||
$e = $bdd->unique_query("SELECT pseudo, race, id_alliance FROM $table_user WHERE id = '$id_user'");
|
||||
if ($e['id_alliance']) $eA = $bdd->unique_query("SELECT tag FROM $table_alliances WHERE id = '".$e['id_alliance']."';");
|
||||
if ($e['id_alliance']) {
|
||||
$alliId = $e['id_alliance'];
|
||||
$eA = $bdd->unique_query("SELECT tag FROM $table_alliances WHERE id = '$alliId';");
|
||||
}
|
||||
else $eA = false;
|
||||
$bdd->deconnexion();
|
||||
if ($e['race'] == 'covenant') $ra = '(c)';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue