<? session_start();
include 'cnn.php';
include 'estilo.css';
include 'configs/conf_extras.php';
include 'configs/conf_reset.php';
@$login = $_SESSION['login'];
@$senha = $_SESSION['senha'];
if(!isset($_SESSION['login'])) { echo "Para acessar essa pagina é preciso esta logado!"; }
else{
$vip=mssql_fetch_row(mssql_query("select vip from MEMB_INFO where memb___id='".$login."'"));
?><!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" />
<link rel="stylesheet" href="_inc/buscando.css" type="text/css" />
<title><?=$titulosite?></title>
<style type="text/css">
<!--
body {
	background-color: #B4B6C9;
}
.style2 {
	color: #FF6600;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
}
.style3 {
	color: #FF6600
}
-->
</style></head>

<body>
<p>&nbsp;</p><table width='250' border='0' align='center' background="../imagens/bg2.jpg" class='text'>
<tr> 
			<td colspan='2'><br> <b> 
			  <center>
				Dados Pessoais 
			  </center>
			  </b> <br> <br> </td>
		  </tr>
		  <form name='form_alterar_dados_pessoais' method='post' action='alt.php'>
		  <tr>
			<td width='52%'>Nome do Usuário </td>
			<td width='48%'><input name='alt_nome' class='input03' type='text' id='alt_nome' value='$dados_login[memb_name]'></td>
		  </tr>
		  <tr> 
			<td>Telefone </td>
			<td><input name='alt_tel' class='input03' type='text' id='alt_tel' value='$dados_login[tel__numb]'></td>
		  </tr>
		  <tr> 
			<td>E-Mail </td>
			<td><input name='alt_email' class='input03' type='text' id='alt_email' value='$dados_login[mail_addr]'></td>
		  </tr>
		  <tr> 
			<td colspan='2'><br><div align='center'> 
				<input src='_img/bt_prosseguir.jpg' type='image' name='Submit' value='Alterar'>
			  </div></td>
		  </tr>
		  </form>
		  <tr> 
			<td colspan='2'><br> <b> 
			  <center>
				Senha 
			  </center>
			  </b> <br> <br></td>
		  </tr>
		  <form name='form_alterar_senha' method='post' action='alt2'>
		  <tr> 
			<td>Antiga Senha</td>
			<td><input name='alt_senha00' class='input03' type='password' id='alt_senha00'></td>
		  </tr>
		  <tr> 
			<td>Nova Senha</td>
			<td><input name='alt_senha01' class='input03' type='password' id='alt_senha01'></td>
		  </tr>
		  <tr> 
			<td>Pergunta Secreta</td>
			<td>$dados_login[fpas_ques]</td>
		  </tr>
		  <tr> 
			<td>Resposta Secreta</td>
			<td><input name='alt_fpas_answ' class='input03' type='password' id='alt_fpas_answ'></td>
		  </tr>
		  <tr> 
			<td colspan='2'><br> <div align='center'> 
				<input src='_img/bt_prosseguir.jpg' type='image' name='Submit' value='Alterar'>
			  </div></td>
		  </tr>
		  </form>
		</table>
<p>&nbsp;</p>
<p>&nbsp;</p>
</body>
</html>