- Timestamp:
- 2009/10/30 20:14:22 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/comu-ver2/data/class/pages/shopping/LC_Page_Shopping_Payment.php
r18311 r18358 24 24 // {{{ requires 25 25 require_once(CLASS_PATH . "pages/LC_Page.php"); 26 require_once(DATA_PATH . 'module/Services/JSON.php'); 26 27 27 28 /** … … 30 31 * @package Page 31 32 * @author LOCKON CO.,LTD. 32 * @version $Id:LC_Page_Shopping_Payment.php 15532 200 7-08-31 14:39:46Z nanasess$33 * @version $Id:LC_Page_Shopping_Payment.php 15532 2009-10-30 20:04:46Z satou $ 33 34 */ 34 35 class LC_Page_Shopping_Payment extends LC_Page { … … 136 137 // 支払い方法が変更された場合 137 138 case 'payment': 138 // ここのbreakは、意味があるので外さないで下さい。 139 // 配送時間の配列を生成 140 $this->lfSetDelivTime(); 139 141 break; 140 142 default: … … 150 152 // 支払い方法の画像があるなしを取得($img_show true:ある false:なし) 151 153 $this->img_show = $this->lfGetImgShow($this->arrPayment); 152 // お届け時間の取得153 $arrRet = $objDb->sfGetDelivTime($this->objFormParam->getValue('payment_id'));154 $this->arrDelivTime = SC_Utils_Ex::sfArrKeyValue($arrRet, 'time_id', 'deliv_time');155 156 154 // お届け日一覧の取得 157 155 $this->arrDelivDate = $this->lfGetDelivDate(); … … 208 206 SC_Utils_Ex::sfDispSiteError(SOLD_OUT, '', true); 209 207 } 210 208 211 209 $this->arrData = $objDb->sfTotalConfirm(array(), $this, $objCartSess); 212 210 … … 370 368 $_POST['use_point'] = "0"; 371 369 } 372 370 373 371 if (!isset($_POST['point_check'])) $_POST['point_check'] = ""; 374 372 375 373 if($_POST['point_check'] == '1') { 376 374 $objErr->doFunc(array("ポイントを使用する", "point_check"), array("EXIST_CHECK")); … … 419 417 function lfRegistData($uniqid) { 420 418 $objDb = new SC_Helper_DB_Ex(); 421 419 422 420 $sqlval = $this->objFormParam->getDbArray(); 423 421 // 登録データの作成 … … 526 524 //一時受注テーブルからの情報を格納する 527 525 function lfSetOrderTempData($uniqid) { 528 529 526 $objQuery = new SC_Query(); 530 527 $col = "payment_id, use_point, deliv_time_id, message, point_check, deliv_date"; … … 548 545 return $img_show; 549 546 } 547 548 /* 配送時間の配列を生成 */ 549 function lfSetDelivTime() { 550 $objDb = new SC_Helper_DB_Ex(); 551 $objJson = new Services_JSON; 552 553 // 配送時間の取得 554 $arrRet = $objDb->sfGetDelivTime($this->objFormParam->getValue('payment_id')); 555 // JSONエンコード 556 echo $objJson->encode($arrRet); 557 exit; 558 } 550 559 } 551 560 ?>
Note: See TracChangeset
for help on using the changeset viewer.