📄 msgsend.jsp
字号:
<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="comm/header.jsp" %>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>发送短消息</title>
<script language="javascript">
<!--
function selectf(friendname){
document.getElementById("fname").value=document.forms[0].friendlist.value;
}
//-->
</script>
</head>
<body>
<div class="tabwidth">
<table align=center cellSpacing=0 cellPadding=0 width=100%>
<tr height=25px class=tr_2><td class=tab1>
<a href=index.htm>『<bean:write name="bbsname"/>』</a> → 发送站内短消息
</td></tr>
<tr><td height=3px> </td></tr>
<tr><td>
<table class=tab1 align=center cellSpacing=0 cellPadding=0 width=100% >
<tr><td class=tab_c width=100% height=22px align=center colspan=2>
<b><font color=#FFFFFF>发送短消息</font></b>
</td></tr>
<tr height=25px align=center><td class=td_t colspan=2><a href="Message.htm">收件箱</a>
<a href="Message.htm?a=send">发件箱</a>
<a href="SendMessage.htm">发送短消息</a> <a href="Friend.htm?action=my">好友录</a></td>
</tr>
<html:form action="SendMessage.htm" method="post">
<input type="hidden" name="action" value="post"/>
<tr class=tr_2 height=30px><td class=td_t width="35%"> </td>
<td class=td_t>
发送到:
<logic:present name="replaymsg">
<input type="text" id="fname" name="friend" value="<bean:write name="replaymsg" property="fromUser"/>" />
</logic:present>
<logic:notPresent name="replaymsg">
<logic:present name="toUserName">
<input type="text" id="fname" name="friend" value="<bean:write name="toUserName"/>"/>
</logic:present>
<logic:notPresent name="toUserName">
<input type="text" id="fname" name="friend" />
</logic:notPresent>
<html:select property="friendlist" onchange="selectf();">
<html:option value="">选择好友</html:option>
<html:optionsCollection name="flist" label="fname" value="fname"/>
</html:select>
</logic:notPresent>
<font color="red"> <html:errors property="message.send.friend"/></font>
</td>
</tr>
<tr height=25px><td class=td_t width="35%"> </td><td class=td_t>
标 题:
<logic:present name="replaymsg">
<input type="text" name="title" value="回复-<bean:write name="replaymsg" property="title"/>" />
<font color="red"> <html:errors property="message.send.title"/></font> <br>
<textarea name="content" rows=8 cols=40>
------------------------------------
<bean:write name="replaymsg" property="stime"/>
"<bean:write name="replaymsg" property="fromUser"/>"在来信中说到:
------------------------------------
<bean:write name="replaymsg" property="content" filter="false"/></textarea>
</logic:present>
<logic:notPresent name="replaymsg">
<input type="text" name="title" />
<font color="red"><html:errors property="message.send.title"/></font> <br>
<textarea name="content" rows=8 cols=40></textarea>
</logic:notPresent>
<font color="red"><html:errors property="message.send.content"/></font><br>
是否保存到发件箱:<select name="save"><option value="0">否</option><option value="1">是</option></select><br>
</td></tr>
<tr align=center><td height=38px class=td_t colspan=2>
<input type="submit" value="发送" />
<input type="reset" value="重置" /></td></tr>
</html:form>
</table>
</td></tr>
</table><br>
</div>
<div class="tabwidth"><yhbbs:footer/></div>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -