forked from halo-battle/game
Version 1.7l
This commit is contained in:
parent
ba5e741c99
commit
aea537909a
42 changed files with 718 additions and 131 deletions
12
onyx/hb_game/jeu/pilori.php
Normal file
12
onyx/hb_game/jeu/pilori.php
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
<?php
|
||||
if(!defined('INDEX')) { header('Location: ../'); exit; }
|
||||
if (!empty($sess->values['connected'])) $page = 'pilori';
|
||||
else $page = '../cms/pilori';
|
||||
$titre = 'Pilori de la galaxie';
|
||||
|
||||
$bdd->connexion();
|
||||
$pilori = $bdd->query("SELECT U.pseudo, U.operateurmv, 0 AS mail, U.mv, U.raisonmv, U.last_visite FROM $table_user U WHERE U.mv > 1 AND U.operateurmv = 0 UNION SELECT U.pseudo, O.pseudo AS operateurmv, O.mail, U.mv, U.raisonmv, U.last_visite FROM $table_user U INNER JOIN $table_user O ON U.operateurmv = O.id WHERE U.mv > 1;");
|
||||
$bdd->deconnexion();
|
||||
|
||||
$template->assign('joueurs', $pilori);
|
||||
?>
|
||||
Loading…
Add table
Add a link
Reference in a new issue