@@ 75-81 (lines=7) @@ | ||
72 | $criteria->add( new Criteria( 'user_occ', '%' . $myts->addSlashes( trim( $_POST['user_occ'] ) ) . '%', 'LIKE' ) ); |
|
73 | } |
|
74 | ||
75 | if ( !empty( $_POST['user_lastlog_more'] ) && is_numeric( $_POST['user_lastlog_more'] ) ) { |
|
76 | $f_user_lastlog_more = intval( trim( $_POST['user_lastlog_more'] ) ); |
|
77 | $time = time() - ( 60 * 60 * 24 * $f_user_lastlog_more ); |
|
78 | if ( $time > 0 ) { |
|
79 | $criteria->add( new Criteria( 'last_login', $time, '<' ) ); |
|
80 | } |
|
81 | } |
|
82 | ||
83 | if ( !empty( $_POST['user_lastlog_less'] ) && is_numeric( $_POST['user_lastlog_less'] ) ) { |
|
84 | $f_user_lastlog_less = intval( trim( $_POST['user_lastlog_less'] ) ); |
|
@@ 83-89 (lines=7) @@ | ||
80 | } |
|
81 | } |
|
82 | ||
83 | if ( !empty( $_POST['user_lastlog_less'] ) && is_numeric( $_POST['user_lastlog_less'] ) ) { |
|
84 | $f_user_lastlog_less = intval( trim( $_POST['user_lastlog_less'] ) ); |
|
85 | $time = time() - ( 60 * 60 * 24 * $f_user_lastlog_less ); |
|
86 | if ( $time > 0 ) { |
|
87 | $criteria->add( new Criteria( 'last_login', $time, '>' ) ); |
|
88 | } |
|
89 | } |
|
90 | ||
91 | if ( !empty( $_POST['user_reg_more'] ) && is_numeric( $_POST['user_reg_more'] ) ) { |
|
92 | $f_user_reg_more = intval( trim( $_POST['user_reg_more'] ) ); |
|
@@ 91-97 (lines=7) @@ | ||
88 | } |
|
89 | } |
|
90 | ||
91 | if ( !empty( $_POST['user_reg_more'] ) && is_numeric( $_POST['user_reg_more'] ) ) { |
|
92 | $f_user_reg_more = intval( trim( $_POST['user_reg_more'] ) ); |
|
93 | $time = time() - ( 60 * 60 * 24 * $f_user_reg_more ); |
|
94 | if ( $time > 0 ) { |
|
95 | $criteria->add( new Criteria( 'user_regdate', $time, '<' ) ); |
|
96 | } |
|
97 | } |
|
98 | ||
99 | if ( !empty( $_POST['user_reg_less'] ) && is_numeric( $_POST['user_reg_less'] ) ) { |
|
100 | $f_user_reg_less = intval( $_POST['user_reg_less'] ); |
|
@@ 99-105 (lines=7) @@ | ||
96 | } |
|
97 | } |
|
98 | ||
99 | if ( !empty( $_POST['user_reg_less'] ) && is_numeric( $_POST['user_reg_less'] ) ) { |
|
100 | $f_user_reg_less = intval( $_POST['user_reg_less'] ); |
|
101 | $time = time() - ( 60 * 60 * 24 * $f_user_reg_less ); |
|
102 | if ( $time > 0 ) { |
|
103 | $criteria->add( new Criteria( 'user_regdate', $time, '>' ) ); |
|
104 | } |
|
105 | } |
|
106 | ||
107 | if ( isset( $_POST['user_posts_more'] ) && is_numeric( $_POST['user_posts_more'] ) ) { |
|
108 | $criteria->add( new Criteria( 'posts', intval( $_POST['user_posts_more'] ), '>' ) ); |
@@ 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'] ), '>' ) ); |