📄 tpl_stats.php
字号:
<!-- tpl_stats.php -->
<h1>Uploader Statistics</h1>
<table id="stats_tbl" cellspacing="1" cellpadding="7" border="0" style="width:100%; margin-top:10px; color:#606060;">
<tr skip_alternate="skip_alternate" style="background-color:#eaeaea;color:black;">
<td colspan="2">Users</td>
</tr>
<tr>
<td style="width: 200px;">Registered users</td>
<td>
<?=$stats['users_count']?> users.
<?php if ( $stats['users_count'] ) : ?>The newest user is <a href="<?=$stats['newest_user_url']?>"><?=$stats['newest_user_name']?></a><?php endif; ?>
</td>
</tr>
</table>
<table id="stats_tbl2" cellspacing="1" cellpadding="7" border="0" style="width:100%; margin-top:10px; color:#606060;">
<tr skip_alternate="skip_alternate" style="background-color:#eaeaea;color:black;">
<td colspan="2">Files and bandwidth</td>
</tr>
<tr>
<td style="width: 200px;">Users bandwidth usage</td>
<td>
<?=$stats['total_bandwidth_used']?> total. Highest usage by <a href="<?=$stats['highest_bw_userinfo']?>"><?=$stats['highest_bw_username']?></a> with <?=$stats['highest_bw_value']?>.
</td>
</tr>
<tr>
<td>Userfiles folder</td>
<td>
<?=$stats['userfiles_stats']['file_count']?> files,
<?=$stats['userfiles_stats']['folder_count']?> folders,
<?=$stats['userfiles_stats']['file_size']?> total.
</td>
</tr>
</table>
<script type="text/javascript">
alternateRowColor(getObj('stats_tbl'),'tr','#fafafa','#f5f5f5');
alternateRowColor(getObj('stats_tbl2'),'tr','#fafafa','#f5f5f5');
</script>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -