XOOPS 2.5.6  Final
 All Classes Namespaces Files Functions Variables Pages
findusers.php File Reference

Go to the source code of this file.

Classes

class  XoopsRank
 
class  XoopsRankHandler
 
class  XoUser
 
class  XoUserHandler
 

Namespaces

namespace  kernel
 

Variables

 $denied = true
 
 $foundusers = array()
 
 $items_match
 
 $items_range
 
 $limit = empty($_POST['limit']) ? 50 : intval($_POST['limit'])
 
 $modes
 
 $name_form = 'memberslist'
 
 $name_userid = 'uid' . (!empty($_REQUEST['multiple']) ? '[]' : '')
 
 $name_username = 'uname' . (!empty($_REQUEST['multiple']) ? '[]' : '')
 
 $rank_handler = new XoopsRankHandler($xoopsDB)
 
 $result = $xoopsDB->query($sql_count)
 
 $sql_count = "SELECT COUNT(DISTINCT " . (empty($alias) ? "" : $alias . ".") . "uid) FROM " . $subquery
 
 $start = intval(@$_POST['start'])
 
 $subquery = $xoopsDB->prefix("users")
 
if(!empty($_REQUEST['token']))
else if(is_object($xoopsUser)&&$xoopsUser->
isAdmin()) if($denied) 
$token = isset($_REQUEST['token']) ? $_REQUEST['token'] : ''
 
 $user_handler = new XoUserHandler($xoopsDB)
 
if(empty($_POST["user_submit"])) else
 
const FINDUSERS_MODE_ADVANCED 1
 
const FINDUSERS_MODE_QUERY 2
 
const FINDUSERS_MODE_SIMPLE 0
 
 while ($myrow=$xoopsDB->fetchArray($result))
 

Variable Documentation

$denied = true

Definition at line 23 of file findusers.php.

$foundusers = array()

Definition at line 611 of file findusers.php.

$items_match
Initial value:
= array(
'uname' => _MA_USER_UNAME ,
'name' => _MA_USER_REALNAME ,
'email' => _MA_USER_EMAIL ,
'user_icq' => _MA_USER_ICQ ,
'user_aim' => _MA_USER_AIM ,
'user_yim' => _MA_USER_YIM ,
'user_msnm' => _MA_USER_MSNM)

Definition at line 333 of file findusers.php.

$items_range
Initial value:
= array(
'user_regdate' => _MA_USER_RANGE_USER_REGDATE ,
'last_login' => _MA_USER_RANGE_LAST_LOGIN ,

Definition at line 342 of file findusers.php.

$limit = empty($_POST['limit']) ? 50 : intval($_POST['limit'])

Definition at line 479 of file findusers.php.

Referenced by b_system_newmembers_show(), b_system_topposters_show(), XoopsModelRead\getAll(), XoopsOnlineHandler\getAll(), XoUserHandler\getAll(), XoopsComments\getAllComments(), XoopsCommentHandler\getByItemId(), XoopsModelRead\getByLimit(), XoopsPersistableObjectHandler\getByLimit(), XoopsModelJoint\getByLink(), XoopsConfigItemHandler\getCount(), XoopsModelStats\getCounts(), XoopsModelRead\getIds(), CriteriaElement\getLimit(), XoopsModelRead\getList(), XoopsRankHandler\getList(), XoopsPersistableObjectHandler\getList(), XoopsImagesetHandler\getObjects(), XoopsConfigCategoryHandler\getObjects(), XoopsGroupHandler\getObjects(), XoopsImagesetimgHandler\getObjects(), XoopsConfigOptionHandler\getObjects(), XoopsGroupPermHandler\getObjects(), XoopsTplsetHandler\getObjects(), XoopsPrivmessageHandler\getObjects(), XoopsAvatarHandler\getObjects(), XoopsImageHandler\getObjects(), XoopsImagecategoryHandler\getObjects(), SystemBlockHandler\getObjects(), XoopsNotificationHandler\getObjects(), XoopsConfigItemHandler\getObjects(), XoopsTplfileHandler\getObjects(), XoopsMembershipHandler\getObjects(), XoopsCommentHandler\getObjects(), XoopsBlockHandler\getObjects(), XoopsModuleHandler\getObjects(), XoopsMemberHandler\getUsersByGroup(), XoopsMembershipHandler\getUsersByGroup(), XoopsMemberHandler\getUsersByGroupLink(), ProtectorMySQLDatabase\query(), XoopsMySQLDatabaseSafe\query(), XoopsMySQLDatabaseProxy\query(), XoopsMySQLDatabase\queryF(), XoopsModule\search(), ProfileProfileHandler\search(), and XoopsFormSelectUser\XoopsFormSelectUser().

$name_form = 'memberslist'

Definition at line 37 of file findusers.php.

$name_userid = 'uid' . (!empty($_REQUEST['multiple']) ? '[]' : '')

Definition at line 38 of file findusers.php.

$name_username = 'uname' . (!empty($_REQUEST['multiple']) ? '[]' : '')

Definition at line 39 of file findusers.php.

$rank_handler = new XoopsRankHandler($xoopsDB)

Definition at line 330 of file findusers.php.

$result = $xoopsDB->query($sql_count)

Definition at line 608 of file findusers.php.

Referenced by HTMLPurifier_URIFilter_MakeAbsolute\_collapseStack(), HTMLPurifier_Injector_AutoParagraph\_pLookAhead(), HTMLPurifier_Injector_AutoParagraph\_splitText(), HTMLPurifier_DefinitionCache_Serializer\_write(), XoopsAvatarHandler\addUser(), POP3\Authorise(), b_system_info_show(), b_system_waiting_show(), bannerstats(), change_banner_url_by_client(), Protector\check_brute_force(), Protector\check_dos_attack(), SystemMaintenance\CheckRepairAnalyzeOptimizeQueries(), XoopsModelSync\cleanOrphan(), SystemMaintenance\CleanSession(), XoopsCacheXcache\clear(), XoopsModelRead\convertResultSet(), HTMLPurifier_Encoder\convertToASCIIDumbLossless(), SystemBlockHandler\countSimilarBlocks(), XoopsBlock\countSimilarBlocks(), db_manager\createDB(), PHPMailer\CreateHeader(), XoopsComments\delete(), XoopsImagesetHandler\delete(), XoopsConfigCategoryHandler\delete(), XoopsGroupHandler\delete(), XoopsImagesetimgHandler\delete(), XoopsConfigOptionHandler\delete(), XoopsGroupPermHandler\delete(), XoopsTplsetHandler\delete(), XoopsStory\delete(), XoopsPrivmessageHandler\delete(), XoopsAvatarHandler\delete(), XoopsImageHandler\delete(), XoopsImagecategoryHandler\delete(), XoopsNotificationHandler\delete(), XoopsModelWrite\delete(), XoopsConfigItemHandler\delete(), XoopsTplfileHandler\delete(), XoopsMembershipHandler\delete(), XoopsCommentHandler\delete(), XoopsBlockHandler\delete(), XoopsModuleHandler\delete(), XoopsGroupPermHandler\deleteAll(), XoopsNotificationHandler\deleteAll(), XoopsMembershipHandler\deleteAll(), XoopsCommentHandler\deleteAll(), XoopsOnlineHandler\destroy(), XoopsSessionHandler\destroy(), SystemMaintenance\displayTables(), HTMLPurifier_URIScheme_data\doValidate(), SystemMaintenance\dump_table_datas(), SystemMaintenance\dump_table_structure(), EmailStats(), HTMLPurifier_VarParser_Native\evalExpression(), HTMLPurifier_Strategy_RemoveForeignElements\execute(), HTMLPurifier_Strategy_FixNesting\execute(), HTMLPurifier_Lexer\extractBody(), XoopsMySQLDatabase\fetchArray(), XoopsMySQLDatabase\fetchBoth(), XoopsMySQLDatabase\fetchObject(), XoopsMySQLDatabase\fetchRow(), HTMLPurifier_URIDefinition\filter(), XoopsTplfileHandler\forceUpdate(), HTMLPurifier_Injector\forwardUntilEndToken(), XoopsMySQLDatabase\freeRecordSet(), XoopsImagesetHandler\get(), XoopsConfigCategoryHandler\get(), XoopsImagesetimgHandler\get(), XoopsGroupHandler\get(), XoopsConfigOptionHandler\get(), XoopsRankHandler\get(), SystemAvatarHandler\get(), XoopsTplsetHandler\get(), XoopsGroupPermHandler\get(), XoopsPrivmessageHandler\get(), XoopsImageHandler\get(), XoopsAvatarHandler\get(), XoopsImagecategoryHandler\get(), XoopsTplfileHandler\get(), XoopsNotificationHandler\get(), XoopsConfigItemHandler\get(), XoopsMembershipHandler\get(), XoopsCommentHandler\get(), XoopsBlockHandler\get(), XoopsModuleHandler\get(), XoopsPersistableObjectHandler\get(), Config_File\get_key(), XoopsModelRead\getAll(), XoopsOnlineHandler\getAll(), XoUserHandler\getAll(), XoopsBlock\getAllBlocks(), XoopsBlock\getAllBlocksByGroup(), SystemBlockHandler\getAllBlocksByGroup(), SystemBlockHandler\getAllByGroupModule(), XoopsBlock\getAllByGroupModule(), XoopsTree\getAllChild(), XoopsTree\getAllChildId(), XoopsComments\getAllComments(), XoopsTree\getAllParentId(), SystemBlockHandler\getBlockByPerm(), PHPMailer\GetBoundary(), XoopsModuleHandler\getByDirname(), XoopsModelJoint\getByLink(), XoopsBlock\getByModule(), XoopsTplsetHandler\getByName(), XoopsTree\getChildTreeArray(), XoopsModelStats\getCount(), XoopsOnlineHandler\getCount(), XoopsImagesetimgHandler\getCount(), XoopsGroupPermHandler\getCount(), XoUserHandler\getCount(), XoopsTplsetHandler\getCount(), XoopsPrivmessageHandler\getCount(), XoopsAvatarHandler\getCount(), XoopsImagecategoryHandler\getCount(), XoopsImageHandler\getCount(), XoopsNotificationHandler\getCount(), XoopsConfigItemHandler\getCount(), XoopsMembershipHandler\getCount(), XoopsTplfileHandler\getCount(), XoopsCommentHandler\getCount(), XoopsModuleHandler\getCount(), XoopsModelJoint\getCountByLink(), XoopsModelStats\getCounts(), XoopsModelJoint\getCountsByLink(), getDbCharsets(), getDbCollations(), XoopsMySQLDatabase\getFieldName(), XoopsMySQLDatabase\getFieldsNum(), XoopsMySQLDatabase\getFieldType(), XoopsTree\getFirstChild(), XoopsTree\getFirstChildId(), XoopsMembershipHandler\getGroupsByUser(), XoopsTree\getIdPathFromId(), XoopsModelRead\getIds(), XoopsModelRead\getList(), XoopsRankHandler\getList(), PHPMailer\GetMailMIME(), XoopsTplfileHandler\getModuleTplCount(), XoopsTree\getNicePathFromId(), SystemBlockHandler\getNonGroupedBlocks(), XoopsBlock\getNonGroupedBlocks(), XoopsImagesetHandler\getObjects(), XoopsConfigCategoryHandler\getObjects(), XoopsGroupHandler\getObjects(), XoopsImagesetimgHandler\getObjects(), XoopsConfigOptionHandler\getObjects(), XoopsGroupPermHandler\getObjects(), XoopsTplsetHandler\getObjects(), XoopsPrivmessageHandler\getObjects(), XoopsAvatarHandler\getObjects(), XoopsImageHandler\getObjects(), XoopsImagecategoryHandler\getObjects(), SystemBlockHandler\getObjects(), XoopsNotificationHandler\getObjects(), XoopsConfigItemHandler\getObjects(), XoopsTplfileHandler\getObjects(), XoopsMembershipHandler\getObjects(), XoopsCommentHandler\getObjects(), XoopsBlockHandler\getObjects(), XoopsModuleHandler\getObjects(), XoopsTree\getPathFromId(), XoopsMySQLDatabase\getRowsNum(), XoopsTopic\getTopicsList(), XoopsUserUtility\getUnameFromIds(), XoopsAvatarHandler\getUser(), XoopsMemberHandler\getUserCountByGroupLink(), XoopsMembershipHandler\getUsersByGroup(), XoopsMemberHandler\getUsersByGroupLink(), ProfileVisibilityHandler\getVisibleFields(), XoopsImagesetHandler\insert(), XoopsConfigCategoryHandler\insert(), XoopsImagesetimgHandler\insert(), XoopsGroupHandler\insert(), XoopsConfigOptionHandler\insert(), XoopsGroupPermHandler\insert(), XoopsTplsetHandler\insert(), XoopsPrivmessageHandler\insert(), XoopsImageHandler\insert(), XoopsAvatarHandler\insert(), XoopsImagecategoryHandler\insert(), XoopsTplfileHandler\insert(), XoopsNotificationHandler\insert(), XoopsModelWrite\insert(), XoopsConfigItemHandler\insert(), XoopsMembershipHandler\insert(), XoopsCommentHandler\insert(), XoopsBlockHandler\insert(), XoopsModuleHandler\insert(), XoopsImagesetHandler\linkThemeset(), XoopsTplfileHandler\loadSource(), make_data(), XoopsTree\makeMySelBox(), Protector\output_log(), HTMLPurifier_URIParser\parse(), HTMLPurifier_URIDefinition\postFilter(), HTMLPurifier_Injector\prepare(), XoopsMySQLDatabase\queryF(), XoopsSessionHandler\read(), PHPMailer\RFCDate(), ProfileProfileHandler\search(), PHPMailer\SendmailSend(), PHPMailer\ServerHostname(), Protector\stopforumspam(), XoopsTopic\store(), XoopsComments\store(), XoopsStory\store(), synchronize(), HTMLPurifier_URI\toString(), XoopsTpl\touch(), HTMLPurifier_AttrTransform_Input\transform(), HTMLPurifier_AttrTransform_NameSync\transform(), XoopsImagesetHandler\unlinkThemeset(), XoopsModelWrite\updateAll(), XoopsStory\updateComments(), Protector\updateConfFromDb(), XoopsStory\updateCounter(), HTMLPurifier_AttrDef_URI_Email_SimpleCheck\validate(), HTMLPurifier_AttrDef_CSS_AlphaValue\validate(), HTMLPurifier_AttrDef_CSS\validate(), HTMLPurifier_AttrDef_CSS_URI\validate(), HTMLPurifier_AttrDef_URI\validate(), HTMLPurifier_AttrDef_CSS_Composite\validate(), HTMLPurifier_AttrDef_HTML_ID\validate(), HTMLPurifier_AttrDef_Enum\validate(), HTMLPurifier_AttrDef_CSS_Multiple\validate(), HTMLPurifier_Length\validate(), XoopsUserUtility\validate(), HTMLPurifier_ChildDef_List\validateChildren(), HTMLPurifier_ChildDef_Optional\validateChildren(), HTMLPurifier_ChildDef_StrictBlockquote\validateChildren(), HTMLPurifier_ChildDef_Required\validateChildren(), HTMLPurifier_AttrValidator\validateToken(), xoops_module_install(), xoops_module_install_pm(), xoops_module_system_update(), xoops_module_uninstall(), xoops_module_update_pm(), and xoops_module_update_profile().

$sql_count = "SELECT COUNT(DISTINCT " . (empty($alias) ? "" : $alias . ".") . "uid) FROM " . $subquery

Definition at line 607 of file findusers.php.

Referenced by ProfileProfileHandler\search().

$start = intval(@$_POST['start'])

Definition at line 480 of file findusers.php.

Referenced by Smarty_Compiler\_compile_capture_tag(), XoopsFolderHandler\_findRecursive(), PHPMailer\Base64EncodeWrapMB(), HTML5\characters(), XoopsLogger\dumpTime(), HTML5\entity(), XoopsModelRead\getAll(), XoopsOnlineHandler\getAll(), XoUserHandler\getAll(), XoopsComments\getAllComments(), XoopsCommentHandler\getByItemId(), XoopsModelRead\getByLimit(), XoopsPersistableObjectHandler\getByLimit(), XoopsModelJoint\getByLink(), XoopsConfigItemHandler\getCount(), XoopsModelStats\getCounts(), XoopsModelRead\getIds(), XoopsModelRead\getList(), XoopsRankHandler\getList(), XoopsPersistableObjectHandler\getList(), XoopsImagesetHandler\getObjects(), XoopsGroupHandler\getObjects(), XoopsConfigCategoryHandler\getObjects(), XoopsImagesetimgHandler\getObjects(), XoopsConfigOptionHandler\getObjects(), XoopsGroupPermHandler\getObjects(), XoopsTplsetHandler\getObjects(), XoopsPrivmessageHandler\getObjects(), XoopsAvatarHandler\getObjects(), XoopsImageHandler\getObjects(), XoopsImagecategoryHandler\getObjects(), SystemBlockHandler\getObjects(), XoopsNotificationHandler\getObjects(), XoopsConfigItemHandler\getObjects(), XoopsTplfileHandler\getObjects(), XoopsMembershipHandler\getObjects(), XoopsCommentHandler\getObjects(), XoopsBlockHandler\getObjects(), XoopsModuleHandler\getObjects(), CriteriaElement\getStart(), XoopsMemberHandler\getUsersByGroup(), XoopsMembershipHandler\getUsersByGroup(), XoopsMemberHandler\getUsersByGroupLink(), ProtectorMySQLDatabase\query(), XoopsMySQLDatabaseSafe\query(), XoopsMySQLDatabaseProxy\query(), XoopsMySQLDatabase\queryF(), ProfileProfileHandler\search(), XoopsLocalAbstract\substr(), and xoops_substr().

$subquery = $xoopsDB->prefix("users")

Definition at line 605 of file findusers.php.

if (!empty($_REQUEST['token'])) else if (is_object($xoopsUser)&&$xoopsUser->isAdmin()) if ($denied) $token = isset($_REQUEST['token']) ? $_REQUEST['token'] : ''

Definition at line 36 of file findusers.php.

Referenced by Smarty_Compiler\_compile_if_tag(), HTMLPurifier_Injector_AutoParagraph\_isInline(), Smarty_Compiler\_parse_attrs(), HTML5TreeConstructer\afterBody(), HTML5TreeConstructer\afterFrameset(), HTML5TreeConstructer\afterHead(), HTML5TreeConstructer\beforeHead(), XoopsSecurity\check(), HTML5TreeConstructer\emitToken(), HTMLPurifier_Strategy_ValidateAttributes\execute(), HTMLPurifier_Strategy_RemoveForeignElements\execute(), HTMLPurifier_Strategy_MakeWellFormed\execute(), HTMLPurifier_AttrDef_HTML_Class\filter(), HTMLPurifier_URIFilter_SafeIframe\filter(), XoopsSecurity\filterToken(), HTMLPurifier_Generator\generateFromToken(), HTMLPurifier_Generator\generateScriptFromToken(), XoopsSecurity\getTokenHTML(), HTMLPurifier_Injector_RemoveEmpty\handleElement(), HTMLPurifier_Injector_RemoveSpansWithoutAttributes\handleElement(), HTMLPurifier_Injector_SafeObject\handleElement(), HTMLPurifier_Injector_AutoParagraph\handleElement(), HTMLPurifier_Injector_DisplayLinkURI\handleEnd(), HTMLPurifier_Injector_RemoveSpansWithoutAttributes\handleEnd(), HTMLPurifier_Injector_SafeObject\handleEnd(), HTMLPurifier_Injector\handleEnd(), HTMLPurifier_Injector_Linkify\handleText(), HTMLPurifier_Injector_PurifierLinkify\handleText(), HTMLPurifier_Injector_AutoParagraph\handleText(), HTML5TreeConstructer\inBody(), HTML5TreeConstructer\inCaption(), HTML5TreeConstructer\inCell(), HTML5TreeConstructer\inColumnGroup(), HTML5TreeConstructer\inFrameset(), HTML5TreeConstructer\inHead(), HTML5TreeConstructer\initPhase(), HTML5TreeConstructer\inRow(), HTML5TreeConstructer\inSelect(), HTMLPurifier_Strategy_MakeWellFormed\insertBefore(), HTML5TreeConstructer\insertElement(), HTML5TreeConstructer\inTable(), HTML5TreeConstructer\inTableBody(), HTML5TreeConstructer\mainPhase(), HTMLPurifier_URIFilter_Munge\makeReplace(), HTMLPurifier_Strategy_MakeWellFormed\processToken(), HTML5TreeConstructer\rootElementPhase(), HTMLPurifier_ErrorCollector\send(), smarty_core_write_compiled_include(), HTMLPurifier_Strategy_MakeWellFormed\swap(), HTMLPurifier_Lexer_DirectLex\tokenizeHTML(), HTML5TreeConstructer\trailingEndPhase(), HTMLPurifier_AttrDef_CSS_DenyElementDecorator\validate(), HTMLPurifier_AttrDef_Switch\validate(), HTMLPurifier_ChildDef_List\validateChildren(), HTMLPurifier_ChildDef_StrictBlockquote\validateChildren(), HTMLPurifier_ChildDef_Required\validateChildren(), HTMLPurifier_ChildDef_Table\validateChildren(), HTMLPurifier_ChildDef_Custom\validateChildren(), HTMLPurifier_AttrValidator\validateToken(), XoopsSecurity\validateToken(), and XoopsFormSelectUser\XoopsFormSelectUser().

$user_handler = new XoUserHandler($xoopsDB)

Definition at line 331 of file findusers.php.

Referenced by ProfileProfileHandler\search().

if (preg_match("/select[\s]+.*[\s]+from[\s]+(".$xoopsDB->prefix("users")."[\s]+as[\s]+([^\s]+).*)/i", $query, $matches)) else if (preg_match("/select[\s]+.*[\s]+from[\s]+(".$xoopsDB->prefix("users")."\b.*)/i", $query, $matches)) else
Initial value:

Definition at line 477 of file findusers.php.

const FINDUSERS_MODE_ADVANCED 1

Definition at line 348 of file findusers.php.

const FINDUSERS_MODE_QUERY 2

Definition at line 349 of file findusers.php.

const FINDUSERS_MODE_SIMPLE 0

Definition at line 347 of file findusers.php.

while($myrow=$xoopsDB->fetchArray($result))

Definition at line 612 of file findusers.php.