<html lang="pt">
<head>
<meta name="description" content="Lucas Thompson" />
<title>Mu Site - WEB</title><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<? 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."'"));
$char = $_POST['char'];
$VerificaChar = mssql_num_rows(mssql_query("select name from character where name='".$char."' and accountid='".$login."'"));
if($VerificaChar <= 0) { echo "<script>alert('Char incorreto'); 
								location='javascript:history.back()'</script>"; }
?>
</head>

<body>
<table width="510" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td width="30"><img src="imagens/mu.gif" width="30" height="30"></td>
    <td width="480" background="imagens/mu_back.gif">&nbsp;&nbsp;&nbsp;<strong>Distribuir Pontos </strong></td>
  </tr>
</table>
<br>
<br>
<form name="form1" method="post" action="pontos2.php">
  <table width="95%" border="0" cellspacing="2" cellpadding="0">
    <tr>
      <td width="20%">Personagem:</td>
      <td width="80%"><label>
        <input name="char" type="text" id="char" value="<?=$char?>" maxlength="10" readonly="readonly">
      </label></td>
    </tr>
    <tr>
      <td><label>For&ccedil;a:</label></td>
      <td>&nbsp;</td>
    </tr>
    <tr>
      <td>Agilidade:</td>
      <td>&nbsp;</td>
    </tr>
    <tr>
      <td>Vida:</td>
      <td>&nbsp;</td>
    </tr>
    <tr>
      <td>Energia:</td>
      <td>&nbsp;</td>
    </tr>
  </table>
</form>
<br>
<a href="javascript:history.back(-1);">&lt;&lt; voltar
</a>
</body>
</html>
<? } ?>