@@ 149-152 (lines=4) @@ | ||
146 | } |
|
147 | } |
|
148 | ||
149 | if (!empty($_POST['user_url'])) { |
|
150 | $url = formatURL(trim($_POST['user_url'])); |
|
151 | $criteria->add(new Criteria('url', $myts->addSlashes($url) . '%', 'LIKE')); |
|
152 | } |
|
153 | ||
154 | if (!empty($_POST['user_icq'])) { |
|
155 | $match = (!empty($_POST['user_icq_match'])) ? (int)$_POST['user_icq_match'] : XOOPS_MATCH_START; |
|
@@ 178-180 (lines=3) @@ | ||
175 | xoops_Criteria($criteria, 'user_msnm', $ret, $match); |
|
176 | } |
|
177 | ||
178 | if (!empty($_POST['user_from'])) { |
|
179 | $criteria->add(new Criteria('user_from', '%' . $myts->addSlashes(trim($_POST['user_from'])) . '%', 'LIKE')); |
|
180 | } |
|
181 | ||
182 | if (!empty($_POST['user_intrest'])) { |
|
183 | $criteria->add(new Criteria('user_intrest', '%' . $myts->addSlashes(trim($_POST['user_intrest'])) . '%', 'LIKE')); |
|
@@ 182-184 (lines=3) @@ | ||
179 | $criteria->add(new Criteria('user_from', '%' . $myts->addSlashes(trim($_POST['user_from'])) . '%', 'LIKE')); |
|
180 | } |
|
181 | ||
182 | if (!empty($_POST['user_intrest'])) { |
|
183 | $criteria->add(new Criteria('user_intrest', '%' . $myts->addSlashes(trim($_POST['user_intrest'])) . '%', 'LIKE')); |
|
184 | } |
|
185 | ||
186 | if (!empty($_POST['user_occ'])) { |
|
187 | $criteria->add(new Criteria('user_occ', '%' . $myts->addSlashes(trim($_POST['user_occ'])) . '%', 'LIKE')); |
|
@@ 186-188 (lines=3) @@ | ||
183 | $criteria->add(new Criteria('user_intrest', '%' . $myts->addSlashes(trim($_POST['user_intrest'])) . '%', 'LIKE')); |
|
184 | } |
|
185 | ||
186 | if (!empty($_POST['user_occ'])) { |
|
187 | $criteria->add(new Criteria('user_occ', '%' . $myts->addSlashes(trim($_POST['user_occ'])) . '%', 'LIKE')); |
|
188 | } |
|
189 | ||
190 | if (!empty($_POST['user_lastlog_more']) && is_numeric($_POST['user_lastlog_more'])) { |
|
191 | $f_user_lastlog_more = (int)trim($_POST['user_lastlog_more']); |