| @@ 96-102 (lines=7) @@ | ||
| 93 | $criteria->add( new Criteria( 'user_occ', '%' . $myts->addSlashes( trim( $_POST['user_occ'] ) ) . '%', 'LIKE' ) ); |
|
| 94 | } |
|
| 95 | ||
| 96 | if ( !empty( $_POST['user_lastlog_more'] ) && is_numeric( $_POST['user_lastlog_more'] ) ) { |
|
| 97 | $f_user_lastlog_more = intval( trim( $_POST['user_lastlog_more'] ) ); |
|
| 98 | $time = time() - ( 60 * 60 * 24 * $f_user_lastlog_more ); |
|
| 99 | if ( $time > 0 ) { |
|
| 100 | $criteria->add( new Criteria( 'last_login', $time, '<' ) ); |
|
| 101 | } |
|
| 102 | } |
|
| 103 | ||
| 104 | if ( !empty( $_POST['user_lastlog_less'] ) && is_numeric( $_POST['user_lastlog_less'] ) ) { |
|
| 105 | $f_user_lastlog_less = intval( trim( $_POST['user_lastlog_less'] ) ); |
|
| @@ 104-110 (lines=7) @@ | ||
| 101 | } |
|
| 102 | } |
|
| 103 | ||
| 104 | if ( !empty( $_POST['user_lastlog_less'] ) && is_numeric( $_POST['user_lastlog_less'] ) ) { |
|
| 105 | $f_user_lastlog_less = intval( trim( $_POST['user_lastlog_less'] ) ); |
|
| 106 | $time = time() - ( 60 * 60 * 24 * $f_user_lastlog_less ); |
|
| 107 | if ( $time > 0 ) { |
|
| 108 | $criteria->add( new Criteria( 'last_login', $time, '>' ) ); |
|
| 109 | } |
|
| 110 | } |
|
| 111 | ||
| 112 | if ( !empty( $_POST['user_reg_more'] ) && is_numeric( $_POST['user_reg_more'] ) ) { |
|
| 113 | $f_user_reg_more = intval( trim( $_POST['user_reg_more'] ) ); |
|
| @@ 112-118 (lines=7) @@ | ||
| 109 | } |
|
| 110 | } |
|
| 111 | ||
| 112 | if ( !empty( $_POST['user_reg_more'] ) && is_numeric( $_POST['user_reg_more'] ) ) { |
|
| 113 | $f_user_reg_more = intval( trim( $_POST['user_reg_more'] ) ); |
|
| 114 | $time = time() - ( 60 * 60 * 24 * $f_user_reg_more ); |
|
| 115 | if ( $time > 0 ) { |
|
| 116 | $criteria->add( new Criteria( 'user_regdate', $time, '<' ) ); |
|
| 117 | } |
|
| 118 | } |
|
| 119 | ||
| 120 | if ( !empty( $_POST['user_reg_less'] ) && is_numeric( $_POST['user_reg_less'] ) ) { |
|
| 121 | $f_user_reg_less = intval( $_POST['user_reg_less'] ); |
|
| @@ 120-126 (lines=7) @@ | ||
| 117 | } |
|
| 118 | } |
|
| 119 | ||
| 120 | if ( !empty( $_POST['user_reg_less'] ) && is_numeric( $_POST['user_reg_less'] ) ) { |
|
| 121 | $f_user_reg_less = intval( $_POST['user_reg_less'] ); |
|
| 122 | $time = time() - ( 60 * 60 * 24 * $f_user_reg_less ); |
|
| 123 | if ( $time > 0 ) { |
|
| 124 | $criteria->add( new Criteria( 'user_regdate', $time, '>' ) ); |
|
| 125 | } |
|
| 126 | } |
|
| 127 | ||
| 128 | if ( isset( $_POST['user_posts_more'] ) && is_numeric( $_POST['user_posts_more'] ) ) { |
|
| 129 | $criteria->add( new Criteria( 'posts', intval( $_POST['user_posts_more'] ), '>' ) ); |
|
| @@ 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'] ), '>' ) ); |
|