Ignore:
Timestamp:
2009/03/23 22:18:36 (15 years ago)
Author:
Yammy
Message:

http://svn.ec-cube.net/open_trac/ticket/435

File:
1 edited

Legend:

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

    r17519 r17922  
    5252        $this->tpl_mypageno = 'index'; 
    5353        $this->allowClientCache(); 
     54 
     55        $masterData = new SC_DB_MasterData_Ex(); 
     56        $this->arrMAILTEMPLATE = $masterData->getMasterData("mtb_mail_template"); 
    5457    } 
    5558 
     
    9194            $this->CustomerName2 = $objCustomer->getvalue('name02'); 
    9295            $this->CustomerPoint = $objCustomer->getvalue('point'); 
     96        } 
     97 
     98        if(SC_Utils_Ex::sfIsInt($_POST['order_id'])) { 
     99            $col = "send_date, subject, template_id, send_id"; 
     100            $where = "order_id = ?"; 
     101            $objQuery->setorder("send_date DESC"); 
     102            $this->arrMailHistory = $objQuery->select($col, "dtb_mail_history", $where, array($_POST['order_id'])); 
    93103        } 
    94104 
Note: See TracChangeset for help on using the changeset viewer.