source: temp/trunk/html/admin/order/mail_view.php @ 1328

Revision 1328, 770 bytes checked in by naka, 20 years ago (diff)

* empty log message *

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
Line 
1<?php
2require_once("../require.php");
3
4class LC_Page {
5    function LC_Page() {
6        $this->tpl_mainpage = 'order/mail_view.tpl';
7    }
8}
9
10$objPage = new LC_Page();
11$objView = new SC_AdminView();
12$objSess = new SC_Session();
13
14// ǧ¾Ú²ÄÈݤÎȽÄê
15sfIsSuccess($objSess);
16
17if(sfIsInt($_GET['send_id'])) {
18    $objQuery = new SC_Query();
19    $col = "subject, mail_body";
20    $where = "send_id = ?";
21    $arrRet = $objQuery->select($col, "dtb_mail_history", $where, array($_GET['send_id']));
22    $objPage->tpl_subject = $arrRet[0]['subject'];
23    $objPage->tpl_body = $arrRet[0]['mail_body'];
24}
25
26$objView->assignobj($objPage);
27$objView->display($objPage->tpl_mainpage);
28//-----------------------------------------------------------------------------------------------------------------------------------
Note: See TracBrowser for help on using the repository browser.