<?php 
if(!isset($_SESSION["logado"]) == 1) {
	exit('<div class="box_conteudo">Voc&ecirc; n&atilde;o pode acessar esta p&aacute;gina</div>');
}
else{
$cargo = mssql_fetch_row(mssql_query("select cargo from ct_equipe where login='".$_SESSION["login"]."'"));
if($cargo[0] < 2) {
	exit('<div class="box_conteudo">Voc&ecirc; n&atilde;o tem benef&iacute;cio para acessar esta p&aacute;gina</div>');
}
else{
?>
<!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>
<div class="about-team-page-top-wrap" style="padding-bottom: 0px; margin-top: -5px;">
    
</div>
<div class="match-list-wrap">
<br />
<br />


<table width="100%" border="0" cellspacing="2" cellpadding="2">
  <tr>
    <td width="18%" align="right" style="color: #FFF">Conta:</td>
    <td width="82%"><label>
      <input type="text" name="addvip_conta" id="addvip_conta" />
    </label></td>
  </tr>
  <tr>
    <td align="right" style="color: #FFF">Tipo:</td>
    <td><label>
      <select name="addvip_tipo" id="addvip_tipo">
      <option value="">Selecione</option>
      <option value="1"><?php echo vip1_nome; ?></option>
      <option value="2"><?php echo vip2_nome; ?></option>
      </select>
    </label></td>
  </tr>
  <tr>
    <td align="right" style="color: #FFF">Dias:</td>
    <td><label>
      <input type="text" name="addvip_dias" onkeypress="return SomenteNumero(event)" id="addvip_dias" />
    </label></td>
  </tr>
  <tr>
    <td align="right" style="color: #FFF">&nbsp;</td>
    <td><label>
      <input type="submit" name="addvip" id="addvip" onclick="loading('?go=vip&add=true'+'&addvip_conta='+document.getElementById('addvip_conta').value+'&addvip_tipo='+document.getElementById('addvip_tipo').value+'&addvip_dias='+document.getElementById('addvip_dias').value, 'add');" value="Adicionar vip" />
    </label><br />
<br />
<div id="add" style="color:#FFF"></td>
  </tr>
</table></div><br />

</div>

</body>
</html>
<? }} ?>