Changeset 11771 for branches/dev/data/class/SC_CustomerList.php
- Timestamp:
- 2007/03/12 11:57:26 (19 years ago)
- File:
-
- 1 edited
-
branches/dev/data/class/SC_CustomerList.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/dev/data/class/SC_CustomerList.php
r11762 r11771 164 164 $this->setWhere($sql_where); 165 165 } 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 167 194 //¡¡ÇÛ¿®¥á¡¼¥ë¥¢¥É¥ì¥¹¼ïÊÌ 168 195 if ( $mode == 'magazine' ){
Note: See TracChangeset
for help on using the changeset viewer.
