@@ 132-138 (lines=7) @@ | ||
129 | $criteria->add( new Criteria( 'user_occ', '%' . $myts->addSlashes( trim( $_POST['user_occ'] ) ) . '%', 'LIKE' ) ); |
|
130 | } |
|
131 | ||
132 | if ( !empty( $_POST['user_lastlog_more'] ) && is_numeric( $_POST['user_lastlog_more'] ) ) { |
|
133 | $f_user_lastlog_more = intval( trim( $_POST['user_lastlog_more'] ) ); |
|
134 | $time = time() - ( 60 * 60 * 24 * $f_user_lastlog_more ); |
|
135 | if ( $time > 0 ) { |
|
136 | $criteria->add( new Criteria( 'last_login', $time, '<' ) ); |
|
137 | } |
|
138 | } |
|
139 | ||
140 | if ( !empty( $_POST['user_lastlog_less'] ) && is_numeric( $_POST['user_lastlog_less'] ) ) { |
|
141 | $f_user_lastlog_less = intval( trim( $_POST['user_lastlog_less'] ) ); |
|
@@ 140-146 (lines=7) @@ | ||
137 | } |
|
138 | } |
|
139 | ||
140 | if ( !empty( $_POST['user_lastlog_less'] ) && is_numeric( $_POST['user_lastlog_less'] ) ) { |
|
141 | $f_user_lastlog_less = intval( trim( $_POST['user_lastlog_less'] ) ); |
|
142 | $time = time() - ( 60 * 60 * 24 * $f_user_lastlog_less ); |
|
143 | if ( $time > 0 ) { |
|
144 | $criteria->add( new Criteria( 'last_login', $time, '>' ) ); |
|
145 | } |
|
146 | } |
|
147 | ||
148 | if ( !empty( $_POST['user_reg_more'] ) && is_numeric( $_POST['user_reg_more'] ) ) { |
|
149 | $f_user_reg_more = intval( trim( $_POST['user_reg_more'] ) ); |
|
@@ 148-154 (lines=7) @@ | ||
145 | } |
|
146 | } |
|
147 | ||
148 | if ( !empty( $_POST['user_reg_more'] ) && is_numeric( $_POST['user_reg_more'] ) ) { |
|
149 | $f_user_reg_more = intval( trim( $_POST['user_reg_more'] ) ); |
|
150 | $time = time() - ( 60 * 60 * 24 * $f_user_reg_more ); |
|
151 | if ( $time > 0 ) { |
|
152 | $criteria->add( new Criteria( 'user_regdate', $time, '<' ) ); |
|
153 | } |
|
154 | } |
|
155 | ||
156 | if ( !empty( $_POST['user_reg_less'] ) && is_numeric( $_POST['user_reg_less'] ) ) { |
|
157 | $f_user_reg_less = intval( $_POST['user_reg_less'] ); |
|
@@ 156-162 (lines=7) @@ | ||
153 | } |
|
154 | } |
|
155 | ||
156 | if ( !empty( $_POST['user_reg_less'] ) && is_numeric( $_POST['user_reg_less'] ) ) { |
|
157 | $f_user_reg_less = intval( $_POST['user_reg_less'] ); |
|
158 | $time = time() - ( 60 * 60 * 24 * $f_user_reg_less ); |
|
159 | if ( $time > 0 ) { |
|
160 | $criteria->add( new Criteria( 'user_regdate', $time, '>' ) ); |
|
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'] ), '>' ) ); |