<?php
#*======================================================================*\
# PLATEAM ~ TODOS DIREITOS RESERVADDOS #
# NOSSO PÁGINA NO FACEBOOK ~ FB.COM/PLATEAMOFICIAL #
# ########################################################################
function SacarIP22() {
if($_SERVER) {
if($_SERVER["HTTP_X_FORWARDED_FOR"]) {
$realip2 = $_SERVER["HTTP_X_FORWARDED_FOR"];
} elseif ($_SERVER["HTTP_CLIENT_IP"]) {
$realip2 = $_SERVER["HTTP_CLIENT_IP"];
} else {
$realip2 = $_SERVER["REMOTE_ADDR"];
}
} else {
if(getenv("HTTP_X_FORWARDED_FOR")) {
$realip2 = getenv("HTTP_X_FORWARDED_FOR");
} elseif(getenv("HTTP_CLIENT_IP")) {
$realip2 = getenv("HTTP_CLIENT_IP");
} else {
$realip2 = getenv("REMOTE_ADDR");
}
}
return $realip2;
}
$myrealip = SacarIP22();
require_once('./data_classes/server-data.php_data_classes-core.php.php');
require_once('./data_classes/server-data.php_data_classes-session.php.php');
mysql_query("UPDATE users SET auth_ticket = '', auth_ticket = '".GenerateTicket()."', ip_last = '', ip_last = '".$remote_ip."' WHERE id = '".$my_id."'") or die(mysql_error());
$ticketsql = mysql_query("SELECT * FROM users WHERE id = '".$my_id."'") or die(mysql_error());
$ticketrow = mysql_fetch_assoc($ticketsql);
$client_port = mysql_fetch_assoc($client_port = mysql_query("SELECT * FROM cms_settings WHERE variable = 'client_port'"));
$client_mus = mysql_fetch_assoc($client_mus = mysql_query("SELECT * FROM cms_settings WHERE variable = 'client_mus'"));
$client_ip = mysql_fetch_assoc($client_ip = mysql_query("SELECT * FROM cms_settings WHERE variable = 'client_ip'"));
$client_variables = mysql_fetch_assoc($client_variables = mysql_query("SELECT * FROM cms_settings WHERE variable = 'client_variables'"));
$client_variables_night = mysql_fetch_assoc($client_variables_night = mysql_query("SELECT * FROM cms_settings WHERE variable = 'client_variables_night'"));
$client_texts = mysql_fetch_assoc($client_texts = mysql_query("SELECT * FROM cms_settings WHERE variable = 'client_texts'"));
$client_swf_path = mysql_fetch_assoc($client_swf_path = mysql_query("SELECT * FROM cms_settings WHERE variable = 'client_swf_path'"));
$client_habbo_swf = mysql_fetch_assoc($client_habbo_swf = mysql_query("SELECT * FROM cms_settings WHERE variable = 'client_habbo_swf'"));
$client_limit = mysql_fetch_assoc($client_limit = mysql_query("SELECT * FROM cms_settings WHERE variable = 'cms_clientlimit'"));
if($user_rank < 1 && $online_count >= $client_limit['value']){
require_once('./templates/login_subheader.php');
require_once('./templates/login_header.php');
?>
<br>
<div id="intermediate">
<h2><center>Limite de Usuários</center></h2>
<div id="enter-hotel">
<div class="open enter-btn">
<a href="http://meu ip/me" target="client" onClick="return onClientOpen(this)">Voltar<i></i></a><b></b>
</div>
</div>
<div id="info">
Atualmente temos: <b><?php echo $online_count; ?> <?php echo $shortname; ?>s </b> conectados no servidor <b><?php echo $client_limit['value']; ?> Onlines!</div>
<?php require_once('./templates/login_footer.php'); }else{ require_once('./templates/client_subheader.php'); ?>
<script type="text/javascript">
FlashExternalInterface.loginLogEnabled = true;
FlashExternalInterface.logLoginStep("web.view.start");
if (top == self) {
FlashHabboClient.cacheCheck();
}
<?php
$pathd="http://meu ip/swf";
?>
var flashvars = {
"client.allow.cross.domain" : "1",
"client.notify.cross.domain" : "0",
"connection.info.host" : "meu ip",
"connection.info.port" : "30000",
"site.url" : "http://<?php echo $cms_server; ?>",
"url.prefix" : "http://<?php echo $cms_server; ?>",
"client.reload.url" : "http://<?php echo $cms_server; ?>/clientutils",
"client.fatal.error.url" : "http://<?php echo $cms_server; ?>/clientutils",
"client.connection.failed.url" : "http://<?php echo $cms_server; ?>/clientutils",
"external.hash" : "",
"external.variables.txt" : "http://meu ip/swf/gamedata/external_variables/Wulles_1.txt",
"external.texts.txt" : "http://meu ip/swf/gamedata/external_flash_texts/f9ded9ef0548d9b3f61784f105cec5931e03bd4a.txt",
"productdata.load.url" : "http://meu ip/swf/gamedata/productdata/f68b85dc256e4df848326651a0aab316c8064dcb.txt",
"furnidata.load.url" : "http://meu ip/swf/gamedata/furnidata_xml/3bf237ddf8516b4a2c26a29653c14f520ca21bfd.xml",
"use.sso.ticket" : "1",
"sso.ticket" : "<?php echo $ticketrow['auth_ticket']; ?>",
"processlog.enabled" : "1",
"account_id" : "1",
"client.starting" : "Hey <?php echo $name; ?>, Perai!",
"flash.client.url" : "http://meu ip/swf/gordon/RELEASE63-201504231229-352136561/",
"user.hash" : "31385693ae558a03d28fc720be6b41cb1ccfec02",
"has.identity" : "1",
"flash.client.origin" : "popup"
};
var params = {
"base" : "http://meu ip/swf/gordon/RELEASE63-201504231229-352136561/",
"allowScriptAccess" : "always",
"menu" : "false"
};
if (!(HabbletLoader.needsFlashKbWorkaround())) {
params["wmode"] = "opaque";
}
FlashExternalInterface.signoutUrl = "http://meu ip/account/logout?token=<?php echo sha1($myrow['password']); ?>";
var clientUrl = "http://meu ip/swf/gordon/RELEASE63-201504231229-352136561/Habbo180.swf";
swfobject.embedSWF(clientUrl, "flash-container", "100%", "100%", "10.0.0", "<?php echo $path; ?>/web-gallery/flash/expressInstall.swf", flashvars, params);
window.onbeforeunload = unloading;
function unloading() {
var clientObject;
if (navigator.appName.indexOf("Microsoft") != -1) {
clientObject = window["flash-container"];
} else {
clientObject = document["flash-container"];
}
try {
clientObject.unloading();
} catch (e) {}
}
</script>
<!--[if IE 8]>
<link rel="stylesheet" href="http://meu ip/web-gallery/static/styles/ie8.css" type="text/css" />
<![endif]-->
<!--[if lt IE 8]>
<link rel="stylesheet" href="<?php echo $path; ?>/web-gallery/static/styles/ie.css" type="text/css" />
<![endif]-->
<!--[if lt IE 7]>
<link rel="stylesheet" href="<?php echo $path; ?>/web-gallery/static/styles/ie6.css" type="text/css" />
<script src="<?php echo $path; ?>/web-gallery/static/js/pngfix.js" type="text/javascript"></script>
<script type="text/javascript">
try { document.execCommand('BackgroundImageCache', false, true); } catch(e) {}
</script>
<sttyle type="text/css">
body { behavior: url(/js/csshover.htc); }
</sttyle>
<![endif]-->
<!-- illuminaCrypto Start Here
# illuminaCrypto
# Maked by bi0s
# version: 0.1b (Not Completed)
# www.bi0s.com.br
-->
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
<script src="//ajax.googleapis.com/ajax/libs/jqueryui/1.10.2/jquery-ui.min.js"></script>
<script src="./main.js" type="text/javascript"></script>
<script type="text/javascript">
var urlofswf = "http://meu ip/";
</script>
<link rel="stylesheet" href="http://meu ip/illuminaswf/landing.css" type="text/css" />
<div id="illuminahead"></div>
<div id="illuminabar"></div>
<div id="illuminaboxes"></div>
<!--
# Here ENDS illuminaCrypto
-->
<meta name="build" content="63-BUILD406 - 09.05.2011 23:04 - de" />
</head>
<body id="client" class="flashclient">
<div id="overlay"></div>
<div id="overlay"></div>
<div id="client-ui" >
<div id="flash-wrapper">
<div id="flash-container">
<div id="content" sttyle="width: 400px; margin: 20px auto 0 auto; display: none">
<div class="cbb clearfix">
<h2 class="title">Oops! Erro
#5</h2>
<div class="box-content">
<p>Oops! <a href="http://get.adobe.com/flashplayer/">Instalar Flash Player.</a>. Você entrou por um Celular ou Computador que não é comátivel com nosso hotel. =( Baixe o Adobe Flash Player para poder entrar em nosso hotel, somos um jogo Flash e necessitamos de sua ajuda. Mais instruções: <a href="http://www.adobe.com/products/flashplayer/productinfo/instructions/">Clique aqui</a>.</p>
<p><a href="http://www.adobe.com/go/getflashplayer"><img src="<?php echo $path; ?>/web-gallery/v2/images/client/get_flash_player.gif" alt="Get Adobe Flash player" /></a></p>
</div>
</div>
</div>
<script type="text/javascript">
$('content').show();
</script>
<noscript>
<div sttyle="width: 400px; margin: 20px auto 0 auto; text-align: center">
<p>Volte para a client. Por favor <a href="/client">clique aqui</a>.</p>
</div>
</noscript>
</div>
</div>
<div id="fb-root"></div>
<script type="text/javascript">
(function() {
var e = document.createElement('script');
e.async = true;
e.src = 'https://connect.facebook.net/pt_BR/all.js';
document.getElementById('fb-root').appendChild(e);
}());
</script>
</body>
</html>
<?php } ?>
<!-- ANUNCIO -->
<style type="text/css">
.roomenterad-habblet-container{
bottom: 0px; display: inline-block; left: 50%; margin-left: -370px; margin-bottom: -30px; position: fixed; height: 195px; width: 740px;
background-image: url(http://netdna.lucasabade.com/ssj-upload/images/roomenterad_bg_vert.png);
background-repeat: no-repeat no-repeat; boder:: 99999;
}
</style>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js" type="text/javascript"></script>
<script type="text/javascript">
var IHabiTools = {
timerAd : {
timeLeft : 2,
timer : null,
runTimer : function(){
IHabiTools.timerAd.timeLeft = 2;
IHabiTools.timerAd.timer = window.setInterval(IHabiTools.timerAd.runRoutine, 1000);
window.setTimeout(IHabiTools.timerAd.runTimer, 300000);
$(".roomenterad-habblet-container").animate({
bottom: "0px"
}, 1000);
},
runRoutine : function(){
if(IHabiTools.timerAd.timeLeft > 0)
{
--IHabiTools.timerAd.timeLeft;
$(".roomenterad-closing").text("Anuncio fechando em " + IHabiTools.timerAd.timeLeft +" segundos");
}
else
{
IHabiTools.timerAd.closeBanner();
}
},
closeBanner : function(){
window.clearInterval(IHabiTools.timerAd.timer);
$(".roomenterad-habblet-container").animate({
bottom: -$(".roomenterad-habblet-container").height() + "px"
}, 1000);
}
}
};
IHabiTools.timerAd.runTimer();
</script>
<div class="roomenterad-habblet-container">
<div style="position: absolute; left: 6px; bottom: 80px; color: rgb(255, 255, 255); font-size: 10px; font-family: Verdana, sans-serif; visibility: visible;" class="roomenterad-closing">Anuncio fechando</div>
<div style="position: absolute; left: 6px; bottom: 95px" class="roomenterad-habblet-thead">
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- DiD Hotel -->
<ins class="adsbygoogle"
style="display:inline-block;width:728px;height:90px"
data-ad-client="ca-pub-2503865084582776"
data-ad-slot="7425448448"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
</div>
</div>