Advertisement
Guest User

Untitled

a guest
Dec 15th, 2016
249
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 7.93 KB | None | 0 0
  1. <?php
  2.     require '/inc/core.php';
  3.     $Functions->Maintenance();
  4.     NeedInstalling("yes");
  5.     $db->query("UPDATE users SET auth_ticket = '', auth_ticket = '" . GenerateTicket() . "', ip_last = '', ip_last = '" . $ip . "', last_online = '', last_online = '" . time() . "' WHERE id = '" . $myrow['id'] . "'");
  6.     $ticketsql = $db->query("SELECT * FROM users WHERE id = '" . $myrow['id'] . "'");
  7.     $ticketrow = $ticketsql->fetch_assoc();
  8.  
  9.     if ($myrow['rank'] < 3 && !empty($_SESSION['CLIENT_PINSTAFF'])){
  10. ?>
  11. <html lang="en">
  12.     <head>
  13.         <meta http-equiv="content-type" content="text/html; charset=utf-8">
  14.         <title><?php echo $Hotelname; ?>~ ¡A jugar!</title>
  15.        
  16.         <meta name="Title" content="Hebbu">
  17.         <meta name="Author" content="Hebbu">
  18.         <meta name="Subject" content="¡Créditos gratis y muchos eventos divertidos!">
  19.         <meta name="Description" content="Hebbu es un juego multijugador latino para jóvenes, donde podrás conocer muchísima gente, crear tu propia habitación con todo ilimitado, con Créditos, HC y Furnis ¡totalmente gratis! Pero la diversión no termina ahí, siempre hay eventos muy divertidos para que te entretengas y ganes rares.">
  20.         <meta name="Keywords" content="hebbu, hebbu.us, habbogratis, creditos infinitos, staff, hobba, hlat, xkekos, kekos, haddoz, diamantes, juego online, amigos, juegos en linea, Hebbu, habbo.es, habbo.com">
  21.         <meta name="Generator" content="hebbu.org">
  22.         <meta name="Language" content="Spanish">
  23.         <meta name="Revisit" content="1 day">
  24.         <meta name="Distribution" content="Global">
  25.         <meta name="Robots" content="All">
  26.         <link rel="stylesheet" href="css/bootstrap.css" />
  27.         <link rel="stylesheet" href="css/animate.css" />
  28.         <link rel="icon" type="image/png" href="favicon.ico" />
  29.         <link rel="stylesheet" href="<?php echo $Link; ?>/resource/client/css/juego.css" type="text/css">
  30.  
  31.         <script src="<?php echo $Link; ?>/resource/client/js/libs2.js" type="text/javascript"></script>
  32.         <script src="<?php echo $Link; ?>/resource/client/js/visual.js" type="text/javascript"></script>
  33.         <script src="<?php echo $Link; ?>/resource/client/js/libs.js" type="text/javascript"></script>
  34.         <script src="<?php echo $Link; ?>/resource/client/js/common.js" type="text/javascript"></script>
  35.         <script src="<?php echo $Link; ?>/resource/client/js/habboflashclient.js" type="text/javascript"></script>
  36.    
  37.         <script type="text/javascript">
  38.  
  39.         var flashvars =
  40.         {
  41.             "client.starting.revolving":"¡Por favor espera! Hebbu se está cargando...",
  42.             "client.allow.cross.domain" : "1",
  43.             "client.starting" : "Por favor, espera.. <?php echo $Hotelname; ?> se esta cargando",
  44.             "client.notify.cross.domain" : "0",
  45.             "connection.info.host" : "<?php echo $Functions->Client('host'); ?>",
  46.             "connection.info.port" : "<?php echo $Functions->Client('port'); ?>",
  47.             "site.url" : "<?php echo $Link; ?>",
  48.             "url.prefix" : "<?php echo $Link; ?>",
  49.             "client.reload.url" : "<?php echo $Link; ?>/play",
  50.             "client.fatal.error.url" : "<?php echo $Link; ?>/play",
  51.             "client.connection.failed.url" : "<?php echo $Link; ?>/play",
  52.             "external.variables.txt" : "<?php echo $Functions->Client('external_variables'); ?>",
  53.             "external.texts.txt": "<?php echo $Functions->Client('external_flash_texts'); ?>",
  54.             "productdata.load.url": "<?php echo $Functions->Client('productdata'); ?>",
  55.             "furnidata.load.url": "<?php echo $Functions->Client('furnidata'); ?>",
  56.  
  57.             "use.sso.ticket" : "1",
  58.             "sso.ticket" : "<?php echo $ticketrow['auth_ticket']; ?>",  
  59.             "processlog.enabled" : "0",
  60.             "flash.client.url" : "<?php echo $Functions->Client('base'); ?>",
  61.  
  62.             "flash.client.origin" : "popup"
  63.         };
  64.         var params =
  65.         {
  66.             "base" : "<?php echo $Functions->Client('base'); ?>",
  67.             "allowScriptAccess" : "always",
  68.             "menu" : "false"                
  69.         };
  70.         swfobject.embedSWF("<?php echo $Functions->Client('base') . $Functions->Client('habbo_swf'); ?>", "client", "100%", "100%", "10.0.0", "{swf_folder}/expressInstall.swf", flashvars, params, null);
  71.  
  72.  
  73.         </script>
  74.     </head>
  75.    
  76.         <body>  
  77.         <div id="flash-wrapper" style="top:0px;">
  78.             <object type="application/x-shockwave-flash" data="<?php echo $Functions->Client('base') . $Functions->Client('habbo_swf'); ?>" width="100%" height="100%" id="client" style="visibility: visible;"></object>
  79.         </div>
  80.     </body>
  81.    
  82.             <body>
  83.                 <style>
  84.         .boton-p-c
  85.         {
  86.             z-index: 999;
  87.             border: 2px solid;
  88.             position: absolute;
  89.             box-shadow: 0 3px 0 1px rgba(0,0,0,.3);
  90.             background-color: #ffb900;
  91.             border: 2px solid #ffea00;
  92.             border-radius: 4px;
  93.             color: #000;
  94.             cursor: pointer;
  95.             padding: 6px 12px;
  96.             padding-left: 26px;
  97.             padding-top: 7px;
  98.             margin-top: 10px;
  99.             margin-left: 10px;
  100.         }
  101.  
  102.         .mini_h
  103.         {
  104.             background-image: url('http://i.imgur.com/qu6CN6R.png');
  105.             height: 18px;
  106.             width: 18px;
  107.             background-repeat: no-repeat;
  108.             background-position: 1px 1px;
  109.             position: absolute;
  110.             left: 5px;
  111.             top: 5px;
  112.         }
  113.        
  114.         body {
  115.             overflow: hidden;
  116.         }
  117.        
  118.         #adsDiv1 {
  119.             z-index: 9997;
  120.             position: absolute;
  121.             left: 2000px;
  122.             top: 2000px;
  123.             width: 730px;
  124.             height: 95px;
  125.         }
  126.         </style>
  127.         <script type="text/javascript">
  128.             setTimeout(function(){ $('html, body').animate({ scrollTop: 0, scrollLeft: 0 }, 'fast'); }, 1000);
  129.         </script>
  130. <button class="boton-p-c" id="mostrar_web" onclick="javascript:window.open('http://hebbu.org/me');"><b><div class="mini_h"></div> WEB</b></button>
  131.             </div>
  132.         </body>
  133.             <div style="position: absolute; top: -3px; right: 207px; color: rgb(255, 255, 255); font-weight: bold; font-family: Ubuntu, Ubuntu, sans-serif; padding: 5px 8px; border-radius: 5px; z-index: 999; border: 2px solid rgb(81, 81, 81); box-shadow: black 0px 2px 0px; text-shadow: black 0px 2px 0px; text-align: center; line-height: 16px; background: 100% 50% no-repeat rgba(36, 35, 30, 0.701961);" onclick="document.getElementById('catalogo_box').style['display'] = 'block';" onmouseover="this.style['background-color'] = 'rgba(68,66,59,0.6)';" onmouseout="this.style['background-color'] = 'rgba(36, 35, 30,0.7)';">
  134.         <iframe scrolling="no" src="" frameborder="0" height="0" width="0"></iframe>
  135.                <audio src="http://50.22.218.101:8126/;stream/1" autoplay="true" controls></audio>
  136.     </div>
  137. </html>
  138. <?php
  139.     } else {
  140. ?>
  141. <html>
  142.     <head>
  143.         <title><?php echo $Hotelname; ?>: Pin Staff</title>
  144.     </head>
  145.     <body>
  146.         <?php
  147.             if (isset($_POST['Client'])){
  148.                 $User = filtro($_POST['CUser'];
  149.                 $Pass = filtro($_POST['CPass'];
  150.                 $Pin = filtro($_POST['CPin'];
  151.                 $Encriptacion = HoloHash($Pass);
  152.                 $_SESSION['CLIENT_USER'] = $User;
  153.                 $_SESSION['CLIENT_PASS'] = $Pass;
  154.                 $_SESSION['CLIENT_PIN'] = $Pin;
  155.  
  156.                 if (empty($User) || empty($Pass) || empty($Pin)){
  157.                     echo 'No dejes campos vacíos';
  158.                 } elseif($myrow['username'] != $User){
  159.                     echo 'Tu nombre de usuario es incorrecto';
  160.                 } elseif ($myrow['password'] != $Encriptacion){
  161.                     echo 'Tu contraseña es incorrecta';
  162.                 } elseif ($myrow['staff_pin'] != $Pin){
  163.                     echo 'Tu pin staff es incorrecto';
  164.                 } else (
  165.                     $_SESSION['CLIENT_PINSTAFF'] == $Pin;
  166.                     header('Location: ?staff');
  167.                 }
  168.             }  
  169.         ?>
  170.         <form action="" method="POST">
  171.             <input value="<?php echo $_SESSION['CLIENT_USER']; ?>" name="CUser" placeholder="Usuario" type="text">
  172.             <input value="<?php echo $_SESSION['CLIENT_PASS']; ?>" name="CPass" placeholder="Contraseña" type="password">
  173.             <input value="<?php echo $_SESSION['CLIENT_PIN']; ?>" name="CPin" placeholder="Pin Staff" type="password">
  174.             <button type="submit" name="Client">Continuar</button>
  175.         </form>
  176.     </body>
  177. </html>
  178. <?php
  179.     }
  180. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement