|
@@ 182-184 (lines=3) @@
|
| 179 |
|
} |
| 180 |
|
} |
| 181 |
|
|
| 182 |
|
if ( isset( $_POST['user_posts_more'] ) && is_numeric( $_POST['user_posts_more'] ) ) { |
| 183 |
|
$criteria->add( new Criteria( 'posts', intval( $_POST['user_posts_more'] ), '>' ) ); |
| 184 |
|
} |
| 185 |
|
|
| 186 |
|
if ( !empty( $_POST['user_posts_less'] ) && is_numeric( $_POST['user_posts_less'] ) ) { |
| 187 |
|
$criteria->add( new Criteria( 'posts', intval( $_POST['user_posts_less'] ), '<' ) ); |
|
@@ 186-188 (lines=3) @@
|
| 183 |
|
$criteria->add( new Criteria( 'posts', intval( $_POST['user_posts_more'] ), '>' ) ); |
| 184 |
|
} |
| 185 |
|
|
| 186 |
|
if ( !empty( $_POST['user_posts_less'] ) && is_numeric( $_POST['user_posts_less'] ) ) { |
| 187 |
|
$criteria->add( new Criteria( 'posts', intval( $_POST['user_posts_less'] ), '<' ) ); |
| 188 |
|
} |
| 189 |
|
|
| 190 |
|
$criteria->add( new Criteria( 'level', 0, '>' ) ); |
| 191 |
|
$validsort = array( 'uname', 'email', 'last_login', 'user_regdate', 'posts' ); |