Location: PHPKode > projects > @1 File Store > templates/control/loglist.tpl
{include file=header.tpl}
<h1>{$lang.logs}</h1><p>
<p><b>{$LOGPAGE[$CURLOG]}
{if $CURLOG=="D" || $CURLOG=="U"}{/if}
</b></p>
<p>
{foreach item="lname" key="ltype" from=$LOGPAGE}
[
{if $CURLOG==$ltype}
{$lname}
{else}
<a href=?log={$ltype}>{$lname}</a>
{/if}
] &nbsp;
{/foreach}
</p>
{if $CURLOG=="D" || $CURLOG=="U"} 
<table>
<tr>
	<td>
	<fieldset>
	<legend>[ {$lang.statistics} ]</legend>
		<table>
		<tr>
			<td>
{$lang.total} {if $CURLOG=="D"}{$lang.download}{else}{$lang.upload}{/if} {$lang.current_log}: <font color=green>{$stat_total}</font><br />
{if $CURLOG=="D"}
<font color=green>{$stat_pdarchieve}%</font> {$lang.downloaded_at} "{$site_title}"<br />
<font color=green>{$stat_pddl}%</font> {$lang.downloaded_email}
{/if}
<p>
{$lang.total} {if $CURLOG=="D"}{$lang.download}{else}{$lang.upload}{/if} {$lang.in_the_last} 7 {$lang.days}: <font color=green>{$stat_total7d}</font><br />
{$lang.total} {if $CURLOG=="D"}{$lang.download}{else}{$lang.upload}{/if} {$lang.in_the_last} 30 {$lang.days}: <font color=green>{$stat_total30d}</font><p>

{$lang.oldest_record} {if $CURLOG=="D"}{$lang.download}{else}{$lang.upload}{/if} {$lang.log_is} <font color=green>{$stat_oldest}</font> {$lang.days_dated} <font color=green>{$stat_oldestdate}</font>.<br />
{$lang.avg_total} {if $CURLOG=="D"}{$lang.download}{else}{$lang.upload}{/if} {$lang.based_on_last} <font color=green>{$stat_oldest}</font> {$lang.days}: <font color=green>{$stat_avgday}</font> {$lang.per_day} <font color=green>{$stat_avgmonth}</font> {$lang.per_month}
			</td>
		</tr>
		</table>
	</fieldset>
	</td>
</tr>
</table><p>
{/if}
{if $PAGES && count($PAGES.pages)>0}
<p>{$lang.pages}:{include file="pages.tpl" pages="`$PAGES`"}</p>
{/if}
<table class="data">
<tr><td><b>{$lang.user}</b></td><td><b>{$lang.time}</b></td><td><b>{$lang.ip}</b></td><td><b>{$lang.extra_information}</b></td></tr>
{foreach item="logs" from=$logdata}
<tr>
<td>{$logs.real_name}</td>
<td>{$logs.time_rec}</td>
<td>{$logs.ip}</td>
<td>{$logs.extra}</td>

</tr>
{/foreach}
</table>
<p><a href="reset.php?log={$CURLOG}">{$lang.reset} {$LOGPAGE[$CURLOG]}</a></p>
{include file=footer.tpl}
Return current item: @1 File Store