<p class="menu">
	<table class="stats-links">
	<tr>
		<td>
			<a href="/stats/new_stats_2013"><?=$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>
<p><a href="/stats/new_stats_2013_excel/<?=$filter_str?>">Excel</a></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):?>
<?
// egy nap csak egyszer // (ez már nem kell ?)
if( $elozopwd==$u->usPwd && $elozonap==date('Y-m-d',$u->usDate) )
	continue;
?>
<tr>
	<td><?=$u->usID?></td>
	<td><?=$u->usLang?></td>
	<td><?=$u->datum//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>
<?
$elozopwd = $u->usPwd;
$elozonap = date('Y-m-d',$u->usDate);
?>
<?endforeach;?>
</table>
<?else:?>
<p>
	<b><?=lang('nores_lbl')?>.</b>
</p>
<?endif;?>