4bdu

Untitled

Oct 17th, 2017
1,159
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.94 KB | None | 0 0
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  2. "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" xmlns:og="http://opengraphprotocol.org/schema/" xmlns:fb="http://www.facebook.com/2008/fbml">
  4. <head>
  5. <meta http-equiv="content-type" content="text/html; charset=utf-8" />
  6. <title>EliteRP - Client</title>
  7.  
  8. <script type="text/javascript">
  9. var andSoItBegins = (new Date()).getTime();
  10. </script>
  11. <link rel="shortcut icon" href="http://localhost/fluxweb/v2/images/favicon.ico" type="image/vnd.microsoft.icon" />
  12. <meta name="csrf-token" content="a68e16da32"/>
  13. <!--<script type="text/javascript" src="http://localhost/fluxweb/js/snow.js"></script>-->
  14. <link rel="stylesheet" href="http://localhost/fluxweb/static/styles/common.css" type="text/css" />
  15. <script src="http://localhost/fluxweb/static/js/libs2.js" type="text/javascript"></script>
  16. <script src="http://localhost/fluxweb/static/js/visual.js" type="text/javascript"></script>
  17. <script src="http://localhost/fluxweb/static/js/libs.js" type="text/javascript"></script>
  18. <script src="http://localhost/fluxweb/static/js/common.js" type="text/javascript"></script>
  19.  
  20. <link rel="stylesheet" type="text/css" href="https://t4t5.github.io/sweetalert/dist/sweetalert.css">
  21. <script src="https://t4t5.github.io/sweetalert/dist/sweetalert.min.js"></script>
  22.  
  23. <link href='http://fonts.googleapis.com/css?family=Ubuntu:400,700,400italic,700italic|Ubuntu+Medium' rel='stylesheet' type='text/css'>
  24.  
  25.  
  26.  
  27. <style>
  28.  
  29. body {
  30. font-family: 'Ubuntu', sans-serif;
  31. width:960px;
  32. overflow: hidden;
  33. width: 100%;
  34. height: 100%;
  35. }
  36.  
  37. p{
  38. color:#525252;
  39. font-size:12px;
  40. }
  41.  
  42. .skillbar {
  43. position:relative;
  44. display:block;
  45. margin-bottom:15px;
  46. width:70%;
  47. background:#eee;
  48. height:30px;
  49. border-radius:3px;
  50. overflow:hidden;
  51. -moz-border-radius:3px;
  52. -webkit-border-radius:3px;
  53. -webkit-transition:0.4s linear;
  54. -moz-transition:0.4s linear;
  55. -ms-transition:0.4s linear;
  56. -o-transition:0.4s linear;
  57. transition:0.4s linear;
  58. -webkit-transition-property:width, background-color;
  59. -moz-transition-property:width, background-color;
  60. -ms-transition-property:width, background-color;
  61. -o-transition-property:width, background-color;
  62. transition-property:width, background-color;
  63. }
  64.  
  65. .skillbar-title {
  66. position:absolute;
  67. top:0;
  68. left:0;
  69. width:80px;
  70. font-weight:bold;
  71. font-size:13px;
  72. color:#ffffff;
  73. background:#6adcfa;
  74. -webkit-border-top-left-radius:3px;
  75. -webkit-border-bottom-left-radius:4px;
  76. -moz-border-radius-topleft:3px;
  77. -moz-border-radius-bottomleft:3px;
  78. border-top-left-radius:3px;
  79. border-bottom-left-radius:3px;
  80. }
  81.  
  82. .skillbar-title span {
  83. display:block;
  84. background:rgba(0, 0, 0, 0.1);
  85. padding:0 20px;
  86. height:30px;
  87. line-height:30px;
  88. -webkit-border-top-left-radius:3px;
  89. -webkit-border-bottom-left-radius:3px;
  90. -moz-border-radius-topleft:3px;
  91. -moz-border-radius-bottomleft:3px;
  92. border-top-left-radius:3px;
  93. border-bottom-left-radius:3px;
  94. }
  95.  
  96. .client-overlay {
  97. z-index: 99999;
  98. position: absolute;
  99. top: 5px;
  100. left: 5px;
  101. overflow: auto;
  102. min-width: 250px;
  103. pointer-events:none;
  104. }
  105.  
  106. #client {
  107. z-index: -1;
  108. pointer-events: auto;
  109. }
  110.  
  111. .skillbar-bar {
  112. height:30px;
  113. width:0px;
  114. background:#6adcfa;
  115. border-radius:3px;
  116. -moz-border-radius:3px;
  117. -webkit-border-radius:3px;
  118. }
  119.  
  120. .skill-bar-percent {
  121. position:absolute;
  122. right:10px;
  123. top:0;
  124. font-size:11px;
  125. height:35px;
  126. line-height:35px;
  127. color:#ffffff;
  128. color:rgba(0, 0, 0, 0.4);
  129. }
  130. </style>
  131.  
  132. <script type="text/javascript">
  133. document.habboLoggedIn = true;
  134. var habboName = "Nath";
  135. var habboId = 2;
  136. var facebookUser = false;
  137. var habboReqPath = "";
  138. var habboStaticFilePath = "http://localhost/web-gallery";
  139. var habboImagerUrl = "http://localhost/habbo-imaging/";
  140. var habboPartner = "";
  141. var habboDefaultClientPopupUrl = "http://localhost/client";
  142. window.name = "13574bb849eaa68aba57af6b14a5477d5cbffc9c";
  143. if (typeof HabboClient != "undefined") {
  144. HabboClient.windowName = "13574bb849eaa68aba57af6b14a5477d5cbffc9c";
  145. HabboClient.maximizeWindow = true;
  146. }
  147.  
  148.  
  149. </script>
  150.  
  151.  
  152. <meta name="SKYPE_TOOLBAR" content="SKYPE_TOOLBAR_PARSER_COMPATIBLE" />
  153.  
  154. <noscript>
  155. <meta http-equiv="refresh" content="0;url=/me/nojs" />
  156. </noscript>
  157. <meta http-equiv="Pragma" content="no-cache" />
  158. <meta http-equiv="Expires" content="-1" />
  159. <meta http-equiv="Cache-Control" content="no-cache, no-store" />
  160. <meta name="google" content="notranslate" />
  161.  
  162. <link rel="stylesheet" href="http://localhost/fluxweb/static/styles/habboflashclient.css" type="text/css" />
  163. <script src="http://localhost/fluxweb/static/js/habboflashclient.js" type="text/javascript"></script>
  164.  
  165. <script type="text/javascript">
  166. var BaseUrl = "http://localhost/swfs/gordon/PRODUCTION-201510261212-858675875";
  167. var flashvars = {
  168. "client.allow.cross.domain" : "0",
  169. "client.notify.cross.domain" : "1",
  170. "connection.info.host" : "127.0.0.1", /* Put your VPS IP here */
  171. "connection.info.port" : "30000",
  172. "site.url" : "http://localhost",
  173. "url.prefix" : "http://localhost",
  174. "client.reload.url" : "http://localhost/client",
  175. "client.fatal.error.url" : "http://localhost/client",
  176. "client.connection.failed.url" : "http://localhost/client",
  177. "logout.url" : "http://localhost/me",
  178. "logout.disconnect.url" : "http://localhost/client",
  179. "external.variables.txt" : "http://localhost/swfs/gamedata/external_variables.txt",
  180. "external.texts.txt" : "http://localhost/swfs/gamedata/external_flash_texts.txt",
  181. "external.figurepartlist.txt" : "http://localhost/swfs/gamedata/figuredata.xml",
  182. "productdata.load.url" : "http://localhost/swfs/gamedata/productdata.txt",
  183. "furnidata.load.url" : "http://localhost/swfs/gamedata/furnidata.xml",
  184. "sso.ticket" : "{sso}",
  185. "processlog.enabled" : "1",
  186. "account_id" : "2",
  187. "client.starting.revolving" : "Cleaning the streets.../Filling Garbage cans.../Spawning Hobo\'s../Turning on city lights.../Restocking Ammunation.../Rigging the Slot Machines...",
  188. "flash.client.url" : "http://localhost/swfs/gordon/PRODUCTION-201510261212-858675875/",
  189. "user.hash" : "df2cd7104536553afde9f7d66133d578eccb4606",
  190. "has.identity" : "1",
  191. "flash.client.origin" : "popup",
  192. "nux.lobbies.enabled" : "false",
  193. "country_code" : ""
  194. };
  195. var params =
  196. {
  197. "base" : BaseUrl + "/",
  198. "allowScriptAccess" : "always",
  199. "menu" : "false"
  200. };
  201. swfobject.embedSWF("http://localhost/swfs/gordon/PRODUCTION-201510261212-858675875/HabFlux.swf", "client", "100%", "100%", "10.0.0", "http://localhost/swfs/gordon/expressInstall.swf", flashvars, params, null);
  202. </script>
  203. </head>
  204.  
  205. <body>
  206. <?php
  207.  
  208. $k = mysql_fetch_assoc(mysql_query("SELECT * FROM rp_stats WHERE id = '" . $_SESSION['user']['id'] . "'"));
  209.  
  210. ?>
  211. <div class="client-overlay">
  212.  
  213. <td style="padding-right: 30px; padding-top:5px;"><div class="skillbar clearfix " id="curhealth" data-percent="<?php echo (($k['curhealth'] >= 100) ? '100' : $k['curhealth']); ?>%">
  214. <div class="skillbar-title" style="background: #fa6e6e;"><span>Health</span></div>
  215. <div id="health" class="skillbar-bar" style="background: rgb(250, 110, 110);"></div>
  216. <div class="skill-bar-percent" id="curhealth-stat"><?php echo $k['curhealth']; ?>/<?php echo $k['maxhealth']; ?></div>
  217. </div></td> <!-- End Health Bar -->
  218.  
  219.  
  220. <td style="padding-right: 30px; padding-top:5px;"><div class="skillbar clearfix " id="energy" data-percent="<?php echo $k['energy']; ?>%">
  221. <div class="skillbar-title" style="background: #88cd2a;"><span>Energy</span></div>
  222. <div class="skillbar-bar" style="background: rgb(136, 205, 42);"></div>
  223. <div class="skill-bar-percent" id="energy-stat"><?php echo $k['energy']; ?>/100</div>
  224. </div></td> <!-- End Energy Bar -->
  225.  
  226. <td style="padding-right: 30px; padding-top:5px;"><div class="skillbar clearfix " id="hunger" data-percent="<?php echo $k['hunger']; ?>%">
  227. <div class="skillbar-title" style="background: #f7a53b;"><span>Hunger</span></div>
  228. <div class="skillbar-bar" style="background: rgb(247, 165, 59);"></div>
  229. <div class="skill-bar-percent" id="hunger-stat"><?php echo $k['hunger']; ?>/100</div>
  230. </div></td> <!-- End Hunger Bar -->
  231.  
  232. <td style="padding-right: 30px; padding-top:5px;"><div class="skillbar clearfix " id="hygiene" data-percent="<?php echo $k['hygiene']; ?>%">
  233. <div class="skillbar-title" style="background: #6adcfa;"><span>Hygiene</span></div>
  234. <div class="skillbar-bar" style="background: rgb(106, 220, 250);"></div>
  235. <div class="skill-bar-percent" id="hygiene-stat"><?php echo $k['hygiene']; ?>/100</div>
  236. </div></td> <!-- End Hygiene Bar -->
  237. </div></div>
  238.  
  239.  
  240. <div id="client" class="flashclient" style="width:100%;min-height:100%;height:100%;"></div>
  241.  
  242. <div id="client-ui" style="position: absolute; top: 0; z-index: -5;">
  243. <div id="flash-wrapper">
  244. <div id="flash-container">
  245. <div id="content" style="width: 400px; margin: 20px auto 0 auto; display: none">
  246. <div class="cbb clearfix red">
  247. <h2 class="newtitle">Please update your Flash Player to the latest version.</h2>
  248. <div class="box-content">
  249. <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>
  250. If you're on an iPad, iPhone or an Android device, you can get <a href="#">SkyRP for iOS</a> on the App Store or <a href="#" target="_blank">AnxRP for Android</a> on Google Play.</p>
  251. <p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://localhost/fluxweb/v2/images/get_flash_player.gif" alt="Get Adobe Flash player" /></a></p>
  252. </div>
  253. </div>
  254. </div>
  255.  
  256.  
  257. </script>
  258.  
  259. <!-- JS -->
  260. <script src="https://code.jquery.com/jquery.js"></script>
  261.  
  262. <script type="text/javascript">
  263.  
  264. function updateBars()
  265. {
  266. jQuery('.skillbar').each(function(){
  267. jQuery(this).find('.skillbar-bar').animate({
  268. width:jQuery(this).attr('data-percent')
  269. },6000);
  270. });
  271. }
  272.  
  273. jQuery(document).ready(function(){
  274. updateBars();
  275. });
  276.  
  277. jQuery("#health").animate({
  278. width: "70%"
  279. }, 10000 );
  280.  
  281. setInterval( function() {
  282. $.get("{url}/userstats", function(data, status){
  283.  
  284. var userstats = jQuery.parseJSON( data );
  285.  
  286. jQuery( '#curhealth' ).attr( 'data-percent', ( ( userstats.curhealth / userstats.maxhealth ) * 100 ) + '%' );
  287.  
  288. jQuery( '#curhealth-stat' ).text( userstats.curhealth + "/" + userstats.maxhealth );
  289.  
  290. jQuery( '#energy' ).attr( 'data-percent', userstats.energy + '%' );
  291. jQuery( '#energy-stat' ).text( userstats.energy + "/100" );
  292.  
  293. jQuery( '#hunger' ).attr( 'data-percent', userstats.hunger + '%' );
  294. jQuery( '#hunger-stat' ).text( userstats.hunger + "/100" );
  295.  
  296. jQuery( '#hygiene' ).attr( 'data-percent', userstats.hygiene + '%' );
  297. jQuery( '#hygiene-stat' ).text( userstats.hygiene + "/100" );
  298.  
  299. updateBars();
  300. });
  301. }, 10000 );
  302.  
  303.  
  304. </script>
  305. </body>
  306. </html>
Advertisement
Add Comment
Please, Sign In to add comment