iviniDesigner

Untitled

Jun 16th, 2013
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.80 KB | None | 0 0
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
  2. <html>
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
  5. <link rel="stylesheet" type="text/css" href="estilo.css"/>
  6. <title>Tecnologia</title>
  7. </head>
  8. <body>
  9. <div id="login">
  10.     <!-- verifico se tem algum cookie setado-->
  11.     <?php if(isset($_COOKIE['login'])){?>
  12.     Seja bem vindo,<br> <?=$_COOKIE['login'];?> <a href=sair.php>[Sair]</a> ;
  13.     <?php } else{?>
  14. <form method="post" action="Confirmar_login.php">
  15.  
  16. <div class="input-div" id="input-usuario">
  17. Usuario:
  18. <input type="text" name="login" maxlength="50"></input>
  19.  
  20. Senha:
  21. <input type="password" name="senha" maxlength="50"></input>
  22. </div>
  23.  <input type="submit" value="Entrar" class="botao">
  24.  
  25. </form>
  26. <?php }?>
  27. </div>
Advertisement
Add Comment
Please, Sign In to add comment