blob: 80475bc2f19848b06023861f463094e74d3ac4ef (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
<div class="floaticon">{bithelp}</div>
<div class="display statistics">
<div class="header">
<h1>{tr}User Registration Statistics{/tr}</h1>
{minifind}
</div>
<div class="body">
<table class="data">
<caption>{tr}User Registration Statistics{/tr}</caption>
{foreach from=$referers key=host item=reg}
{assign var=hostHash value=$host|md5}
<tr>
<th style="width:5%;">{$reg|@count}</th>
<th><div class="floaticon"> [{math equation="round((x / y) * 100)" x=$reg|@count y=$totalRegistrations}% ] <a href="{$smarty.server.PHP_SELF}?period={$smarty.request.period}&find={$host|escape}">{biticon iname='appointment-new'}</a>{biticon iname='folder-saved-search' onclick="BitBase.toggleElementDisplay('`$hostHash`','table-row-group');"}</div> <div style="width:{math equation="round( ( r / m ) * 100 )" r=$reg|@count m=$maxRegistrations}%; background:#f80;padding:0 0 0 5px;">{$host|escape}</div></th>
</tr>
<tbody id="{$hostHash}" style="display:none">
{foreach from=$reg key=userId item=user}
<tr class="{cycle values='odd,even'}">
<td colspan="2"><strong style="font-size:larger">{displayname hash=$user}</strong>{if $user.referer_url}<br/><a href="{$user.referer_url|escape}">{$user.referer_url|stats_referer_display_short}</a>{/if}</td>
</tr>
{/foreach}
</tbody>
{foreachelse}
<tr class="norecords"><td colspan="3">{tr}No records found{/tr}</td></tr>
{/foreach}
</table>
</div> <!-- end .body -->
{include file="bitpackage:kernel/pagination.tpl"}
</div> <!-- end .statistics -->
|