Add more stats to the front page table

Signed-off-by: Dan McGee <dan@archlinux.org>
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
This commit is contained in:
Dan McGee 2011-03-30 20:48:11 -05:00 committed by Lukas Fleischer
parent 79ce38d271
commit 2005a2889c
2 changed files with 34 additions and 4 deletions

View file

@ -3,13 +3,29 @@
<th colspan='2' class='boxSoftTitle'><span class='f3'><?php print __("Statistics") ?></span></th>
</tr>
<tr>
<td class='boxSoft'><span class='f4'><?php print __("Packages in unsupported"); ?></span></td>
<td class='boxSoft'><span class='f4'><?php print __("Packages"); ?></span></td>
<td class='boxSoft'><span class='f4'><?php print $unsupported_count; ?></span></td>
</tr>
<tr>
<td class='boxSoft'><span class='f4'><?php print __("Packages added or updated in the past 7 days"); ?></span></td>
<td class='boxSoft'><span class='f4'><?php print __("Orphan Packages"); ?></span></td>
<td class='boxSoft'><span class='f4'><?php print $orphan_count; ?></span></td>
</tr>
<tr>
<td class='boxSoft'><span class='f4'><?php print __("Packages added in the past 7 days"); ?></span></td>
<td class='boxSoft'><span class='f4'><?php print $add_count; ?></span></td>
</tr>
<tr>
<td class='boxSoft'><span class='f4'><?php print __("Packages updated in the past 7 days"); ?></span></td>
<td class='boxSoft'><span class='f4'><?php print $update_count; ?></span></td>
</tr>
<tr>
<td class='boxSoft'><span class='f4'><?php print __("Packages updated in the past year"); ?></span></td>
<td class='boxSoft'><span class='f4'><?php print $update_year_count; ?></span></td>
</tr>
<tr>
<td class='boxSoft'><span class='f4'><?php print __("Packages never updated"); ?></span></td>
<td class='boxSoft'><span class='f4'><?php print $never_update_count; ?></span></td>
</tr>
<tr>
<td class='boxSoft'><span class='f4'><?php print __("Registered Users"); ?></span></td>
<td class='boxSoft'><span class='f4'><?php print $user_count; ?></span></td>