<p class="menu">
	<a href="/stats/old_stats"><?=$this->lang->line('all')?></a>
	<?foreach($links as $k => $l):?>
	<br />
	<a href="<?=$l?>" id="<?=$k?>"><?=$this->lang->line($k)?></a>
	<?endforeach;?>
</p>
<p>
	<b>
	<?=lang('numofres_lbl')?>:&nbsp;
	<?=$user_num;?>
	</b>
</p>
<table>
<tr>
	<td>ID</td>
	<td><?=lang('lang_lbl')?></td>
	<td><?=lang('date_lbl')?></td>
	<td><?=lang('version_lbl')?></td>
	<td><?=lang('country_lbl')?></td>
	<td>IP</td>
</tr>
<?foreach($userstats as $u):?>
<tr>
	<td><?=$u->usID?></td>
	<td><?=$u->usLang?></td>
	<td><?=date('Y-m-d H:i:s',$u->usDate)?></td>
	<td><?=$u->usVer?></td>
	<td><?=$u->usCtr?></td>
	<td><?=$u->usIP?></td>
</tr>
<?endforeach;?>
</table>