added user stat to user list
This commit is contained in:
1 parent
eb263ef213
commit
ce25f41a44
3 files changed
+23
-5
No files matched your search
@@ -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