outMailGet.jsp 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. <%@page language="java" pageEncoding="UTF-8"%>
  2. <%@include file="/commons/include/html_doctype.html"%>
  3. <html>
  4. <head>
  5. <title>浏览邮件</title>
  6. <%@include file="/commons/include/getById.jsp" %>
  7. <script type="text/javascript">
  8. window.onbeforeunload = function() {
  9. window.opener.location.reload();
  10. }
  11. </script>
  12. </head>
  13. <body>
  14. <div class="panel">
  15. <div class="panel-top">
  16. <div class="tbar-title">
  17. <span class="tbar-label">浏览邮件</span>
  18. </div>
  19. <div class="panel-toolbar">
  20. <div class="toolBar">
  21. <c:if test="${outMail.types==1}">
  22. <div class="group"><a class="link update" href="reply.ht?mailId=${outMail.mailId}&isReply=1&outMailSetId=${outMailSetId}"><span></span>回复</a></div>
  23. <div class="l-bar-separator"></div>
  24. </c:if>
  25. <div class="group">
  26. <a class="link back" href="list.ht?id=${outMailSetId}&types=${outMail.types}"><span></span>返回</a>
  27. </div>
  28. </div>
  29. </div>
  30. </div>
  31. <div class="panel-body">
  32. <table class="table-detail" cellpadding="0" cellspacing="0" border="0">
  33. <tr>
  34. <th width="15%">主题:</th>
  35. <td>${outMail.title}</td>
  36. </tr>
  37. <tr>
  38. <th width="15%">发件人:</th>
  39. <td>(${outMail.senderName})${outMail.senderAddresses}</td>
  40. </tr>
  41. <tr>
  42. <th width="15%">收件人:</th>
  43. <td>${outMail.receiverAddresses}</td>
  44. </tr>
  45. <tr>
  46. <th width="15%">日期:</th>
  47. <td><fmt:formatDate value='${outMail.mailDate}' type="both"/></td>
  48. </tr>
  49. </table>
  50. <div style="border:solid 1px #7babcf;margin:2px;padding:4px;">
  51. <c:if test="${not empty attachments}">
  52. <h2>附件(${fn:length(attachments)}个)</h2>
  53. <c:forEach items="${attachments}" var="file">
  54. <div style="font-size:15px;">
  55. <font color="green">${file.fileName}</font>
  56. <a href="downLoadAttach.ht?fileId=${file.fileId}" id='downLoadAttach'>下载此附件</a>
  57. </div>
  58. </c:forEach>
  59. <hr>
  60. <br>
  61. </c:if>
  62. ${outMail.content}
  63. </div>
  64. </div>
  65. </div>
  66. </body>
  67. </html>