myreply.jsp
上传用户:jhtang88
上传日期:2014-01-27
资源大小:28528k
文件大小:4k
源码类别:

Jsp/Servlet

开发平台:

Java

  1. <%@ page contentType="text/html;charset=utf-8" %>
  2. <%@ page import="cn.js.fan.util.*"%>
  3. <%@ page import="com.redmoon.forum.message.*"%>
  4. <%@ page import="cn.js.fan.util.ErrMsgException"%>
  5. <html>
  6. <head>
  7. <title>消息回复</title>
  8. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  9. <LINK href="../common.css" type=text/css rel=stylesheet>
  10. </head>
  11. <body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
  12. <jsp:useBean id="StrUtil" scope="page" class="cn.js.fan.util.StrUtil"/>
  13. <jsp:useBean id="privilege" scope="page" class="com.redmoon.forum.Privilege"/>
  14. <%
  15. if (!privilege.isUserLogin(request))
  16. { %>
  17. <table width="320" border="0" cellspacing="0" cellpadding="0" align="center" class="9black">
  18.   <tr> 
  19.     <td><li>您的登录已过期,请重新登录,如果不是会员请先注册。</td>
  20.   </tr>
  21. </table>
  22. <% } %>
  23. <%
  24.   String title,receiver;
  25.   title = ParamUtil.get(request, "title"); // StrUtil.UnicodeToGB(request.getParameter("title"));
  26.   receiver = ParamUtil.get(request, "receiver"); // StrUtil.UnicodeToGB(request.getParameter("receiver"));
  27. %>
  28. <table width="320" border="0" cellspacing="1" cellpadding="3" align="center" bgcolor="#99CCFF" class="9black" height="260">
  29.   <form name="form1" method="post" action="myreplytodb.jsp">
  30.   <tr> 
  31.     <td bgcolor="#CEE7FF" height="23">
  32.         <div align="center"> <b>消 息 回 复</b></div>
  33.     </td>
  34.   </tr>
  35.   <tr> 
  36.     <td bgcolor="#FFFFFF" height="50"> 
  37.         <table width="300" border="0" cellspacing="0" cellpadding="0" align="center">
  38.           <tr> 
  39.             <td width="75"> 
  40.               <div align="center"><a href="message.jsp?page=1"><img src="images/inboxpm.gif" width="40" height="40" border="0"></a></div>
  41.             </td>
  42.             <td width="75"> 
  43.               <div align="center"><a href="mysend.jsp"><img src="images/m_outbox.gif" width="40" height="40" border="0"></a></div>
  44.             </td>
  45.             <td width="75"> 
  46.               <div align="center"><img src="images/newpm.gif" width="40" height="40" border="0"></div>
  47.             </td>
  48.             <td width="75"> 
  49.               <div align="center"><img src="images/m_delete.gif" width="40" height="40"></div>
  50.             </td>
  51.           </tr>
  52.         </table>
  53.     </td>
  54.   </tr>
  55.   <tr> 
  56.       <td bgcolor="#FFFFFF" height="152" valign="top">
  57.         <table width="300" border="0" cellspacing="0" cellpadding="0" align="center" class="9black" height="6">
  58.           <tr> 
  59.             <td></td>
  60.           </tr>
  61.         </table>
  62.         <table width="300" border="0" cellspacing="1" cellpadding="3" align="center" class="9black">
  63.           <tr> 
  64.             <td width="68" height="26"> 
  65.               <div align="center">消息标题:</div>
  66.             </td>
  67.             <td width="217" height="26"> 
  68.               <input type="text" name="title" class="input1" size="30" maxlength="30" value="<%=title%>">
  69.               <input name="type" type="hidden" value="<%=MessageDb.TYPE_USER%>">            </td>
  70.           </tr>
  71.           <tr> 
  72.             <td width="68" height="26"> 
  73.               <div align="center">接 收 者:</div>
  74.             </td>
  75.             <td width="217" height="26"> 
  76.               <input type="text" name="receiver" class="input1" size="20" maxlength="20" value="<%=receiver %>">
  77.               <input type=hidden name=receiver value="<%=receiver%>">
  78.               <input type="hidden" name="sender" value="<%=privilege.getUser(request)%>"></td>
  79.           </tr>
  80.           <tr> 
  81.             <td width="68" height="26"> 
  82.               <div align="center">消息内容:</div>
  83.             </td>
  84.             <td width="217" height="26"> 
  85.               <textarea name="content" cols="26" rows="3"></textarea>
  86.             </td>
  87.           </tr>
  88.           <tr> 
  89.             <td colspan="2" height="26"> 
  90.               <div align="center">
  91.                 <input type="submit" name="Submit" value="发送消息" class="button1">
  92.                 &nbsp; 
  93.                 <input type="reset" name="Submit2" value="重写" class="button1">
  94.               </div>
  95.             </td>
  96.           </tr>
  97.         </table>
  98.         <table width="300" border="0" cellspacing="0" cellpadding="0" align="center" class="9black" height="6">
  99.           <tr> 
  100.             <td></td>
  101.           </tr>
  102.         </table>
  103.       </td>
  104.   </tr>
  105.   <tr> 
  106.     <td bgcolor="#CEE7FF" height="6"></td>
  107.   </tr></form>
  108. </table>
  109. </body>
  110. </html>