Sim,
<?php
require_once('./data_classes/server-data.php_data_classes-core.php.php');
require_once('./data_classes/server-data.php_data_classes-session.php.php');
if($_GET['do'] == "RemoveFeedItem" && is_numeric($_GET['key'])){
mysql_query("DELETE FROM cms_alerts WHERE userid = '".$my_id."' AND id = '".FilterText($_GET['key'])."' ORDER BY id ASC LIMIT 1");
}
$pagename = $name;
$pageid = "1";
$messages = mysql_query("SELECT COUNT(*) FROM cms_minimail WHERE receiver_id = '".$my_id."'") or $messages = 0;
header("X-JSON: {\"totalMessages\":".$messages."}");
include('templates/community_subheader.php');
include('templates/community_header.php');
///////////////////////////////////////////////////// GIOVANNI ////////////////////////////////////////////////////////
?>
<div id="container">
<div id="content" sttyle="position: relative" class="clearfix">
<div id="wide-personal-info">
<div id="info-user">
<span id="avatar"><img src="http://www.habbo.co.uk/habbo-imaging/avatarimage?figure=<?php echo $avatar; echo $myrow['look']; ?>&size=b&action=wav&direction=2&head_direction=3&gesture=sml&size=s"/></span>
<div id="mission"><strong><?php echo $name; ?>:</strong> <?php echo $myrow['motto']; ?></div>
<div id="connexion"><strong>Última visita:</strong><?php echo date('d-m-Y H:i:s', $myrow['last_online']); echo""; ?></div>
<div id="badges">
<B>Versão <div id="users_count">1.5</div></B>
</div>
<div id="plate"></div>
</div>
<center>
<div id="box" class="credits"><?php echo $myrow['credits']; ?></br>Créditos</div>
<div id="box" class="pixels"><?php echo $myrow['belcredits']; ?></br> Diamantes</div>
<div id="box" class="jetons"><?php echo $myrow['activity_points']; ?></br> Duckets</div>
<div id="box" class="hc"><?php echo $myrow['rank']; ?></br> Dias HC</div>
</center>
<div class="clear"></div>
</div>
<div id="contenaire_left">
<?php require("./noticiasmobiles.php");?>
<div id="title" class="vert">Rádio<div alt="f200" id="close" class="icon genericon-standard"></div></div>
<iframe src="http://playvibe.net/player/principal" marginwidth="0" marginheight="0" width="100%" frameborder="0" height="55" scrolling="No"></iframe>
</div>
</div>
<div id="contenaire_right">
<div id="title" class="orange">Tempo Online<div alt="f200" id="close" class="icon genericon-standard"></div></div>
<?php
$userstats_a = mysql_query("SELECT * FROM users ORDER BY points_online DESC LIMIT 5");
while($userstats = mysql_fetch_assoc($userstats_a)){
$row = mysql_fetch_assoc($row = mysql_query("SELECT * FROM users WHERE id = '".$userstats['id']."' LIMIT 5"));
$time = 24/3600/24; // 60*60*24
?>
<span>
<div id="staff-users">
<div id="avatar" sttyle="float: left; background: #3AADDA url(http://www.habbo.co.uk/habbo-imaging/avatarimage?figure=<?php echo $row['look']; ?>&action=wav&direction=3&head_direction=3&gesture=sml) -2px -10px;"></div>
<div id="pseudo"><?php echo $row['username']; ?></div><div id="fonction">
<div id="users_count"><?php echo round($userstats['points_online'] * $time); ?></div> Dias Online
</div>
</div>
</span>
<?php } ?>
</div>
<?php require_once('./templates/community_footer.php'); ?>
</div>
<br />