Index: /branches/comu-ver2/html/mypage/mail_view.php
===================================================================
--- /branches/comu-ver2/html/mypage/mail_view.php (revision 17922)
+++ /branches/comu-ver2/html/mypage/mail_view.php (revision 17922)
@@ -0,0 +1,35 @@
+init();
+$objPage->process();
+?>
Index: /branches/comu-ver2/data/class_extends/page_extends/mypage/LC_Page_Mypage_MailView_Ex.php
===================================================================
--- /branches/comu-ver2/data/class_extends/page_extends/mypage/LC_Page_Mypage_MailView_Ex.php (revision 17922)
+++ /branches/comu-ver2/data/class_extends/page_extends/mypage/LC_Page_Mypage_MailView_Ex.php (revision 17922)
@@ -0,0 +1,68 @@
+
Index: /branches/comu-ver2/data/class/pages/mypage/LC_Page_Mypage_MailView.php
===================================================================
--- /branches/comu-ver2/data/class/pages/mypage/LC_Page_Mypage_MailView.php (revision 17922)
+++ /branches/comu-ver2/data/class/pages/mypage/LC_Page_Mypage_MailView.php (revision 17922)
@@ -0,0 +1,83 @@
+tpl_mainpage = 'mypage/mail_view.tpl';
+ }
+
+ /**
+ * Page のプロセス.
+ *
+ * @return void
+ */
+ function process() {
+ $objView = new SC_SiteView();
+ $objSess = new SC_Session();
+
+ // 認証可否の判定
+ SC_Utils_Ex::sfIsSuccess($objSess);
+
+ if(SC_Utils_Ex::sfIsInt($_GET['send_id'])) {
+ $objQuery = new SC_Query();
+ $col = "subject, mail_body";
+ $where = "send_id = ?";
+ $arrRet = $objQuery->select($col, "dtb_mail_history", $where, array($_GET['send_id']));
+ $this->tpl_subject = $arrRet[0]['subject'];
+ $this->tpl_body = $arrRet[0]['mail_body'];
+ }
+
+ $objView->assignobj($this);
+ $objView->display($this->tpl_mainpage);
+ }
+
+ /**
+ * デストラクタ.
+ *
+ * @return void
+ */
+ function destroy() {
+ parent::destroy();
+ }
+}
+?>
Index: /branches/comu-ver2/data/class/pages/mypage/LC_Page_Mypage_History.php
===================================================================
--- /branches/comu-ver2/data/class/pages/mypage/LC_Page_Mypage_History.php (revision 17519)
+++ /branches/comu-ver2/data/class/pages/mypage/LC_Page_Mypage_History.php (revision 17922)
@@ -52,4 +52,7 @@
$this->tpl_mypageno = 'index';
$this->allowClientCache();
+
+ $masterData = new SC_DB_MasterData_Ex();
+ $this->arrMAILTEMPLATE = $masterData->getMasterData("mtb_mail_template");
}
@@ -91,4 +94,11 @@
$this->CustomerName2 = $objCustomer->getvalue('name02');
$this->CustomerPoint = $objCustomer->getvalue('point');
+ }
+
+ if(SC_Utils_Ex::sfIsInt($_POST['order_id'])) {
+ $col = "send_date, subject, template_id, send_id";
+ $where = "order_id = ?";
+ $objQuery->setorder("send_date DESC");
+ $this->arrMailHistory = $objQuery->select($col, "dtb_mail_history", $where, array($_POST['order_id']));
}
Index: /branches/comu-ver2/data/Smarty/templates/default/mypage/mail_view.tpl
===================================================================
--- /branches/comu-ver2/data/Smarty/templates/default/mypage/mail_view.tpl (revision 17922)
+++ /branches/comu-ver2/data/Smarty/templates/default/mypage/mail_view.tpl (revision 17922)
@@ -0,0 +1,14 @@
+
+
+
+
+
Index: /branches/comu-ver2/data/Smarty/templates/default/mypage/history.tpl
===================================================================
--- /branches/comu-ver2/data/Smarty/templates/default/mypage/history.tpl (revision 17605)
+++ /branches/comu-ver2/data/Smarty/templates/default/mypage/history.tpl (revision 17922)
@@ -148,4 +148,24 @@
+
+
+ メール配信履歴一覧
+
+
+ 処理日 |
+ 通知メール |
+ 件名 |
+
+
+
+ |
+
+ |
+ |
+
+
+
+
+