Changeset 15610 for branches/feature-module-update
- Timestamp:
- 2007/09/05 14:26:24 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/feature-module-update/data/class/pages/shopping/LC_Page_Shopping.php
r15532 r15610 14 14 * @package Page 15 15 * @author LOCKON CO.,LTD. 16 * @version $Id $16 * @version $Id:LC_Page_Shopping.php 15532 2007-08-31 14:39:46Z nanasess $ 17 17 */ 18 18 class LC_Page_Shopping extends LC_Page { … … 23 23 var $objFormParam; 24 24 25 / / TODO26 var $ arrSession;25 /** 年 */ 26 var $year; 27 27 28 28 // }}} … … 79 79 } 80 80 81 if (!isset($_POST['mode'])) $_POST['mode'] = ""; 82 81 83 switch($_POST['mode']) { 82 84 case 'nonmember_confirm': 83 $this = $this->lfSetNonMember($this);85 $this->lfSetNonMember($this); 84 86 // ※breakなし 85 87 case 'confirm': … … 102 104 $objSiteSess->setRegistFlag(); 103 105 // お支払い方法選択ページへ移動 104 $this->sendRedirect($this->getLocation(URL_SHOP_PAYMENT , array()));106 $this->sendRedirect($this->getLocation(URL_SHOP_PAYMENT)); 105 107 exit; 106 108 } … … 110 112 case 'return': 111 113 // 確認ページへ移動 112 $this->sendRedirect($this->getLocation(URL_CART_TOP , array()));114 $this->sendRedirect($this->getLocation(URL_CART_TOP)); 113 115 exit; 114 116 break; 115 117 case 'nonmember': 116 $this = $this->lfSetNonMember($this);118 $this->lfSetNonMember($this); 117 119 // ※breakなし 118 120 default: 119 if( $_GET['from'] == 'nonmember') {120 $this = $this->lfSetNonMember($this);121 if(isset($_GET['form']) && $_GET['from'] == 'nonmember') { 122 $this->lfSetNonMember($this); 121 123 } 122 124 // ユーザユニークIDの取得 … … 125 127 $where = "order_temp_id = ?"; 126 128 $arrRet = $objQuery->select("*", "dtb_order_temp", $where, array($uniqid)); 129 if (empty($arrRet)) $arrRet = array( 130 array('order_email' => "", 131 'order_birth' => "")); 132 127 133 // DB値の取得 128 134 $this->objFormParam->setParam($arrRet[0]); … … 151 157 $this->arrForm = $this->objFormParam->getFormParamList(); 152 158 153 if( $this->arrForm['year']['value'] == ""){159 if(empty($this->arrForm['year']['value'])){ 154 160 $this->arrForm['year']['value'] = '----'; 155 161 } … … 171 177 172 178 /* 非会員入力ページのセット */ 173 function lfSetNonMember( $objPage) {179 function lfSetNonMember(&$objPage) { 174 180 $objPage->tpl_mainpage = 'shopping/nonmember_input.tpl'; 175 181 $objPage->tpl_css = array(); 176 182 $objPage->tpl_css[] = URL_DIR.'css/layout/login/nonmember.css'; 177 return $objPage;178 183 } 179 184
Note: See TracChangeset
for help on using the changeset viewer.