SHARE
TWEET

Untitled

a guest Oct 21st, 2019 95 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2. <?php
  3.    staffCheck();
  4.    Game::sso('client');
  5.    Game::homeRoom();
  6.    ?>
  7.  
  8. <html>
  9.    </body>
  10.    <head>
  11.       <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
  12.       <title><?= $config['hotelName'] ?> - Hotel</title>
  13.       <script src="/templates/brain/client/js/jquery-latest.js" type="text/javascript"></script>
  14.       <script src="/templates/brain/client/js/jquery-ui.js" type="text/javascript"></script>
  15.       <script src="/templates/brain/client/js/flashclient.js"></script>
  16.       <script src="/templates/brain/client/js/flash_detect_min.js"></script>
  17.       <script src="/templates/brain/client/js/browse.js"></script>
  18.       <script src="/templates/brain/client/js/client.js" type="text/javascript"></script>
  19.       <link rel="stylesheet" href="/templates/brain/client/css/client.css" type="text/css">
  20.       <link rel="stylesheet" href="/templates/brain/client/css/no-flash.css" type="text/css">
  21.             <link rel="stylesheet" type="text/css" href="https://hablit.us/UpBeat/css/player.css"/>
  22.         <link rel="stylesheet" type="text/css" href="https://hablit.us/UpBeat/css/venobox.css"/>
  23.         <script src="https://hablit.us/UpBeat/js/JQuery.js"></script>
  24.         <script src="https://hablit.us/UpBeat/js/JQuery-UI.js"></script>
  25.         <script src="https://hablit.us/UpBeat/js/venobox.js"></script>
  26.    </head>
  27.    <body>
  28.       <?php
  29.          if($hotel['onlineCounter'] == true)
  30.          {
  31.              ?>
  32.       <script type="text/javascript">
  33.          $(document).ready(function(e) {
  34.              $.ajaxSetup({
  35.                  cache:true
  36.              });
  37.              setInterval(function() {
  38.                  $('#onlinecount').load('/onlinecountclient');
  39.              }, 8000);
  40.              $( "#onlinecount").click(function() {
  41.                  $('#onlinecount').load('/onlinecountclient');
  42.              });
  43.          });
  44.       </script>
  45.       <div class="clientOnlineBox">
  46.          <div class="clientOnlineBoxTxt" id="onlinecount"><small><b><?= Game::usersOnline() ?></b> <?= $config['hotelName'] ?>'s online</small></div>
  47.          <img src="/templates/brain/client/images/onlineiconclient.png" style="width:29px;height:28px;ht; */position: absolute;margin-left: 130px;margin-top: -19px;">
  48.       </div>
  49.       <?php
  50.          }
  51.          ?>
  52.       <center>
  53.          <div id="client-ui">
  54.          <div class="client" id="client"></div>
  55.          <div class="hb-container" id="area-container">
  56.             <h1 class="text" id="client-title"></h1>
  57.             <div id="no-flash" style="display: none;">
  58.                <div id="info-allow"></div>
  59.                <div id="info-allow-button" style="display: none; text-align: center;">
  60.                   <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>
  61.                   <button id="allow-flash-button-more" class="client-reload__button" style="display: none; background-color: #f44336;border-color: #d66d66;color: #fff;"><?=$lang['nbuttonerror']?></button>
  62.                </div>
  63.                <p id="info-flash">
  64.                   <?=$lang['ninfoflash']?>
  65.                   <br /><br />
  66.                  <?=$lang['ninfoflashtray']?><br /><br />
  67.                   <b style="font-weight: bold;"><?=$lang['ninfoflashpc']?></b>
  68.                </p>
  69.                <div id="info-flash-extra">
  70.                   <ul>
  71.                      <li>Download <a href="https://get.adobe.com/nl/flashplayer/">Adobe Flash Player</a> <?=$lang['nfree']?></li>
  72.                   </ul>
  73.                   <br />
  74.                   <b style="font-weight: bold;"><?=$lang['nenableflash']?></b>
  75.                   <ul>
  76.                      <li><?=$lang['nenableflashsee']?> <a target="_blank" href="https://helpx.adobe.com/nl/flash-player/kb/enabling-flash-player-chrome.html">Google Chrome</a>
  77.                         <?=$lang['nenableflashinfo']?>
  78.                      </li>
  79.                      <li><?=$lang['nenableflashsee']?> <a target="_blank" href="https://helpx.adobe.com/nl/flash-player/kb/install-flash-player-windows.html">Internet Explorer</a>
  80.                         <?=$lang['nenableflashinfo']?>
  81.                      </li>
  82.                      <li><?=$lang['nenableflashsee']?> <a target="_blank" href="https://helpx.adobe.com/flash-player/kb/flash-player-issues-windows-10-edge.html">Microsoft Edge</a>
  83.                         <?=$lang['nenableflashinfo']?>
  84.                      </li>
  85.                      <li><?=$lang['nenableflashsee']?> <a target="_blank" href="https://helpx.adobe.com/nl/flash-player/kb/enabling-flash-player-firefox.html">Firefox</a>
  86.                         <?=$lang['nenableflashinfo']?>
  87.                      </li>
  88.                      <li><?=$lang['nenableflashsee']?> <a target="_blank" href="https://helpx.adobe.com/nl/flash-player/kb/enabling-flash-player-safari.html">Apple Safari</a>
  89.                         <?=$lang['nenableflashinfo']?>
  90.                      </li>
  91.                   </ul>
  92.                </div>
  93.             </div>
  94.          </div>
  95.          <script>
  96.             var Client = new SWFObject("<?= $hotel['swfFolderSwf'] ?>", "client", "100%", "100%", "10.0.0");
  97.             Client.addVariable("client.allow.cross.domain", "0");
  98.             Client.addVariable("client.notify.cross.domain", "1");
  99.             Client.addVariable("connection.info.host", "51.255.59.109");
  100.             Client.addVariable("connection.info.port", "3410");
  101.             Client.addVariable("site.url", "<?= $config['hotelUrl'] ?>");
  102.             Client.addVariable("url.prefix", "<?= $config['hotelUrl'] ?>");
  103.             Client.addVariable("client.reload.url", "<?= $config['hotelUrl'] ?>/me");
  104.             Client.addVariable("client.fatal.error.url", "<?= $config['hotelUrl'] ?>/me");
  105.             Client.addVariable("client.connection.failed.url", "<?= $config['hotelUrl'] ?>/me");
  106.             Client.addVariable("external.override.texts.txt", "<?= $hotel['external_Texts_Override'] ?>");
  107.             Client.addVariable("external.override.variables.txt", "<?= $hotel['external_Variables_Override'] ?>");
  108.             Client.addVariable("external.variables.txt", "<?= $hotel['external_Variables'] ?>");
  109.             Client.addVariable("external.texts.txt", "<?= $hotel['external_Texts'] ?>");
  110.             Client.addVariable("external.figurepartlist.txt", "<?= $hotel['figuredata'] ?>");
  111.             Client.addVariable("flash.dynamic.avatar.download.configuration", "<?= $hotel['figuremap'] ?>");
  112.             Client.addVariable("productdata.load.url", "<?= $hotel['productdata'] ?>");
  113.             Client.addVariable("furnidata.load.url", "<?= $hotel['furnidata'] ?>");
  114.             Client.addVariable("use.sso.ticket", "1");
  115.             Client.addVariable("sso.ticket", "<?= User::userData('auth_ticket') ?>");
  116.             Client.addVariable("processlog.enabled", "0");
  117.             Client.addVariable("client.starting", "<?= $config['hotelName'] ?> is loading...");
  118.             Client.addVariable("flash.client.url", "<?= $hotel['swfFolder'] ?>/");
  119.             Client.addVariable("flash.client.origin", "popup");
  120.             Client.addVariable("ads.domain", "");
  121.             Client.addVariable("diamonds.enabled", '<?= $hotel['diamonds.enabled'] ?>');
  122.             Client.addParam('base', '<?= $hotel['swfFolder'] ?>/');
  123.             Client.addParam('allowScriptAccess', 'always');
  124.             Client.addParam('wmode', "opaque");
  125.             Client.write('client');
  126.             FlashExternalInterface.signoutUrl = "<?= $config['hotelUrl'] ?>/logout";
  127.            
  128.            
  129.             $(document).ready(function() {
  130.             if (!FlashDetect.installed) {
  131.             $("#disconnected, #hide-message,#client-support, #no-flash").show();
  132.             $("#client").hide();
  133.             if (bowser.chrome) {
  134.                 $("#client-reload, #hide-message, #client-support, #info-flash, #info-flash-extra").hide();
  135.                 $("#client-title").html('<?=$lang['ntitlechrome']?>');
  136.                 $("#info-allow").html('<?=$lang['ntxtchrome']?>');
  137.                 $("#info-allow-button, #allow-flash-button-extern").show();
  138.             } else if (bowser.msedge) {
  139.                 $("#client-reload, #hide-message, #client-support, #info-flash, #info-flash-extra").hide();
  140.                 $("#client-title").html('<?=$lang['ntitleedge']?>');
  141.                 $("#info-allow").html('<?=$lang['ntxtedge']?>');
  142.                 $("#info-allow-button, #allow-flash-button-extern").show();
  143.             }
  144.             $("#disconnected").show().css('z-index', 0);
  145.             $("#flash-wrapper").remove();
  146.             $(".roomenterad-habblet-container").hide();
  147.             connection = false;
  148.             }
  149.             });
  150.             $('#allow-flash-button-extern').click(function(event){
  151.             if(bowser.chrome){
  152.             $("#info-allow").html('<?=$lang['ntxtchromeerror']?>');
  153.             event.stopPropagation();
  154.             }
  155.             if(bowser.msedge){
  156.             $("#info-allow").html('<?=$lang['ntxtedgeerror']?>');
  157.             event.stopPropagation();
  158.             }
  159.             $("#allow-flash-button-extern").hide();
  160.             $("#allow-flash-button-more").show();
  161.             });
  162.             $('#allow-flash-button-more').click(function(){
  163.             if(bowser.chrome){
  164.             location.href="https://get.adobe.com/nl/flashplayer/";
  165.             }
  166.             });
  167.          </script>
  168.          
  169.          
  170.       </center>
  171.    </body>
  172. </html>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top