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

Jsp/Servlet

开发平台:

Java

  1. <%@ page contentType="text/html;charset=utf-8" %>
  2. <%@ include file="../inc/nocache.jsp"%>
  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. <table width="320" border="0" cellspacing="1" cellpadding="3" align="center" bgcolor="#99CCFF" class="9black" height="260">
  25.   <tr> 
  26.     <td bgcolor="#CEE7FF" height="23">
  27.         <div align="center"> <b>撰 写 新 消 息</b></div>
  28.     </td>
  29.   </tr>
  30.   <tr> 
  31.     <td bgcolor="#FFFFFF" height="50"> 
  32.         <table width="300" border="0" cellspacing="0" cellpadding="0" align="center">
  33.           <tr> 
  34.             <td width="75"> 
  35.               <div align="center"><a href="message.jsp?page=1"><img src="images/inboxpm.gif" width="40" height="40" border="0"></a></div>
  36.             </td>
  37.             <td width="75"> 
  38.               <div align="center"><a href="mysend.jsp"><img src="images/m_outbox.gif" width="40" height="40" border="0"></a></div>
  39.             </td>
  40.             <td width="75"> 
  41.               <div align="center"><a href="send.jsp"><img src="images/newpm.gif" width="40" height="40" border="0"></a></div>
  42.             </td>
  43.             <td width="75"> 
  44.               <div align="center"> <img src="images/m_delete.gif" width="40" height="40"></div>
  45.             </td>
  46.           </tr>
  47.         </table>
  48.     </td>
  49.   </tr>
  50.   <tr> 
  51.       <td bgcolor="#FFFFFF" height="152" valign="top">
  52.         <table width="300" border="0" cellspacing="0" cellpadding="0" align="center" class="9black" height="6">
  53.           <tr> 
  54.             <td></td>
  55.           </tr>
  56.         </table>
  57.         <table width="300" border="0" cellspacing="1" cellpadding="3" align="center" class="9black">
  58.           <tr> 
  59.             
  60.           <td height="35"> <li>
  61. <jsp:useBean id="Msg" scope="page" class="com.redmoon.oa.message.MessageMgr"/>
  62. <%
  63. boolean isSuccess = false;
  64. try {
  65. isSuccess = Msg.AddMsg(application, request);
  66. }
  67. catch (ErrMsgException e) {
  68. out.println(StrUtil.makeErrMsg("消息发送失败:"+e.getMessage()));
  69. }
  70. %>
  71.               <% if (isSuccess) { %>
  72.               消息发送成功! 
  73.               <% } %>
  74.           </td>
  75.           </tr>
  76.           <tr> 
  77.             <td height="35"> 
  78.               <div align="center"></div>
  79.             </td>
  80.           </tr>
  81.           <tr> 
  82.             <td height="35"> 
  83.               <div align="center"></div>
  84.             </td>
  85.           </tr>
  86.           <tr> 
  87.             <td height="35"> 
  88.               <div align="center"> </div>
  89.             </td>
  90.           </tr>
  91.         </table>
  92.         <table width="300" border="0" cellspacing="0" cellpadding="0" align="center" class="9black" height="6">
  93.           <tr> 
  94.             <td></td>
  95.           </tr>
  96.         </table>
  97.   </tr>
  98.   <tr> 
  99.     <td bgcolor="#CEE7FF" height="6"></td>
  100.   </tr>
  101. </table>
  102. </body>
  103. </html>