Thread obsoleto ALTRO - Problema staff.php

SqL 3rroR

Utente Medio
Autore del topic
27 Giugno 2013
206
29
Miglior risposta
0
Assistenza Tecnica Habbo Retroserver
Titolo
Problema staff.php
Tipologia del tuo problema/richiesta
ALTRO
CMS/Server/DB/Client Utilizzato
Privati
Qual è il tuo errore?
Ecco l'errore che mi da nello staff.php
Screenshot
Perfavore, Entra oppure Registrati per vedere i Link!
Ulteriori informazioni
Aiuto..

- - - Aggiornato - - -

Ecco la lista staff:
<?php

require_once('./data_classes/server-data.php_data_classes-core.php.php');

$pagename = "Staff";
$pageid = "13";

require_once('./templates/community_subheader.php');
require_once('./templates/community_header.php');

?>




<div id="container">
<div id="content">
<div id="column1" class="column">

<div class="habblet-container ">
<div class="cbb clearfix red ">
<h2 class="title">Proprietari/Tecnici</h2>
<?php

$i = 0;

$getXlers = mysql_query("SELECT * FROM users WHERE rank = '9' ORDER BY last_online DESC");
while($Xler = mysql_fetch_assoc($getXlers)){

$i++;

if(IsEven($i)){
$even = "odd";
} else {
$even = "even";
}
$sql = mysql_query("SELECT * FROM user_tickets WHERE userid = '".$my_id."'");
$num = mysql_query($sql);
if($num > 0){
$image = "online_anim_big";
} else {
$image = "offline_big";
}

?>
<li class="<?php echo $even; ?>">
<img align="left" src="<?php echo $avatar; echo $Xler['look']; ?>&action=std,wav,&head_direction=3&gesture=sml"> < br>
<a href="http://www.sciax2.it/forum/home/<?php echo $row['username']; ?>"><b><?php echo $Xler['username']; ?></b></a> <img src='./web-gallery/images/myhabbo/habbo_<?php echo $image; ?>.gif' border='0'>&nbsp;
<br><i><?php echo $Xler['motto']; ?></i><br/>
<br/>
<b>Ultimo accesso</b>: <?php echo date('d.m.Y', $Xler['last_online']); ?><br/> <img src="ADM.gif">
<?php } ?><br>

</table>


</div></div></div>


<div id="column2" class="column">

<div class="habblet-container">
<div class="cbb clearfix blue">
<h2 class="title">Come diventare Staff?</h2>


<div class="habblet box-content">
<p>Al momento non cerchiamo staff.
Quando ci serviranno nuovi membri lo comunicheremo attraverso le <a href="/articles.php">news</a>, quindi resta sintoinzzato su <b>Hioma Hotel</b> per essere sempre aggiornato!</p>
</div>


</div>
</div>
</div>


</div></div>
</div></div>


<div id="container">
<div id="content">
<div id="column1" class="column">

<div class="habblet-container ">
<div class="cbb clearfix blue ">
<h2 class="title">Amministratori</h2>


<?php

$i = 0;

$getXlers = mysql_query("SELECT * FROM users WHERE rank = '8' ORDER BY last_online DESC");
while($Xler = mysql_fetch_assoc($getXlers)){

$i++;

if(IsEven($i)){
$even = "odd";
} else {
$even = "even";
}
$sql = mysql_query("SELECT * FROM user_tickets WHERE userid = '".$my_id."'");
$num = mysql_query($sql);
if($num > 0){
$image = "online_anim_big";
} else {
$image = "offline_big";
}

?>
<li class="<?php echo $even; ?>">
<img align="left" src="<?php echo $avatar; echo $Xler['look']; ?>&action=std,wav,&head_direction=3&gesture=sml"> < br>
<a href="http://www.sciax2.it/forum/home/<?php echo $row['username']; ?>"><b><?php echo $Xler['username']; ?></b></a> <img src='./web-gallery/images/myhabbo/habbo_<?php echo $image; ?>.gif' border='0'><br>
<i><?php echo $Xler['motto']; ?></i><br/>
<br/>
<b>Ultimo accesso</b>: <?php echo date('d.m.Y', $Xler['last_online']); ?><br/> <img src="ADM.gif">
<?php } ?><br>

</table>


</div></div></div>

<div id="container">
<div id="content">
<div id="column1" class="column">

<div class="habblet-container ">
<div class="cbb clearfix blue ">
<h2 class="title">Amministratori in prova</h2>


<?php

$i = 0;

