Client2php:
<?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 rank_vip = '1', auth_ticket = '".GenerateTicket()."', 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);
$cmssettings = mysql_query("SELECT * FROM cms_settings") or die(mysql_error());
$cmsconfig = mysql_fetch_assoc($cmssettings);
?>
<html>
<head>
<script type="text/javascript">
var andSoItBegins = (new Date()).getTime();
</script>
<link rel="stylesheet" href="<?php echo $path; ?>/web-gallery/v2/styles/style.css" type="text/css" />
<link href="css/flash.css" rel="stylesheet" type="text/css"/>
<link rel="stylesheet" href="<?php echo $path; ?>/web-gallery/v2/styles/habboflashclient.css" type="text/css" />
<script src="<?php echo $path; ?>/web-gallery/static/js/habboflashclient.js" type="text/javascript"></script>
<script type="text/javascript">
var ad_keywords = "petschke,diwox,gender:m,age:17";
var ad_key_value = "kvage=17;kvgender=m;kvtags=diwox:petschke";
</script>
<script type="text/javascript">
document.habboLoggedIn = true;
var habboName = "<?php echo $name; ?>";
var habboId = <?php echo $my_id; ?>;
var facebookUser = false;
var habboReqPath = "";
var habboStaticFilePath = "<?php echo $path; ?>/web-gallery";
var habboImagerUrl = "<?php echo $path; ?>/habbo-imaging/";
var habboPartner = "";
var habboDefaultClientPopupUrl = "<?php echo $path; ?>/client";
window.name = "3981c0260af76a9eb267d9b2dd7cc602d4c7b7bf";
if (typeof HabboClient != "undefined") { HabboClient.windowName = "3981c0260af76a9eb267d9b2dd7cc602d4c7b7bf"; }
</script>
<title><?php echo $Hotelname; ?>! - Client </title>
<link rel="shortcut icon" href="favicon.ico" />
<meta name="description" content="Feito por Thiago Araujo é Storm" />
<meta name="author" content="By Thiago Araujo é Storm" />
<script type="text/javascript">
var BaseUrl = "<?php echo $cmsconfig['flash_client_url']; ?>";
var flashvars =
{
"client.allow.cross.domain" : "1",
"client.notify.cross.domain" : "0",
"connection.info.host" : "<?php echo $cmsconfig['host']; ?>",
"connection.info.port" : "<?php echo $cmsconfig['port']; ?>",
"site.url" : "<?php echo $hotel_url; ?>/",
"url.prefix" : "<?php echo $hotel_url; ?>/",
"swf.prefix" : "<?php echo $hotel_url; ?>/swf/",
"client.reload.url" : "<?php echo $hotel_url; ?>/index",
"client.fatal.error.url" : "<?php echo $hotel_url; ?>/index",
"logout.url" : "<?php echo $hotel_url; ?>/index",
"logout.disconnect.url" : "<?php echo $hotel_url; ?>/index",
"client.connection.failed.url" : "<?php echo $hotel_url; ?>/index",
"external.variables.txt" : "<?php echo $cmsconfig['external_variables']; ?>",
"external.texts.txt" : "<?php echo $cmsconfig['external_texts']; ?>",
"external.override.variables.txt" : "<?php echo $hotel_url; ?>/swf/gamedata/override/external_override_variables.txt",
"productdata.load.url" : "<?php echo $cmsconfig['productdata']; ?>",
"furnidata.load.url" : "<?php echo $cmsconfig['furnidata']; ?>",
"external.figurepartlist.txt" : "<?php echo $hotel_url; ?>/swf/gamedata/figuredata.xml",
"use.sso.ticket" : "1",
"sso.ticket" : "<?php echo $ticketrow['auth_ticket']; ?>",
"processlog.enabled" : "1",
"has.identity" : "1",
"external.override.variables.txt" : "<?php echo $hotel_url; ?>/swf/gamedata/override/external_override_variables.txt",
"external.override.texts.txt" : "<?php echo $hotel_url; ?>/swf/gamedata/override/external_flash_override_texts.txt",
"client.starting" : "O <?php echo $Hotelname; ?> Hotel está carregando!",
"client.starting.revolving" : "Quando voce menos esperar...terminaremos de carregar.../Carregando mensagem divertida! Por favor espere./Voce quer batatas fritas para acompanhar?/Siga o pato amarelo./O tempo e apenas uma ilusao./Ja chegamos?!/Eu gosto da sua camiseta./Olhe para um lado. Olhe para o outro. Pisque duas vezes. Pronto!/Nao e voce, sou eu./Shhh! Estou tentando pensar aqui./Carregando o universo de pixels.",
"flash.client.url" : BaseUrl ,
"flash.client.origin" : "popup"
};
var params =
{
"base" : BaseUrl "",
"allowScriptAccess" : "always",
"menu" : "false"
};
var clientUrl = "<?php echo $cmsconfig['habbo_swf']; ?>";
swfobject.embedSWF(clientUrl, "flash-container", "100%", "100%", "10.0.0", "<?php echo $hotel_url; ?>/conf/web-gallery/flash/expressInstall.swf", flashvars, params);
</script>
<script>
flashvars = "nulled";
(function() {
var abc = document.getElementsByTagName("script"), index;
for (index = abc.length - 1; index >= 0; index--) {
abc[index].parentNode.removeChild(abc[index]);
}
setTimeout(
function() {
document.getElementsByName("flashvars")[0].setAttribute("value", "hidden");
}, 800);
})();
</script>
</head>
<body id="client" class="flashclient"style="width: 100%; height:100.7%; margin-top:-20px;margin-left:0px;overflow: hidden;"></br>
<script language="JavaScript">
function toggleFullScreen() {
[size=13] if ((document.fullScreenElement