Changeset 16186
- Timestamp:
- 2007/09/30 12:39:43 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/feature-module-update/data/class/pages/shopping/LC_Page_Shopping.php
r16170 r16186 37 37 parent::init(); 38 38 $this->tpl_mainpage = 'shopping/index.tpl'; 39 $this->tpl_column_num = 1; 39 40 $masterData = new SC_DB_MasterData(); 40 41 $this->arrPref = $masterData->getMasterData("mtb_pref", array("pref_id", "pref_name", "rank")); … … 42 43 $this->arrJob = $masterData->getMasterData("mtb_job"); 43 44 $this->tpl_onload = 'fnCheckInputDeliv();'; 44 45 45 $this->allowClientCache(); 46 46 } … … 59 59 $objCustomer = new SC_Customer(); 60 60 $objCookie = new SC_Cookie(); 61 $this->objFormParam = new SC_FormParam(); 62 $this->lfInitParam(); 63 $this->objFormParam->setParam($_POST); 61 $this->objFormParam = new SC_FormParam(); // フォーム用 62 $this->lfInitParam(); // パラメータ情報の初期化 63 $this->objFormParam->setParam($_POST); // POST値の取得 64 64 65 65 // ユーザユニークIDの取得と購入状態の正当性をチェック 66 $this->tpl_uniqid = SC_Utils_Ex::sfCheckNormalAccess($objSiteSess, $objCartSess); 66 $uniqid = SC_Utils_Ex::sfCheckNormalAccess($objSiteSess, $objCartSess); 67 $this->tpl_uniqid = $uniqid; 67 68 68 69 // ログインチェック … … 146 147 // 選択用日付の取得 147 148 $objDate = new SC_Date(START_BIRTH_YEAR); 148 $this->arrYear = $objDate->getYear('', 1950); 149 $this->arrYear = $objDate->getYear('', 1950); // 日付プルダウン設定 149 150 $this->arrMonth = $objDate->getMonth(); 150 151 $this->arrDay = $objDate->getDay(); … … 189 190 $objCustomer = new SC_Customer(); 190 191 $objCookie = new SC_Cookie(); 191 $this->objFormParam = new SC_FormParam(); 192 $this->objFormParam = new SC_FormParam(); // フォーム用 192 193 $helperMobile = new SC_Helper_Mobile_Ex(); 193 $this->lfInitParam(); 194 $this->objFormParam->setParam($_POST); 194 $this->lfInitParam(); // パラメータ情報の初期化 195 $this->objFormParam->setParam($_POST); // POST値の取得 195 196 196 197 // ユーザユニークIDの取得と購入状態の正当性をチェック … … 266 267 // 選択用日付の取得 267 268 $objDate = new SC_Date(START_BIRTH_YEAR); 268 $this->arrYear = $objDate->getYear('', 1950); 269 $this->arrYear = $objDate->getYear('', 1950); // 日付プルダウン設定 269 270 $this->arrMonth = $objDate->getMonth(); 270 271 $this->arrDay = $objDate->getDay(); … … 373 374 374 375 // 別のお届け先チェック 375 if( $_POST['deliv_check'] == "1") {376 if(isset($_POST['deliv_check']) && $_POST['deliv_check'] == "1") { 376 377 $objErr->doFunc(array("お名前(姓)", "deliv_name01"), array("EXIST_CHECK")); 377 378 $objErr->doFunc(array("お名前(名)", "deliv_name02"), array("EXIST_CHECK")); … … 399 400 400 401 // すでにメルマガテーブルに会員としてメールアドレスが登録されている場合 401 if(SC_Utils_Ex::sfCheckCustomerMailMaga($arrRet['order_email'])) { 402 $helperMail = new SC_Helper_Mail_Ex(); 403 if($helperMail->sfCheckCustomerMailMaga($arrRet['order_email'])) { 402 404 $objErr->arrErr['order_email'] = "このメールアドレスはすでに登録されています。<br />"; 403 405 }
Note: See TracChangeset
for help on using the changeset viewer.