1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-12 01:25:01 +02:00

Online Menu upgrades.

This commit is contained in:
Cameron
2016-04-28 13:17:36 -07:00
parent 501514b06f
commit 3a74aea669
10 changed files with 469 additions and 217 deletions

View File

@@ -321,8 +321,20 @@ class e_online
}
function userList()
function userList($debug=false)
{
if($debug === true)
{
//print_a($this->users);
$data = e107::getDb()->retrieve('user', 'user_id,user_name,user_image, 1 as user_active, CONCAT_WS(".",user_id,user_name) as online_user_id', "LIMIT 7", true);
// print_a($data);
return $data;
}
return $this->users;
}