Changeset 18020
- Timestamp:
- 2009/05/20 13:26:36 (15 years ago)
- Location:
- branches/comu-ver2/data/class
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/comu-ver2/data/class/SC_CustomerList.php
r17568 r18020 28 28 29 29 var $arrColumnCSV; 30 30 31 31 function SC_CustomerList($array, $mode = '') { 32 32 parent::SC_SelectSql($array); … … 197 197 // PCサイトメールが指定されている場合 198 198 if ( strlen($this->arrSql['mail_type']) > 0 && $this->arrSql['mail_type'] == 1) { 199 200 201 $this->setWhere(" dtb_customer.email NOT ILIKE '%$mobile_domain' "); 202 199 // 携帯ドメインを外す。 200 foreach($arrMobileDomain as $mobile_domain) { 201 $this->setWhere(" dtb_customer.email NOT ILIKE '%$mobile_domain' "); 202 } 203 203 // 携帯サイトメールが指定されている場合 204 204 } else if( strlen($this->arrSql['mail_type']) > 0 && $this->arrSql['mail_type'] == 2) { 205 205 $this->setWhere( " dtb_customer.email_mobile <> '' "); 206 206 } 207 207 } -
branches/comu-ver2/data/class/pages/admin/customer/LC_Page_Admin_Customer.php
r17590 r18020 214 214 // 登録メール再送 215 215 if ($_POST['mode'] == "resend_mail") { 216 $CONF = $objDb->sf_getBasisData();217 $this->CONF = $CONF;218 $objMailText = new SC_SiteView();219 $objMailText->assignobj($this);220 $mailHelper = new SC_Helper_Mail_Ex();221 222 216 $arrRet = $objQuery->select("name01, name02, secret_key, email", "dtb_customer","customer_id = ? AND del_flg <> 1 AND status = 1", array($_POST["edit_customer_id"])); 223 224 $this->name01 = $arrRet[0]['name01']; 225 $this->name02 = $arrRet[0]['name02']; 226 $this->uniqid = $arrRet[0]['secret_key']; 227 228 229 $subject = $mailHelper->sfMakesubject('会員登録のご確認'); 230 $toCustomerMail = $objMailText->fetch("mail_templates/customer_mail.tpl"); 231 232 $objMail = new SC_SendMail(); 233 $objMail->setItem( 234 '' // 宛先 235 , $subject // サブジェクト 236 , $toCustomerMail // 本文 237 , $CONF["email03"] // 配送元アドレス 238 , $CONF["shop_name"] // 配送元 名前 239 , $CONF["email03"] // reply_to 240 , $CONF["email04"] // return_path 241 , $CONF["email04"] // Errors_to 242 ); 243 // 宛先の設定 244 $name = $this->name01 . $this->name02 ." 様"; 245 $objMail->setTo($arrRet[0]["email"], $name); 246 $objMail->sendMail(); 217 if( is_array($arrRet) === true && count($arrRet) > 0 ){ 218 219 $this->name01 = $arrRet[0]['name01']; 220 $this->name02 = $arrRet[0]['name02']; 221 $this->uniqid = $arrRet[0]['secret_key']; 222 223 $CONF = $objDb->sf_getBasisData(); 224 $this->CONF = $CONF; 225 $objMailText = new SC_SiteView(); 226 $objMailText->assignobj($this); 227 $mailHelper = new SC_Helper_Mail_Ex(); 228 229 $subject = $mailHelper->sfMakesubject('会員登録のご確認'); 230 $toCustomerMail = $objMailText->fetch("mail_templates/customer_mail.tpl"); 231 232 $objMail = new SC_SendMail(); 233 $objMail->setItem( 234 '' // 宛先 235 , $subject // サブジェクト 236 , $toCustomerMail // 本文 237 , $CONF["email03"] // 配送元アドレス 238 , $CONF["shop_name"]// 配送元 名前 239 , $CONF["email03"] // reply_to 240 , $CONF["email04"] // return_path 241 , $CONF["email04"] // Errors_to 242 ); 243 // 宛先の設定 244 $name = $this->name01 . $this->name02 ." 様"; 245 $objMail->setTo($arrRet[0]["email"], $name); 246 $objMail->sendMail(); 247 } 247 248 248 249 } 249 250 250 251 if ($_POST['mode'] == "search" || $_POST['mode'] == "csv" || $_POST['mode'] == "delete" || $_POST['mode'] == "delete_all" || $_POST['mode'] == "resend_mail") { 252 251 253 // 入力文字の強制変換 252 254 $this->lfConvertParam();
Note: See TracChangeset
for help on using the changeset viewer.