Changeset 13916
- Timestamp:
- 2007/05/31 17:12:55 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/dev/data/class/SC_CustomerList.php
r13910 r13916 201 201 * } 202 202 */ 203 //¥É¥á¥¤¥ó»ØÄê 204 if ( $mode == 'magazine' ){ 203 if($mode == 'magazine'){ 205 204 global $arrDomainType; 206 205 $sql_where = ""; 207 $domain = $this->arrSql['domain']; 208 foreach($arrDomainType as $val) { 209 //PC¥É¥á¥¤¥ó 210 if($domain == 2) { 211 if($sql_where == "") { 212 $sql_where .= "dtb_customer.email NOT ILIKE ? "; 213 } else { 214 $sql_where .= "AND dtb_customer.email NOT LIKE ? " ; 215 } 216 } 217 //·ÈÂӥɥᥤ¥ó 218 if($domain == 3) { 219 if($sql_where == "") { 220 $sql_where .= "dtb_customer.email ILIKE ? "; 221 } else { 222 $sql_where .= "OR dtb_customer.email LIKE ? " ; 223 } 224 } 225 $this->arrVal[] = $this->addSearchStr($val); 226 } 227 $this->setWhere($sql_where); 228 } 206 $domain = ($this->arrSql['domai']); 207 //¥É¥á¥¤¥ó»ØÄê»þ 208 if($domain == 2 || $domain == 3) { 209 foreach($arrDomainType as $val) { 210 //PC¥É¥á¥¤¥ó 211 if($domain == 2) { 212 if($sql_where == "") { 213 $sql_where .= "dtb_customer.email NOT ILIKE ? "; 214 } else { 215 $sql_where .= "AND dtb_customer.email NOT LIKE ? " ; 216 } 217 } 218 //·ÈÂӥɥᥤ¥ó 219 if($domain == 3) { 220 if($sql_where == "") { 221 $sql_where .= "dtb_customer.email ILIKE ? "; 222 } else { 223 $sql_where .= "OR dtb_customer.email LIKE ? " ; 224 } 225 } 226 $this->arrVal[] = $this->addSearchStr($val); 227 } 228 $this->setWhere($sql_where); 229 } 230 } 229 231 230 232 //¡¡HTML-mail¡ÊÇÛ¿®Êý¼°) 231 if 233 if( $mode == 'magazine' ){ 232 234 if ( strlen($this->arrSql['htmlmail']) > 0 ) { 233 235 $this->setWhere( " mailmaga_flg = ? ");
Note: See TracChangeset
for help on using the changeset viewer.