diff options
author | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2007-06-11 08:24:05 +0000 |
---|---|---|
committer | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2007-06-11 08:24:05 +0000 |
commit | 05c406e1f751ece06a7d54bc636275837f9f0169 (patch) | |
tree | 4bb73b8d560c1ad0d0ff6c14f2607251280ce79b /stats.php | |
parent | 689517e332c874ac09bb41398602622a1fc36af8 (diff) | |
download | ampache-05c406e1f751ece06a7d54bc636275837f9f0169.tar.gz ampache-05c406e1f751ece06a7d54bc636275837f9f0169.tar.bz2 ampache-05c406e1f751ece06a7d54bc636275837f9f0169.zip |
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
Diffstat (limited to 'stats.php')
-rw-r--r-- | stats.php | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -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']); |