@@ 107-109 (lines=3) @@ | ||
104 | } |
|
105 | } |
|
106 | ||
107 | if ( isset( $_POST['user_posts_more'] ) && is_numeric( $_POST['user_posts_more'] ) ) { |
|
108 | $criteria->add( new Criteria( 'posts', intval( $_POST['user_posts_more'] ), '>' ) ); |
|
109 | } |
|
110 | ||
111 | if ( !empty( $_POST['user_posts_less'] ) && is_numeric( $_POST['user_posts_less'] ) ) { |
|
112 | $criteria->add( new Criteria( 'posts', intval( $_POST['user_posts_less'] ), '<' ) ); |
|
@@ 111-113 (lines=3) @@ | ||
108 | $criteria->add( new Criteria( 'posts', intval( $_POST['user_posts_more'] ), '>' ) ); |
|
109 | } |
|
110 | ||
111 | if ( !empty( $_POST['user_posts_less'] ) && is_numeric( $_POST['user_posts_less'] ) ) { |
|
112 | $criteria->add( new Criteria( 'posts', intval( $_POST['user_posts_less'] ), '<' ) ); |
|
113 | } |
|
114 | ||
115 | $criteria->add( new Criteria( 'level', 0, '>' ) ); |
|
116 | $validsort = array( 'uname', 'name', 'last_login', 'user_regdate', 'posts' ); |
@@ 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' ); |