	
<?
$page = 'Пользователи онлайн';
?>
<script type="text/javascript">
jQuery(document).ready(function(){
setInterval("jQuery('#loadA').load('#div #loadB');",5000); //У меня интервал обновления блока - минута
});
</script>

<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%">
  <tbody><tr bgcolor="#efefef" class="m-tb">
 <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) ");
	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 в H:i",$view["date_login"])?></td>
</tr>
<? 
$i++;
} ?>
</table>
<BR />
<BR /><center>&laquo; [1] <a href="/online/2" class='stn'>2</a>  <a href="/online/2" class='stn'>&raquo;</a></center></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>