forked from halo-battle/game
Affiche les 1000 première planètes dans la page d'admin, c'est donc plus simple de les trouver
This commit is contained in:
parent
28b0ceeee8
commit
6d8bf942db
2 changed files with 23 additions and 1 deletions
|
|
@ -65,5 +65,9 @@ if (!empty($_GET['id']) && !empty($_GET['key']) && $_GET['key'] == 'hash_planete
|
|||
header('Location: '.$VAR["menu"]["vplanetes"].'&id='.$req['id']);
|
||||
exit;
|
||||
} else {
|
||||
$bdd = new BDD();
|
||||
$req = $bdd->query("SELECT planete.id, nom_planete, pseudo, galaxie, ss, position FROM planete LEFT JOIN user ON (id_user=user.id) LIMIT 1000;");
|
||||
$bdd->deconnexion();
|
||||
$template->assign('planetes', $req);
|
||||
$pagea = 'print_choixP';
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue