Changeset 18007 for branches/version-2/data/class/pages/admin/customer
- Timestamp:
- 2009/05/15 16:30:40 (17 years ago)
- Location:
- branches/version-2/data/class/pages/admin/customer
- Files:
-
- 1 added
- 1 edited
-
LC_Page_Admin_Customer.php (modified) (3 diffs)
-
LC_Page_Admin_Customer_SearchCustomer.php (added)
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2/data/class/pages/admin/customer/LC_Page_Admin_Customer.php
r17343 r18007 63 63 $this->arrHtmlmail[1] = $this->arrMAILMAGATYPE[1]; 64 64 $this->arrHtmlmail[2] = $this->arrMAILMAGATYPE[2]; 65 66 $this->arrStatus[1] = "仮会員"; 67 $this->arrStatus[2] = "本会員"; 65 68 66 69 //---- CSVダウンロード用 … … 182 185 switch($key) { 183 186 case 'sex': 187 case 'status': 184 188 $this->arrHidden[$key] = SC_Utils_Ex::sfMergeParamCheckBoxes($val); 185 189 if(!is_array($val)) { … … 208 212 } 209 213 } 210 if ($_POST['mode'] == "search" || $_POST['mode'] == "csv" || $_POST['mode'] == "delete" || $_POST['mode'] == "delete_all") { 214 //if ($_POST['mode'] == "search" || $_POST['mode'] == "csv" || $_POST['mode'] == "delete" || $_POST['mode'] == "delete_all") { 215 // 登録メール再送 216 if ($_POST['mode'] == "resend_mail") { 217 $arrRet = $objQuery->select("name01, name02, secret_key, email", "dtb_customer","customer_id = ? AND del_flg <> 1 AND status = 1", array($_POST["edit_customer_id"])); 218 if( is_array($arrRet) === true && count($arrRet) > 0 ){ 219 220 $CONF = $objDb->sf_getBasisData(); 221 $this->CONF = $CONF; 222 $objMailText = new SC_SiteView(); 223 $objMailText->assignobj($this); 224 $mailHelper = new SC_Helper_Mail_Ex(); 225 226 $this->name01 = $arrRet[0]['name01']; 227 $this->name02 = $arrRet[0]['name02']; 228 $this->uniqid = $arrRet[0]['secret_key']; 229 230 $subject = $mailHelper->sfMakesubject($objQuery, $objMailText, $this, '会員登録のご確認'); 231 $toCustomerMail = $objMailText->fetch("mail_templates/customer_mail.tpl"); 232 233 $objMail = new SC_SendMail(); 234 $objMail->setItem( 235 '' // 宛先 236 , $subject // サブジェクト 237 , $toCustomerMail // 本文 238 , $CONF["email03"] // 配送元アドレス 239 , $CONF["shop_name"]// 配送元 名前 240 , $CONF["email03"] // reply_to 241 , $CONF["email04"] // return_path 242 , $CONF["email04"] // Errors_to 243 ); 244 // 宛先の設定 245 $name = $this->name01 . $this->name02 ." 様"; 246 $objMail->setTo($arrRet[0]["email"], $name); 247 $objMail->sendMail(); 248 } 249 250 } 251 if ($_POST['mode'] == "search" || $_POST['mode'] == "csv" || $_POST['mode'] == "delete" || $_POST['mode'] == "delete_all" || $_POST['mode'] == "resend_mail") { 252 211 253 // 入力文字の強制変換 212 254 $this->lfConvertParam();
Note: See TracChangeset
for help on using the changeset viewer.
