source: branches/feature-module-update/html/admin/order/mail_view.php @ 15079

Revision 15079, 878 bytes checked in by nanasess, 17 years ago (diff)

svn:mime-type application/x-httpd-php; charset=UTF-8 設定

  • Property svn:mime-type set to application/x-httpd-php; charset=UTF-8
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.