<? require 'header.php'; ?>
<div id="leftcolumn">
<fieldset width=400px>
<div id="fieldheader"><center>.::<font color='#FF0000'>Список нарушителей</font>::.</center></div>
<br>
<br>  
<table>  
<table align="center" style="border-collapse: collapse; color:#000; border:1px solid #ccc; text-align:center;" width="100%" border="1" cellspacing="1" cellpadding="1">
<tr>  
<th>№</th>  
<th>Имя пользователя</th> 
<th>Ip</th>
<th>Причина</th>    
</tr>  
<?  
$tabla = mysql_query("SELECT * FROM tb_users WHERE user_status = 'ban'");  
while ($registro = mysql_fetch_array($tabla))  
{  
?>  
<tr>  
<td><?=$registro["id"] ?></td>  
<td><?=$registro["username"] ?></td> 
<td><?=$registro["ip"] ?></td> 
<td>100% АвтоКликер</td>
<?  
}  
?>
</table>  
</center>
<table>  
<tr>  
<th>№</th>  
<th>Имя пользователя</th> 
<th>Второй логин</th> 
<th></th>  
</tr>  
<?  
$tabla = mysql_query("SELECT * FROM tb_users WHERE blockpay = '1'");  
while ($registro = mysql_fetch_array($tabla))  
{  
?>  
<tr>  
<td><?=$registro["id"] ?></td>  
<td><?=$registro["username"] ?></td> 
<td><?=$registro["lastuser"] ?></td> 

</fieldset>
<!--footer starts here-->
<? include('footer.php'); ?>