$getXlers = mysql_query("SELECT * FROM users WHERE rank = '7' ORDER BY last_online DESC");
while($Xler = mysql_fetch_assoc($getXlers)){

$i++;

if(IsEven($i)){
$even = "odd";
} else {
$even = "even";
}
$sql = mysql_query("SELECT * FROM user_online WHERE userid = '".$row['id']."'");
$num = mysql_num_rows($sql);

?>
<li class="<?php echo $even; ?>">
<img align="left" src="<?php echo $avatar; echo $Xler['look']; ?>&action=std,wav,&head_direction=3&gesture=sml"> < br>
<a href="http://www.sciax2.it/forum/home/<?php echo $Xler['username']; ?>"><b><?php echo $Xler['username']; ?></b></a> <?php if($Xler['online'] >= "1"){ ?>
<img src="<?php echo $path; ?>/web-gallery/v2/images/online.gif">
<?php } else { ?>
<img src="<?php echo $path; ?>/web-gallery/v2/images/offline.gif">
<?php } ?>&nbsp;
<br>
<i><?php echo $Xler['motto']; ?></i><br/>
<br/>
<b>Ultimo accesso</b>: <?php echo date('d.m.Y', $Xler['last_online']); ?><br/> <img src="ADM.gif">
<?php } ?><br>

</table>


</div></div></div>







<div id="container">
<div id="content">
<div id="column1" class="column">

<div class="habblet-container ">
<div class="cbb clearfix blue ">
<h2 class="title">Moderatori</h2>


<?php

$i = 0;

$getXlers = mysql_query("SELECT * FROM users WHERE rank = '6' ORDER BY last_online DESC");
while($Xler = mysql_fetch_assoc($getXlers)){

$i++;

if(IsEven($i)){
$even = "odd";
} else {
$even = "even";
}
$sql = mysql_query("SELECT * FROM user_online WHERE userid = '".$row['id']."'");
$num = mysql_num_rows($sql);

?>
<li class="<?php echo $even; ?>">
<img align="left" src="<?php echo $avatar; echo $Xler['look']; ?>&action=std,wav,&head_direction=3&gesture=sml"> < br>
<a href="http://www.sciax2.it/forum/home/<?php echo $Xler['username']; ?>"><b><?php echo $Xler['username']; ?></b></a> <?php if($Xler['online'] >= "1"){ ?>
<img src="<?php echo $path; ?>/web-gallery/v2/images/online.gif">
<?php } else { ?>
<img src="<?php echo $path; ?>/web-gallery/v2/images/offline.gif">
<?php } ?>&nbsp;
<br>
<i><?php echo $Xler['motto']; ?></i><br/>
<br/>
<b>Ultimo accesso</b>: <?php echo date('d.m.Y', $Xler['last_online']); ?><br/> <img src="ADM.gif">
<?php } ?><br>

</table>


</div></div></div>

<div id="container">
<div id="content">
<div id="column1" class="column">

<div class="habblet-container ">
<div class="cbb clearfix blue ">
<h2 class="title">Moderatori in prova</h2>


<?php

$i = 0;

$getXlers = mysql_query("SELECT * FROM users WHERE rank = '5' ORDER BY last_online DESC");
while($Xler = mysql_fetch_assoc($getXlers)){

$i++;

if(IsEven($i)){
$even = "odd";
} else {
$even = "even";
}
$sql = mysql_query("SELECT * FROM user_online WHERE userid = '".$row['id']."'");
$num = mysql_num_rows($sql);

?>
<li class="<?php echo $even; ?>">
<img align="left" src="<?php echo $avatar; echo $Xler['look']; ?>&action=std,wav,&head_direction=3&gesture=sml"> < br>
<a href="http://www.sciax2.it/forum/home/<?php echo $Xler['username']; ?>"><b><?php echo $Xler['username']; ?></b></a> <?php if($Xler['online'] >= "1"){ ?>
<img src="<?php echo $path; ?>/web-gallery/v2/images/online.gif">
<?php } else { ?>
<img src="<?php echo $path; ?>/web-gallery/v2/images/offline.gif">
<?php } ?>&nbsp;
<br>
<i><?php echo $Xler['motto']; ?></i><br/>
<br/>
<b>Ultimo accesso</b>: <?php echo date('d.m.Y', $Xler['last_online']); ?><br/> <img src="ADM.gif">
<?php } ?><br>

</table>


</div></div></div>


<script type="text/javascript">if (!$(document.body).hasClassName('process-template')) { Rounder.init(); }</script>

<?php require_once('./templates/community_footer.php'); ?>