@@ 164-166 (lines=3) @@ | ||
161 | } |
|
162 | } |
|
163 | ||
164 | if ( isset( $_POST['user_posts_more'] ) && is_numeric( $_POST['user_posts_more'] ) ) { |
|
165 | $criteria->add( new Criteria( 'posts', intval( $_POST['user_posts_more'] ), '>' ) ); |
|
166 | } |
|
167 | ||
168 | if ( !empty( $_POST['user_posts_less'] ) && is_numeric( $_POST['user_posts_less'] ) ) { |
|
169 | $criteria->add( new Criteria( 'posts', intval( $_POST['user_posts_less'] ), '<' ) ); |
|
@@ 168-170 (lines=3) @@ | ||
165 | $criteria->add( new Criteria( 'posts', intval( $_POST['user_posts_more'] ), '>' ) ); |
|
166 | } |
|
167 | ||
168 | if ( !empty( $_POST['user_posts_less'] ) && is_numeric( $_POST['user_posts_less'] ) ) { |
|
169 | $criteria->add( new Criteria( 'posts', intval( $_POST['user_posts_less'] ), '<' ) ); |
|
170 | } |
|
171 | ||
172 | $criteria->add( new Criteria( 'level', 0, '>' ) ); |
|
173 | $validsort = array( 'uname', 'email', 'last_login', 'user_regdate', 'posts' ); |