Line 315 | Line 315 |
---|
'mode' => $mode, 'prune' => 1,
|
'mode' => $mode, 'prune' => 1,
|
'users' => request_var('users', '', true), 'username' => request_var('username', '', true),
| 'users' => utf8_normalize_nfc(request_var('users', '', true)), 'username' => utf8_normalize_nfc(request_var('username', '', true)),
|
'email' => request_var('email', ''), 'joined_select' => request_var('joined_select', ''), 'joined' => request_var('joined', ''),
| 'email' => request_var('email', ''), 'joined_select' => request_var('joined_select', ''), 'joined' => request_var('joined', ''),
|
Line 369 | Line 369 |
---|
{ global $user, $db;
|
{ global $user, $db;
|
$users = request_var('users', '', true);
| $users = utf8_normalize_nfc(request_var('users', '', true));
|
if ($users) {
| if ($users) {
|
Line 378 | Line 378 |
---|
} else {
|
} else {
|
$username = request_var('username', '', true);
| $username = utf8_normalize_nfc(request_var('username', '', true));
|
$email = request_var('email', '');
$joined_select = request_var('joined_select', 'lt');
| $email = request_var('email', '');
$joined_select = request_var('joined_select', 'lt');
|
Line 406 | Line 406 |
---|
$where_sql .= (sizeof($joined)) ? " AND user_regdate " . $key_match[$joined_select] . ' ' . gmmktime(0, 0, 0, (int) $joined[1], (int) $joined[2], (int) $joined[0]) : ''; $where_sql .= ($count !== '') ? " AND user_posts " . $key_match[$count_select] . ' ' . (int) $count . ' ' : '';
|
$where_sql .= (sizeof($joined)) ? " AND user_regdate " . $key_match[$joined_select] . ' ' . gmmktime(0, 0, 0, (int) $joined[1], (int) $joined[2], (int) $joined[0]) : ''; $where_sql .= ($count !== '') ? " AND user_posts " . $key_match[$count_select] . ' ' . (int) $count . ' ' : '';
|
if (sizeof($active) && $active_select != 'lt')
| // First handle pruning of users who never logged in, last active date is 0000-00-00 if (sizeof($active) && (int) $active[0] == 0 && (int) $active[1] == 0 && (int) $active[2] == 0) { $where_sql .= ' AND user_lastvisit = 0'; } else if (sizeof($active) && $active_select != 'lt')
|
{ $where_sql .= ' AND user_lastvisit ' . $key_match[$active_select] . ' ' . gmmktime(0, 0, 0, (int) $active[1], (int) $active[2], (int) $active[0]); }
| { $where_sql .= ' AND user_lastvisit ' . $key_match[$active_select] . ' ' . gmmktime(0, 0, 0, (int) $active[1], (int) $active[2], (int) $active[0]); }
|