Changeset 12453
- Timestamp:
- 2007/05/10 13:12:23 (19 years ago)
- File:
-
- 1 edited
-
branches/dev/data/class/SC_CustomerList.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/dev/data/class/SC_CustomerList.php
r12449 r12453 205 205 if($val==3){ 206 206 if($this->arrSql['mail_type']==1){ 207 $this->setWhere( "email LIKE '%@docomo.ne.jp%' OR email LIKE '%@softbank.ne.jp%' OR email LIKE '%@ezweb.ne.jp%' OR email LIKE '%vodafone.ne.jp'" ); 207 $this->setWhere( "email LIKE '%@docomo.ne.jp%' " . 208 "OR email LIKE '%@softbank.ne.jp%' " . 209 "OR email LIKE '%@ezweb.ne.jp%' " . 210 "OR email LIKE '%vodafone.ne.jp'" ); 208 211 }elseif($this->arrSql['mail_type']==2){ 209 $this->setWhere( "email_mobile LIKE '%@docomo.ne.jp%' OR email_mobile LIKE '%@softbank.ne.jp%' OR email_mobile LIKE '%@ezweb.ne.jp%' OR email_mobile LIKE '%vodafone.ne.jp'" ); 212 $this->setWhere( "email_mobile LIKE '%@docomo.ne.jp%' " . 213 "OR email_mobile LIKE '%@softbank.ne.jp%' " . 214 "OR email_mobile LIKE '%@ezweb.ne.jp%' " . 215 "OR email_mobile LIKE '%vodafone.ne.jp'" ); 210 216 } 211 217 } … … 213 219 if($val==2){ 214 220 if($this->arrSql['mail_type']==1){ 215 $this->setWhere( "email NOT ILIKE '%@docomo.ne.jp%' AND email NOT ILIKE '%@softbank.ne.jp%' AND email NOT ILIKE '%@ezweb.ne.jp%' AND email NOT ILIKE '%vodafone.ne.jp'" ); 221 $this->setWhere( "email NOT ILIKE '%@docomo.ne.jp%' " . 222 "AND email NOT ILIKE '%@softbank.ne.jp%' " . 223 "AND email NOT ILIKE '%@ezweb.ne.jp%' " . 224 "AND email NOT ILIKE '%vodafone.ne.jp'" ); 216 225 }elseif($this->arrSql['mail_type']==2){ 217 $this->setWhere( "email_mobile NOT ILIKE '%@docomo.ne.jp%' AND email_mobile NOT ILIKE '%@softbank.ne.jp%' AND email_mobile NOT ILIKE '%@ezweb.ne.jp%' AND email_mobile NOT ILIKE '%vodafone.ne.jp'" ); 226 $this->setWhere( "email_mobile NOT ILIKE '%@docomo.ne.jp%' " . 227 "AND email_mobile NOT ILIKE '%@softbank.ne.jp%' " . 228 "AND email_mobile NOT ILIKE '%@ezweb.ne.jp%' " . 229 "AND email_mobile NOT ILIKE '%vodafone.ne.jp'" ); 218 230 } 219 231 }
Note: See TracChangeset
for help on using the changeset viewer.
