Changeset 12453


Ignore:
Timestamp:
2007/05/10 13:12:23 (19 years ago)
Author:
matsumoto
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/dev/data/class/SC_CustomerList.php

    r12449 r12453  
    205205            if($val==3){ 
    206206                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'" ); 
    208211            }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'" ); 
    210216                } 
    211217            } 
     
    213219            if($val==2){ 
    214220                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'" ); 
    216225            }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'" ); 
    218230                } 
    219231            } 
Note: See TracChangeset for help on using the changeset viewer.