adminview.jsp
上传用户:sxwtmm
上传日期:2022-08-11
资源大小:2183k
文件大小:2k
源码类别:

OA系统

开发平台:

Java

  1. <%@ page contentType="text/html; charset=gb2312" language="java" errorPage="" %>
  2. <%@ include file="../hear/hear.jsp"%>
  3. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  4. <html xmlns="http://www.w3.org/1999/xhtml">
  5. <head>
  6. <meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
  7. <title>短信息</title>
  8. <link href="../css/work.css" rel="stylesheet" type="text/css" />
  9. <script src="../js/oa.js"></script>
  10. <style type="text/css">
  11. <!--
  12. .style1 {
  13. color: #000000;
  14. font-size: 16px;
  15. font-family: "宋体";
  16. font-weight: bold;
  17. }
  18. .style8 {font-family: "宋体"; color: #000000; font-size: 14px; font-weight: bold; }
  19. -->
  20. </style>
  21. </head>
  22. <body bgcolor="#FFFFDF">
  23. <table width="780" height="152" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
  24.   <tr >
  25.     <td height="20" colspan="5" align="center" class="title style1" background="../KCM/zs.gif">短信息</td>
  26.   </tr>
  27.   <tr align="center" class="column">
  28.     <td width="145" height="21"><span class="style8">发送人</span></td>
  29.     <td width="194" height="21"><span class="style8">消息标题</span></td>
  30.     <td width="194" height="21"><span class="style8">发送时间</span></td>
  31.     <td width="127"><span class="style8">接收人</span></td>
  32.     <td width="118"><span class="style8">删除</span></td>
  33.   </tr>
  34. <%
  35. Collection coll=(Collection)request.getAttribute("msg");
  36. Str str=new Str();
  37. if(coll==null){
  38. %>
  39.   <tr align="center">
  40.     <td height="21" colspan="5" class="advise">没有短消息</td>
  41.   </tr>
  42. <%
  43. }else{
  44. Iterator it=coll.iterator();
  45. while(it.hasNext()){
  46. Info dep=(Info)it.next();
  47. %>
  48.   <tr align="center">
  49.     <td height="20"><%=db.IdtoName(dep.getSendter())%></td>
  50.     <td height="20"><%= dep.getTitle()%></td>
  51.     <td height="20"><%= dep.getTime().substring(0,19)%>&nbsp;</td>
  52.     <td height="20"><%=db.IdtoName(dep.getAccepter())%></td>
  53.     <td height="20"><a href="del?infoid=<%=dep.getId()%>"><img src="../image/empty.gif" width="20" height="20" border="0" /></a>
  54. </td>
  55.   </tr>
  56. <%
  57. }
  58. }
  59. request.removeAttribute("msg");
  60. %>
  61.   <tr align="right" bgcolor="#FFFFDF">
  62.     <td height="27" colspan="5"><span class="return" onclick="javascript:history.go(-1);"><img src="../image/more.gif" width="30" height="9" />返回</span>&nbsp;&nbsp;&nbsp;&nbsp;</td>
  63.   </tr>
  64. </table>
  65. </body>
  66. </html>