@@ 185-191 (lines=7) @@ | ||
182 | $criteria->add( new Criteria( 'user_occ', '%' . $myts->addSlashes( trim( $_POST['user_occ'] ) ) . '%', 'LIKE' ) ); |
|
183 | } |
|
184 | ||
185 | if ( !empty( $_POST['user_lastlog_more'] ) && is_numeric( $_POST['user_lastlog_more'] ) ) { |
|
186 | $f_user_lastlog_more = intval( trim( $_POST['user_lastlog_more'] ) ); |
|
187 | $time = time() - ( 60 * 60 * 24 * $f_user_lastlog_more ); |
|
188 | if ( $time > 0 ) { |
|
189 | $criteria->add( new Criteria( 'last_login', $time, '<' ) ); |
|
190 | } |
|
191 | } |
|
192 | ||
193 | if ( !empty( $_POST['user_lastlog_less'] ) && is_numeric( $_POST['user_lastlog_less'] ) ) { |
|
194 | $f_user_lastlog_less = intval( trim( $_POST['user_lastlog_less'] ) ); |
|
@@ 193-199 (lines=7) @@ | ||
190 | } |
|
191 | } |
|
192 | ||
193 | if ( !empty( $_POST['user_lastlog_less'] ) && is_numeric( $_POST['user_lastlog_less'] ) ) { |
|
194 | $f_user_lastlog_less = intval( trim( $_POST['user_lastlog_less'] ) ); |
|
195 | $time = time() - ( 60 * 60 * 24 * $f_user_lastlog_less ); |
|
196 | if ( $time > 0 ) { |
|
197 | $criteria->add( new Criteria( 'last_login', $time, '>' ) ); |
|
198 | } |
|
199 | } |
|
200 | ||
201 | if ( !empty( $_POST['user_reg_more'] ) && is_numeric( $_POST['user_reg_more'] ) ) { |
|
202 | $f_user_reg_more = intval( trim( $_POST['user_reg_more'] ) ); |
|
@@ 201-207 (lines=7) @@ | ||
198 | } |
|
199 | } |
|
200 | ||
201 | if ( !empty( $_POST['user_reg_more'] ) && is_numeric( $_POST['user_reg_more'] ) ) { |
|
202 | $f_user_reg_more = intval( trim( $_POST['user_reg_more'] ) ); |
|
203 | $time = time() - ( 60 * 60 * 24 * $f_user_reg_more ); |
|
204 | if ( $time > 0 ) { |
|
205 | $criteria->add( new Criteria( 'user_regdate', $time, '<' ) ); |
|
206 | } |
|
207 | } |
|
208 | ||
209 | if ( !empty( $_POST['user_reg_less'] ) && is_numeric( $_POST['user_reg_less'] ) ) { |
|
210 | $f_user_reg_less = intval( $_POST['user_reg_less'] ); |
|
@@ 209-215 (lines=7) @@ | ||
206 | } |
|
207 | } |
|
208 | ||
209 | if ( !empty( $_POST['user_reg_less'] ) && is_numeric( $_POST['user_reg_less'] ) ) { |
|
210 | $f_user_reg_less = intval( $_POST['user_reg_less'] ); |
|
211 | $time = time() - ( 60 * 60 * 24 * $f_user_reg_less ); |
|
212 | if ( $time > 0 ) { |
|
213 | $criteria->add( new Criteria( 'user_regdate', $time, '>' ) ); |
|
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'] ), '>' ) ); |