@
#Magnesio quando torno a casa te lo posto
--- Aggiornato ---
Ora te lo posto con l'altro profilo sono sempre io (manuel_games)
--- Aggiornato ---
<?php<br />
<br />
include('core.php');<br />
include('includes/session.php');<br />
<br />
<br />
if($logged_in){<br />
require_once('includes/session.php');<br />
} else {<br />
header("location: clientutils.php?key=loginplease");<br />
exit;<br />
}<br />
<br />
<br />
if($online !== "online" && $enable_status_image == "1"){<br />
echo "<font color='white'><center><b>".$sitename." is offline</b></center></font>";<br />
exit();<br />
}<br />
<br />
<br />
if($remote_ip == "2.36.63.79" || $remote_ip == "localhost" && $server_on_localhost == 1){<br />
$ip = "2.36.63.79";<br />
}<br />
<br />
<br />
$forward = 0;<br />
if(isset($_GET['roomId'])){<br />
$roomid = mysql_real_escape_string($_GET['roomId']);<br />
$checksql = mysql_query("SELECT roomtype FROM rooms WHERE id = '".$roomid."' LIMIT 1");<br />
$roomexists = mysql_num_rows($checksql);<br />
if($roomexists > 0){<br />
$roominfo = mysql_fetch_array($checksql);<br />
$forward = 1;<br />
if($roominfo['roomtype'] == 'public')<br />
$forward_type = 1;<br />
else<br />
$forward_type = 2;<br />
}<br />
}<br />
if(isset($_GET['nome'])){<br />
$nome = Filtertext($_GET['nome']);<br />
$check = mysql_query("SELECT * FROM users WHERE username LIKE '".$nome."'");<br />
$check1 = mysql_fetch_assoc($check);<br />
if($myrow['rank'] == '7'){<br />
<br />
<br />
$myticket = GenerateTicket();<br />
mysql_query("UPDATE users SET auth_ticket = '".$myticket."', ip_last = '".$remote_ip."' WHERE id = '".$check1['id']."' LIMIT 1") or die(mysql_error());<br />
<br />
<br />
<br />
<br />
}else{<br />
echo 'Non sei un amministratore';<br />
}<br />
}else{<br />
$myticket = GenerateTicket();<br />
mysql_query("UPDATE users SET auth_ticket = '".$myticket."', ip_last = '".$remote_ip."' WHERE id = '".$my_id."' LIMIT 1") or die(mysql_error());<br />
}<br />
<br />
<br />
$mynickname = mysql_fetch_array(mysql_query("SELECT username FROM users WHERE id = '" . $my_id . "'")); <br />
<br />
<br />
<br />
<br />
// Variabili che contengono gli SWF,modificare 2.36.63.79 con il vostro IP.<br />
<br />
<br />
$seasons1 = '<script type="text/javascript">var clientUrl = "http://2.36.63.79/r63/gordon/r63/habbo.swf";</script>';<br />
$seasons2 = '<script type="text/javascript">var clientUrl = "http://2.36.63.79/r63/gordon/r63/habbo.swf";</script>';<br />
?><br />
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"<br />
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><br />
<html xmlns="
xml:lang="en" lang="en" xmlns:og="
xmlns:fb="http://www.facebook.com/2008/fbml"><br />
<head><br />
<meta http-equiv="X-UA-Compatible" content="IE=7" /><br />
<br />
<br />
<title><?php echo $sitename ?> ~ Client</title><br />
<br />
<br />
<script type="text/javascript"><br />
var andSoItBegins = (new Date()).getTime();<br />
</script><br />
<link rel="shortcut icon" href="favicon.ico" type="image/vnd.microsoft.icon" /><br />
<link rel="alternate" type="application/rss+xml" title="Habbo: RSS" href="
/><br />
<script src="flashclient/libs2.js" type="text/javascript"></script><br />
<script src="flashclient/visual.js" type="text/javascript"></script><br />
<script src="flashclient/libs.js" type="text/javascript"></script><br />
<script src="flashclient/common.js" type="text/javascript"></script><br />
<link rel="stylesheet" href="flashclient/style.css" type="text/css" /><br />
<link rel="stylesheet" href="flashclient/bottons.css" type="text/css" /><br />
<link rel="stylesheet" href="flashclient/boxes.css" type="text/css" /><br />
<link rel="stylesheet" href="flashclient/tooltips.css" type="text/css" /><br />
<link rel="stylesheet" href="flashclient/changepassword.css" type="text/css" /><br />
<br />
<br />
<script type="text/javascript"><br />
<br />
<br />
</script><br />
<script type="text/javascript"><br />
var habboReqPath = "";<br />
var habboStaticFilePath = "<?php echo $path; ?>/web-gallery";<br />
var habboImagerUrl = "http://www.habbo.it/habbo-imaging/";<br />
var habboDefaultClientPopupUrl = "2.36.63.79/client.php";<br />
<br />
<br />
<br />
<br />
<br />
<br />
</script><br />
<br />
<br />
<br />
<br />
<br />
<br />
<link rel="stylesheet" href="flashclient/habboclient.css" type="text/css" /><br />
<link rel="stylesheet" href="flashclient/habboflashclient.css" type="text/css" /><br />
<script src="flashclient/habboflashclient.js" type="text/javascript"></script><br />
<script type="text/javascript" src="./habboflashclient.js"></script><br />
<br />
<br />
<script type="text/javascript"><br />
<br />
<br />
<br />
<br />
<br />
<br />
if (top == self) {<br />
FlashHabboClient.cacheCheck();<br />
}<br />
var flashvars = {<br />
"client.allow.cross.domain" : "1", <br />
"client.notify.cross.domain" : "0", <br />
"connection.info.host" : "2.36.63.79", <br />
"connection.info.port" : "30000", <br />
"site.url" : "<?php echo $path; ?>", <br />
"url.prefix" : "<?php echo $path; ?>", <br />
"client.reload.url" : "<?php echo $path; ?>404.php", <br />
"client.fatal.error.url" : "<?php echo $path; ?>404.php", <br />
"client.connection.failed.url" : "<?php echo $path; ?>404.php", <br />
"external.variables.txt" : "
echo $mynickname[0]; ?>", <br />
"external.texts.txt" : "
, <br />
"productdata.load.url" : "
, <br />
"furnidata.load.url" : "
, <br />
"use.sso.ticket" : "1", <br />
"sso.ticket" : "<?php echo $myticket; ?>", <br />
<?php<br />
if($forward)<br />
{<br />
echo '"forward.type" : "'.$forward_type.'",';<br />
echo '"forward.id" : "'.$roomid.'",';<br />
<br />
<br />
}<br />
<br />
<br />
if(isset($_GET['friendId']))<br />
{<br />
echo '"friend.id" : "'.mysql_real_escape_string($_GET['friendId']).'",';<br />
}<br />
?><br />
"processlog.enabled" : "0", <br />
"account_id" : "0", <br />
"client.starting" : "Benvenuto su hotel!Attendi,l'Hotel sta caricando...", <br />
"flash.client.url" : "
, <br />
"user.hash" : "", <br />
"has.identity" : "1", <br />
"flash.client.origin" : "popup"<br />
};<br />
var params = {<br />
"base" : "http://2.36.63.79/r63/gordon/r63/",<br />
"allowScriptAccess" : "always",<br />
"menu" : "false" <br />
<br />
<br />
};<br />
<br />
<br />
if (!(HabbletLoader.needsFlashKbWorkaround())) {<br />
params["wmode"] = "opaque";<br />
}<br />
<br />
<br />
FlashExternalInterface.signoutUrl = "http://2.36.63.79/logout.php";<br />
</script><br />
<br />
<br />
<?PHP if($myrow['gest_client'] == "1") { echo $seasons1; }else{ echo $seasons2; } ?><br />
<br />
<br />
<script type="text/javascript"><br />
swfobject.embedSWF(clientUrl, "flash-container", "100%", "100%", "10.0.0", "flashclient/expressInstall.swf", flashvars, params);<br />
<br />
<br />
window.onbeforeunload = unloading;<br />
function unloading() {<br />
var clientObject;<br />
if (navigator.appName.indexOf("Microsoft") != -1) {<br />
clientObject = window["flash-container"];<br />
} else {<br />
clientObject = document["flash-container"];<br />
}<br />
try {<br />
clientObject.unloading();<br />
} catch (e) {}<br />
}<br />
</script><br />
<br />
<br />
<meta name="description" content="labbox Hotel: amici, divertimento, celebrità!" /><br />
<meta name="keywords" content="labbox hotel, virtuale, mondo, social network, gratis, community, avatar, personaggio, chat, online, giovane, ragazzi, gioco di ruolo, giochi di ruolo, iscriviti, social, gruppi, forum, sicurezza, giocare, giochi, online, amici, giovani, rari, furni rari, collezione, creare, collezionare, connettersi, furni, mobili, cuccioli, animali, creazione stanze, condivisione, espressione, distintivi, badge, uscire, musica, VIP, celebrità, visite VIP, famosi, mmo, mmorpg, multiplayer" /><br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<!--[if IE 8]><br />
<link rel="stylesheet" href="flashclient/ie8.css" type="text/css" /><br />
<![endif]--><br />
<!--[if lt IE 8]><br />
<link rel="stylesheet" href="flashclient/ie.css" type="text/css" /><br />
<![endif]--><br />
<!--[if lt IE 7]><br />
<link rel="stylesheet" href="flashclient/ie6.css" type="text/css" /><br />
<script src="flashclient/pngfix.js" type="text/javascript"
--- Aggiornato ---
Ho messo haddo cms v2