- 30 Agosto 2013
- 37
- 0
- Miglior risposta
- 0
Si può mettere nella staff.php (Credo che intendi questo), postami la staff.php
@Lore.<?php
/*=====================================================================+
|| # ReluxCMS based HaBBoCMS - Website and Content Management System
|+=====================================================================+
|| # Copyright © 2013 xXMikiOwnaXx. All rights reserved.
|| #Perfavore, Entra oppure Registrati per vedere i Link!
|+=====================================================================+
|| # ReluxCMS v4.1 by xXMikiOwnaXx
|| #Perfavore, Entra oppure Registrati per vedere i Link!
|+=====================================================================*/
$allow_guests = true;
include('core.php');
include('includes/session.php');
$tmp = getContent('mod_staff-enabled');
if($tmp !== "1"){
header("Location: index"); exit;
}
$pagename = "Staff";
$pageid = "staff";
include('templates/community/subheader.php');
include('templates/community/header.php');
?>
<div id="container">
<div id="content">
<div id="column1" class="column">
<div class="habblet-container ">
<div class="cbb clearfix blue ">
<h2 class="title">Founder
</h2>
<?php
$getem = mysql_query("SELECT username,motto,rank,lastvisit,look,gender,id,ruolo,scadenza FROM users WHERE rank = 9 ORDER BY username") or die(mysql_error());
$staff_members = mysql_num_rows($getem);
if($staff_members == 10){
echo "Nessuno staffer in questa categoria.";
} else {
while ($row = mysql_fetch_array($getem, MYSQL_NUM)) {
if($row[2] == 6 || $row[2] > 7){ // = 7 - Amministratori
$row[2] = "Moderatore";
}
if(empty($row[1])){
$row[1] = "Nessuna Missione";
}
$badge = GetUserBadge($row[0]);
if($badge !== false){
$badge = "<img src=\"".$cimagesurl.$badgesurl.$badge.".gif\" /></a>";
} else {
$badge= "";
}
$groupbadge = GetUserGroupBadge($row[6]);
if($groupbadge !== false){
$gbadge = "<a href='group_profile.php?id=".GetUserGroup($row[6])."'><img src='./habbo-imaging/badge.php?badge=".$groupbadge."'></a>";
} else {
$gbadge = "";
}
if(IsUserOnline($row[6])){
$online_img = "online_anim";
$online_caption = "Online";
} else {
$online_img = "offline";
$online_caption = "Offline";
}
$lastvisit = $row[3];
?>
<div style="width: 64px; height: 81px; margin-bottom:-8px; margin-top:-12px; margin-left:-10px; float: left; background: url(http://www.habbo.it/habbo-imaging/avatarimage?figure=<?php echo $row[4]; ?>&action=wav&direction=2&head_direction=3&gesture=sml&size=big&img_format=gif);"></div>
<br><img src='./web-gallery/v2/images/habbo_<?php echo $online_img; ?>.gif' title='<?php echo $online_caption; ?>' alt='<?php echo $online_caption; ?>' border='0'> <b><a href='user_profile.php?name=<?php echo $row[0]; ?>'><?php echo $row[0]; ?></a></b> ~ <i><font color="grey"><?php echo $row[7]; ?></font></i><br><br>
Missione: <font color='#3e3e3e'><?php echo stripslashes($row[1]); ?></font><br>
Ultima visita: <font color='#3e3e3e'><?php echo date('d-m-Y ', $user['last_online']); echo""; ?></font>
<hr></p>
<?php
}
}
?></p>
<h2 class="title">Amministratori
</h2>
<?php
$getem = mysql_query("SELECT username,motto,rank,lastvisit,look,gender,id,ruolo,scadenza FROM users WHERE rank = 8 ORDER BY username") or die(mysql_error());
$staff_members = mysql_num_rows($getem);
if($staff_members == 10){
echo "Nessuno staffer in questa categoria.";
} else {
while ($row = mysql_fetch_array($getem, MYSQL_NUM)) {
if($row[2] == 5 || $row[2] > 6){ // = 6 - MOD SENIOR
$row[2] = "Moderatore";
}
if(empty($row[1])){
$row[1] = "Nessuna Missione";
}
$badge = GetUserBadge($row[0]);
if($badge !== false){
$badge = "<img src=\"".$cimagesurl.$badgesurl.$badge.".gif\" /></a>";
} else {
$badge= "";
}
$groupbadge = GetUserGroupBadge($row[6]);
if($groupbadge !== false){
$gbadge = "<a href='group_profile.php?id=".GetUserGroup($row[6])."'><img src='./habbo-imaging/badge.php?badge=".$groupbadge."'></a>";
} else {
$gbadge = "";
}
if(IsUserOnline($row[6])){
$online_img = "online_anim";
$online_caption = "Online";
} else {
$online_img = "offline";
$online_caption = "Offline";
}
$lastvisit = $row[3];
?>
<div style="width: 64px; height: 81px; margin-bottom:-8px; margin-top:-12px; margin-left:-10px; float: left; background: url(http://www.habbo.it/habbo-imaging/avatarimage?figure=<?php echo $row[4]; ?>&action=wav&direction=2&head_direction=3&gesture=sml&size=big&img_format=gif);"></div>
<br><img src='./web-gallery/v2/images/habbo_<?php echo $online_img; ?>.gif' title='<?php echo $online_caption; ?>' alt='<?php echo $online_caption; ?>' border='0'> <b><a href='user_profile.php?name=<?php echo $row[0]; ?>'><?php echo $row[0]; ?></a></b> ~ <i><font color="grey"><?php echo $row[7]; ?></font></i><br><br>
Missione: <font color='#3e3e3e'><?php echo stripslashes($row[1]); ?></font><br>
Ultima visita: <font color='#3e3e3e'><?php echo date('d-m-Y ', $user['last_online']); echo""; ?></font>
<hr></p>
<?php
}
}
?></p>
<h2 class="title">Senior Moderatori
</h2>
<?php
$getem = mysql_query("SELECT username,motto,rank,lastvisit,look,gender,id,ruolo,scadenza FROM users WHERE rank = 7 ORDER BY username") or die(mysql_error());
$staff_members = mysql_num_rows($getem);
if($staff_members == 10){
echo "Nessuno staffer in questa categoria.";
} else {
while ($row = mysql_fetch_array($getem, MYSQL_NUM)) {
if($row[2] == 5 || $row[2] > 6){ // = 6 - MOD SENIOR
$row[2] = "Moderatore";
}
if(empty($row[1])){
$row[1] = "Nessuna Missione";
}
$badge = GetUserBadge($row[0]);
if($badge !== false){
$badge = "<img src=\"".$cimagesurl.$badgesurl.$badge.".gif\" /></a>";
} else {
$badge= "";
}
$groupbadge = GetUserGroupBadge($row[6]);
if($groupbadge !== false){
$gbadge = "<a href='group_profile.php?id=".GetUserGroup($row[6])."'><img src='./habbo-imaging/badge.php?badge=".$groupbadge."'></a>";
} else {
$gbadge = "";
}
if(IsUserOnline($row[6])){
$online_img = "online_anim";
$online_caption = "Online";
} else {
$online_img = "offline";
$online_caption = "Offline";
}
$lastvisit = $row[3];
?>
<div style="width: 64px; height: 81px; margin-bottom:-8px; margin-top:-12px; margin-left:-10px; float: left; background: url(http://www.habbo.it/habbo-imaging/avatarimage?figure=<?php echo $row[4]; ?>&action=wav&direction=2&head_direction=3&gesture=sml&size=big&img_format=gif);"></div>
<br><img src='./web-gallery/v2/images/habbo_<?php echo $online_img; ?>.gif' title='<?php echo $online_caption; ?>' alt='<?php echo $online_caption; ?>' border='0'> <b><a href='user_profile.php?name=<?php echo $row[0]; ?>'><?php echo $row[0]; ?></a></b> ~ <i><font color="grey"><?php echo $row[7]; ?></font></i><br><br>
Missione: <font color='#3e3e3e'><?php echo stripslashes($row[1]); ?></font><br>
Ultima visita: <font color='#3e3e3e'><?php echo date('d-m-Y ', $user['last_online']); echo""; ?></font>
<hr></p>
<?php
}
}
?></p>
<h2 class="title">Moderatori
</h2>
<?php
$getem = mysql_query("SELECT username,motto,rank,lastvisit,look,gender,id,ruolo,scadenza FROM users WHERE rank = 6 ORDER BY username") or die(mysql_error());
$staff_members = mysql_num_rows($getem);
if($staff_members == 10){
echo "Nessuno staffer in questa categoria.";
} else {
while ($row = mysql_fetch_array($getem, MYSQL_NUM)) {
if($row[2] == 5 || $row[2] > 6){ // = 6 - MOD SENIOR
$row[2] = "Moderatore";
}
if(empty($row[1])){
$row[1] = "Nessuna Missione";
}
$badge = GetUserBadge($row[0]);
if($badge !== false){
$badge = "<img src=\"".$cimagesurl.$badgesurl.$badge.".gif\" /></a>";
} else {
$badge= "";
}
$groupbadge = GetUserGroupBadge($row[6]);
if($groupbadge !== false){
$gbadge = "<a href='group_profile.php?id=".GetUserGroup($row[6])."'><img src='./habbo-imaging/badge.php?badge=".$groupbadge."'></a>";
} else {
$gbadge = "";
}
if(IsUserOnline($row[6])){
$online_img = "online_anim";
$online_caption = "Online";
} else {
$online_img = "offline";
$online_caption = "Offline";
}
$lastvisit = $row[3];
?>
<div style="width: 64px; height: 81px; margin-bottom:-8px; margin-top:-12px; margin-left:-10px; float: left; background: url(http://www.habbo.it/habbo-imaging/avatarimage?figure=<?php echo $row[4]; ?>&action=wav&direction=2&head_direction=3&gesture=sml&size=big&img_format=gif);"></div>
<br><img src='./web-gallery/v2/images/habbo_<?php echo $online_img; ?>.gif' title='<?php echo $online_caption; ?>' alt='<?php echo $online_caption; ?>' border='0'> <b><a href='user_profile.php?name=<?php echo $row[0]; ?>'><?php echo $row[0]; ?></a></b> ~ <i><font color="grey"><?php echo $row[7]; ?></font></i><br><br>
Missione: <font color='#3e3e3e'><?php echo stripslashes($row[1]); ?></font><br>
Ultima visita: <font color='#3e3e3e'><?php echo date('d-m-Y ', $user['last_online']); echo""; ?></font>
<hr></p>
<?php
}
}
?></p>
</div>
</div></div>
<div id="column2" class="column">
<div class="habblet-container ">
<div class="cbb clearfix blue ">
<h2 class="title">Cos'è il <b>Relux</b> Staff?
</h2>
<div id="notfound-looking-for" class="box-content">
Ciao <i><font color=""><b><?php echo $name; ?></b></font></i>,
<br>
</br>
<p>Lo staff di Relux Hotel Italia aiuta gli utenti nelle loro <b>difficoltà</b> e tengono d'occhio la loro <b>permanenza</b> nelle varie stanze.</p>
<br>
</br>
<center><font color="#FFD900"><b>COME DIVENTARE STAFF?</b></font></center>
 
<p>Salve <i><b><?php echo $name; ?></b></i>, per far parte dello Staff di <b>Relux</b> dovrai aspettare i provini! Come fai a sapere quando si terranno i prossimi provini? Semplice, vai da un membro dello <b>Staff</b> e chiedigli quando si terranno i prossimi provini!</p>
</div>
</div>
</div>
</div>
<?php
include('templates/community/footer.php');
?>
Noi e terze parti selezionate utilizziamo cookie o tecnologie simili per finalità tecniche e, con il tuo consenso, anche per altre finalità come specificato nella cookie policy. Usa il pulsante “Accetta” per acconsentire l'utilizzo di tutti i cookies. In alternativa puoi fare clic sul pulsante “Continua senza accettare” per negare il consenso o su "Gestisci le tue preferenze" per accedere a informazioni più dettagliate e modificare le tue preferenze prima di acconsentire.