Changeset 11624


Ignore:
Timestamp:
2007/03/08 23:01:50 (17 years ago)
Author:
uehara
Message:
 
Location:
branches/dev/data
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/dev/data/Smarty/templates/admin/mail/index.tpl

    r11577 r11624  
    137137                            </tr> 
    138138                             
     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}-->"/> 
     145                                    </span> 
     146                                </td> 
     147                            </tr> 
     148                                                         
    139149                            <tr class="fs12n"> 
    140150                                <td bgcolor="#f2f1ec" width="110">¿¦¶È</td> 
  • branches/dev/data/class/SC_CustomerList.php

    r11611 r11624  
    164164            $this->setWhere($sql_where); 
    165165        } 
     166     
     167        //¡¡·ÈÂÓÍѥ᡼¥ë¥¢¥É¥ì¥¹ 
     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                if($sql_where == "") { 
     175                    $sql_where .= "dtb_customer.email_mobile ILIKE ? "; 
     176                } else { 
     177                    $sql_where .= "OR dtb_customer.email_mobile ILIKE ? "; 
     178                } 
     179                $this->arrVal[] = $this->addSearchStr($val); 
     180            } 
     181            $this->setWhere($sql_where); 
     182        } 
     183         
     184                 
    166185        //¡¡HTML-mail 
    167186        if ( $mode == 'magazine' ){ 
Note: See TracChangeset for help on using the changeset viewer.