<?php
session_start();
session_name('sistema');

if ($_SESSION['validacao'] == 1)
{
?>
Seja bem vindo <b><?php echo $_SESSION['usuario']; ?></b> a Pagina restrita
<br>
<a href="deslogar.php">Deslogar</a>

<?php
}
else
{ echo "nao deu";
}

echo "<a href=index.html>VOLTAR</a>";

?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
</head>

<body background="imagens/fundo.gif">
<div align="center">
<p><a href="index.html"><img src="imagens/internacional1.gif" width="903" height="185" alt="internacional" /></a></p>
<p><a href="secreta.php"><img src="imagens/inicio.gif" width="107" height="39" alt="incio" /></a><a href="secreta2.php"><img src="imagens/noticias.gif" width="179" height="39" alt="noticias" /></a><a href="secreta3.php"><img src="imagens/historia.gif" width="112" height="39" alt="historia" /></a><a href="secreta4.php"><img src="imagens/titulos.gif" width="104" height="39" alt="titulos" /></a><a href="secreta5.php"><img src="imagens/elenco.gif" width="106" height="39" alt="elenco" /></a><a href="secreta6.php"><img src="imagens/jogos.gif" width="177" height="39" alt="jogos" /></a><a href="secreta7.php"><img src="imagens/contato.gif" width="115" height="39" alt="contato" /></a>
</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<div align="center"><h1>Cadastro</h1></div><br>


<form method="post" name="form1" action="resposta.html" target="iframe">
<table border="0" width="600" align="center">

<tr>
<td width="150" align="right">Nome completo:</td> <td width="150"><input type="text" name="Nome" size="30" maxlength="50"></td>
</tr><tr>
<td width="150" align="right">Login:</td> <td><input type="text" name="login" size="30" maxlength="10"></td> 
</tr><tr>
<td width="150" align="right">Senha:</td> <td><input type="password" name="Senha" size="10" maxlength="10">(At� 10 caracteres)</td>
</tr><tr>
<td width="150" align="right">Confirmar Senha:</td> <td><input type="password" name="Senha" size="10" maxlength="10"></td>
</tr><tr>
<td align="right">E-mail:</td> <td><input type="text" name="email" size="30" maxlength="50"></td>
</tr><tr>
<td align="right">Confirme seu E-mail:</td> <td><input type="text" name="email" size="30" maxlength="50"></td>
</tr><tr>
<td align="right">Gostaria de receber informa��es de nosso site em seu E-mail?</td>
<td><input type="radio" name="anime" value="sim">Sim
<input type="radio" name="anime" value="sim">N�o</td>
</tr><tr>

<td align="right">Deixe um Recado:</td>
<td><p>
  <label for="recado"></label>
  <textarea name="recado" id="recado" cols="45" rows="5"></textarea>
</p></td>
</tr>
</table>
<table width="599" border="0">
  <tr>
    <td width="170">&nbsp;</td>
    <td width="419"><input type="reset" value="Limpar campos" />
      <a href="secreta8.php">
      <input type="submit" value="Enviar" />
      </a></td>
  </tr>
</table>
<p>&nbsp;</p>
</form>
<p>&nbsp;</p>
<p>&nbsp;</p>
<table width="900" border="0">
    <tr>
      <td><img src="imagens/rodape.gif" width="900" height="133" alt="rodape" /></td>
    </tr>
  </table>
</div>
</body>
</html>
<?php
?>