- Timestamp:
- 2007/12/19 13:49:35 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/feature-module-update/data/class/pages/regist/LC_Page_Regist.php
r16741 r16930 60 60 */ 61 61 function process() { 62 $objQuery = new SC_Query();63 62 $objView = new SC_SiteView(); 64 63 $objSiteInfo = $objView->objSiteInfo; … … 71 70 72 71 if(!empty($_GET["cp"])) { 73 $etc_val = array("cp" => $_GET['cp']);72 $etc_val['cp'] = $_GET['cp']; 74 73 } 75 74 76 75 //-- 本登録完了のためにメールから接続した場合 77 76 if ($_GET["mode"] == "regist") { 78 79 77 //-- 入力チェック 80 78 $this->arrErr = $this->lfErrorCheck($_GET); 81 79 if ($this->arrErr) { 82 80 SC_Utils_Ex::sfDispSiteError(FREE_ERROR_MSG, "", true, $this->arrErr["id"]); 81 83 82 } else { 84 83 $registSecretKey = $this->lfRegistData($_GET); //本会員登録(フラグ変更) … … 86 85 87 86 // ログイン済みの状態にする。 88 $email = $objQuery->get("dtb_customer", "email", "secret_key = ?", array($registSecretKey)); 89 $objCustomer->setLogin($email); 87 $objQuery = new SC_Query(); 88 $arrRet = $objQuery->select("customer_id, email", "dtb_customer", "secret_key = ?", array($registSecretKey)); 89 $objCustomer->setLogin($arrRet[0]['email']); 90 $etc_val['ci'] = $arrRet[0]['customer_id']; 91 $_SERVER['QUERY_STRING'] = NULL; 90 92 $this->sendRedirect($this->getLocation("./complete.php", $etc_val)); 91 93 exit; … … 117 119 */ 118 120 function mobileProcess() { 119 $objQuery = new SC_Query();120 121 $objView = new SC_MobileView(); 121 122 $objSiteInfo = $objView->objSiteInfo; … … 139 140 140 141 // ログイン済みの状態にする。 141 142 $objQuery = new SC_Query(); 142 143 $email = $objQuery->get("dtb_customer", "email", "secret_key = ?", array($registSecretKey)); 143 144 $objCustomer->setLogin($email); … … 237 238 //---- 入力エラーチェック 238 239 function lfErrorCheck($array) { 239 240 240 $objQuery = new SC_Query(); 241 241 $objErr = new SC_CheckError($array);
Note: See TracChangeset
for help on using the changeset viewer.
