@@ 222-224 (lines=3) @@ | ||
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'], '>')); |
|
224 | } |
|
225 | ||
226 | if (!empty($_POST['user_posts_less']) && is_numeric($_POST['user_posts_less'])) { |
|
227 | $criteria->add(new Criteria('posts', (int)$_POST['user_posts_less'], '<')); |
|
@@ 226-228 (lines=3) @@ | ||
223 | $criteria->add(new Criteria('posts', (int)$_POST['user_posts_more'], '>')); |
|
224 | } |
|
225 | ||
226 | if (!empty($_POST['user_posts_less']) && is_numeric($_POST['user_posts_less'])) { |
|
227 | $criteria->add(new Criteria('posts', (int)$_POST['user_posts_less'], '<')); |
|
228 | } |
|
229 | ||
230 | $criteria->add(new Criteria('level', 0, '>')); |
|
231 | $validsort = array('uname', 'email', 'last_login', 'user_regdate', 'posts'); |