From 05c406e1f751ece06a7d54bc636275837f9f0169 Mon Sep 17 00:00:00 2001 From: Karl 'vollmerk' Vollmer Date: Mon, 11 Jun 2007 08:24:05 +0000 Subject: added in user profile, did a little work on the preferences and session, something is fishy with session and tmp_playlist stuff will look into it tomorrow --- stats.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'stats.php') 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']); -- cgit