<iframe src="http://player.srvstm.com/player-barra/13948/000000" frameborder="0" width="100%" height="31"></iframe>
<?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');
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']){
?>
<html>
<title>Habbe Hotel ~ Jogar</title>
<div id="intermediate">
<h2><center>Límite de Usuarios</center></h2>
<div id="enter-hotel">
<div class="open enter-btn">
<a href="http://habbe.biz" target="client" onClick="return onClientOpen(this)">Me<i></i></a><b></b>
</div>
</div>
</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();
}
var flashvars = {
"client.allow.cross.domain" : "1",
"client.notify.cross.domain" : "0",
"connection.info.host" : "%31%35%38%2E%36%39%2E%31%38%36%2E%31%31%39",
"connection.info.port" : "%39%30",
"site.url" : "http://habbe.biz",
"url.prefix" : "http://habbe.biz",
"client.reload.url" : "http://habbe.biz/client",
"client.fatal.error.url" : "http://habbe.biz/disconnected",
"client.connection.failed.url" : "http://habbe.biz/disconnected",
"logout.url" : "http://habbe.biz/disconnected",
"logout.disconnect.url" : "http://habbe.biz/disconnected",
"external.variables.txt" : "http://habbe.biz/swf/gamedata/external_variables/30a75c136037cbe9e3797cee2c9c7504b0fbd1d3.txt",
"external.texts.txt" : "http://habbe.biz/swf/gamedata/external_flash_texts/4341e7ed033ea8f73bd6892fb19556442690da92.txt",
"productdata.load.url" : "http://habbe.biz/swf/gamedata/productdata/f717092c89ce7ec89a25af877a1904fe062f4c49.txt",
"furnidata.load.url" : "http://habbe.biz/swf/gamedata/furnidata_xml/229bf587f934d43b029ac45a5c1735ece27e8c5b.xml",
"figuredata.load.url" : "http://habbe.biz/swf/gamedata/figuredata.xml",
"avatareditor.promohabbos" : "http://habbe.biz/swf/gamedata/hotlooks.xml",
"use.sso.ticket" : "1",
"sso.ticket" : "<?php echo $ticketrow['auth_ticket']; ?>",
"processlog.enabled" : "1",
"account_id" : "1",
"client.starting" : "Por favor aguarde! O <?php echo $hotelname; ?> est\u00E1 carregando...",
"client.starting.revolving": "Quando voc\u00EA menos esperar...terminaremos de carregar...\/Carregando mensagem divertida no Habbe! Por favor espere.\/Voc\u00EA quer batatas fritas para acompanhar?\/Siga o pato amarelo.\/O tempo \u00E9 apenas uma ilus\u00E3o.\/J\u00E1 chegamos?!\/Eu gosto da sua camiseta.\/Olhe para um lado. Olhe para o outro. Pisque duas vezes. Pronto!\/N\u00E3o \u00E9 voc\u00EA, sou eu.\/Shhh! Estou tentando pensar aqui.\/Carregando o universo de pixels.",
"flash.client.url" : "http://habbe.biz/swf/gordon/PRODUCTION-201510261212-858675875/",
"user.hash" : "31385693ae558a03d28fc720be6b41cb1ccfec02",
"has.identity" : "1",
"flash.client.origin" : "popup"
};
var params = {
"base" : "http://habbe.biz/swf/gordon/PRODUCTION-201510261212-858675875/",
"allowScriptAccess" : "always",
"menu" : "false"
};
if (!(HabbletLoader.needsFlashKbWorkaround())) {
params["wmode"] = "opaque";
}
FlashExternalInterface.signoutUrl = " http://habbe.biz/account/logout?token=<?php echo sha1($myrow['password']); ?>";
var clientUrl = "http://habbe.biz/swf/gordon/PRODUCTION-201510261212-858675875/upd.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="<?php echo $path; ?>/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>
<style type="text/css">
body { behavior: url(/js/csshover.htc); }
</style>
<![endif]-->
</head>
<body id="client" class="flashclient">
<div id="overlay"></div>
<div id="client-ui" >
<div id="flash-wrapper">
<div id="flash-container">
<div id="content" style="width: 400px; margin: 20px auto 0 auto; display: none">
<div class="cbb clearfix">
<h2 class="title">Por favor, atualiza o adobe flash player para ultima versão</h2>
<div class="box-content">
<p>Clique Aqui: <a href="http://get.adobe.com/flashplayer/">Instala Flash player</a>. Más instrucciones para su instalación aquí: <a href="http://www.adobe.com/products/flashplayer/productinfo/instructions/">Más información</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 style="width: 400px; margin: 20px auto 0 auto; text-align: center">
<p>If you are not automatically redirected, please <a href="/client">click here</a></p>
</div>
</noscript>
</div>
</div>
</div>
</body>
</html>
<?php } ?>