<div class="cl-right">
<div class="s-bk-lf">
	<div class="acc-title">Список пользователей</div>
</div>
<div class="silver-bk">
<p></p>
<table cellpadding='3' cellspacing='0' border='0' bordercolor='#336633' align='center' width="99%">
  <tr bgcolor="#efefef" class="m-tb">
 <td class="m-tb" align="center" width="75">ID</td>
 <td  class="m-tb" align="center">Пользователь</td>
    <td  class="m-tb" align="center">Дата регистрации</td>
	<td  class="m-tb" align="center">Последний вход</td>
  </tr>
<?PHP
	$db->Query("SELECT * FROM `db_users_b` JOIN `db_users_a` USING(id) ORDER BY `insert_sum` DESC LIMIT 100");
	while($view = $db->FetchArray()){
	?>
	<tr class="htt">
	
	 <td align="center"><?=$view["id"]?></td>

		 <td align="center"><?=$view["user"]?></td>
		<td align="center"><?=date("d.m.Y ",$view["date_reg"])?></td>
		<td align="center"><span style="color:green;"><?=date("d.m.Y в H:i",$view["date_login"])?></span></td>
</tr>
	
<?
	}
?>
</tbody>
</table>
</div>
<div class="clr"></div>	
							<br>
							<br>
							</div>
						<div class="clr"></div>
						
						<style>
						
.logo12 {
    background-image: url('/img/logo12.jpg');
    color: #5d3d1d;
    margin: 10px 0px 0px -10px;
    opacity: 0.9;
    height: 202px;
    background-size: 105%;
}
					</style>
