Changeset 17401
- Timestamp:
- 2008/07/03 16:30:08 (16 years ago)
- Location:
- branches/version-2/data
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2/data/Smarty/templates/default/cart/index.tpl
r16583 r17401 52 52 53 53 <!--{if count($arrProductsClass) > 0}--> 54 54 55 <form name="form1" id="form1" method="post" action="<!--{$smarty.server.PHP_SELF|escape}-->"> 56 <!--{if function_exists('sfGMOCartDisplay')}--> 57 <!--{''|sfGMOCartDisplay}--> 58 <!--{/if}--> 59 55 60 <input type="hidden" name="mode" value="confirm" /> 56 61 <input type="hidden" name="cart_no" value="" /> -
branches/version-2/data/Smarty/templates/default/detail.tpl
r17333 r17401 199 199 </a> 200 200 </p> 201 <!--{if function_exists(sfGMODetailDisplay)}--><!--{* GMOワンクリック *}--> 202 <!--{''|sfGMODetailDisplay}--> 203 <!--{/if}--> 201 204 <!--{else}--> 202 205 <div class="attention">申し訳ございませんが、只今品切れ中です。</div> -
branches/version-2/data/Smarty/templates/default/mypage/change.tpl
r17335 r17401 37 37 <!--{include file="`$smarty.const.TEMPLATE_DIR`frontparts/form_personal_input.tpl" flgFields=3 emailMobile=true prefix=""}--> 38 38 </table> 39 39 <!--{if function_exists('sfGMOMypageDisplay')}--> 40 <!--{''|sfGMOMypageDisplay}--> 41 <!--{/if}--> 40 42 <div class="tblareabtn"> 41 43 <input type="image" onmouseover="chgImgImageSubmit('<!--{$TPL_DIR}-->img/common/b_confirm_on.gif',this)" onmouseout="chgImgImageSubmit('<!--{$TPL_DIR}-->img/common/b_confirm.gif',this)" src="<!--{$TPL_DIR}-->img/common/b_confirm.gif" class="box150" alt="確認ページへ" name="refusal" id="refusal" /> -
branches/version-2/data/class/SC_CartSession.php
r16741 r17401 62 62 $change = false; 63 63 $max = $this->getMax(); 64 for($i = 0; $i <= $max; $i++) {64 for($i = 1; $i <= $max; $i++) { 65 65 if ($_SESSION[$this->key][$i]['quantity'] != $_SESSION[$this->key_tmp][$i]['quantity']) { 66 66 $change = true; -
branches/version-2/data/class/pages/cart/LC_Page_Cart.php
r16741 r17401 24 24 // {{{ requires 25 25 require_once(CLASS_PATH . "pages/LC_Page.php"); 26 if (file_exists(MODULE_PATH . "mdl_gmopg/inc/function.php")) { 27 require_once(MODULE_PATH . "mdl_gmopg/inc/function.php"); 28 } 26 29 27 30 /** -
branches/version-2/data/class/pages/mypage/LC_Page_Mypage_Change.php
r17125 r17401 24 24 // {{{ requires 25 25 require_once(CLASS_PATH . "pages/LC_Page.php"); 26 27 if (file_exists(MODULE_PATH . "mdl_gmopg/inc/function.php")) { 28 require_once(MODULE_PATH . "mdl_gmopg/inc/function.php"); 29 } 26 30 27 31 /** … … 150 154 break; 151 155 156 case 'gmo_oneclick': 157 sfGMOMypageEdit(); 158 $this->arrForm = $this->lfGetCustomerData(); 159 $this->arrForm['password'] = DEFAULT_PASSWORD; 160 $this->arrForm['password02'] = DEFAULT_PASSWORD; 161 break; 152 162 case 'complete': 153 163 //エラーなしでかつメールアドレスが重複していない場合 -
branches/version-2/data/class/pages/products/LC_Page_Products_Detail.php
r17333 r17401 25 25 require_once(CLASS_PATH . "pages/LC_Page.php"); 26 26 27 if (file_exists(MODULE_PATH . "mdl_gmopg/inc/function.php")) { 28 require_once(MODULE_PATH . "mdl_gmopg/inc/function.php"); 29 } 27 30 /** 28 31 * 商品詳細 のページクラス. … … 167 170 $classcategory_id2 = $_POST['classcategory_id2']; 168 171 172 if (!empty($_POST['gmo_oneclick'])) { 173 $objCartSess->delAllProducts(); 174 } 175 169 176 // 規格1が設定されていない場合 170 177 if(!$this->tpl_classcat_find1) { … … 179 186 $objCartSess->setPrevURL($_SERVER['REQUEST_URI']); 180 187 $objCartSess->addProduct(array($_POST['product_id'], $classcategory_id1, $classcategory_id2), $this->objFormParam->getValue('quantity')); 188 189 if (!empty($_POST['gmo_oneclick'])) { 190 $objSiteSess = new SC_SiteSession; 191 $objSiteSess->setRegistFlag(); 192 $objCartSess->saveCurrentCart($objSiteSess->getUniqId()); 193 194 $this->sendRedirect($this->getLocation( 195 URL_DIR . 'user_data/gmopg_oneclick_confirm.php', array(), true)); 196 exit; 197 } 198 181 199 $this->sendRedirect($this->getLocation(URL_CART_TOP)); 182 200 exit;
Note: See TracChangeset
for help on using the changeset viewer.