SHARE
TWEET

Untitled

a guest Dec 13th, 2016 73 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <? if ($_SESSION[usr_name] == ""){?>
  2. <!-- LOGIN / CADASTRE --->
  3. <script>
  4. function setarCampos() {
  5. campos = "null="+encodeURI(document.getElementById('null').value).
  6. toUpperCase()+"&username="+encodeURI(document.getElementById('username').value).
  7. toUpperCase()+"&password="+encodeURI(document.getElementById('password').value);
  8. }
  9. </script>
  10. <button onclick="document.getElementById('id01').style.display='block'" style="width:auto;">Login</button>
  11.  
  12. <div id="id01" class="modal">
  13.  
  14.   <form class="modal-content animate" action="<?=$site;?>site_pag/logando.php?username=<?=$username;?>&password=<?=$password;?>" method="post" onSubmit="setarCampos(this); enviarForm('<?=$site;?>kh_pag/logando.php?username=<?=$username;?>&password=<?=$password;?>', campos, 'erro'); return false;">
  15.     <div class="imgcontainer">
  16.       <span onclick="document.getElementById('id01').style.display='none'" class="close" title="Close Modal">&times;</span>
  17.   </div>
  18.      <input id="null" name="null" style="display:none"/>
  19.     <div class="container">
  20.    
  21.       <label><b>Username</b></label>
  22.       <input type="text" placeholder="Enter Username" name="username" required>
  23.  
  24.       <label><b>Password</b></label>
  25.       <input type="password" placeholder="Enter Password" name="password" required>
  26.        
  27.       <button type="submit" value="">Login</button>
  28.       <input type="checkbox" checked="checked"> Remember me
  29.     </div>
  30. <? } else { ?>
  31. <? if ($_GET['logado'] == "sair"){ echo '<META HTTP-EQUIV="Refresh" content="0">'; session_destroy();}?>
  32. <div id="bg_login">
  33. <div id="sombra_a" style="float:right; margin-right:14px; margin-top:20px">
  34. <script>
  35. function noti(pagina) {
  36. $("#mostra").load("<?=$site;?>site_pag/soli.php?action=ler");
  37. $("#mostra").html("<div style='width:239px; height:236px; background:url(<?=$site;?>media/images/notifica.png); top:15px; left:0px; position:fixed; z-index:99999999999999999999; padding-top:13px; padding-left:2px;' align='center'><img src='http://betasite.hol.es/media/images/load.gif'/></div>");
  38. }
  39. </script>
  40. <?php $geral = mysql_num_rows(mysql_query("SELECT * FROM 10cms_notifica WHERE recebe='$_SESSION[usr_name]' AND lido='nao'"));?>
  41. <div id="mostra" style="position:fixed; z-index:99999999999999;"></div>
  42. <div id="ler"></div>
  43. <div id="avatar" style="background:url(http://www.habbo.com.br/habbo-imaging/avatarimage?user=<?=$_SESSION['usr_name'];?>&action=std&direction=4&head_direction=3&gesture=sml&size=b); margin-left:-4px"></div></div>
  44. <div class="menu-usuarioo">
  45. <div class="titulo7"> Menu Usuario </div>
  46. <div style="width:200px; height:60px; float:left; margin-left:11px; margin-top:5px;">
  47. <a class="login_dentro" href="<?=$site;?>site/menu/postar-topico"><div style="width:99px; float:left">Postar t&oacute;pico</div></a>
  48. <a class="login_dentro" href="<?=$site;?>site/menu/gerar-kh"><div style="width:99px; float:left">Gerar Moedas</div></a>
  49. <a class="login_dentro" href="<?=$site;?>site/menu/mudar-senha"><div style="width:99px; float:left">Mudar senha</div></a>
  50. <a class="login_dentro" href="http://betasite.hol.es/site/menu/mudar-dados"><div style="width:99px; float:left">Mudar dados</div></a>
  51. <a class="login_dentro" href="http://betasite.hol.es/site/menu/mudar-assinatura"><div style="width:99px; float:left">Mudar assinatura</div></a>
  52. <a class="login_dentro" href="<?=$site;?>site/menu/mudar-avatar"><div style="width:99px; float:left">Mudar avatar</div></a>
  53. <a class="login_dentro" href="#notifica"><div style="width:99px; float:left">Notificacoes</div></a>
  54. <a class="login_dentro" href="/home/<?=$_SESSION[usr_name];?>">
  55. <a class="login_dentro"><div style="width:99px; float:left">Moedas (<? $num_ficha = mysql_fetch_array(mysql_query("SELECT * FROM usr_users WHERE username='$_SESSION[usr_name]'")); echo $num_ficha[credits];?>)</div></a>
  56. </div>
  57. </div>
  58. <a href="<?=$site;?>voltar"><div id="botao_deslo" style="float:left; margin-top:15px; margin-left:-5px;"></div></a>
  59. </div>
  60. <? } ?>
  61. </div>
  62. </div>
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
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top