|
@@ 190-196 (lines=7) @@
|
| 187 |
|
$criteria->add(new Criteria('user_occ', '%' . $myts->addSlashes(trim($_POST['user_occ'])) . '%', 'LIKE')); |
| 188 |
|
} |
| 189 |
|
|
| 190 |
|
if (!empty($_POST['user_lastlog_more']) && is_numeric($_POST['user_lastlog_more'])) { |
| 191 |
|
$f_user_lastlog_more = (int)trim($_POST['user_lastlog_more']); |
| 192 |
|
$time = time() - (60 * 60 * 24 * $f_user_lastlog_more); |
| 193 |
|
if ($time > 0) { |
| 194 |
|
$criteria->add(new Criteria('last_login', $time, '<')); |
| 195 |
|
} |
| 196 |
|
} |
| 197 |
|
|
| 198 |
|
if (!empty($_POST['user_lastlog_less']) && is_numeric($_POST['user_lastlog_less'])) { |
| 199 |
|
$f_user_lastlog_less = (int)trim($_POST['user_lastlog_less']); |
|
@@ 198-204 (lines=7) @@
|
| 195 |
|
} |
| 196 |
|
} |
| 197 |
|
|
| 198 |
|
if (!empty($_POST['user_lastlog_less']) && is_numeric($_POST['user_lastlog_less'])) { |
| 199 |
|
$f_user_lastlog_less = (int)trim($_POST['user_lastlog_less']); |
| 200 |
|
$time = time() - (60 * 60 * 24 * $f_user_lastlog_less); |
| 201 |
|
if ($time > 0) { |
| 202 |
|
$criteria->add(new Criteria('last_login', $time, '>')); |
| 203 |
|
} |
| 204 |
|
} |
| 205 |
|
|
| 206 |
|
if (!empty($_POST['user_reg_more']) && is_numeric($_POST['user_reg_more'])) { |
| 207 |
|
$f_user_reg_more = (int)trim($_POST['user_reg_more']); |
|
@@ 206-212 (lines=7) @@
|
| 203 |
|
} |
| 204 |
|
} |
| 205 |
|
|
| 206 |
|
if (!empty($_POST['user_reg_more']) && is_numeric($_POST['user_reg_more'])) { |
| 207 |
|
$f_user_reg_more = (int)trim($_POST['user_reg_more']); |
| 208 |
|
$time = time() - (60 * 60 * 24 * $f_user_reg_more); |
| 209 |
|
if ($time > 0) { |
| 210 |
|
$criteria->add(new Criteria('user_regdate', $time, '<')); |
| 211 |
|
} |
| 212 |
|
} |
| 213 |
|
|
| 214 |
|
if (!empty($_POST['user_reg_less']) && is_numeric($_POST['user_reg_less'])) { |
| 215 |
|
$f_user_reg_less = (int)$_POST['user_reg_less']; |
|
@@ 214-220 (lines=7) @@
|
| 211 |
|
} |
| 212 |
|
} |
| 213 |
|
|
| 214 |
|
if (!empty($_POST['user_reg_less']) && is_numeric($_POST['user_reg_less'])) { |
| 215 |
|
$f_user_reg_less = (int)$_POST['user_reg_less']; |
| 216 |
|
$time = time() - (60 * 60 * 24 * $f_user_reg_less); |
| 217 |
|
if ($time > 0) { |
| 218 |
|
$criteria->add(new Criteria('user_regdate', $time, '>')); |
| 219 |
|
} |
| 220 |
|
} |
| 221 |
|
|
| 222 |
|
if (isset($_POST['user_posts_more']) && is_numeric($_POST['user_posts_more'])) { |
| 223 |
|
$criteria->add(new Criteria('posts', (int)$_POST['user_posts_more'], '>')); |