<?php
/** ************************************************\
* /
* DON'T CHANGE SOMETHING IF YOU DON'T /
* KNOW HOW IT WORKS! /
* /
*****************************************************/
$LOGIN_TRUE = true;
include("./global.php");
$hotelRoomForwardId = "29"; // Do you want forward your users automaticly to a room?
// Just put the ID of the room here
(Or not? A random not exist room number like 03945693563905639563956395639563956389563956 or 'false')
?>
<html>
<head>
<title><?php echo $_WEBSITE["HTL"]["name"] ?> Hotel: Client</title>
<script type="text/javascript">
var habboName = "<?php echo $_USER["AVATAR"]["username"] ?>";
var habboReqPath = "<?php echo $_WEBSITE['CMS']['url'] ?>";
var habboStaticFilePath = "http://images.habbo.com/habboweb/<?php echo $_WEBSITE["CMS"]["webbuild"]; ?>/web-gallery";
var habboImagerUrl = "http://www.habbo.com/habbo-imaging/";
var habboPartner = "";
var habboDefaultClientPopupUrl = "<?php echo $_WEBSITE['CMS']['url'] ?>/client";
window.name = "ClientWndw";
if (typeof HabboClient != "undefined") { HabboClient.windowName = "ClientWndw"; }
</script>
<script src="http://jasler.nl/hybonehtl/client/libs2.js" type="text/javascript"></script>
<script src="http://jasler.nl/hybonehtl/client/visual.js" type="text/javascript"></script>
<script src="http://jasler.nl/hybonehtl/client/libs.js" type="text/javascript"></script>
<script src="http://jasler.nl/hybonehtl/client/common.js" type="text/javascript"></script>
<!--script src="<?php echo $_WEBSITE['CMS']['url']; ?>/client/hyboneclientaddon_v6.js" type="text/javascript"></script-->
<link rel="stylesheet" href="http://jasler.nl/hybonehtl/css/website.css" type="text/css" />
<link rel="stylesheet" href="http://images.habbo.com/habboweb/<?php echo $_WEBSITE["CMS"]["webbuild"]; ?>/web-gallery/static/styles/common.css" type="text/css" />
<link rel="stylesheet" href="http://images.habbo.com/habboweb/<?php echo $_WEBSITE["CMS"]["webbuild"]; ?>/web-gallery/static/styles/habboflashclient.css" type="text/css" />
<noscript>
<meta http-equiv="refresh" content="0;url=/client/nojs" />
</noscript>
<link rel="stylesheet" href="<?php echo $_WEBSITE['CMS']['url']; ?>/client/client.css" type="text/css" />
<script src="http://jasler.nl/hybonehtl/client/habboflashclient_v4.js" type="text/javascript"></script>
<script type="text/javascript">
FlashExternalInterface.loginLogEnabled = true;
FlashExternalInterface.logLoginStep("web.view.start");
if (top == self) {
FlashHabboClient.cacheCheck();
}
var flashvars = {
"client.allow.cross.domain" : "0",
"client.notify.cross.domain" : "1",
"connection.info.host" : "localhost",
"connection.info.port" : "3030",
"site.url" : "localhost",
"url.prefix" : "localhost>",
"client.reload.url" : "<?php echo $_WEBSITE['CMS']['url'] ?>/client_nl",
"client.fatal.error.url" : "<?php echo $_WEBSITE['CMS']['url'] ?>/disconnected",
"client.connection.failed.url" : "<?php echo $_WEBSITE['CMS']['url'] ?>/disconnected",
"external.variables.txt" : "http://localhost/swf/gamedata/external_variables.txt",
"external.texts.txt" : "http://localhost/swf/gamedata/external_flash_texts.txt",
"productdata.load.url" : "http://localhost/swf/gamedata/productdata.txt", <?php /** if($user_rank !== "9"){ echo $_WEBSITE['CLIENT']['product_data']; }else{ echo 'http://jasler.nl/hybone_swfs/productdata_en.txt'; /*}*/ ?>
"furnidata.load.url" : "http://localhost/swf/gamedata/furnidata.xml",
"use.sso.ticket" : "1",
"sso.ticket" : "<?php echo createSSOticket($_USER["AVATAR"]["id"]); ?>",
"processlog.enabled" : "1",
"account_id" : "1",
"client.starting" : "Rossux Hotel si sta avviando
",
"flash.client.url" : "http://localhost/swf/dcr/hof_furni/",
"user.hash" : "31385693ae558a03d28fc720be6b41cb1ccfec02",
"has.identity" : "1",
"flash.client.origin" : "popup" ,
"forward.type" : "<?php if(isset($_GET["forwardId"])) { echo $_GET["forwardId"]; }else if(getInformationATR($_USER["AVATAR"]["id"], "home_room") !== "0") { echo "2"; }else{ echo "2"; } ?>",
"forward.id" : "<?php if(isset($_GET["roomId"])) { echo $_GET["roomId"]; }else if(getInformationATR($_USER["AVATAR"]["id"], "home_room") !== "0") { echo getInformationATR($_USER["AVATAR"]["id"], "home_room"); }else{ echo $hotelRoomForwardId; }?>",
"hotelview.banner.url" : "<?php echo $_WEBSITE['CMS']['url'] ?>/swfs/rs4.php",
};
var params = {
"base" : "http://localhost/swf/gordon/PRODUCTION-201602082203-712976078/",
"allowScriptAccess" : "always",
"menu" : "false",
};
if (!(HabbletLoader.needsFlashKbWorkaround())) {
params["wmode"] = "opaque";
}
FlashExternalInterface.signoutUrl = "{}";
var clientUrl = "http://localhost/swf/gordon/PRODUCTION-201602082203-712976078/habbo.swf";
swfobject.embedSWF(clientUrl, "flash-container", "100%", "100%", "10.0.0", "http://images.habbo.com/habboweb/<?php echo $_WEBSITE["CMS"]["webbuild"]; ?>/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>
<style>
#WindowAlerts {
position: absolute;
width: 460px;
right: 0px;
top: 0px;
z-index: 9;
}
.habblet-container {
margin: 5px;
background: #FFFFFF;
border: 1px solid #86B1BD;
-webkit-border-radius: 7px;
-moz-border-radius: 7px;
border-radius: 7px;
}
.habblet-container .i1 {
background: #FFFFFF;
}
.habblet-container .i2 {
padding: 0;
border: 0;
background: #FFFFFF;
}
#WindowAlerts .innertext_t {
padding: 5px;
color: #000000;
}
/* habbo style buttons */
.habbobutton{
height: 25px;
border:solid 2px black;
border-radius: 3px;
cursor: pointer;
padding:0px 15px 2px 15px;
font-weight: bold;
font-size: 11px;
font-family: Verdana;
}
.habbobutton.green{
background-color: #2C7E00;
box-shadow: inset 1px 1px 0px 0px #2C7E00, inset -6px 0px 0px -5px #2C7E00, inset 0px 11px 0px 0px #3BA800;
color: white;
}
.habbobutton.green:hover{
background-color: #339D00;
box-shadow: inset 1px 1px 0px 0px #339D00, inset -6px 0px 0px -5px #339D00, inset 0px 11px 0px 0px #45CB00;
}
.habbobutton.white{
background-color: #CCCCCC;
box-shadow: inset 1px 1px 0px 0px #CCCCCC, inset -6px 0px 0px -5px #CCCCCC, inset 0px 11px 0px 0px #fff;
color: black;
}
.habbobutton.white:hover{
background-color: #EAEAEA;
box-shadow: inset 1px 1px 0px 0px #EAEAEA, inset -6px 0px 0px -5px #EAEAEA, inset 0px 11px 0px 0px #fff;
}
.habbobutton.grey{
background-color: #606060;
box-shadow: inset 1px 1px 0px 0px #606060, inset -6px 0px 0px -5px #606060, inset 0px 11px 0px 0px #888888;
color: white;
}
.habbobutton.grey:hover{
background-color: #7C7C7C;
box-shadow: inset 1px 1px 0px 0px #7C7C7C, inset -6px 0px 0px -5px #7C7C7C, inset 0px 11px 0px 0px #A8A8A8;
}
.habbobutton.red{
background-color: #B50000;
box-shadow: inset 1px 1px 0px 0px #B50000, inset -6px 0px 0px -5px #B50000, inset 0px 11px 0px 0px #DE0000;
color: white;
}
.habbobutton.red:hover{
background-color: #D70000;
box-shadow: inset 1px 1px 0px 0px #D70000, inset -6px 0px 0px -5px #D70000, inset 0px 11px 0px 0px #FF1616;
}
.habbobutton.purple{
background-color: #800080;
box-shadow: inset 1px 1px 0px 0px #800080, inset -6px 0px 0px -5px #800080, inset 0px 11px 0px 0px #D500D5;
color: white;
}
.habbobutton.purple:hover{
background-color: #C600C6;
box-shadow: inset 1px 1px 0px 0px #C600C6, inset -6px 0px 0px -5px #C600C6, inset 0px 11px 0px 0px #FF1CFF;
}
.habbobutton.orange{
background-color: #D56A00;
box-shadow: inset 1px 1px 0px 0px #D56A00, inset -6px 0px 0px -5px #D56A00, inset 0px 11px 0px 0px #E67300;
color: white;
}
.habbobutton.orange{
background-color: #D56A00;
box-shadow: inset 1px 1px 0px 0px #D56A00, inset -6px 0px 0px -5px #D56A00, inset 0px 11px 0px 0px #E67300;
color: white;
}
.habbobutton.orange:hover{
background-color: #F07800;
box-shadow: inset 1px 1px 0px 0px #F07800, inset -6px 0px 0px -5px #F07800, inset 0px 11px 0px 0px #FF8204;
color: white;
}
#client-ui.x-workaround-feed { background-color: #FFFFFF }
.client-content { color: #FFFFFF }
body {
background: #FFFFFF;
}
</style>
</head>
<body id="client" class="flashclient" onload="StartChecker()">
<div id="overlay"></div>
<div id="WindowAlerts"></div>
<img src="http://images.habbo.com/habboweb/<?php echo $_WEBSITE["CMS"]["webbuild"]; ?>/web-gallery/v2/images/page_loader.gif" style="position:absolute; margin: -1500px;" />
<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">Please update your Flash Player to the latest version.</h2>
<div class="box-content">
<p>You can install and download Adobe Flash Player here: <a href="http://get.adobe.com/flashplayer/">Install flash player</a>. More instructions for installation can be found here: <a href="http://www.adobe.com/products/flashplayer/productinfo/instructions/">More information</a></p>
<p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://images.habbo.com/habboweb/<?php echo $_WEBSITE["CMS"]["webbuild"]; ?>/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/nojs">click here</a></p>
</div>
</noscript>
</div>
</div>
</div>
<div style="display: none">
<div id="habboCountUpdateTarget">
{status}
</div>
<script language="JavaScript" type="text/javascript">
setTimeout(function() {
HabboCounter.init(600);
}, 20000);
</script>
</div>
<script type="text/javascript">
RightClick.init("flash-wrapper", "flash-container");
if (window.opener && window.opener != window && typeof window.opener.location.href != "undefined") {
window.opener.location.replace(window.opener.location.href);
}
$(document.body).addClassName("js");
HabboClient.startPingListener();
</script>
<script type="text/javascript">
HabboView.run();
</script>
<script src="http://code.jquery.com/jquery-1.9.1.js"></script>