summaryrefslogtreecommitdiffstats
path: root/stats.php
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2009-03-02 01:39:10 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2009-03-02 01:39:10 +0000
commit7a529eeb8af2b1d61e0d82066d9a6aa36e02c09f (patch)
treecafd383d330cd5e0e643a0593ac7e867ca7b4dd8 /stats.php
parenta313222ab7b51df79469c6082a856463248006e9 (diff)
downloadampache-7a529eeb8af2b1d61e0d82066d9a6aa36e02c09f.tar.gz
ampache-7a529eeb8af2b1d61e0d82066d9a6aa36e02c09f.tar.bz2
ampache-7a529eeb8af2b1d61e0d82066d9a6aa36e02c09f.zip
move around stats information and split it up, tweak quicktime tag detection
Diffstat (limited to 'stats.php')
-rw-r--r--stats.php9
1 files changed, 7 insertions, 2 deletions
diff --git a/stats.php b/stats.php
index cdd7b9e9..29f63b6e 100644
--- a/stats.php
+++ b/stats.php
@@ -46,9 +46,14 @@ switch ($_REQUEST['action']) {
break;
// Show stats
+ case 'newest':
+ require_once Config::get('prefix') . '/templates/show_newest.inc.php';
+ break;
+ case 'popular':
+ require_once Config::get('preifx') . '/templates/show_popular.inc.php';
+ break;
+ case 'show':
default:
- // Global stuff first
- $stats = Catalog::get_stats();
require_once Config::get('prefix') . '/templates/show_stats.inc.php';
break;
} // end switch on action