Changeset 11771
- Timestamp:
- 2007/03/12 11:57:26 (17 years ago)
- Location:
- branches/dev/data
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/dev/data/Smarty/templates/admin/mail/index.tpl
r11742 r11771 133 133 <span style="<!--{$arrErr.email|sfGetErrorColor}-->"> 134 134 <input type="text" name="email" maxlength="<!--{$smarty.const.STEXT_LEN}-->" value="<!--{$list_data.email|escape}-->" size="60" class="box60" style="<!--{$arrErr.email|sfGetErrorColor}-->"/> 135 </span> 136 </td> 137 </tr> 138 139 <tr class="fs12n"> 140 <td bgcolor="#f2f1ec" width="110">·ÈÂӥ᡼¥ë¥¢¥É¥ì¥¹</td> 141 <td bgcolor="#ffffff" colspan="3"> 142 <!--{if $arrErr.email_mobile}--><span class="red12"><!--{$arrErr.email_mobile}--></span><!--{/if}--> 143 <span style="<!--{$arrErr.email_mobile|sfGetErrorColor}-->"> 144 <input type="text" name="email_mobile" maxlength="<!--{$smarty.const.STEXT_LEN}-->" value="<!--{$list_data.email_mobile|escape}-->" size="60" class="box60" style="<!--{$arrErr.email_mobile|sfGetErrorColor}-->"/> 135 145 </span> 136 146 </td> -
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.