Advertisement
Guest User

client.php

a guest
Nov 13th, 2015
246
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Perl 2.63 KB | None | 0 0
  1. <!DOCTYPE html>
  2.  
  3. <html>
  4.     <head>
  5.         <meta http-equiv="content-type" content="text/html; charset=utf-8">
  6.         <title>{hotelname}: Client</title>
  7.        
  8.         <link rel="stylesheet" href="{url}/app/tpl/skins/{skin}/styles/client.css" type="text/css">
  9.                 <link rel="shortcut icon" href="{url}/favicon.ico" type="image/vnd.microsoft.icon" />
  10.        
  11.         <script type="text/javascript" src="{url}/app/tpl/skins/{skin}/js/swfobject.js"></script>
  12.         <script type="text/javascript">
  13.        
  14.             var BaseUrl = "http://localhost/game/";
  15.             var flashvars =
  16.             {
  17.                 "client.starting" : "Please wait, {hotelName} is loading...",
  18.                 "client.allow.cross.domain" : "1",
  19.                 "client.notify.cross.domain" : "0",
  20.                 "connection.info.host" : "127.0.0.1",
  21.                 "connection.info.port" : "30000",
  22.                 "site.url" : "http://localhost",
  23.                 "url.prefix" : "http://localhost",
  24.                 "client.reload.url" : "http://localhost/client",
  25.                 "client.fatal.error.url" : "http://localhost/disconnect",
  26.                 "client.connection.failed.url" : "http://localhost/disconnect",
  27.                 "external.variables.txt" : "http://localhost/game/gamedata/external_variables.txt",
  28.                 "external.texts.txt" : "http://localhost/game/gamedata/external_flash_texts.xml",
  29.                 "external.figurepartlist.txt" : "http://localhost/game/gamedata/figuredata.xml",
  30.                 "external.override.texts.txt" : "http://localhost/game/gamedata/external_flash_override_texts.xml",
  31.                 "external.override.variables.txt" : "http://localhost/game/gamedata/external_override_variables.xml",
  32.                 "productdata.load.url" : "http://localhost/game/gamedata/productdata.xml",
  33.                 "furnidata.load.url" : "http://localhost/game/gamedata/furnidata.xml",
  34.                 "use.sso.ticket" : "1",
  35.                 "sso.ticket" : "{sso}",
  36.                 "processlog.enabled" : "0",
  37.                 "flash.client.url" : "//localhost/game/",
  38.                 "flash.client.origin" : "popup",
  39.                 "nux.lobbies.enabled" : "true"
  40.             };
  41.             var params =
  42.             {
  43.                 "base" : BaseUrl + "/",
  44.                 "allowScriptAccess" : "always",
  45.                 "menu" : "false"          
  46.             };
  47.             swfobject.embedSWF(BaseUrl + "/Habbo.swf", "client", "100%", "100%", "10.0.0", "http://localhost/game/expressInstall.swf",              flashvars, params, null);
  48.  
  49.  </script>
  50.  
  51.     </head>
  52.  
  53. <body>
  54.     <div id="client"></div>
  55.  
  56. </body>
  57. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement