Changeset 12424
- Timestamp:
- 2007/05/10 10:01:03 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/dev/data/class/SC_CustomerList.php
r12423 r12424 206 206 $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 207 }elseif($this->arrSql['mail_type']==2){ 208 $this->setWhere( "email _mobile LIKE '%@docomo.ne.jp%'" );208 $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%'" ); 209 209 } 210 210 } 211 211 if($val==2){ 212 212 if($this->arrSql['mail_type']==1){ 213 $this->setWhere( "email NOT LIKE '%@docomo.ne.jp%'" );213 $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%'" ); 214 214 }elseif($this->arrSql['mail_type']==2){ 215 $this->setWhere( "email _mobile NOT LIKE '%@docomo.ne.jp%'" );215 $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%'" ); 216 216 } 217 217 }
Note: See TracChangeset
for help on using the changeset viewer.