added user stat to user list
This commit is contained in:
@@ -50,8 +50,12 @@ if ($this->is_id()) {
|
||||
}
|
||||
else {
|
||||
# TAG LISTA
|
||||
$activeUserCount = $sql->single_variable("SELECT count(DISTINCT uk_id) FROM user_kid WHERE uk_deleted = 0 AND uk_is_active = 1");
|
||||
$passiveUserCount = $sql->single_variable("SELECT count(DISTINCT uk_id) FROM user_kid WHERE uk_deleted = 0 AND uk_is_active = 0");
|
||||
|
||||
$smarty->assign('edit', $tpl == "edit");
|
||||
$smarty->assign('activeUserCount',$activeUserCount);
|
||||
$smarty->assign('passiveUserCount',$passiveUserCount);
|
||||
$smarty->display('user_list.tpl');
|
||||
//var_dump($user_array);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user