<?php 
if(!isset($_SESSION["logado"]) == 1) {
	exit('<div class="box_conteudo">Voc&ecirc; n&atilde;o pode acessar esta p&aacute;gina</div>');
}
else{
$vip = mssql_fetch_row(mssql_query("select ".colum_vip." from memb_info where memb___id='".$_SESSION["login"]."'"));
if($vip[0] < comprar_vip) {
	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 class="top-title" style="width: 100%;">
     
    </div>
</div>
<div class="match-list-wrap">
<br />
<br />


<table width="100%" border="0" cellspacing="2" cellpadding="2">
  <tr>
    <td width="19%" align="right" style="color: #FFF">Plano:</td>
    <td width="81%"><label>
      <select name="cvip_plano" id="cvip_plano">
      <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>
      <select name="cvip_dias" id="cvip_dias">
      <option value="">Selecione</option>
      <option value="30">30</option>
      <option value="60">60</option>
      <option value="90">90</option>
      </select>
    </label></td>
    </tr>
  <tr>
    <td align="right" style="color: #FFF">&nbsp;</td>
    <td><label>
      <input type="submit" name="comprar" id="comprar" onclick="loading('?go=vip&comprar=true'+'&cvip_plano='+document.getElementById('cvip_plano').value+'&cvip_dias='+document.getElementById('cvip_dias').value, 'cvip');" value="Comprar vip" />
    </label><div id="cvip" style="color:#FFF"></div><br /></td>
    </tr>
</table>


<br />
<br />
<br />
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td bgcolor="#333333" style="color: #FFF"><div align="center"><strong>Plano</strong></div></td>
    <td bgcolor="#333333" style="color: #FFF"><div align="center"><strong>30 dias</strong></div></td>
    <td bgcolor="#333333" style="color: #FFF"><div align="center"><strong>60 dias</strong></div></td>
    <td bgcolor="#333333" style="color: #FFF"><div align="center"><strong>90 dias</strong></div></td>
  </tr>
  <tr>
    <td style="color: #CCC"><div align="center"><?php echo vip1_nome; ?></div></td>
    <td style="color: #CCC"><div align="center"><?php echo $VIP1[0]; ?> <?php echo moeda2_nome; ?></div></td>
    <td style="color: #CCC"><div align="center"><?php echo $VIP1[1]; ?> <?php echo moeda2_nome; ?></div></td>
    <td style="color: #CCC"><div align="center"><?php echo $VIP1[2]; ?> <?php echo moeda2_nome; ?></div></td>
  </tr>
  <tr>
    <td style="color: #CCC"><div align="center"><?php echo vip2_nome; ?></div></td>
    <td style="color: #CCC"><div align="center"><?php echo $VIP2[0]; ?> <?php echo moeda2_nome; ?></div></td>
    <td style="color: #CCC"><div align="center"><?php echo $VIP2[1]; ?> <?php echo moeda2_nome; ?></div></td>
    <td style="color: #CCC"><div align="center"><?php echo $VIP2[2]; ?> <?php echo moeda2_nome; ?></div></td>
  </tr>
</table><br />
<br />

</div>

<div class="box_conteudo">

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