diff --git a/onyx2/include/admin/planete.php b/onyx2/include/admin/planete.php
index a31fd20..cbac82d 100644
--- a/onyx2/include/admin/planete.php
+++ b/onyx2/include/admin/planete.php
@@ -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';
}
diff --git a/onyx2/tpl/admin/print_choixP.tpl b/onyx2/tpl/admin/print_choixP.tpl
index b3c6605..0089143 100644
--- a/onyx2/tpl/admin/print_choixP.tpl
+++ b/onyx2/tpl/admin/print_choixP.tpl
@@ -37,4 +37,22 @@
-{include file='game/footer.tpl'}
\ No newline at end of file
+
+
Planète | +Joueur | +Position | ++ |
---|---|---|---|
{$planete.nom_planete} | +{$planete.pseudo} | +{$planete.galaxie}:{$planete.ss}:{$planete.position} | ++ |