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