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

Jsp/Servlet

开发平台:

Java

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