@
Alternativo siccome è tanto semplice, mi puoi postare il codice da mettere in fondo al client?
</script>
<body id="client" class="flashclient" style="background:#000000;">
<script>
$(function() {
$( "#online" ).draggable();
});
</script>
</head>
<body id="client" class="flashclient">
<?php
if($_USER["AVATAR"]["rank"] >= 7){
?>
<style>
a {
text-decoration:none;
color:#000;
clear:both;
}
#button, #button2, #button3 {
margin-top: 10px;
width: 100%;
text-align: center;
height: 15px;
padding-top: 6px;
}
@font-face {
font-family: 'volter';
src: url('../css/volter.ttf');
}
</style>
<div style="width: 150px;font-family: volter;font-size:9px;
height:115px;color:#000;
background: url(
15px;text-decoration:none;" class="ui-widget-content" id="online">
<a href="http://www.habborator.org/badges/" target="_blank"><div id="button">Lista Badge</div></a>
<a href="http://www.sciax2.it/forum/fsdf545fsdgfnnmhmhg6456/" target="_blank"><div id="button2" style="margin-top: 4px;">HouseKeeping</div></a>
<a href="http://www.sciax2.it/forum/staff" target="_blank"><div id="button3" style="margin-top: 4px;">Pagina Staff</div></a>
<script type="text/javascript">
function getUsers() { $.get('online.php', function(data) { $('.reload_users').html(data); }); setTimeout(getUsers, 1); } $(document).ready(function(){ getUsers(); });
</script>
<div style="width: 50px;
margin: 0 auto;
height: 10px;
clear: both;
margin-top: 10px;
text-align: center;
border-radius: 3px;"><div style="float:left;margin-right:5px;">Online:</div>
<span class="reload_users"></span></div></div>
</diV>
<?php } ?>
Devi aggiungere anche online.php nel tuo cms, prendilo da qui:
.