Guest User

Untitled

a guest
Jun 21st, 2018
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.82 KB | None | 0 0
  1. <?
  2. session_start();
  3. ?>
  4. <html>
  5. <head>
  6. <Link type="text/css" rel="StyleSheet" href="Style.css">
  7. </head>
  8. <body>
  9. <Div ID="Banner"><Img SRC="images/banner.png" border="0"></Div>
  10. <Div ID="Login" align="left"><table border="1" width="180">
  11. <tr><th><Img SRC="images/login32.ico" ID="LogIMG">Login</th></tr>
  12. <tr><td><center><?
  13. if (isset($_SESSION["nome"])) {
  14. echo "Bem Vindo <br />" . $_SESSION["nome"];
  15. } else { ?>
  16. <form action="login.php" name="cadastro" method="post">
  17. Usuário: <input type="text" name="nome"><br>
  18. Senha: <input type="text" name="senha"><br>
  19. <input type="submit" value="Logar"><br>
  20. </form>
  21. <a href="cadastro.html">Cadastre-se</a>
  22. <? } ?></center></td></tr>
  23. </table></Div>
  24. <Div ID="Container" Align="right">
  25. <Img SRC="images/news.ico"><H5>News</H5>
  26. <HR>
  27. </Div>
  28. </body>
  29. </html>
Add Comment
Please, Sign In to add comment