- Timestamp:
- 2007/10/11 16:41:56 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/feature-module-update/data/class/pages/regist/LC_Page_Regist.php
r16371 r16379 130 130 //$this->tpl_mainpage = 'regist/complete.tpl'; 131 131 //$this->tpl_title = ' 会員登録(完了ページ)'; 132 $registSecretKey = lfRegistData($_GET); //本会員登録(フラグ変更)133 lfSendRegistMail($registSecretKey); //本会員登録完了メール送信132 $registSecretKey = $this->lfRegistData($_GET); //本会員登録(フラグ変更) 133 $this->lfSendRegistMail($registSecretKey); //本会員登録完了メール送信 134 134 135 135 // ログイン済みの状態にする。 … … 137 137 $email = $objQuery->get("dtb_customer", "email", "secret_key = ?", array($registSecretKey)); 138 138 $objCustomer->setLogin($email); 139 $this->sendRedirect($this->getLocation("./complete.php")); 140 header("Location: " . gfAddSessionId("./complete.php")); 139 $this->sendRedirect($this->getLocation("./complete.php"), true); 141 140 exit; 142 141 } … … 188 187 $arrRet = $objQuery->select("point", "dtb_customer", $where, array($array["id"])); 189 188 // 会員登録時の加算ポイント(購入時会員登録の場合は、ポイント加算) 190 $arrRegist['point'] = $arrRet[0]['point'] + addslashes($arrInfo['welcome_point']);189 $arrRegist['point'] = $arrRet[0]['point'] + $arrInfo['welcome_point']; 191 190 192 191 $objQuery->update("dtb_customer", $arrRegist, $where, array($array["id"])); … … 229 228 } 230 229 231 $objQuery->update("dtb_customer", $arrRegistMail, "email = '" .addslashes($email). "'AND del_flg = 0");230 $objQuery->update("dtb_customer", $arrRegistMail, "email = " . SC_Utils_Ex::sfQuoteSmart($email). " AND del_flg = 0"); 232 231 $objConn->query("COMMIT"); 233 232
Note: See TracChangeset
for help on using the changeset viewer.
