Changeset 16186


Ignore:
Timestamp:
2007/09/30 12:39:43 (16 years ago)
Author:
nanasess
Message:

デグレ修正

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/feature-module-update/data/class/pages/shopping/LC_Page_Shopping.php

    r16170 r16186  
    3737        parent::init(); 
    3838        $this->tpl_mainpage = 'shopping/index.tpl'; 
     39        $this->tpl_column_num = 1; 
    3940        $masterData = new SC_DB_MasterData(); 
    4041        $this->arrPref = $masterData->getMasterData("mtb_pref", array("pref_id", "pref_name", "rank")); 
     
    4243        $this->arrJob = $masterData->getMasterData("mtb_job"); 
    4344        $this->tpl_onload = 'fnCheckInputDeliv();'; 
    44  
    4545        $this->allowClientCache(); 
    4646    } 
     
    5959        $objCustomer = new SC_Customer(); 
    6060        $objCookie = new SC_Cookie(); 
    61         $this->objFormParam = new SC_FormParam();           // フォーム用 
    62         $this->lfInitParam();                               // パラメータ情報の初期化 
    63         $this->objFormParam->setParam($_POST);          // POST値の取得 
     61        $this->objFormParam = new SC_FormParam();            // フォーム用 
     62        $this->lfInitParam();                                // パラメータ情報の初期化 
     63        $this->objFormParam->setParam($_POST);            // POST値の取得 
    6464 
    6565        // ユーザユニークIDの取得と購入状態の正当性をチェック 
    66         $this->tpl_uniqid = SC_Utils_Ex::sfCheckNormalAccess($objSiteSess, $objCartSess); 
     66        $uniqid = SC_Utils_Ex::sfCheckNormalAccess($objSiteSess, $objCartSess); 
     67        $this->tpl_uniqid = $uniqid; 
    6768 
    6869        // ログインチェック 
     
    146147        // 選択用日付の取得 
    147148        $objDate = new SC_Date(START_BIRTH_YEAR); 
    148         $this->arrYear = $objDate->getYear('', 1950);   // 日付プルダウン設定 
     149        $this->arrYear = $objDate->getYear('', 1950);    // 日付プルダウン設定 
    149150        $this->arrMonth = $objDate->getMonth(); 
    150151        $this->arrDay = $objDate->getDay(); 
     
    189190        $objCustomer = new SC_Customer(); 
    190191        $objCookie = new SC_Cookie(); 
    191         $this->objFormParam = new SC_FormParam();           // フォーム用 
     192        $this->objFormParam = new SC_FormParam();            // フォーム用 
    192193        $helperMobile = new SC_Helper_Mobile_Ex(); 
    193         $this->lfInitParam();                               // パラメータ情報の初期化 
    194         $this->objFormParam->setParam($_POST);          // POST値の取得 
     194        $this->lfInitParam();                                // パラメータ情報の初期化 
     195        $this->objFormParam->setParam($_POST);            // POST値の取得 
    195196 
    196197        // ユーザユニークIDの取得と購入状態の正当性をチェック 
     
    266267        // 選択用日付の取得 
    267268        $objDate = new SC_Date(START_BIRTH_YEAR); 
    268         $this->arrYear = $objDate->getYear('', 1950);   // 日付プルダウン設定 
     269        $this->arrYear = $objDate->getYear('', 1950);    // 日付プルダウン設定 
    269270        $this->arrMonth = $objDate->getMonth(); 
    270271        $this->arrDay = $objDate->getDay(); 
     
    373374 
    374375        // 別のお届け先チェック 
    375         if($_POST['deliv_check'] == "1") { 
     376        if(isset($_POST['deliv_check']) && $_POST['deliv_check'] == "1") { 
    376377            $objErr->doFunc(array("お名前(姓)", "deliv_name01"), array("EXIST_CHECK")); 
    377378            $objErr->doFunc(array("お名前(名)", "deliv_name02"), array("EXIST_CHECK")); 
     
    399400 
    400401        // すでにメルマガテーブルに会員としてメールアドレスが登録されている場合 
    401         if(SC_Utils_Ex::sfCheckCustomerMailMaga($arrRet['order_email'])) { 
     402        $helperMail = new SC_Helper_Mail_Ex(); 
     403        if($helperMail->sfCheckCustomerMailMaga($arrRet['order_email'])) { 
    402404            $objErr->arrErr['order_email'] = "このメールアドレスはすでに登録されています。<br />"; 
    403405        } 
Note: See TracChangeset for help on using the changeset viewer.