source: branches/comu/html/admin/order/mail_view.php @ 11730

Revision 11730, 871 bytes checked in by nanasess, 17 years ago (diff)

r11729 の変更を取消

Line 
1<?php
2/*
3 * Copyright(c) 2000-2007 LOCKON CO.,LTD. All Rights Reserved.
4 *
5 * http://www.lockon.co.jp/
6 */
7require_once("../require.php");
8
9class LC_Page {
10    function LC_Page() {
11        $this->tpl_mainpage = 'order/mail_view.tpl';
12    }
13}
14
15$objPage = new LC_Page();
16$objView = new SC_AdminView();
17$objSess = new SC_Session();
18
19// ǧ¾Ú²ÄÈݤÎȽÄê
20sfIsSuccess($objSess);
21
22if(sfIsInt($_GET['send_id'])) {
23    $objQuery = new SC_Query();
24    $col = "subject, mail_body";
25    $where = "send_id = ?";
26    $arrRet = $objQuery->select($col, "dtb_mail_history", $where, array($_GET['send_id']));
27    $objPage->tpl_subject = $arrRet[0]['subject'];
28    $objPage->tpl_body = $arrRet[0]['mail_body'];
29}
30
31$objView->assignobj($objPage);
32$objView->display($objPage->tpl_mainpage);
33//-----------------------------------------------------------------------------------------------------------------------------------
Note: See TracBrowser for help on using the repository browser.