summaryrefslogtreecommitdiffstats
path: root/stats.php
diff options
context:
space:
mode:
Diffstat (limited to 'stats.php')
-rw-r--r--stats.php7
1 files changed, 6 insertions, 1 deletions
diff --git a/stats.php b/stats.php
index 49b486bf..63fa4f3a 100644
--- a/stats.php
+++ b/stats.php
@@ -24,10 +24,15 @@
*/
require_once 'lib/init.php';
-require_once Config::get('prefix') . '/templates/header.inc.php';
+show_header();
/* Switch on the action to be performed */
switch ($_REQUEST['action']) {
+ // Show a Users "Profile" page
+ case 'show_user':
+ $client = new User($_REQUEST['user_id']);
+ require_once Config::get('prefix') . '/templates/show_user.inc.php';
+ break;
case 'user_stats':
/* Get em! */
$working_user = new User($_REQUEST['user_id']);