Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?
- session_start();
- ?>
- <html>
- <head>
- <Link type="text/css" rel="StyleSheet" href="Style.css">
- </head>
- <body>
- <Div ID="Banner"><Img SRC="images/banner.png" border="0"></Div>
- <Div ID="Login" align="left"><table border="1" width="180">
- <tr><th><Img SRC="images/login32.ico" ID="LogIMG">Login</th></tr>
- <tr><td><center><?
- if (isset($_SESSION["nome"])) {
- echo "Bem Vindo <br />" . $_SESSION["nome"];
- } else { ?>
- <form action="login.php" name="cadastro" method="post">
- Usuário: <input type="text" name="nome"><br>
- Senha: <input type="text" name="senha"><br>
- <input type="submit" value="Logar"><br>
- </form>
- <a href="cadastro.html">Cadastre-se</a>
- <? } ?></center></td></tr>
- </table></Div>
- <Div ID="Container" Align="right">
- <Img SRC="images/news.ico"><H5>News</H5>
- <HR>
- </Div>
- </body>
- </html>
Add Comment
Please, Sign In to add comment