| @@ 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' ); |
|
| @@ 131-133 (lines=3) @@ | ||
| 128 | } |
|
| 129 | } |
|
| 130 | ||
| 131 | if ( isset( $_POST['user_posts_more'] ) && is_numeric( $_POST['user_posts_more'] ) ) { |
|
| 132 | $criteria->add( new Criteria( 'posts', intval( $_POST['user_posts_more'] ), '>' ) ); |
|
| 133 | } |
|
| 134 | ||
| 135 | if ( !empty( $_POST['user_posts_less'] ) && is_numeric( $_POST['user_posts_less'] ) ) { |
|
| 136 | $criteria->add( new Criteria( 'posts', intval( $_POST['user_posts_less'] ), '<' ) ); |
|
| @@ 135-137 (lines=3) @@ | ||
| 132 | $criteria->add( new Criteria( 'posts', intval( $_POST['user_posts_more'] ), '>' ) ); |
|
| 133 | } |
|
| 134 | ||
| 135 | if ( !empty( $_POST['user_posts_less'] ) && is_numeric( $_POST['user_posts_less'] ) ) { |
|
| 136 | $criteria->add( new Criteria( 'posts', intval( $_POST['user_posts_less'] ), '<' ) ); |
|
| 137 | } |
|
| 138 | ||
| 139 | $criteria->add( new Criteria( 'level', 0, '>' ) ); |
|
| 140 | $validsort = array( 'uname', 'name', 'last_login', 'user_regdate', 'posts' ); |
|