|
@@ 217-219 (lines=3) @@
|
| 214 |
|
} |
| 215 |
|
} |
| 216 |
|
|
| 217 |
|
if ( isset( $_POST['user_posts_more'] ) && is_numeric( $_POST['user_posts_more'] ) ) { |
| 218 |
|
$criteria->add( new Criteria( 'posts', intval( $_POST['user_posts_more'] ), '>' ) ); |
| 219 |
|
} |
| 220 |
|
|
| 221 |
|
if ( !empty( $_POST['user_posts_less'] ) && is_numeric( $_POST['user_posts_less'] ) ) { |
| 222 |
|
$criteria->add( new Criteria( 'posts', intval( $_POST['user_posts_less'] ), '<' ) ); |
|
@@ 221-223 (lines=3) @@
|
| 218 |
|
$criteria->add( new Criteria( 'posts', intval( $_POST['user_posts_more'] ), '>' ) ); |
| 219 |
|
} |
| 220 |
|
|
| 221 |
|
if ( !empty( $_POST['user_posts_less'] ) && is_numeric( $_POST['user_posts_less'] ) ) { |
| 222 |
|
$criteria->add( new Criteria( 'posts', intval( $_POST['user_posts_less'] ), '<' ) ); |
| 223 |
|
} |
| 224 |
|
|
| 225 |
|
$criteria->add( new Criteria( 'level', 0, '>' ) ); |
| 226 |
|
$validsort = array( 'uname', 'email', 'last_login', 'user_regdate', 'posts' ); |