public function Manager() { $Users = new UsersModule(); $tmp = $this->__LoadParameters('users'); foreach ($tmp as $key => $value) { $this->{$key} = $value; } $UserGroups = $Users->GetUserGroups(); foreach ($UserGroups as $list) { $NewUserGroups[$list['UserGroupID']] = $list['GroupName']; } $this->UserGroups = $NewUserGroups; if (is_numeric($this->_GET['UserGroupID'])) { $Filters['UserGroupID'] = _intval($this->_GET['UserGroupID'], true); } if (is_numeric($this->_GET['UserStatus'])) { $Filters['UserStatus'] = _intval($this->_GET['UserStatus'], true); } if (trim($this->_GET['UserName'])) { $Filters['UserName'] = trim($this->_GET['UserName']); } $UserList = $Users->GetList($this->_GET['Page'], 10, $Filters); MultiPage($UserList, 10); $this->UserList = $UserList; $MultiPageUrl = UrlRewriteSimple('Users', 'Manager', true); if ($Filters) { foreach ($Filters as $key => $value) { $MultiPageUrl .= '&' . $key . '=' . $value; } } $this->MultiPageUrl = $MultiPageUrl; }