Ignore:
Timestamp:
2007/03/12 11:57:26 (19 years ago)
Author:
uehara
Message:
 
File:
1 edited

Legend:

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

    r11762 r11771  
    164164            $this->setWhere($sql_where); 
    165165        } 
    166          
     166 
     167        //¡¡E-MAIL(mobile) 
     168        if (strlen($this->arrSql['email_mobile']) > 0) { 
     169            //¥«¥ó¥Þ¶èÀÚ¤ê¤ÇÊ£¿ô¤Î¾ò·ï»ØÄê²Äǽ¤Ë 
     170            $this->arrSql['email_mobile'] = explode(",", $this->arrSql['email_mobile']); 
     171            $sql_where = ""; 
     172            foreach($this->arrSql['email_mobile'] as $val) { 
     173                $val = trim($val); 
     174                //¸¡º÷¾ò·ï¤ò´Þ¤Þ¤Ê¤¤ 
     175                if($this->arrSql['not_email_mobileinc'] == '1') { 
     176                    if($sql_where == "") { 
     177                        $sql_where .= "dtb_customer.email_mobile NOT ILIKE ? "; 
     178                    } else { 
     179                        $sql_where .= "AND dtb_customer.email_mobile NOT ILIKE ? "; 
     180                    } 
     181                } else {                 
     182                    if($sql_where == "") { 
     183                        $sql_where .= "dtb_customer.email_mobile ILIKE ? "; 
     184                    } else { 
     185                        $sql_where .= "OR dtb_customer.email_mobile ILIKE ? "; 
     186                    } 
     187                } 
     188                $searchemail_mobile = $this->addSearchStr($val); 
     189                $this->arrVal[] = $searchemail_mobile; 
     190            } 
     191            $this->setWhere($sql_where); 
     192        } 
     193                 
    167194        //¡¡ÇÛ¿®¥á¡¼¥ë¥¢¥É¥ì¥¹¼ïÊÌ 
    168195        if ( $mode == 'magazine' ){ 
Note: See TracChangeset for help on using the changeset viewer.