ViewMsg.php
1.99 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
<?php
if(!defined('InEmpireCMS'))
{
exit();
}
?>
<?php
$public_diyr['pagetitle']='查看消息';
$url="<a href=../../../../>首頁</a> > <a href=../../cp/>會員中心</a> > <a href=../../msg/>消息列表</a> > 查看消息";
require(ECMS_PATH.'e/template/incfile/header.php');
?>
<table width="100%" border="0" align="center" cellpadding="3" cellspacing="1" class="tableborder">
<form name="form1" method="post" action="../../doaction.php">
<tr class="header">
<td height="23" colspan="2">
<?=stripSlashes($r[title])?> </td>
</tr>
<tr bgcolor="#FFFFFF">
<td width="19%" height="25">發送者:</td>
<td width="81%" height="25"><a href="../../ShowInfo/?userid=<?=$r[from_userid]?>">
<?=$r[from_username]?>
</a></td>
</tr>
<tr bgcolor="#FFFFFF">
<td height="25">發送時間:</td>
<td height="25">
<?=$r[msgtime]?> </td>
</tr>
<tr bgcolor="#FFFFFF">
<td height="25" valign="top">內容:</td>
<td height="25">
<?=nl2br(stripSlashes($r[msgtext]))?> </td>
</tr>
<tr bgcolor="#FFFFFF">
<td height="25" valign="top"> </td>
<td height="25">[<a href="#ecms" onclick="javascript:history.go(-1);"><strong>返回</strong></a>]
[<a href="../AddMsg/?enews=AddMsg&re=1&mid=<?=$mid?>"><strong>回復</strong></a>]
[<a href="../AddMsg/?enews=AddMsg&mid=<?=$mid?>"><strong>轉發</strong></a>]
[<a href="../../doaction.php?enews=DelMsg&mid=<?=$mid?>" onclick="return confirm('確認要刪除?');"><strong>刪除</strong></a>]</td>
</tr>
</form>
</table>
<?php
require(ECMS_PATH.'e/template/incfile/footer.php');
?>