Advertisement
Daveido1h

Client

Jan 15th, 2015
215
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 10.85 KB | None | 0 0
  1. <html>
  2. <head>
  3.     <title>Habbo Hotel: Client</title>
  4. <script type="text/javascript">
  5.         var habboName = "<?php echo $_USER["AVATAR"]["username"] ?>";
  6.         var habboReqPath = "<?php echo $_WEBSITE['CMS']['url'] ?>";
  7.         var habboStaticFilePath = "http://images.habbo.com/habboweb/<?php echo $_WEBSITE["CMS"]["webbuild"]; ?>/web-gallery";
  8.         var habboImagerUrl = "http://www.habbo.com/habbo-imaging/";
  9.         var habboPartner = "";
  10.         var habboDefaultClientPopupUrl = "<?php echo $_WEBSITE['CMS']['url'] ?>/client";
  11.         window.name = "ClientWndw";
  12.         if (typeof HabboClient != "undefined") { HabboClient.windowName = "ClientWndw"; }
  13.     </script>
  14.  
  15. <script src="http://jasler.nl/hybonehtl/client/libs2.js" type="text/javascript"></script>
  16. <script src="http://jasler.nl/hybonehtl/client/visual.js" type="text/javascript"></script>
  17. <script src="http://jasler.nl/hybonehtl/client/libs.js" type="text/javascript"></script>
  18. <script src="http://jasler.nl/hybonehtl/client/common.js" type="text/javascript"></script>
  19. <!--script src="<?php echo $_WEBSITE['CMS']['url']; ?>/client/hyboneclientaddon_v6.js" type="text/javascript"></script-->
  20. <link rel="stylesheet" href="http://jasler.nl/hybonehtl/css/website.css" type="text/css" />
  21.  
  22. <link rel="stylesheet" href="http://images.habbo.com/habboweb/<?php echo $_WEBSITE["CMS"]["webbuild"]; ?>/web-gallery/static/styles/common.css" type="text/css" />
  23.  
  24. <link rel="stylesheet" href="http://images.habbo.com/habboweb/<?php echo $_WEBSITE["CMS"]["webbuild"]; ?>/web-gallery/static/styles/habboflashclient.css" type="text/css" />
  25.  
  26. <noscript>
  27.     <meta http-equiv="refresh" content="0;url=/client/nojs" />
  28. </noscript>
  29.  
  30. <link rel="stylesheet" href="<?php echo $_WEBSITE['CMS']['url']; ?>/client/client.css" type="text/css" />
  31. <script src="http://jasler.nl/hybonehtl/client/habboflashclient_v4.js" type="text/javascript"></script>
  32.  
  33. <script type="text/javascript">
  34.     FlashExternalInterface.loginLogEnabled = true;
  35.  
  36.     FlashExternalInterface.logLoginStep("web.view.start");
  37.  
  38.     if (top == self) {
  39.         FlashHabboClient.cacheCheck();
  40.     }
  41.    
  42.     var flashvars = {
  43.         "client.allow.cross.domain" : "1",
  44.         "client.notify.cross.domain" : "0",
  45.         "connection.info.host" : "<?php echo $_WEBSITE['CLIENT']['server_ip']; ?>",
  46.         "connection.info.port" : "<?php echo $_WEBSITE['CLIENT']['server_port']; ?>",
  47.         "site.url" : "<?php echo $_WEBSITE['CMS']['url'] ?>",
  48.         "url.prefix" : "<?php echo $_WEBSITE['CMS']['url'] ?>",
  49.         "client.reload.url" : "<?php echo $_WEBSITE['CMS']['url'] ?>/client_nl",
  50.         "client.fatal.error.url" : "<?php echo $_WEBSITE['CMS']['url'] ?>/disconnected",
  51.         "client.connection.failed.url" : "<?php echo $_WEBSITE['CMS']['url'] ?>/disconnected",
  52.         "external.variables.txt" : "<?php echo $_WEBSITE['CLIENT']['external_vars'] ?>",
  53.         "external.texts.txt" : "<?php echo $_WEBSITE['CLIENT']['external_texts']; ?>",
  54.         "productdata.load.url" : "<?php echo $_WEBSITE['CLIENT']['product_data']; ?>", <?php /** if($user_rank !== "9"){ echo $_WEBSITE['CLIENT']['product_data']; }else{ echo 'http://jasler.nl/hybone_swfs/productdata_en.txt'; /*}*/ ?>
  55.        
  56.         "furnidata.load.url" : "<?php echo $_WEBSITE['CLIENT']['furni_data'] ?>",
  57.         "use.sso.ticket" : "1",
  58.         "sso.ticket" : "<?php echo createSSOticket($_USER["AVATAR"]["id"]); ?>",
  59.         "processlog.enabled" : "1",
  60.         "account_id" : "1",
  61.         "client.starting" : "Wacht alsjeblieft! <?php echo $_WEBSITE['HTL']['name']; ?> start op :)",
  62.         "flash.client.url" : "<?php echo $_WEBSITE['CLIENT']['swf_folder'] ?>/",
  63.         "user.hash" : "31385693ae558a03d28fc720be6b41cb1ccfec02",
  64.         "has.identity" : "1",
  65.         "flash.client.origin" : "popup" ,
  66.         "forward.type" : "<?php if(isset($_GET["forwardId"])) { echo $_GET["forwardId"]; }else if(getInformationATR($_USER["AVATAR"]["id"], "home_room") !== "0") { echo "2"; }else{ echo "2"; } ?>",
  67.         "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; }?>",
  68.        
  69.  
  70.     };
  71.    
  72.     var params = {
  73.         "base" : "<?php echo $_WEBSITE['CLIENT']['swf_folder'] ?>/",
  74.         "allowScriptAccess" : "always",
  75.         "menu" : "false",
  76.     };
  77.    
  78.     if (!(HabbletLoader.needsFlashKbWorkaround())) {
  79.         params["wmode"] = "opaque";
  80.     }
  81.    
  82.     FlashExternalInterface.signoutUrl = "{}";
  83.  
  84.     var clientUrl = "<?php echo $_WEBSITE['CLIENT']['swf_hotelswf'] ?>";
  85.  
  86.     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);
  87.  
  88.     window.onbeforeunload = unloading;
  89.    
  90.     function unloading() {
  91.         var clientObject;
  92.        
  93.         if (navigator.appName.indexOf("Microsoft") != -1) {
  94.             clientObject = window["flash-container"];
  95.         } else {
  96.             clientObject = document["flash-container"];
  97.         }
  98.        
  99.         try {
  100.             clientObject.unloading();
  101.         } catch (e) {
  102.            
  103.         }
  104.     }
  105. </script>
  106. <style>
  107. #WindowAlerts {
  108.     position: absolute;
  109.     width: 460px;
  110.     right: 0px;
  111.     top: 0px;
  112.     z-index: 9;
  113. }
  114.  
  115. .habblet-container {          
  116.     margin: 5px;
  117.     background: #FFFFFF;
  118.     border: 1px solid #86B1BD;
  119.     -webkit-border-radius: 7px;
  120.     -moz-border-radius: 7px;
  121.     border-radius: 7px;
  122. }
  123.  
  124. .habblet-container .i1 {
  125.     background: #FFFFFF;
  126. }
  127.  
  128. .habblet-container .i2 {
  129.     padding: 0;
  130.     border: 0;
  131.     background: #FFFFFF;
  132. }
  133.  
  134. #WindowAlerts .innertext_t {
  135.     padding: 5px;
  136.     color: #000000;
  137. }
  138.  
  139. /* habbo style buttons */
  140. .habbobutton{
  141.     height: 25px;
  142.     border:solid 2px black;
  143.     border-radius: 3px;
  144.     cursor: pointer;
  145.     padding:0px 15px 2px 15px;
  146.     font-weight: bold;    
  147.     font-size: 11px;
  148.     font-family: Verdana;
  149. }
  150.  
  151. .habbobutton.green{
  152.     background-color: #2C7E00;
  153.     box-shadow: inset 1px 1px 0px 0px #2C7E00, inset -6px 0px 0px -5px #2C7E00, inset 0px 11px 0px 0px #3BA800;
  154.     color: white;
  155. }
  156.  
  157. .habbobutton.green:hover{
  158.     background-color: #339D00;
  159.     box-shadow: inset 1px 1px 0px 0px #339D00, inset -6px 0px 0px -5px #339D00, inset 0px 11px 0px 0px #45CB00;
  160. }
  161.  
  162. .habbobutton.white{
  163.     background-color: #CCCCCC;
  164.     box-shadow: inset 1px 1px 0px 0px #CCCCCC, inset -6px 0px 0px -5px #CCCCCC, inset 0px 11px 0px 0px #fff;
  165.     color: black;
  166. }
  167.  
  168. .habbobutton.white:hover{
  169.     background-color: #EAEAEA;
  170.     box-shadow: inset 1px 1px 0px 0px #EAEAEA, inset -6px 0px 0px -5px #EAEAEA, inset 0px 11px 0px 0px #fff;
  171. }
  172.  
  173. .habbobutton.grey{
  174.     background-color: #606060;
  175.     box-shadow: inset 1px 1px 0px 0px #606060, inset -6px 0px 0px -5px #606060, inset 0px 11px 0px 0px #888888;
  176.     color: white;
  177. }
  178.  
  179. .habbobutton.grey:hover{
  180.     background-color: #7C7C7C;
  181.     box-shadow: inset 1px 1px 0px 0px #7C7C7C, inset -6px 0px 0px -5px #7C7C7C, inset 0px 11px 0px 0px #A8A8A8;
  182. }
  183.  
  184. .habbobutton.red{
  185.     background-color: #B50000;
  186.     box-shadow: inset 1px 1px 0px 0px #B50000, inset -6px 0px 0px -5px #B50000, inset 0px 11px 0px 0px #DE0000;
  187.     color: white;
  188. }
  189.  
  190. .habbobutton.red:hover{
  191.     background-color: #D70000;
  192.     box-shadow: inset 1px 1px 0px 0px #D70000, inset -6px 0px 0px -5px #D70000, inset 0px 11px 0px 0px #FF1616;
  193. }
  194.  
  195. .habbobutton.purple{
  196.     background-color: #800080;
  197.     box-shadow: inset 1px 1px 0px 0px #800080, inset -6px 0px 0px -5px #800080, inset 0px 11px 0px 0px #D500D5;
  198.     color: white;
  199. }
  200.  
  201. .habbobutton.purple:hover{
  202.     background-color: #C600C6;
  203.     box-shadow: inset 1px 1px 0px 0px #C600C6, inset -6px 0px 0px -5px #C600C6, inset 0px 11px 0px 0px #FF1CFF;
  204. }
  205.  
  206. .habbobutton.orange{
  207.     background-color: #D56A00;
  208.     box-shadow: inset 1px 1px 0px 0px #D56A00, inset -6px 0px 0px -5px #D56A00, inset 0px 11px 0px 0px #E67300;
  209.     color: white;
  210. }
  211.  
  212. .habbobutton.orange{
  213.     background-color: #D56A00;
  214.     box-shadow: inset 1px 1px 0px 0px #D56A00, inset -6px 0px 0px -5px #D56A00, inset 0px 11px 0px 0px #E67300;
  215.     color: white;
  216. }
  217.  
  218. .habbobutton.orange:hover{
  219.     background-color: #F07800;
  220.     box-shadow: inset 1px 1px 0px 0px #F07800, inset -6px 0px 0px -5px #F07800, inset 0px 11px 0px 0px #FF8204;
  221.     color: white;
  222. }
  223.  
  224. #client-ui.x-workaround-feed { background-color: #FFFFFF }
  225. .client-content { color: #FFFFFF }
  226.  
  227. body {
  228.     background: #FFFFFF;
  229. }
  230. </style>
  231. </head>
  232. <body id="client" class="flashclient" onload="StartChecker()">
  233. <div id="overlay"></div>
  234. <div id="WindowAlerts"></div>
  235. <img src="http://images.habbo.com/habboweb/<?php echo $_WEBSITE["CMS"]["webbuild"]; ?>/web-gallery/v2/images/page_loader.gif" style="position:absolute; margin: -1500px;" />
  236. <div id="overlay"></div>
  237. <div id="client-ui" >
  238.     <div id="flash-wrapper">
  239.     <div id="flash-container">
  240.         <div id="content" style="width: 400px; margin: 20px auto 0 auto; display: none">
  241.  
  242. <div class="cbb clearfix">
  243.     <h2 class="title">Please update your Flash Player to the latest version.</h2>
  244.     <div class="box-content">
  245.             <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>
  246.             <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>
  247.     </div>
  248. </div>
  249.  
  250.         </div>
  251.         <script type="text/javascript">
  252.             $('content').show();
  253.         </script>
  254.         <noscript>
  255.             <div style="width: 400px; margin: 20px auto 0 auto; text-align: center">
  256.                 <p>If you are not automatically redirected, please <a href="/client/nojs">click here</a></p>
  257.             </div>
  258.         </noscript>
  259.     </div>
  260.     </div>
  261.          
  262. </div>
  263.     <div style="display: none">
  264.  
  265. <div id="habboCountUpdateTarget">
  266. {status}
  267. </div>
  268.     <script language="JavaScript" type="text/javascript">
  269.         setTimeout(function() {
  270.             HabboCounter.init(600);
  271.         }, 20000);
  272.     </script>
  273.     </div>
  274.     <script type="text/javascript">
  275.         RightClick.init("flash-wrapper", "flash-container");
  276.         if (window.opener && window.opener != window && typeof window.opener.location.href != "undefined") {
  277.             window.opener.location.replace(window.opener.location.href);
  278.         }
  279.         $(document.body).addClassName("js");
  280.         HabboClient.startPingListener();
  281.     </script>
  282.  
  283. <script type="text/javascript">
  284.     HabboView.run();
  285. </script>
  286.  
  287. <script src="http://code.jquery.com/jquery-1.9.1.js"></script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement