SHARE
TWEET

Untitled

a guest Dec 13th, 2016 62 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2. include ("../site_install/config.inc.php");
  3. include ("../site_install/config.php");
  4. include ("../site_install/clean.php");
  5. ?>
  6. <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.8/jquery-ui.min.js"></script>
  7. <script type="text/javascript" src="<?=$site;?>media/js/jquery-easing-compatibility.1.2.pack.js"></script>
  8. <script>
  9. $(document).ready(function () {
  10. $('#botao_logar2').click(function() {
  11. $('.logando').effect("shake", { times:3 }, 80);
  12. });
  13. });
  14. $(document).ready(function () {
  15. $('.fecha_erro').click(function() {
  16. $('.box_erro').hide("slide", { direction: "left" }, 500);
  17. setTimeout( function() {
  18. $('.mask_erro').fadeOut(500);
  19. }, 1000);
  20. });
  21. });
  22. $('.mask_erro').fadeIn(500);
  23. $(document).ready(function () {
  24. setTimeout( function() {
  25. $('.box_erro').show("slide", { direction: "left" }, 500);
  26. }, 1100);
  27. });
  28. </script>
  29. <?
  30. date_default_timezone_set('Brazil/East');
  31. $data = date('d/m/Y H:i');
  32. $username = strip_tags($_GET['username']);
  33. $password = md5($_GET['password']);
  34. $ban = mysql_query("SELECT * FROM 10cms_ban WHERE conta='$username'");
  35. $ban_f = mysql_fetch_array ($ban);
  36. $ban_num = mysql_num_rows ($ban);
  37. if ($data>$ban_f['data']){
  38. $update = mysql_query("UPDATE usr_users SET ban='0' WHERE username='$username'");
  39. $delete = mysql_query("DELETE FROM 10cms_ban WHERE conta='$username'");
  40. }
  41. $user = mysql_fetch_array(mysql_query("SELECT * FROM usr_users WHERE username='$username' AND password='$password'"));
  42. $users = mysql_num_rows(mysql_query("SELECT * FROM usr_users WHERE username='$username' AND password='$password' AND ban='0'"));
  43. if ($users>0 & $ban_num<1){
  44. $_SESSION[usuario_s] = $user[username];
  45. $_SESSION[id_s] = $user[id];
  46. $_SESSION[usr_name] = $user[username];
  47. $_SESSION[usr_level] = $user[level];   
  48. if ($banido[conta] == $_SESSION[usr_name]){
  49. }
  50. ?>
  51. <META HTTP-EQUIV="Refresh" content="0">
  52. <div id="sombra_a" style="float:right; margin-right:20px; margin-top:10px"><div id="avatar" style="background:url(https://www.habbo.com.br/habbo-imaging/avatarimage?img_format=gif&user=<?=$_SESSION['usr_name'];?>&action=std&direction=4&head_direction=3&gesture=sml&size=b); margin-left:-4px"></div></div>
  53. <div id="cont_login">
  54. <div style="width:200px; height:60px; float:left; margin-left:11px; margin-top:5px;">
  55. <a class="login_dentro" href="<?=$site;?>site/menu/postar-topico"><div style="width:99px; float:left">Postar tópico</div></a>
  56. <a class="login_dentro" href="<?=$site;?>site/menu/postar-pixel"><div style="width:99px; float:left">Postar pixel</div></a>
  57. <a class="login_dentro" href="<?=$site;?>site/menu/postar-tirinha"><div style="width:99px; float:left">Postar tirinha</div></a>
  58. <a class="login_dentro" href="<?=$site;?>site/menu/gerar-kh"><div style="width:99px; float:left">Gerar fichas</div></a>
  59. <a class="login_dentro" href="<?=$site;?>site/menu/mudar-senha"><div style="width:99px; float:left">Mudar senha</div></a>
  60. <a class="login_dentro" href="<?=$site;?>site/menu/mudar-dados"><div style="width:99px; float:left">Mudar dados</div></a>
  61. <a class="login_dentro" href="<?=$site;?>site/menu/mudar-assinatura">
  62. <div style="width:99px; float:left">Mudar assinatura</div></a>
  63. <a class="login_dentro" href="<?=$site;?>site/menu/mudar-avatar">
  64. <div style="width:99px; float:left">Mudar avatar</div></a>
  65. <a class="login_dentro" href="/home/<?=$_SESSION[usr_name];?>">
  66. <div style="width:99px; float:left">Minha home</div></a>
  67. <a class="login_dentro"><div style="width:99px; float:left">Fichas (<? $num_ficha = mysql_fetch_array(mysql_query("SELECT * FROM usr_users WHERE username='$_SESSION[usr_name]'")); echo $num_ficha[credits];?>)</div></a>
  68. </div>
  69. <a href="<?=$site;?>voltar"><div id="botao_deslo" style="float:left; margin-top:15px; margin-left:-5px;"></div></a>
  70. </div>
  71. <? } elseif ($ban_num>0) {?>
  72. <div id="mask_alert" class="mask_erro" style="display:none;">
  73. <div id="box_alert" class="box_erro" style="display:none;">
  74. <div id="fecha_alert" class="fecha_erro">x</div>
  75. <!-- TEXTO -->
  76. <table width="100%" border="0" cellspacing="0" cellpadding="0">
  77.   <tr>
  78.     <td width="10%" valign="middle"><img src="<?=$site;?>media/images/ico_erro.png" style="margin-right:10px;" /></td>
  79.     <td width="95%" valign="middle">Você foi banido por <strong><?=$ban_f['motivo'];?></strong> até <strong><?=$ban_f['data'];?></strong></td>
  80.     </tr>
  81.   </table>
  82. <!-- FIM TEXTO -->
  83. </div>
  84. </div>
  85. <div id="frank2"></div>
  86. <form action="<?=$site;?>site_pag/logando.php?username=<?=$username;?>&password=<?=$password;?>" method="post" onSubmit="setarCampos(this); enviarForm('<?=$site;?>site_pag/logando.php?username=<?=$username;?>&password=<?=$password;?>', campos, 'erro'); return false;">
  87. <input id="null" name="null" style="display:none"/>
  88. <input class="input_login" id="username" autocomplete="off" name="username" style="outline-color:invert;">
  89. <input class="input_login" type="password" id="password" name="password" style="margin-top:4px">
  90. <input type="submit" id="botao_logar2" value="" style="border:none;">
  91. <a href="<?=$site;?>usuario/registrar"><div id="botao_cadastre2"></div></a>
  92. </form>
  93. <? } else { ?>
  94. <div id="mask_alert" class="mask_erro" style="display:none;">
  95. <div id="box_alert" style="display:none;" class="box_erro">
  96. <div id="fecha_alert" class="fecha_erro">x</div>
  97. <table width="100%" border="0" cellspacing="0" cellpadding="0">
  98.   <tr>
  99.     <td width="10%" valign="middle"><img src="<?=$site;?>media/images/ico_erro.png" style="margin-right:10px;" /></td>
  100.     <td width="90%" valign="middle" style="font-weight:bold;">Usuário ou senha incorreta!</td>
  101.     </tr>
  102. </table>
  103. </div>
  104. </div>
  105. <div id="frank2"></div>
  106. <form action="<?=$site;?>site_pag/logando.php?username=<?=$username;?>&password=<?=$password;?>" method="post" onSubmit="setarCampos(this); enviarForm('<?=$site;?>site_pag/logando.php?username=<?=$username;?>&password=<?=$password;?>', campos, 'erro'); return false;">
  107. <input id="null" name="null" style="display:none"/>
  108. <input class="input_login" id="username" autocomplete="off" name="username" style="outline-color:invert;">
  109. <input class="input_login" type="password" id="password" name="password" style="margin-top:4px">
  110. <input type="submit" id="botao_logar2" value="" style="border:none;">
  111. <a href="<?=$site;?>usuario/registrar"><div id="botao_cadastre2"></div></a>
  112. </form>
  113. <?
  114. }
  115. ?>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top