Ignore:
Timestamp:
2007/12/19 13:49:35 (19 years ago)
Author:
satou
Message:

A8,Moba8のモジュール対応

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/feature-module-update/data/class/pages/regist/LC_Page_Regist.php

    r16741 r16930  
    6060     */ 
    6161    function process() { 
    62         $objQuery = new SC_Query(); 
    6362        $objView = new SC_SiteView(); 
    6463        $objSiteInfo = $objView->objSiteInfo; 
    … …  
    7170 
    7271        if(!empty($_GET["cp"])) { 
    73             $etc_val = array("cp" => $_GET['cp']); 
     72            $etc_val['cp'] = $_GET['cp']; 
    7473        } 
    7574 
    7675        //-- 本登録完了のためにメールから接続した場合 
    7776        if ($_GET["mode"] == "regist") { 
    78  
    7977            //-- 入力チェック 
    8078            $this->arrErr = $this->lfErrorCheck($_GET); 
    8179            if ($this->arrErr) { 
    8280                SC_Utils_Ex::sfDispSiteError(FREE_ERROR_MSG, "", true, $this->arrErr["id"]); 
     81             
    8382            } else { 
    8483                $registSecretKey = $this->lfRegistData($_GET);          //本会員登録(フラグ変更) 
    … …  
    8685 
    8786                // ログイン済みの状態にする。 
    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; 
    9092                $this->sendRedirect($this->getLocation("./complete.php", $etc_val)); 
    9193                exit; 
    … …  
    117119     */ 
    118120    function mobileProcess() { 
    119         $objQuery = new SC_Query(); 
    120121        $objView = new SC_MobileView(); 
    121122        $objSiteInfo = $objView->objSiteInfo; 
    … …  
    139140 
    140141                // ログイン済みの状態にする。 
    141  
     142                $objQuery = new SC_Query(); 
    142143                $email = $objQuery->get("dtb_customer", "email", "secret_key = ?", array($registSecretKey)); 
    143144                $objCustomer->setLogin($email); 
    … …  
    237238    //---- 入力エラーチェック 
    238239    function lfErrorCheck($array) { 
    239  
    240240        $objQuery = new SC_Query(); 
    241241        $objErr = new SC_CheckError($array); 
Note: See TracChangeset for help on using the changeset viewer.