Menu
Forums
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Trending
What's new
New posts
New profile posts
Latest activity
Members
Current visitors
New profile posts
Search profile posts
Upgrades
Log in
Register
What's new
Search
Search
Search titles only
By:
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
Server Development
Habbo Retros
Habbo Q&A
Client loads just black.
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Cjozwiak93" data-source="post: 449348" data-attributes="member: 69951"><p>[CODE]<?php</p><p> staffCheck();</p><p> Game::sso('client');</p><p> Game::homeRoom();</p><p> ?></p><p><html></p><p> </body></p><p> <head></p><p> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/></p><p> <title><?= $config['hotelName'] ?> - Hotel</title></p><p> <script src="/templates/brain/client/js/jquery-latest.js" type="text/javascript"></script></p><p> <script src="/templates/brain/client/js/jquery-ui.js" type="text/javascript"></script></p><p> <script src="/templates/brain/client/js/flashclient.js"></script></p><p> <script src="/templates/brain/client/js/flash_detect_min.js"></script></p><p> <script src="/templates/brain/client/js/browse.js"></script></p><p> <script src="/templates/brain/client/js/client.js" type="text/javascript"></script></p><p> <link rel="stylesheet" href="/templates/brain/client/css/client.css" type="text/css"></p><p> <link rel="stylesheet" href="/templates/brain/client/css/no-flash.css" type="text/css"></p><p> </head></p><p> <body></p><p> <?php</p><p> if($hotel['onlineCounter'] == true)</p><p> {</p><p> ?></p><p> <script type="text/javascript"></p><p> $(document).ready(function(e) {</p><p> $.ajaxSetup({</p><p> cache:true</p><p> });</p><p> setInterval(function() {</p><p> $('#onlinecount').load('/onlinecountclient');</p><p> }, 8000);</p><p> $( "#onlinecount").click(function() {</p><p> $('#onlinecount').load('/onlinecountclient');</p><p> });</p><p> });</p><p> </script></p><p> <div class="clientOnlineBox"></p><p> <div class="clientOnlineBoxTxt" id="onlinecount"><small><b><?= Game::usersOnline() ?></b> <?= $config['hotelName'] ?>'s online</small></div></p><p> <img src="/templates/brain/client/images/onlineiconclient.png" style="width:29px;height:28px;ht; */position: absolute;margin-left: 130px;margin-top: -19px;"></p><p> </div></p><p> <?php</p><p> }</p><p> ?></p><p> <center></p><p> <div id="client-ui"></p><p> <div class="client" id="client"></div></p><p> <div class="hb-container" id="area-container"></p><p> <h1 class="text" id="client-title"></h1></p><p> <div id="no-flash" style="display: none;"></p><p> <div id="info-allow"></div></p><p> <div id="info-allow-button" style="display: none; text-align: center;"></p><p> <a href="https://get.adobe.com/nl/flashplayer/" target="_blank" id="allow-flash-button-extern" class="client-reload__button" style="display: none;"><?=$lang['nbutton']?></a></p><p> <button id="allow-flash-button-more" class="client-reload__button" style="display: none; background-color: #f44336;border-color: #d66d66;color: #fff;"><?=$lang['nbuttonerror']?></button></p><p> </div></p><p> <p id="info-flash"></p><p> <?=$lang['ninfoflash']?></p><p> <br /><br /></p><p> <?=$lang['ninfoflashtray']?><br /><br /></p><p> <b style="font-weight: bold;"><?=$lang['ninfoflashpc']?></b></p><p> </p></p><p> <div id="info-flash-extra"></p><p> <ul></p><p> <li>Download <a href="https://get.adobe.com/nl/flashplayer/">Adobe Flash Player</a> <?=$lang['nfree']?></li></p><p> </ul></p><p> <br /></p><p> <b style="font-weight: bold;"><?=$lang['nenableflash']?></b></p><p> <ul></p><p> <li><?=$lang['nenableflashsee']?> <a target="_blank" href="https://helpx.adobe.com/nl/flash-player/kb/enabling-flash-player-chrome.html">Google Chrome</a></p><p> <?=$lang['nenableflashinfo']?></p><p> </li></p><p> <li><?=$lang['nenableflashsee']?> <a target="_blank" href="https://helpx.adobe.com/nl/flash-player/kb/install-flash-player-windows.html">Internet Explorer</a></p><p> <?=$lang['nenableflashinfo']?></p><p> </li></p><p> <li><?=$lang['nenableflashsee']?> <a target="_blank" href="https://helpx.adobe.com/flash-player/kb/flash-player-issues-windows-10-edge.html">Microsoft Edge</a></p><p> <?=$lang['nenableflashinfo']?></p><p> </li></p><p> <li><?=$lang['nenableflashsee']?> <a target="_blank" href="https://helpx.adobe.com/nl/flash-player/kb/enabling-flash-player-firefox.html">Firefox</a></p><p> <?=$lang['nenableflashinfo']?></p><p> </li></p><p> <li><?=$lang['nenableflashsee']?> <a target="_blank" href="https://helpx.adobe.com/nl/flash-player/kb/enabling-flash-player-safari.html">Apple Safari</a></p><p> <?=$lang['nenableflashinfo']?></p><p> </li></p><p> </ul></p><p> </div></p><p> </div></p><p> </div></p><p> <script></p><p> var Client = new SWFObject("<?= $hotel['swfFolderSwf'] ?>", "client", "100%", "100%", "10.0.0");</p><p> Client.addVariable("client.allow.cross.domain", "0");</p><p> Client.addVariable("client.notify.cross.domain", "1");</p><p> Client.addVariable("connection.info.host", "<?= $hotel['emuHost'] ?>");</p><p> Client.addVariable("connection.info.port", "<?= $hotel['emuPort'] ?>");</p><p> Client.addVariable("site.url", "<?= $config['hotelUrl'] ?>");</p><p> Client.addVariable("url.prefix", "<?= $config['hotelUrl'] ?>");</p><p> Client.addVariable("client.reload.url", "<?= $config['hotelUrl'] ?>/me");</p><p> Client.addVariable("client.fatal.error.url", "<?= $config['hotelUrl'] ?>/me");</p><p> Client.addVariable("client.connection.failed.url", "<?= $config['hotelUrl'] ?>/me");</p><p> Client.addVariable("external.override.texts.txt", "<?= $hotel['external_Texts_Override'] ?>");</p><p> Client.addVariable("external.override.variables.txt", "<?= $hotel['external_Variables_Override'] ?>");</p><p> Client.addVariable("external.variables.txt", "<?= $hotel['external_Variables'] ?>");</p><p> Client.addVariable("external.texts.txt", "<?= $hotel['external_Texts'] ?>");</p><p> Client.addVariable("external.figurepartlist.txt", "<?= $hotel['figuredata'] ?>");</p><p> Client.addVariable("flash.dynamic.avatar.download.configuration", "<?= $hotel['figuremap'] ?>");</p><p> Client.addVariable("productdata.load.url", "<?= $hotel['productdata'] ?>");</p><p> Client.addVariable("furnidata.load.url", "<?= $hotel['furnidata'] ?>");</p><p> Client.addVariable("use.sso.ticket", "1");</p><p> Client.addVariable("sso.ticket", "<?= User::userData('auth_ticket') ?>");</p><p> Client.addVariable("processlog.enabled", "0");</p><p> Client.addVariable("client.starting", "<?= $config['hotelName'] ?> is loading...");</p><p> Client.addVariable("flash.client.url", "<?= $hotel['swfFolder'] ?>/");</p><p> Client.addVariable("flash.client.origin", "popup");</p><p> Client.addVariable("ads.domain", "");</p><p> Client.addVariable("diamonds.enabled", '<?= $hotel['diamonds.enabled'] ?>');</p><p> Client.addParam('base', '<?= $hotel['swfFolder'] ?>/');</p><p> Client.addParam('allowScriptAccess', 'always');</p><p> Client.addParam('wmode', "opaque");</p><p> Client.write('client');</p><p> FlashExternalInterface.signoutUrl = "<?= $config['hotelUrl'] ?>/logout";</p><p> </p><p> $(document).ready(function() {</p><p> if (!FlashDetect.installed) {</p><p> $("#disconnected, #hide-message,#client-support, #no-flash").show();</p><p> $("#client").hide();</p><p> if (bowser.chrome) {</p><p> $("#client-reload, #hide-message, #client-support, #info-flash, #info-flash-extra").hide();</p><p> $("#client-title").html('<?=$lang['ntitlechrome']?>');</p><p> $("#info-allow").html('<?=$lang['ntxtchrome']?>');</p><p> $("#info-allow-button, #allow-flash-button-extern").show();</p><p> } else if (bowser.msedge) {</p><p> $("#client-reload, #hide-message, #client-support, #info-flash, #info-flash-extra").hide();</p><p> $("#client-title").html('<?=$lang['ntitleedge']?>');</p><p> $("#info-allow").html('<?=$lang['ntxtedge']?>');</p><p> $("#info-allow-button, #allow-flash-button-extern").show();</p><p> }</p><p> $("#disconnected").show().css('z-index', 0);</p><p> $("#flash-wrapper").remove();</p><p> $(".roomenterad-habblet-container").hide();</p><p> connection = false;</p><p> }</p><p> });</p><p> $('#allow-flash-button-extern').click(function(event){</p><p> if(bowser.chrome){</p><p> $("#info-allow").html('<?=$lang['ntxtchromeerror']?>');</p><p> event.stopPropagation();</p><p> }</p><p> if(bowser.msedge){</p><p> $("#info-allow").html('<?=$lang['ntxtedgeerror']?>');</p><p> event.stopPropagation();</p><p> }</p><p> $("#allow-flash-button-extern").hide();</p><p> $("#allow-flash-button-more").show();</p><p> });</p><p> $('#allow-flash-button-more').click(function(){</p><p> if(bowser.chrome){</p><p> location.href="https://get.adobe.com/nl/flashplayer/";</p><p> }</p><p> });</p><p> </script></p><p> </center></p><p> </body></p><p></html>[/CODE]</p></blockquote><p></p>
[QUOTE="Cjozwiak93, post: 449348, member: 69951"] [CODE]<?php staffCheck(); Game::sso('client'); Game::homeRoom(); ?> <html> </body> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> <title><?= $config['hotelName'] ?> - Hotel</title> <script src="/templates/brain/client/js/jquery-latest.js" type="text/javascript"></script> <script src="/templates/brain/client/js/jquery-ui.js" type="text/javascript"></script> <script src="/templates/brain/client/js/flashclient.js"></script> <script src="/templates/brain/client/js/flash_detect_min.js"></script> <script src="/templates/brain/client/js/browse.js"></script> <script src="/templates/brain/client/js/client.js" type="text/javascript"></script> <link rel="stylesheet" href="/templates/brain/client/css/client.css" type="text/css"> <link rel="stylesheet" href="/templates/brain/client/css/no-flash.css" type="text/css"> </head> <body> <?php if($hotel['onlineCounter'] == true) { ?> <script type="text/javascript"> $(document).ready(function(e) { $.ajaxSetup({ cache:true }); setInterval(function() { $('#onlinecount').load('/onlinecountclient'); }, 8000); $( "#onlinecount").click(function() { $('#onlinecount').load('/onlinecountclient'); }); }); </script> <div class="clientOnlineBox"> <div class="clientOnlineBoxTxt" id="onlinecount"><small><b><?= Game::usersOnline() ?></b> <?= $config['hotelName'] ?>'s online</small></div> <img src="/templates/brain/client/images/onlineiconclient.png" style="width:29px;height:28px;ht; */position: absolute;margin-left: 130px;margin-top: -19px;"> </div> <?php } ?> <center> <div id="client-ui"> <div class="client" id="client"></div> <div class="hb-container" id="area-container"> <h1 class="text" id="client-title"></h1> <div id="no-flash" style="display: none;"> <div id="info-allow"></div> <div id="info-allow-button" style="display: none; text-align: center;"> <a href="https://get.adobe.com/nl/flashplayer/" target="_blank" id="allow-flash-button-extern" class="client-reload__button" style="display: none;"><?=$lang['nbutton']?></a> <button id="allow-flash-button-more" class="client-reload__button" style="display: none; background-color: #f44336;border-color: #d66d66;color: #fff;"><?=$lang['nbuttonerror']?></button> </div> <p id="info-flash"> <?=$lang['ninfoflash']?> <br /><br /> <?=$lang['ninfoflashtray']?><br /><br /> <b style="font-weight: bold;"><?=$lang['ninfoflashpc']?></b> </p> <div id="info-flash-extra"> <ul> <li>Download <a href="https://get.adobe.com/nl/flashplayer/">Adobe Flash Player</a> <?=$lang['nfree']?></li> </ul> <br /> <b style="font-weight: bold;"><?=$lang['nenableflash']?></b> <ul> <li><?=$lang['nenableflashsee']?> <a target="_blank" href="https://helpx.adobe.com/nl/flash-player/kb/enabling-flash-player-chrome.html">Google Chrome</a> <?=$lang['nenableflashinfo']?> </li> <li><?=$lang['nenableflashsee']?> <a target="_blank" href="https://helpx.adobe.com/nl/flash-player/kb/install-flash-player-windows.html">Internet Explorer</a> <?=$lang['nenableflashinfo']?> </li> <li><?=$lang['nenableflashsee']?> <a target="_blank" href="https://helpx.adobe.com/flash-player/kb/flash-player-issues-windows-10-edge.html">Microsoft Edge</a> <?=$lang['nenableflashinfo']?> </li> <li><?=$lang['nenableflashsee']?> <a target="_blank" href="https://helpx.adobe.com/nl/flash-player/kb/enabling-flash-player-firefox.html">Firefox</a> <?=$lang['nenableflashinfo']?> </li> <li><?=$lang['nenableflashsee']?> <a target="_blank" href="https://helpx.adobe.com/nl/flash-player/kb/enabling-flash-player-safari.html">Apple Safari</a> <?=$lang['nenableflashinfo']?> </li> </ul> </div> </div> </div> <script> var Client = new SWFObject("<?= $hotel['swfFolderSwf'] ?>", "client", "100%", "100%", "10.0.0"); Client.addVariable("client.allow.cross.domain", "0"); Client.addVariable("client.notify.cross.domain", "1"); Client.addVariable("connection.info.host", "<?= $hotel['emuHost'] ?>"); Client.addVariable("connection.info.port", "<?= $hotel['emuPort'] ?>"); Client.addVariable("site.url", "<?= $config['hotelUrl'] ?>"); Client.addVariable("url.prefix", "<?= $config['hotelUrl'] ?>"); Client.addVariable("client.reload.url", "<?= $config['hotelUrl'] ?>/me"); Client.addVariable("client.fatal.error.url", "<?= $config['hotelUrl'] ?>/me"); Client.addVariable("client.connection.failed.url", "<?= $config['hotelUrl'] ?>/me"); Client.addVariable("external.override.texts.txt", "<?= $hotel['external_Texts_Override'] ?>"); Client.addVariable("external.override.variables.txt", "<?= $hotel['external_Variables_Override'] ?>"); Client.addVariable("external.variables.txt", "<?= $hotel['external_Variables'] ?>"); Client.addVariable("external.texts.txt", "<?= $hotel['external_Texts'] ?>"); Client.addVariable("external.figurepartlist.txt", "<?= $hotel['figuredata'] ?>"); Client.addVariable("flash.dynamic.avatar.download.configuration", "<?= $hotel['figuremap'] ?>"); Client.addVariable("productdata.load.url", "<?= $hotel['productdata'] ?>"); Client.addVariable("furnidata.load.url", "<?= $hotel['furnidata'] ?>"); Client.addVariable("use.sso.ticket", "1"); Client.addVariable("sso.ticket", "<?= User::userData('auth_ticket') ?>"); Client.addVariable("processlog.enabled", "0"); Client.addVariable("client.starting", "<?= $config['hotelName'] ?> is loading..."); Client.addVariable("flash.client.url", "<?= $hotel['swfFolder'] ?>/"); Client.addVariable("flash.client.origin", "popup"); Client.addVariable("ads.domain", ""); Client.addVariable("diamonds.enabled", '<?= $hotel['diamonds.enabled'] ?>'); Client.addParam('base', '<?= $hotel['swfFolder'] ?>/'); Client.addParam('allowScriptAccess', 'always'); Client.addParam('wmode', "opaque"); Client.write('client'); FlashExternalInterface.signoutUrl = "<?= $config['hotelUrl'] ?>/logout"; $(document).ready(function() { if (!FlashDetect.installed) { $("#disconnected, #hide-message,#client-support, #no-flash").show(); $("#client").hide(); if (bowser.chrome) { $("#client-reload, #hide-message, #client-support, #info-flash, #info-flash-extra").hide(); $("#client-title").html('<?=$lang['ntitlechrome']?>'); $("#info-allow").html('<?=$lang['ntxtchrome']?>'); $("#info-allow-button, #allow-flash-button-extern").show(); } else if (bowser.msedge) { $("#client-reload, #hide-message, #client-support, #info-flash, #info-flash-extra").hide(); $("#client-title").html('<?=$lang['ntitleedge']?>'); $("#info-allow").html('<?=$lang['ntxtedge']?>'); $("#info-allow-button, #allow-flash-button-extern").show(); } $("#disconnected").show().css('z-index', 0); $("#flash-wrapper").remove(); $(".roomenterad-habblet-container").hide(); connection = false; } }); $('#allow-flash-button-extern').click(function(event){ if(bowser.chrome){ $("#info-allow").html('<?=$lang['ntxtchromeerror']?>'); event.stopPropagation(); } if(bowser.msedge){ $("#info-allow").html('<?=$lang['ntxtedgeerror']?>'); event.stopPropagation(); } $("#allow-flash-button-extern").hide(); $("#allow-flash-button-more").show(); }); $('#allow-flash-button-more').click(function(){ if(bowser.chrome){ location.href="https://get.adobe.com/nl/flashplayer/"; } }); </script> </center> </body> </html>[/CODE] [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Server Development
Habbo Retros
Habbo Q&A
Client loads just black.
Top