Jump to content
×
×
  • Create New...

Sujet à réécrire : [RetroPHP]Règler la page Staff après avoirs modifiés les ranks


Recommended Posts

  • Bot


<?php include("./templates/header.php"); ?>

Fondateurs

 

<?php $staff = $bdd->query("SELECT * FROM users WHERE rank = '10'"); while($s = $staff->fetch()) { ?>
   
 
 

<?php echo $s['username'] ; ?>

Mission: <?php if(!empty($s['motto'])) { echo htmlspecialchars(utf8_encode(stripslashes($s['motto']))); } ?>

Dernière connexion: <?php echo date_fr("d M. Y", $s['last_offline']); ?>

<?php if ($s['online'] == 0) { ?>
offline
<?php } elseif ($s['online'] == 1) { ?>
offline
<?php } ?>
 
 
<?php } ?>

 

Hotel Managers

 

<?php $staff = $bdd->query("SELECT * FROM users WHERE rank = '9'"); while($s = $staff->fetch()) { ?>
   
 
 

<?php echo $s['username'] ; ?>

Mission: <?php if(!empty($s['motto'])) { echo htmlspecialchars(utf8_encode(stripslashes($s['motto']))); } ?>

Dernière connexion: <?php echo date_fr("d M. Y", $s['last_offline']); ?>

<?php if ($s['online'] == 0) { ?>
offline
<?php } elseif ($s['online'] == 1) { ?>
offline
<?php } ?>
 
 <?php } ?>
 

Game Managers

 

<?php $staff = $bdd->query("SELECT * FROM users WHERE rank = '8'"); while($s = $staff->fetch()) { ?>
   
 
 

<?php echo $s['username'] ; ?>

Mission: <?php if(!empty($s['motto'])) { echo htmlspecialchars(utf8_encode(stripslashes($s['motto']))); } ?>

Dernière connexion: <?php echo date_fr("d M. Y", $s['last_offline']); ?>

<?php if ($s['online'] == 0) { ?>
offline
<?php } elseif ($s['online'] == 1) { ?>
offline
<?php } ?>
 
 <?php } ?>
 
 

Modérateurs

 

<?php $staff = $bdd->query("SELECT * FROM users WHERE rank = '7'"); while($s = $staff->fetch()) { ?>
   
 
 

<?php echo $s['username'] ; ?>

Mission: <?php if(!empty($s['motto'])) { echo htmlspecialchars(utf8_encode(stripslashes($s['motto']))); } ?>

Dernière connexion: <?php echo date_fr("d M. Y", $s['last_offline']); ?>

<?php if ($s['online'] == 0) { ?>
offline
<?php } elseif ($s['online'] == 1) { ?>
offline
<?php } ?>
 
  <?php } ?>
 

<?php include './templates/footer.php'; ?>

 
Edited by FBot
  • J'adore 1

090100logo.png 090149logo-4-bis.png

Link to comment
  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

  • 2 years later...
  • Administrateur

Bonjour,

 

Le partage / tutoriel ici présent doit être réécrit. Le lien de téléchargement est probablement mort... Message automatique de masse...

 

Cordialement,

ASIKOO

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.