Advertisement
Guest User

Untitled

a guest
Oct 7th, 2015
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.77 KB | None | 0 0
  1. <?php
  2. /* *\
  3. | TuttaCMS |
  4. \* */
  5. define('PAGE_ID', 'client');
  6. define('PAGE_NAME', '-');
  7.  
  8. hide_if_notlogged();
  9. ?>
  10. <!DOCTYPE html>
  11. <html>
  12. <head>
  13. <meta charset="utf-8">
  14. <meta name="viewport" content="width=device-width">
  15. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  16. <?php get_meta_tag(PAGE_ID); ?>
  17. <link rel="shortcut icon" href="http://127.0.0.1/app/content/templates/{@siteTEMPLATE@}/img/favicon.ico" type="image/vnd.microsoft.icon" />
  18. <title>{@siteNAME@}: <?php echo PAGE_NAME ?></title>
  19. <META name="description" content="{@siteDESCRIPTION@}">
  20. <script type="text/javascript" src="http://127.0.0.1/app/content/templates/{@siteTEMPLATE@}/js/swfobject.js"></script>
  21. <style type="text/css">
  22. * { margin: 0; padding: 0; }
  23. html, #client { height: 100%; text-align: left; background-color: black; }
  24. #client { position: absolute; overflow: hidden; left: 0; top: 0; right: 0; bottom: 0; }
  25. </style>
  26. <script type="text/javascript">
  27.  
  28. var BaseUrl = "{@swf_folder@}";
  29. var flashvars =
  30. {
  31. "client.allow.cross.domain" : "0",
  32. "client.notify.cross.domain" : "1",
  33. "client.starting" : "Attendi perfavore! {@siteNAME@} sta caricando.",
  34. "connection.info.host" : "127.0.0.1",
  35. "connection.info.port" : "30000",
  36. "site.url" : "http://127.0.0.1/",
  37. "url.prefix" : "http://127.0.0.1/",
  38. "client.reload.url" : "http://127.0.0.1/client",
  39. "client.fatal.error.url" : "http://127.0.0.1/profile",
  40. "client.connection.failed.url" : "http://127.0.0.1/profile",
  41. "external.variables" : "http://127.0.0.1/game/gamedata/external_vars.txt",
  42. "external.texts" : "http://127.0.0.1/game/gamedata/external_flash_texts.txt",
  43. "external.override.texts" : "http://127.0.0.1/game/gamedata/external_flash_override_texts",
  44. "external.override.variables.txt" : "http://127.0.0.1/game/gamedata/external_override_variables",
  45. "productdata.load.url" : "http://127.0.0.1/game/gamedata/product_data",
  46. "furnidata.load.url" : "http://127.0.0.1/game/gamedata/furni_data",
  47. "sso.ticket" : "{@sso@}",
  48. "processlog.enabled" : "0",
  49. "flash.client.url" : BaseUrl,
  50. "flash.client.origin" : "popup"
  51. };
  52. var params =
  53. {
  54. "base" : "{@swf_folder@}",
  55. "allowScriptAccess" : "always",
  56. "menu" : "false"
  57. };
  58. swfobject.embedSWF("{@habboswf@}", "client", "100%", "100%", "10.0.0", "/expressInstall.swf", flashvars, params, null);
  59. </script>
  60. </head>
  61. <body>
  62. <div id="client"></div>
  63. </body>
  64. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement