|
@@ 150-156 (lines=7) @@
|
| 147 |
|
$criteria->add( new Criteria( 'user_occ', '%' . $myts->addSlashes( trim( $_POST['user_occ'] ) ) . '%', 'LIKE' ) ); |
| 148 |
|
} |
| 149 |
|
|
| 150 |
|
if ( !empty( $_POST['user_lastlog_more'] ) && is_numeric( $_POST['user_lastlog_more'] ) ) { |
| 151 |
|
$f_user_lastlog_more = intval( trim( $_POST['user_lastlog_more'] ) ); |
| 152 |
|
$time = time() - ( 60 * 60 * 24 * $f_user_lastlog_more ); |
| 153 |
|
if ( $time > 0 ) { |
| 154 |
|
$criteria->add( new Criteria( 'last_login', $time, '<' ) ); |
| 155 |
|
} |
| 156 |
|
} |
| 157 |
|
|
| 158 |
|
if ( !empty( $_POST['user_lastlog_less'] ) && is_numeric( $_POST['user_lastlog_less'] ) ) { |
| 159 |
|
$f_user_lastlog_less = intval( trim( $_POST['user_lastlog_less'] ) ); |
|
@@ 158-164 (lines=7) @@
|
| 155 |
|
} |
| 156 |
|
} |
| 157 |
|
|
| 158 |
|
if ( !empty( $_POST['user_lastlog_less'] ) && is_numeric( $_POST['user_lastlog_less'] ) ) { |
| 159 |
|
$f_user_lastlog_less = intval( trim( $_POST['user_lastlog_less'] ) ); |
| 160 |
|
$time = time() - ( 60 * 60 * 24 * $f_user_lastlog_less ); |
| 161 |
|
if ( $time > 0 ) { |
| 162 |
|
$criteria->add( new Criteria( 'last_login', $time, '>' ) ); |
| 163 |
|
} |
| 164 |
|
} |
| 165 |
|
|
| 166 |
|
if ( !empty( $_POST['user_reg_more'] ) && is_numeric( $_POST['user_reg_more'] ) ) { |
| 167 |
|
$f_user_reg_more = intval( trim( $_POST['user_reg_more'] ) ); |
|
@@ 166-172 (lines=7) @@
|
| 163 |
|
} |
| 164 |
|
} |
| 165 |
|
|
| 166 |
|
if ( !empty( $_POST['user_reg_more'] ) && is_numeric( $_POST['user_reg_more'] ) ) { |
| 167 |
|
$f_user_reg_more = intval( trim( $_POST['user_reg_more'] ) ); |
| 168 |
|
$time = time() - ( 60 * 60 * 24 * $f_user_reg_more ); |
| 169 |
|
if ( $time > 0 ) { |
| 170 |
|
$criteria->add( new Criteria( 'user_regdate', $time, '<' ) ); |
| 171 |
|
} |
| 172 |
|
} |
| 173 |
|
|
| 174 |
|
if ( !empty( $_POST['user_reg_less'] ) && is_numeric( $_POST['user_reg_less'] ) ) { |
| 175 |
|
$f_user_reg_less = intval( $_POST['user_reg_less'] ); |
|
@@ 174-180 (lines=7) @@
|
| 171 |
|
} |
| 172 |
|
} |
| 173 |
|
|
| 174 |
|
if ( !empty( $_POST['user_reg_less'] ) && is_numeric( $_POST['user_reg_less'] ) ) { |
| 175 |
|
$f_user_reg_less = intval( $_POST['user_reg_less'] ); |
| 176 |
|
$time = time() - ( 60 * 60 * 24 * $f_user_reg_less ); |
| 177 |
|
if ( $time > 0 ) { |
| 178 |
|
$criteria->add( new Criteria( 'user_regdate', $time, '>' ) ); |
| 179 |
|
} |
| 180 |
|
} |
| 181 |
|
|
| 182 |
|
if ( isset( $_POST['user_posts_more'] ) && is_numeric( $_POST['user_posts_more'] ) ) { |
| 183 |
|
$criteria->add( new Criteria( 'posts', intval( $_POST['user_posts_more'] ), '>' ) ); |