$page = $mybb->get_input('page', MyBB::INPUT_INT); if($page && $page > 0) {
|
$page = $mybb->get_input('page', MyBB::INPUT_INT); if($page && $page > 0) {
|
$page = 1; } $multipage = multipage($numusers, $perpage, $page, "managegroup.php?gid=".$gid);
|
$page = 1; } $multipage = multipage($numusers, $perpage, $page, "managegroup.php?gid=".$gid);
|
| switch($db->type) { case "pgsql": case "sqlite": $query = $db->simple_select("users", "*", "','||additionalgroups||',' LIKE '%,{$gid},%' OR usergroup='{$gid}'", array('order_by' => 'username', 'limit' => $perpage, 'limit_start' => $start)); break; default: $query = $db->simple_select("users", "*", "CONCAT(',',additionalgroups,',') LIKE '%,{$gid},%' OR usergroup='{$gid}'", array('order_by' => 'username', 'limit' => $perpage, 'limit_start' => $start)); }
|