Changeset 21481 for branches/version-2_12-dev/data/class/pages/regist
- Timestamp:
- 2012/02/11 05:48:00 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_12-dev/data/class/pages/regist/LC_Page_Regist.php
r21420 r21481 99 99 * @param mixed $array 100 100 * @access private 101 * @return string $arrRegist[ "secret_key"] 本登録ID101 * @return string $arrRegist['secret_key'] 本登録ID 102 102 */ 103 103 function lfRegistData($array) { 104 104 $objQuery = SC_Query_Ex::getSingletonInstance(); 105 $arrRegist[ "secret_key"] = SC_Helper_Customer_Ex::sfGetUniqSecretKey(); //本登録ID発行105 $arrRegist['secret_key'] = SC_Helper_Customer_Ex::sfGetUniqSecretKey(); //本登録ID発行 106 106 $arrRegist['status'] = 2; 107 $arrRegist[ "update_date"] = 'CURRENT_TIMESTAMP';107 $arrRegist['update_date'] = 'CURRENT_TIMESTAMP'; 108 108 109 109 $objQuery->begin(); 110 $objQuery->update( "dtb_customer", $arrRegist, "secret_key = ? AND status = 1", array($array['id']));110 $objQuery->update('dtb_customer', $arrRegist, "secret_key = ? AND status = 1", array($array['id'])); 111 111 $objQuery->commit(); 112 112 113 return $arrRegist[ "secret_key"];113 return $arrRegist['secret_key']; 114 114 } 115 115 … … 150 150 151 151 //-- 会員データを取得 152 $arrCustomer = $objQuery->select("*", "dtb_customer", "secret_key = ?", array($registSecretKey));152 $arrCustomer = $objQuery->select("*", 'dtb_customer', "secret_key = ?", array($registSecretKey)); 153 153 $data = $arrCustomer[0]; 154 154 $objCustomer->setLogin($data['email']); … … 157 157 $objMailText = new SC_SiteView_Ex(); 158 158 $objMailText->assign('CONF', $CONF); 159 $objMailText->assign( "name01", $data["name01"]);160 $objMailText->assign( "name02", $data["name02"]);159 $objMailText->assign('name01', $data['name01']); 160 $objMailText->assign('name02', $data['name02']); 161 161 $toCustomerMail = $objMailText->fetch("mail_templates/customer_regist_mail.tpl"); 162 162 $subject = $objHelperMail->sfMakesubject('会員登録が完了しました。'); … … 167 167 , $subject // サブジェクト 168 168 , $toCustomerMail // 本文 169 , $CONF[ "email03"] // 配送元アドレス170 , $CONF[ "shop_name"] // 配送元 名前171 , $CONF[ "email03"] // reply_to172 , $CONF[ "email04"] // return_path173 , $CONF[ "email04"] // Errors_to169 , $CONF['email03'] // 配送元アドレス 170 , $CONF['shop_name'] // 配送元 名前 171 , $CONF['email03'] // reply_to 172 , $CONF['email04'] // return_path 173 , $CONF['email04'] // Errors_to 174 174 ); 175 175 // 宛先の設定 176 $name = $data[ "name01"] . $data["name02"] ." 様";176 $name = $data['name01'] . $data['name02'] ." 様"; 177 177 $objMail->setTo($data['email'], $name); 178 178 $objMail->sendMail();
Note: See TracChangeset
for help on using the changeset viewer.