- Timestamp:
- 2009/07/13 14:05:51 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/comu-ver2/data/class/pages/mypage/LC_Page_Mypage_History.php
r17994 r18187 51 51 $this->tpl_mainno = 'mypage'; 52 52 $this->tpl_mypageno = 'index'; 53 $this->allowClientCache(); 54 53 $this->httpCacheControl('nocache'); 55 54 $masterData = new SC_DB_MasterData_Ex(); 56 55 $this->arrMAILTEMPLATE = $masterData->getMasterData("mtb_mail_template"); 57 56 } 58 57 59 58 /** … … 75 74 $from = "dtb_order"; 76 75 $where = "del_flg = 0 AND customer_id = ? AND order_id = ? "; 77 $arrval = array($objCustomer->getValue('customer_id'), $_ POST['order_id']);76 $arrval = array($objCustomer->getValue('customer_id'), $_GET['order_id']); 78 77 //DBに情報があるか判定 79 78 $cnt = $objQuery->count($from, $where, $arrval); … … 83 82 } else { 84 83 //受注詳細データの取得 85 $this->arrDisp = $this->lfGetOrderData($_ POST['order_id']);84 $this->arrDisp = $this->lfGetOrderData($_GET['order_id']); 86 85 // 支払い方法の取得 87 86 $this->arrPayment = $objDb->sfGetIDValueList("dtb_payment", "payment_id", "payment_method"); … … 96 95 } 97 96 98 if(SC_Utils_Ex::sfIsInt($_ POST['order_id'])) {97 if(SC_Utils_Ex::sfIsInt($_GET['order_id'])) { 99 98 $col = "send_date, subject, template_id, send_id"; 100 99 $where = "order_id = ?"; 101 100 $objQuery->setorder("send_date DESC"); 102 $this->arrMailHistory = $objQuery->select($col, "dtb_mail_history", $where, array($_ POST['order_id']));101 $this->arrMailHistory = $objQuery->select($col, "dtb_mail_history", $where, array($_GET['order_id'])); 103 102 } 104 103 … … 127 126 $this->tpl_mainpage = MOBILE_TEMPLATE_DIR . 'mypage/history.tpl'; 128 127 $this->tpl_title = 'MYページ/購入履歴一覧'; 129 $this-> allowClientCache();128 $this->httpCacheControl('nocache'); 130 129 } 131 130
Note: See TracChangeset
for help on using the changeset viewer.