<p class="menu">
	<table class="stats-links">
	<tr>
		<td>
			<a href="/stats/new_stats"><?=$this->lang->line('all')?></a>
			<?foreach($filter_simple as $k => $l):?>
			<br />
			<a href="<?=$l?>" id="<?=$k?>"><?=$this->lang->line($k)?></a>
			<?endforeach;?>
		</td>
		<td>
            <?foreach($filter_types as $k => $l):?>
			<a href="<?=$l?>" id="<?=$k?>"><?=$this->lang->line($k)?></a>
			<br />
			<?endforeach;?>
		</td>
	</tr>
	</table>
</p>
<?if($user_num>0):?>
<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>Build</td>
	<td><?=lang('pwd_lbl')?></td>
	<td><?=lang('country_lbl')?></td>
	<td><?=lang('type_lbl')?></td>
</tr>
<?foreach($userstats as $u):?>
<tr>
	<td><?=$u->usID?></td>
	<td><?=$u->usLang?></td>
	<td><?=date('Y-m-d',$u->usDate)?></td>
	<td><?=$u->usBuild?></td>
	<td><?=$u->usPwd?></td>
	<td><?=$u->usCtrName?></td>
	<td><?=$this->mstats->get_typeFromPwd($u->usPwd)?></td>
</tr>
<?endforeach;?>
</table>
<?else:?>
<p>
	<b><?=lang('nores_lbl')?>.</b>
</p>
<?endif;?>