AddMsg.php
2 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
<?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 action="../../doaction.php" method="post" name="sendmsg" id="sendmsg">
<tr class="header">
<td height="23" colspan="2">發送消息</td>
</tr>
<tr bgcolor="#FFFFFF">
<td width="21%" height="25">標題</td>
<td width="79%" height="25"><input name="title" type="text" id="title2" value="<?=ehtmlspecialchars(stripSlashes($title))?>" size="43">
*</td>
</tr>
<tr bgcolor="#FFFFFF">
<td height="25">接收者</td>
<td height="25"><input name="to_username" type="text" id="to_username2" value="<?=$username?>">
[<a href="#EmpireCMS" onclick="window.open('../../friend/change/?fm=sendmsg&f=to_username','','width=250,height=360');">選擇好友</a>]
*</td>
</tr>
<tr bgcolor="#FFFFFF">
<td height="25" valign="top">內容</td>
<td height="25"><textarea name="msgtext" cols="60" rows="12" id="textarea"><?=ehtmlspecialchars(stripSlashes($msgtext))?></textarea>
*</td>
</tr>
<tr bgcolor="#FFFFFF">
<td height="25"> </td>
<td height="25"><input type="submit" name="Submit" value="發送">
<input type="reset" name="Submit2" value="重置"> <input name="enews" type="hidden" id="enews" value="AddMsg"> </td>
</tr>
</form>
</table>
<?php
require(ECMS_PATH.'e/template/incfile/footer.php');
?>