Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <? if ($_SESSION[usr_name] == ""){?>
- <!-- LOGIN / CADASTRE --->
- <script>
- function setarCampos() {
- campos = "null="+encodeURI(document.getElementById('null').value).
- toUpperCase()+"&username="+encodeURI(document.getElementById('username').value).
- toUpperCase()+"&password="+encodeURI(document.getElementById('password').value);
- }
- </script>
- <button onclick="document.getElementById('id01').style.display='block'" style="width:auto;">Login</button>
- <div id="id01" class="modal">
- <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;">
- <div class="imgcontainer">
- <span onclick="document.getElementById('id01').style.display='none'" class="close" title="Close Modal">×</span>
- </div>
- <input id="null" name="null" style="display:none"/>
- <div class="container">
- <label><b>Username</b></label>
- <input type="text" placeholder="Enter Username" name="username" required>
- <label><b>Password</b></label>
- <input type="password" placeholder="Enter Password" name="password" required>
- <button type="submit" value="">Login</button>
- <input type="checkbox" checked="checked"> Remember me
- </div>
- <? } else { ?>
- <? if ($_GET['logado'] == "sair"){ echo '<META HTTP-EQUIV="Refresh" content="0">'; session_destroy();}?>
- <div id="bg_login">
- <div id="sombra_a" style="float:right; margin-right:14px; margin-top:20px">
- <script>
- function noti(pagina) {
- $("#mostra").load("<?=$site;?>site_pag/soli.php?action=ler");
- $("#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>");
- }
- </script>
- <?php $geral = mysql_num_rows(mysql_query("SELECT * FROM 10cms_notifica WHERE recebe='$_SESSION[usr_name]' AND lido='nao'"));?>
- <div id="mostra" style="position:fixed; z-index:99999999999999;"></div>
- <div id="ler"></div>
- <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>
- <div class="menu-usuarioo">
- <div class="titulo7"> Menu Usuario </div>
- <div style="width:200px; height:60px; float:left; margin-left:11px; margin-top:5px;">
- <a class="login_dentro" href="<?=$site;?>site/menu/postar-topico"><div style="width:99px; float:left">Postar tópico</div></a>
- <a class="login_dentro" href="<?=$site;?>site/menu/gerar-kh"><div style="width:99px; float:left">Gerar Moedas</div></a>
- <a class="login_dentro" href="<?=$site;?>site/menu/mudar-senha"><div style="width:99px; float:left">Mudar senha</div></a>
- <a class="login_dentro" href="http://betasite.hol.es/site/menu/mudar-dados"><div style="width:99px; float:left">Mudar dados</div></a>
- <a class="login_dentro" href="http://betasite.hol.es/site/menu/mudar-assinatura"><div style="width:99px; float:left">Mudar assinatura</div></a>
- <a class="login_dentro" href="<?=$site;?>site/menu/mudar-avatar"><div style="width:99px; float:left">Mudar avatar</div></a>
- <a class="login_dentro" href="#notifica"><div style="width:99px; float:left">Notificacoes</div></a>
- <a class="login_dentro" href="/home/<?=$_SESSION[usr_name];?>">
- <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>
- </div>
- </div>
- <a href="<?=$site;?>voltar"><div id="botao_deslo" style="float:left; margin-top:15px; margin-left:-5px;"></div></a>
- </div>
- <? } ?>
- </div>
- </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement