Zeile 208 | Zeile 208 |
---|
$search_url .= "&username_match=begins"; } // Just contains
|
$search_url .= "&username_match=begins"; } // Just contains
|
| else if($mybb->input['username_match'] == "contains") { $search_query .= " AND u.username {$like} '%".$username_like_query."%'"; $search_url .= "&username_match=contains"; } // Exact
|
else {
|
else {
|
$search_query .= " AND u.username {$like} '%".$username_like_query."%'";
| $search_query .= " AND u.username='{$username_like_query}'";
|
}
$search_url .= "&username=".urlencode($search_username);
| }
$search_url .= "&username=".urlencode($search_username);
|
Zeile 312 | Zeile 318 |
---|
if($page && $page > 0) { $start = ($page - 1) * $per_page;
|
if($page && $page > 0) { $start = ($page - 1) * $per_page;
|
| $pages = ceil($num_users / $per_page); if($page > $pages) { $start = 0; $page = 1; }
|
} else { $start = 0; $page = 1;
|
} else { $start = 0; $page = 1;
|
}
| }
|
$sort = htmlspecialchars_uni($mybb->input['sort']); eval("\$orderarrow['{$sort}'] = \"".$templates->get("memberlist_orderarrow")."\";");
| $sort = htmlspecialchars_uni($mybb->input['sort']); eval("\$orderarrow['{$sort}'] = \"".$templates->get("memberlist_orderarrow")."\";");
|
Zeile 361 | Zeile 373 |
---|
if($user['usergroup']) { $usergroup = usergroup_permissions($user['usergroup']);
|
if($user['usergroup']) { $usergroup = usergroup_permissions($user['usergroup']);
|
}
| }
|
else { $usergroup = usergroup_permissions(1);
|
else { $usergroup = usergroup_permissions(1);
|
}
$displaygroupfields = array("title", "description", "namestyle", "usertitle", "stars", "starimage", "image");
| }
$displaygroupfields = array("title", "description", "namestyle", "usertitle", "stars", "starimage", "image");
|
if(!$user['displaygroup']) { $user['displaygroup'] = $user['usergroup'];
|
if(!$user['displaygroup']) { $user['displaygroup'] = $user['usergroup'];
|
}
| }
|
$display_group = usergroup_displaygroup($user['displaygroup']); if(is_array($display_group))
| $display_group = usergroup_displaygroup($user['displaygroup']); if(is_array($display_group))
|
Zeile 383 | Zeile 395 |
---|
// Build referral? if($mybb->settings['usereferrals'] == 1) {
|
// Build referral? if($mybb->settings['usereferrals'] == 1) {
|
| $referral_count = (int) $user['referrals']; if($referral_count > 0) { $uid = (int) $user['uid']; eval("\$user['referrals'] = \"".$templates->get('member_referrals_link')."\";"); }
|
eval("\$referral_bit = \"".$templates->get("memberlist_referrals_bit")."\";"); eval("\$referrals_option = \"".$templates->get("memberlist_referrals_option")."\";"); }
| eval("\$referral_bit = \"".$templates->get("memberlist_referrals_bit")."\";"); eval("\$referrals_option = \"".$templates->get("memberlist_referrals_option")."\";"); }
|