⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 msgsend.jsp

📁 一个不错的bbs论坛系统.对初学者很有帮助
💻 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>&nbsp;&nbsp;
		<a href=index.htm>『<bean:write name="bbsname"/>』</a>&nbsp;&nbsp;→&nbsp;&nbsp;发送站内短消息
  		</td></tr>
  		<tr><td height=3px>&nbsp;</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>&nbsp;&nbsp;&nbsp;&nbsp;
		    <a href="Message.htm?a=send">发件箱</a>&nbsp;&nbsp;&nbsp;&nbsp;
		    <a href="SendMessage.htm">发送短消息</a>&nbsp;&nbsp;&nbsp;&nbsp;<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%">&nbsp;</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">&nbsp;<html:errors property="message.send.friend"/></font>
			</td>
			</tr>
			<tr height=25px><td class=td_t width="35%">&nbsp;</td><td class=td_t>
			标&nbsp;&nbsp;&nbsp;题:
				<logic:present name="replaymsg">
					<input type="text" name="title" value="回复-<bean:write name="replaymsg" property="title"/>" />
					<font color="red">&nbsp;<html:errors property="message.send.title"/></font>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<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>&nbsp;
				</logic:present>
				<logic:notPresent name="replaymsg">
				<input type="text" name="title" />&nbsp;
			    <font color="red"><html:errors property="message.send.title"/></font>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br>
				<textarea name="content" rows=8 cols=40></textarea>&nbsp;
				</logic:notPresent>
				<font color="red"><html:errors property="message.send.content"/></font><br>&nbsp;&nbsp;&nbsp;&nbsp;
				是否保存到发件箱:<select name="save"><option value="0">否</option><option value="1">是</option></select><br>&nbsp;
			</td></tr>
		    <tr align=center><td height=38px class=td_t colspan=2>&nbsp;
		    <input type="submit" value="发送" />&nbsp;&nbsp;&nbsp;&nbsp;
		    <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 + -