Ignore:
Timestamp:
2009/07/13 14:05:51 (15 years ago)
Author:
ramrun
Message:

#261 設定見直し

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/comu-ver2/data/class/pages/mypage/LC_Page_Mypage_History.php

    r17994 r18187  
    5151        $this->tpl_mainno = 'mypage'; 
    5252        $this->tpl_mypageno = 'index'; 
    53         $this->allowClientCache(); 
    54  
     53        $this->httpCacheControl('nocache'); 
    5554        $masterData = new SC_DB_MasterData_Ex(); 
    5655        $this->arrMAILTEMPLATE = $masterData->getMasterData("mtb_mail_template"); 
    57     } 
     56   } 
    5857 
    5958    /** 
     
    7574        $from = "dtb_order"; 
    7675        $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']); 
    7877        //DBに情報があるか判定 
    7978        $cnt = $objQuery->count($from, $where, $arrval); 
     
    8382        } else { 
    8483            //受注詳細データの取得 
    85             $this->arrDisp = $this->lfGetOrderData($_POST['order_id']); 
     84            $this->arrDisp = $this->lfGetOrderData($_GET['order_id']); 
    8685            // 支払い方法の取得 
    8786            $this->arrPayment = $objDb->sfGetIDValueList("dtb_payment", "payment_id", "payment_method"); 
     
    9695        } 
    9796 
    98         if(SC_Utils_Ex::sfIsInt($_POST['order_id'])) { 
     97        if(SC_Utils_Ex::sfIsInt($_GET['order_id'])) { 
    9998            $col = "send_date, subject, template_id, send_id"; 
    10099            $where = "order_id = ?"; 
    101100            $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'])); 
    103102        } 
    104103 
     
    127126        $this->tpl_mainpage = MOBILE_TEMPLATE_DIR . 'mypage/history.tpl'; 
    128127        $this->tpl_title = 'MYページ/購入履歴一覧'; 
    129         $this->allowClientCache(); 
     128        $this->httpCacheControl('nocache'); 
    130129    } 
    131130 
Note: See TracChangeset for help on using the changeset viewer.