Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
  • Please do not post a message for the purpose of insulting, incitement to hatred, sexual remarks and any other which does not respect our terms of use !
Sign in to follow this  
Karzing

 partage Partage /staff

Recommended Posts

Yop,

 

 Aujourd'hui, je vous partage une page staff inspiré de Jabboworld 

 

 

La page a encore des bugs, je suis en train de les fixés ^^

 

A vous de la modifier, à la mettre à votre goût ;)

 

Cordialement, Karzing.

 

Code PHP : 

<?php
#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|
#|                                                                        #|
#|                                       Inspiré JabboWORLD par Karzing                #|
#|                                                                        #|
#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|
 
require_once './init.php';
$Auth::Session_Disconnected($_SESSION);
 
$pageid = "staff";
?>
<!DOCTYPE html>
<html lang="fr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title><?php print Settings('Name'); ?>: L'&eacute;quipe</title>
<link rel="shortcut icon" href="<?php print URL; ?>/web/images/favicon.ico" type="image/vnd.microsoft.icon">
<link href="<?php print URL; ?>/web/styles/style.css" rel="stylesheet" type="text/css">
<link href="https://bootswatch.com/lumen/bootstrap.css" rel="stylesheet" type="text/css">
<link href="<?php print URL; ?>/web/styles/bootstrap-social.css" rel="stylesheet" type="text/css">
<link href="<?php print URL; ?>/web/styles/font-awesome.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.4.3/jquery.min.js"></script>
<link href="https://fonts.googleapis.com/css?family=Open+Sans:300normal,300italic,400normal,400italic,600normal,600italic,700normal,700italic,800normal,800italic&amp;subset=all" rel="stylesheet" type="text/css">
<link href="https://fonts.googleapis.com/css?family=Pacifico" rel="stylesheet" type="text/css">
</head>
<body style="background-color: rgba(232, 232, 232, 0.57);">
<?php include_once './templates/header.php'; ?>
                        
            
    
    </div>    <div class="container" style="width: 980px;">
    <div style="clear:both;"></div>
<br><br><br>
<div class="container_24">
<div class="grid_12">
<div id="contentBox" class="activity" style="border-top: 3px solid #4CAF50;">
<div class="head">
<div class="badgeImage navigator_inactive"></div>
Fondateur
<br>
<span class="date">Le fondateur de l'hôtel a pour but de gérer l'hôtel dans son intégralité et veille ainsi au développement de celui-ci.</span>
</div>    
<table class="table table-striped table-hover ">
<?php 
$staff = $bdd->query("SELECT * FROM users WHERE rank >= '9'"); $i = 0; while($s = $staff->fetch()) { 
$i++;
if(IsEven($i)){
$even = "background-color: #ffffff;";
} else {
$even = "background-color: rgba(232,232,232,0.50);";
}
?>
<tr>
<div class="update">
<div class="avatar" style="background-image:url('<?php echo Settings('Avatarimage'); ?>/avatarimage?figure=<?php echo $s['look'] ; ?>&direction=2&head_direction=2&gesture=sml&action=wav&headonly=3&size=m');-webkit-filter: drop-shadow(0 1px 0 #FFFFFF) drop-shadow(0 -1px 0 #FFFFFF) drop-shadow(1px 0 0 #FFFFFF) drop-shadow(-1px 0 0 #FFFFFF) drop-shadow(0 0 5px rgba(000,000,000,0.4));background-position: -3px -5px;"></div>
<div class="update_kategorie"> <?php if(!empty($s['username'])) { echo htmlspecialchars(utf8_encode(stripslashes($s['username']))); } ?></a></div>
<div class="update_autor"></b> Derni&egrave;re connexion : <?php print date_fr("d M. Y à H:i:s", $s['last_offline']); ?></div>
<div style="position:relative;float:right;right:10px;top:-40px;">
<div class="update_online"><?php if ($s['online'] == '1') { ?> <b>En ligne</b> <?php } else {?> <b>Hors ligne</b><?php } ?></td>
</tr>
<?php } ?>
</table>
</tbody>
 </xss> 
</tr>
</tbody>
</table>
</div>
<div class="grid_12">
<div id="contentBox" class="activity" style="border-top: 3px solid #4CAF50;">
<div class="head">
<div class="badgeImage trade"></div>
Animateur
<br>
<span class="date">L'animateur est en charge de l'animation de l'hôtel : son but est de divertir les joueurs</span>
</div>
<table class="table table-striped table-hover ">
<?php 
$staff = $bdd->query("SELECT * FROM users WHERE rank = '7'"); $i = 0; while($s = $staff->fetch()) { 
$i++;
if(IsEven($i)){
$even = "background-color: #ffffff;";
} else {
$even = "background-color: rgba(232,232,232,0.50);";
}
?>
<tr>
<div class="update">
<div class="avatar" style="background-image:url('<?php echo Settings('Avatarimage'); ?>/avatarimage?figure=<?php echo $s['look'] ; ?>&direction=2&head_direction=2&gesture=sml&action=wav&headonly=3&size=m');-webkit-filter: drop-shadow(0 1px 0 #FFFFFF) drop-shadow(0 -1px 0 #FFFFFF) drop-shadow(1px 0 0 #FFFFFF) drop-shadow(-1px 0 0 #FFFFFF) drop-shadow(0 0 5px rgba(000,000,000,0.4));background-position: -3px -5px;"></div>
<div class="update_kategorie"> <?php if(!empty($s['username'])) { echo htmlspecialchars(utf8_encode(stripslashes($s['username']))); } ?></a></div>
<div class="update_autor"></b> Derni&egrave;re connexion : <?php print date_fr("d M. Y à H:i:s", $s['last_offline']); ?></div>
<div style="position:relative;float:right;right:10px;top:-40px;">
<div class="update_online"><?php if ($s['online'] == '1') { ?> <b>En ligne</b> <?php } else {?> <b>Hors ligne</b><?php } ?></td>
</tr>
<?php } ?>
</table>
</tbody>
 </xss> 
</tr>
</tbody>
</table>
</div></div>

    </div>    <div class="container" style="width: 980px;">
<div class="container_24">
<div class="grid_12">
<div id="contentBox" class="activity" style="border-top: 3px solid #4CAF50;">
<div class="head">
<div class="badgeImage guide"></div>
Gérant
<br>
<span class="date">Le gérant a pour but d'épauler le fondateur, il gère lui uniquement l'hôtel et l'équipe.</span>
</div>    
<table class="table table-striped table-hover ">
<?php 
$staff = $bdd->query("SELECT * FROM users WHERE rank = '8'"); $i = 0; while($s = $staff->fetch()) { 
$i++;
if(IsEven($i)){
$even = "background-color: #ffffff;";
} else {
$even = "background-color: rgba(232,232,232,0.50);";
}
?>
<tr>
<div class="update">
<div class="avatar" style="background-image:url('<?php echo Settings('Avatarimage'); ?>/avatarimage?figure=<?php echo $s['look'] ; ?>&direction=2&head_direction=2&gesture=sml&action=wav&headonly=3&size=m');-webkit-filter: drop-shadow(0 1px 0 #FFFFFF) drop-shadow(0 -1px 0 #FFFFFF) drop-shadow(1px 0 0 #FFFFFF) drop-shadow(-1px 0 0 #FFFFFF) drop-shadow(0 0 5px rgba(000,000,000,0.4));background-position: -3px -5px;"></div>
<div class="update_kategorie"> <?php if(!empty($s['username'])) { echo htmlspecialchars(utf8_encode(stripslashes($s['username']))); } ?></a></div>
<div class="update_autor"></b> Derni&egrave;re connexion : <?php print date_fr("d M. Y à H:i:s", $s['last_offline']); ?></div>
<div style="position:relative;float:right;right:10px;top:-40px;">
<div class="update_online"><?php if ($s['online'] == '1') { ?> <b>En ligne</b> <?php } else {?> <b>Hors ligne</b><?php } ?></td>
</tr>
<?php } ?>
</table>
</tbody>
 </xss> 
</tr>
</tbody>
</table>
</div>

<div class="grid_12">
<div id="contentBox" class="activity" style="border-top: 3px solid #4CAF50;">
<div class="head">
<div class="badgeImage habbo"></div>
Modérateur
<br>
<span class="date">Le modérateur est en charge de la sécurité, il veille a ce qu'il n'y ait aucuns débordements dans l'hôtel.</span>
</div>    
<table class="table table-striped table-hover ">
<?php 
$staff = $bdd->query("SELECT * FROM users WHERE rank = '6'"); $i = 0; while($s = $staff->fetch()) { 
$i++;
if(IsEven($i)){
$even = "background-color: #ffffff;";
} else {
$even = "background-color: rgba(232,232,232,0.50);";
}
?>
<tr>
<div class="update">
<div class="avatar" style="background-image:url('<?php echo Settings('Avatarimage'); ?>/avatarimage?figure=<?php echo $s['look'] ; ?>&direction=2&head_direction=2&gesture=sml&action=wav&headonly=3&size=m');-webkit-filter: drop-shadow(0 1px 0 #FFFFFF) drop-shadow(0 -1px 0 #FFFFFF) drop-shadow(1px 0 0 #FFFFFF) drop-shadow(-1px 0 0 #FFFFFF) drop-shadow(0 0 5px rgba(000,000,000,0.4));background-position: -3px -5px;"></div>
<div class="update_kategorie"> <?php if(!empty($s['username'])) { echo htmlspecialchars(utf8_encode(stripslashes($s['username']))); } ?></a></div>
<div class="update_autor"></b> Derni&egrave;re connexion : <?php print date_fr("d M. Y à H:i:s", $s['last_offline']); ?></div>
<div style="position:relative;float:right;right:10px;top:-40px;">
<div class="update_online"><?php if ($s['online'] == '1') { ?> <b>En ligne</b> <?php } else {?> <b>Hors ligne</b><?php } ?></td>
</tr>
<?php } ?>
</table>
</tbody>
 </xss> 
</tr>
</tbody>
</table>
</div>
        </div>
    </div>
        <div style="clear:both;"></div>
 
    </div>
</body>
</html>

 

Cordialement, Karzing.

 

FB : fb.com/karzing

Capture.PNG

Share this post


Link to post
Share on other sites
VIP

Share this post


Link to post
Share on other sites
Vétéran

Tu shar un truc ki bug toi t un bon :crazy:

Share this post


Link to post
Share on other sites
Vétéran

Mouais, merci du partage. Quels sont les "fails que tu fixes" ?

Share this post


Link to post
Share on other sites
Donateur

Share this post


Link to post
Share on other sites
Vétéran

Merci du partage.

Share this post


Link to post
Share on other sites
Vétéran

Karzing le fabuleux développeur ;) merci du partage 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...