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