diff options
Diffstat (limited to 'templates/show_admin_info.inc.php')
-rw-r--r-- | templates/show_admin_info.inc.php | 20 |
1 files changed, 13 insertions, 7 deletions
diff --git a/templates/show_admin_info.inc.php b/templates/show_admin_info.inc.php index 2d69c058..b87a7847 100644 --- a/templates/show_admin_info.inc.php +++ b/templates/show_admin_info.inc.php @@ -21,11 +21,18 @@ */ $web_path = conf('web_path'); -/* Setup the needed objects */ +/* Flagged Information Gathering */ $flag = new Flag(); -$flagged = $flag->get_recent('10'); +$flagged = $flag->get_recent(10); $total_flagged = $flag->get_total(); +/* Disabled Information Gathering */ +$catalog = new Catalog(); +$songs = $catalog->get_disabled(10); + +/* User Information */ +$users = $GLOBALS['user']->get_recent(10); + ?> <span class="header1"><?php echo _('Information'); ?></span><br /> <div class="text-box"> @@ -38,9 +45,8 @@ $total_flagged = $flag->get_total(); <span class="header2"><?php echo _('Disabled Songs'); ?></span><br /> <div class="text-box"> <!-- Show Last 10 Disabled Songs --> -</div><br /> -<span class="header2"><?php echo _('User Activity'); ?></span><br /> -<div class="text-box"> - <!-- Show Last 10 Active Users (Bandwidth Usage guess) --> - + <?php require (conf('prefix') . '/templates/show_disabled_songs.inc'); ?> + <div class="text-action"> + <a href="<?php echo $web_path; ?>/admin/catalog.php?action=show_disabled"><?php echo _('Show All'); ?>...</a> + </div> </div> |