Changeset 15622 for branches/feature-module-update/data/class/pages/shopping/LC_Page_Shopping_Deliv.php
- Timestamp:
- 2007/09/05 17:00:49 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/feature-module-update/data/class/pages/shopping/LC_Page_Shopping_Deliv.php
r15532 r15622 14 14 * @package Page 15 15 * @author LOCKON CO.,LTD. 16 * @version $Id $16 * @version $Id:LC_Page_Shopping_Deliv.php 15532 2007-08-31 14:39:46Z nanasess $ 17 17 */ 18 18 class LC_Page_Shopping_Deliv extends LC_Page { … … 71 71 // ユーザユニークIDの取得と購入状態の正当性をチェック 72 72 $uniqid = SC_Utils_Ex::sfCheckNormalAccess($objSiteSess, $objCartSess); 73 $objPage->tpl_uniqid = $uniqid; 73 $this->tpl_uniqid = $uniqid; 74 75 if (!isset($_POST['mode'])) $_POST['mode'] = ""; 74 76 75 77 // ログインチェック … … 82 84 case 'login': 83 85 $this->objLoginFormParam->toLower('login_email'); 84 $ objPage->arrErr = $this->objLoginFormParam->checkError();86 $this->arrErr = $this->objLoginFormParam->checkError(); 85 87 $arrForm = $this->objLoginFormParam->getHashArray(); 86 88 // クッキー保存判定 … … 91 93 } 92 94 93 if(count($ objPage->arrErr) == 0) {95 if(count($this->arrErr) == 0) { 94 96 // ログイン判定 95 97 if(!$objCustomer->getCustomerDataFromEmailPass($arrForm['login_pass'], $arrForm['login_email'])) { … … 157 159 $where = "order_temp_id = ?"; 158 160 $arrRet = $objQuery->select("*", "dtb_order_temp", $where, array($uniqid)); 161 if (empty($arrRet)) $arrRet = array(""); 159 162 $this->objFormParam->setParam($arrRet[0]); 160 163 break; … … 172 175 $objQuery->setorder("other_deliv_id DESC"); 173 176 $objOtherAddr = $objQuery->select($col, "dtb_other_deliv", $where, array($_SESSION['customer']['customer_id'])); 174 $ objPage->arrAddr = $arrCustomerAddr;175 $ objPage->tpl_addrmax = count($objOtherAddr);177 $this->arrAddr = $arrCustomerAddr; 178 $this->tpl_addrmax = count($objOtherAddr); 176 179 $cnt = 1; 177 180 foreach($objOtherAddr as $val) { 178 $ objPage->arrAddr[$cnt] = $val;181 $this->arrAddr[$cnt] = $val; 179 182 $cnt++; 180 183 } 181 184 182 185 // 入力値の取得 183 $objPage->arrForm = $this->objFormParam->getFormParamList(); 184 $objPage->arrErr = $arrErr; 185 186 $objView->assignobj($objPage); 186 if (!isset($arrErr)) $arrErr = array(); 187 $this->arrForm = $this->objFormParam->getFormParamList(); 188 $this->arrErr = $arrErr; 189 190 $objView->assignobj($this); 187 191 // フレームを選択(キャンペーンページから遷移なら変更) 188 192 $objCampaignSess->pageView($objView);
Note: See TracChangeset
for help on using the changeset viewer.