View file modules/padmin/views/index/stats.php

File size: 1.14Kb
<div class="title">
	<b><?=Lang::get('padmin_stats_info', 'padmin'); ?></b>
</div>
<div class="menu">
	<b><?=Lang::get('padmin_stats_last_users', 'padmin'); ?></b>:<br/>
	<?php foreach($users as $user): ?>
		<a href="/user/profile-<?=$user['id']; ?>"><?=User::tnick($user['id']); ?></a>, 
	<?php endforeach; ?>
</div>
<div class="menu">
	<b><?=Lang::get('padmin_stats_all_logined', 'padmin'); ?></b>: <?=$all; ?>
</div>
<div class="menu">
	<b><?=Lang::get('padmin_stats_last_regs', 'padmin'); ?></b>:<br/>
	<?php foreach($regs as $reg): ?>
		<a href="/user/profile-<?=$reg['id']; ?>"><?=User::tnick($reg['id']); ?></a>, 
	<?php endforeach; ?>
</div>
<!--
<div class="menu">
	<b><?=Lang::get('padmin_stats_guests', 'padmin'); ?></b>:<br/>
	<?php foreach($guests as $guest): ?>
		<?=$guest['ip']; ?> [<?=$guest['browser'];?>] - <a href="<?=$guest['from']; ?>"><?=$guest['from']; ?></a><br/> 
	<?php endforeach; ?>
</div>
-->
<div class="block">
	<?=System::image('back.png'); ?> <a href="/padmin/index"><?=Lang::get('padmin_title', 'padmin'); ?></a><br/>
	<?=System::image('back.png'); ?> <a href="/"><?=Lang::get('mainpage'); ?></a>
</div>