Advertisement
Guest User

Untitled

a guest
Nov 20th, 2017
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.29 KB | None | 0 0
  1. <?php
  2.  
  3. require_once('./data_classes/server-data.php_data_classes-core.php.php');
  4. require_once('./data_classes/server-data.php_data_classes-session.php.php');
  5.  
  6. mysql_query("UPDATE users SET rank_vip = '1', auth_ticket = '".GenerateTicket()."', ip_last = '".$remote_ip."' WHERE id = '".$my_id."'") or die(mysql_error());
  7.  
  8. $ticketsql = mysql_query("SELECT * FROM users WHERE id = '".$my_id."'") or die(mysql_error());
  9. $ticketrow = mysql_fetch_assoc($ticketsql);
  10.  
  11. $cmssettings = mysql_query("SELECT * FROM cms_settings") or die(mysql_error());
  12. $cmsconfig = mysql_fetch_assoc($cmssettings);
  13. ?>
  14.  
  15. <?php
  16. require_once('./fulano/license.php');
  17. ?>
  18.  
  19. <html>
  20. <head>
  21.  
  22. <style type="text/css">
  23.  
  24.  
  25. .client__buttons {
  26. left: 12px;
  27. position: absolute;
  28. top: 12px;
  29. z-index: 630;
  30. }
  31. client__buttons .client__fullscreen {
  32. padding-left: 6px;
  33. padding-right: 6px;
  34. }
  35.  
  36. .client__buttons button {
  37. box-shadow: 0 3px 0 1px rgba(0,0,0,.3);
  38. background-color: #d1d9da;
  39. border-color: #00b4c0;
  40. padding: 6px 12px;
  41. display: block;
  42. float: left;
  43. }
  44.  
  45. .client__buttons .client__close, .client__buttons button {
  46. line-height: 1.2;
  47. color: #000;
  48. font-size: 12px;
  49. border-style: solid;
  50. margin-bottom: 4px;
  51. text-transform: uppercase;
  52. text-align: center;
  53. }
  54. .client__buttons .client__fullscreen {
  55. padding-left: 6px;
  56. padding-right: 6px;
  57. }
  58.  
  59. </style>
  60.  
  61. <link rel="stylesheet" href="/assets/css/bootstrap.css" type="text/css">
  62. <link rel="stylesheet" href="/assets/css/bootstrap.min.css" type="text/css">
  63. <link rel="stylesheet" href="/assets/css/habbo.css" type="text/css">
  64. <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
  65. <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
  66. <div class="client__buttons" style="left: 50px;font-family:Poppins;">
  67. <button ngsf-toggle-fullscreen="" class="client__fullscreen" onclick="resizeClient()"><i show-if-fullscreen="" class="icon-bi glyphicon glyphicon-asterisk"></i></button>
  68. </div>
  69. <div class="client__buttons">
  70. <button ngsf-toggle-fullscreen="" class="client__fullscreen" onclick="toggleFullScreen()"><i show-if-fullscreen="false" class=""></i> <i show-if-fullscreen="" class="icon-bi glyphicon glyphicon-resize-full"></i></button>
  71. </div>
  72.  
  73. <script type="text/javascript">
  74. function toggleFullScreen() {
  75. if ((document.fullScreenElement && document.fullScreenElement !== null) ||
  76. (!document.mozFullScreen && !document.webkitIsFullScreen)) {
  77. if (document.documentElement.requestFullScreen) {
  78. document.documentElement.requestFullScreen();
  79. } else if (document.documentElement.mozRequestFullScreen) {
  80. document.documentElement.mozRequestFullScreen();
  81. } else if (document.documentElement.webkitRequestFullScreen) {
  82. document.documentElement.webkitRequestFullScreen(Element.ALLOW_KEYBOARD_INPUT);
  83. }
  84. } else {
  85. if (document.cancelFullScreen) {
  86. document.cancelFullScreen();
  87. } else if (document.mozCancelFullScreen) {
  88. document.mozCancelFullScreen();
  89. } else if (document.webkitCancelFullScreen) {
  90. document.webkitCancelFullScreen();
  91. }
  92. }
  93. }
  94. </script>
  95.  
  96. <script type="text/javascript">
  97. function resizeClient(){
  98. var theClient = document.getElementById('client');
  99. var theWidth = theClient.clientWidth;
  100. theClient.style.width = "10px";
  101. theClient.style.width = theWidth + "px";
  102. }
  103. </script>
  104.  
  105. <script type="text/javascript">
  106. var andSoItBegins = (new Date()).getTime();
  107. </script>
  108.  
  109. <link rel="stylesheet" href="<?php echo $path; ?>/web-gallery/v2/styles/style.css" type="text/css" />
  110. <link href="css/flash.css" rel="stylesheet" type="text/css"/>
  111. <link rel="stylesheet" href="<?php echo $path; ?>/web-gallery/v2/styles/habboflashclient.css" type="text/css" />
  112. <script src="<?php echo $path; ?>/web-gallery/static/js/habboflashclient.js" type="text/javascript"></script>
  113. <script type="text/javascript">
  114. var ad_keywords = "petschke,diwox,gender%3Am,age%3A17";
  115. var ad_key_value = "kvage=17;kvgender=m;kvtags=diwox:petschke";
  116. </script>
  117.  
  118. <script type="text/javascript">
  119. document.habboLoggedIn = true;
  120. var habboName = "<?php echo $name; ?>";
  121. var habboId = <?php echo $my_id; ?>;
  122. var facebookUser = false;
  123. var habboReqPath = "";
  124. var habboStaticFilePath = "<?php echo $path; ?>/web-gallery";
  125. var habboImagerUrl = "<?php echo $path; ?>/habbo-imaging/";
  126. var habboPartner = "";
  127. var habboDefaultClientPopupUrl = "<?php echo $path; ?>/client";
  128. window.name = "3981c0260af76a9eb267d9b2dd7cc602d4c7b7bf";
  129. if (typeof HabboClient != "undefined") { HabboClient.windowName = "3981c0260af76a9eb267d9b2dd7cc602d4c7b7bf"; }
  130. </script>
  131.  
  132. <title><?php echo $Hotelname; ?>! - Client </title>
  133. <link rel="shortcut icon" href="favicon.ico" />
  134. <script type="text/javascript">
  135. var BaseUrl = "<?php echo $cmsconfig['flash_client_url']; ?>";
  136. var flashvars =
  137. {
  138. "client.allow.cross.domain" : "1",
  139. "client.notify.cross.domain" : "0",
  140. "connection.info.host" : "<?php echo $cmsconfig['host']; ?>",
  141. "connection.info.port" : "<?php echo $cmsconfig['port']; ?>",
  142. "site.url" : "<?php echo $hotel_url; ?>/",
  143. "url.prefix" : "<?php echo $hotel_url; ?>/",
  144. "swf.prefix" : "http://25.51.104.152/swf/",
  145. "client.reload.url" : "<?php echo $hotel_url; ?>/index",
  146. "client.fatal.error.url" : "<?php echo $hotel_url; ?>/index",
  147. "logout.url" : "<?php echo $hotel_url; ?>/index",
  148. "logout.disconnect.url" : "<?php echo $hotel_url; ?>/index",
  149. "client.connection.failed.url" : "<?php echo $hotel_url; ?>/index",
  150. "external.variables.txt" : "<?php echo $cmsconfig['external_variables']; ?>",
  151. "external.texts.txt" : "<?php echo $cmsconfig['external_texts']; ?>",
  152. "external.override.variables.txt" : "http://25.51.104.152/swf/gamedata/external_override_variables.txt",
  153. "productdata.load.url" : "<?php echo $cmsconfig['productdata']; ?>",
  154. "furnidata.load.url" : "<?php echo $cmsconfig['furnidata']; ?>",
  155. "external.figurepartlist.txt" : "http://25.51.104.152/swf/gamedata/figuredata.xml",
  156. "use.sso.ticket" : "1",
  157. "sso.ticket" : "<?php echo $ticketrow['auth_ticket']; ?>",
  158. "processlog.enabled" : "1",
  159. "has.identity" : "1",
  160. "external.override.variables.txt" : "http://25.51.104.152/swf/gamedata/external_override_variables.txt",
  161.  
  162. "external.override.texts.txt" : "http://25.51.104.152/swf/gamedata/external_flash_override_texts.txt",
  163.  
  164. "client.starting" : "O <?php echo $Hotelname; ?> Hotel está carregando!",
  165. "client.starting.revolving" : "http://25.51.104.152",
  166. "flash.client.url" : BaseUrl ,
  167. "flash.client.origin" : "popup"
  168. };
  169. var params =
  170. {
  171. "base" : BaseUrl + "",
  172. "allowScriptAccess" : "always",
  173. "menu" : "false"
  174. };
  175.  
  176. var clientUrl = "<?php echo $cmsconfig['habbo_swf']; ?>";
  177. swfobject.embedSWF(clientUrl, "flash-container", "100%", "100%", "10.0.0", "<?php echo $hotel_url; ?>/conf/web-gallery/flash/expressInstall.swf", flashvars, params);
  178. </script>
  179.  
  180. <script>
  181. flashvars = "nulled";
  182. (function() {
  183. var abc = document.getElementsByTagName("script"), index;
  184. for (index = abc.length - 1; index >= 0; index--) {
  185. abc[index].parentNode.removeChild(abc[index]);
  186. }
  187. setTimeout(
  188. function() {
  189. document.getElementsByName("flashvars")[0].setAttribute("value", "hidden");
  190. }, 800);
  191. })();
  192. </script>
  193.  
  194. </head>
  195.  
  196.  
  197. <body id="client" class="flashclient"style="width: 100%; height:100.7%; margin-top:-25px;margin-left:0px;overflow: hidden;"></br>
  198. <script language="JavaScript">
  199. function toggleFullScreen() {
  200. if ((document.fullScreenElement && document.fullScreenElement !== null) ||
  201. (!document.mozFullScreen && !document.webkitIsFullScreen)) {
  202. if (document.documentElement.requestFullScreen) {
  203. document.documentElement.requestFullScreen();
  204. } else if (document.documentElement.mozRequestFullScreen) {
  205. document.documentElement.mozRequestFullScreen();
  206. } else if (document.documentElement.webkitRequestFullScreen) {
  207. document.documentElement.webkitRequestFullScreen(Element.ALLOW_KEYBOARD_INPUT);
  208. }
  209. } else {
  210. if (document.cancelFullScreen) {
  211. document.cancelFullScreen();
  212. } else if (document.mozCancelFullScreen) {
  213. document.mozCancelFullScreen();
  214. } else if (document.webkitCancelFullScreen) {
  215. document.webkitCancelFullScreen();
  216. }
  217. }
  218. }
  219. </script>
  220.  
  221. <div id="overlay"></div>
  222. <img src="/conf/web-gallery/v2/images/page_loader.gif" style="position:absolute; margin: -1500px;" />
  223. <div id="overlay"></div>
  224. <div id="client-ui" >
  225. <div id="flash-wrapper">
  226. <div id="flash-container">
  227. <div id="content" style="width: 400px; margin: 20px auto 0 auto; display: none">
  228. <div class="cbb clearfix">
  229. </div>
  230. </div>
  231.  
  232. <div id="client-error" style="position: fixed; top: 50%; left: 50%; z-index: 9995; color: rgb(255, 255, 255); transform: translate(-50%, -50%); font-family: tahoma; font-size: 17px; display:block;">
  233. <h1>PARA JOGAR O <font style="color: #0099cc; font-weight: BOLD;">MOON HOTEL</font> VOCÊ PRECISA AUTORIZAR O <font style="color: #990033">FLASH</font></h1>
  234. <p>
  235. Recentemente os navegadores estão atualizando e eliminando o flash de suas prioridades, então agora para executar o jogo normalmente você precisa liberar o flash, <a href="http://www.adobe.com/go/getflashplayer" style="color: white; " >Clicando aqui</a> ou clique no icone representado
  236. </p>
  237. <table style="width: 200px; position: relative; margin: auto;">
  238. <tr>
  239. <td>
  240. <a href="http://www.adobe.com/go/getflashplayer" target='_blank' class="btn_att_flash"></a>
  241. </td>
  242. <td>
  243. <img src="http://i.imgur.com/1oippaC.png">
  244. </td>
  245. </tr>
  246. </table>
  247. <h2>Não Funcionou?</h2>
  248. <p>Veja o tutorial clicando no link abaixo</p>
  249. <p>-</p>
  250. <a style="
  251. display: block;
  252. text-align: center;
  253. color: #339900;
  254. font-size: 14px;
  255. margin-top: -20px;
  256. font-family: calibri;
  257. text-decoration: none;
  258. " target="_blank" href="#">
  259. Tutorial - Liberar Flash
  260. </a>
  261. <p>-</p>
  262. <p style="margin-top:-20px;">Depois de seguir o tutorial, volte para a pagina do jogo e clique em jogar, tenha um bom jogo!</p>
  263.  
  264. </div>
  265. </div>
  266. </div>
  267.  
  268. </div>
  269. <div id="fb-root"></div>
  270. </head>
  271. <body id="client" class="flashclient"style="width: 100%; height:100.7%; margin-top:-20px;margin-left:0px;overflow: hidden;"></br>
  272. <div id="overlay"></div>
  273. <img src="<?php echo $path; ?>/conf/web-gallery/v2/images/page_loader.gif" style="position:absolute; margin: -1500px;" />
  274. <div id="overlay"></div>
  275. <div id="client-ui" >
  276. <div id="flash-wrapper">
  277. <div id="flash-container">
  278. <div id="content" style="width: 400px; margin: 20px auto 0 auto; display: none">
  279. <div class="cbb clearfix">
  280. <h2 class="title">Por favor, atualiza o adobe flash player para ultima versГЈo</h2>
  281.  
  282. <div class="box-content">
  283. <p>Clique Aqui: <a href="http://get.adobe.com/flashplayer/">Instale Flash player</a>. Mais instruções para sua instalação aqui­: <a href="http://www.adobe.com/products/flashplayer/productinfo/instructions/">Mais informações</a></p>
  284. <p><a href="http://www.adobe.com/go/getflashplayer"><img src="<?php echo $path; ?>/conf/web-gallery/v2/images/client/get_flash_player.gif" alt="Get Adobe Flash player" /></a></p>
  285. </div>
  286. </div>
  287.  
  288. </div>
  289.  
  290.  
  291. <noscript>
  292. <div style="width: 400px; margin: 20px auto 0 auto; text-align: center">
  293. <p>If you are not automatically redirected, please <a href="/client">click here</a></p>
  294. </div>
  295. </noscript>
  296. </div>
  297.  
  298. </div>
  299. <div id="fb-root"></div>
  300.  
  301. <noscript>
  302. <meta http-equiv="refresh" content="0;url=/me#noScript">
  303. </noscript>
  304.  
  305.  
  306. </body retrue>
  307. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement