employeeNote.jsp
上传用户:jishiqi_cj
上传日期:2022-08-08
资源大小:24765k
文件大小:4k
源码类别:

Java编程

开发平台:

Java

  1. <%@ page contentType="text/html;charset=GBK" language="java" %>
  2. <%@ page import = "StudyNote.*" %>
  3. <%@ page import = "java.util.*" %>
  4. <%
  5. Vector v = (Vector)session.getAttribute(Constants.NOTE_LIST_KEY);
  6. Note note = null;
  7. Integer tpage=(Integer)session.getAttribute(Constants.CUR_PAGEID_KEY);
  8. int pageId=tpage.intValue();
  9. Integer tpageCount=(Integer)session.getAttribute(Constants.NOTE_PAGE_COUNT_KEY);
  10. int pageCount=tpageCount.intValue();
  11. %>
  12. <html>
  13. <head>
  14. <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
  15. <title></title>
  16. <LINK href="images/style.css" rel=stylesheet>
  17. </head>
  18. <body>
  19. <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber1" bgcolor="#FFCC66">
  20.   <tr>
  21.     <td width="84%" bgcolor="#FFFFFF">
  22. <p align="right" style="font-size: 10pt; line-height: 140%; border-left-color: black; border-right-color: black; border-top-color: #3333ff; border-bottom-color: black">
  23. 第<%=pageId+1%>頁,共<%=pageCount%>頁 </p>
  24. <table cellSpacing="0" borderColorDark="#ffffff" cellPadding="0" width="100%" borderColorLight="#cccccc" border="1">
  25.   <tr>
  26.     <td align="middle" width="370" style="font-size: 10pt">
  27.     <div align="center">
  28.       <p style="font-size: 10pt; line-height: 140%; border-left-color: black; border-right-color: black; border-top-color: #3333ff; border-bottom-color: black">
  29.       <font color="#cc6633">公告主题</font></div>
  30.     </td>
  31.     <td align="middle" width="75" style="font-size: 10pt">
  32.     <div align="center">
  33.       <p style="font-size: 10pt; line-height: 140%; border-left-color: black; border-right-color: black; border-top-color: #3333ff; border-bottom-color: black">
  34.       <font color="#cc6633">通知人</font></div>
  35.     </td>
  36.     <td align="middle" width="122" style="font-size: 10pt">
  37.     <div align="center">
  38.       <p style="font-size: 10pt; line-height: 140%; border-left-color: black; border-right-color: black; border-top-color: #3333ff; border-bottom-color: black">
  39.       <font color="#cc6633">通知时间</font></div>
  40.     </td>
  41.   </tr>
  42.     <%if(v != null ){
  43.        for(int i = 0;i < v.size();i++)
  44.        {  
  45.         note = (Note)v.get(i);
  46.        %>
  47.   <tr>
  48.     <td align="middle" width="370" style="font-size: 10pt">
  49.     <p style="font-size: 10pt; line-height: 140%; border-left-color: black; border-right-color: black; border-top-color: #3333ff; border-bottom-color: black">
  50.     <a href="noteDetail.do?noteId=<%=note.getId()%>"><%=note.getTitle()%></a></td>
  51.     <td align="middle" width="75" style="font-size: 10pt">
  52.     <p style="font-size: 10pt; line-height: 140%; border-left-color: black; border-right-color: black; border-top-color: #3333ff; border-bottom-color: black">
  53.     <%=note.getTalker()%></td>
  54.     <td align="middle" width="122" style="font-size: 10pt">
  55.     <p style="font-size: 10pt; line-height: 140%; border-left-color: black; border-right-color: black; border-top-color: #3333ff; border-bottom-color: black">
  56.     <%=note.getTime()%></td>
  57.   </tr>
  58.   
  59.           <%
  60.           }
  61.        }
  62.       %>
  63.       
  64.    </table>
  65. <form name="sub" action="" method="post">
  66.   <p style="font-size: 10pt; line-height: 140%; border-left-color: black; border-right-color: black; border-top-color: #3333ff; border-bottom-color: black">
  67.  <a href="lookNote.do?pageId=<%=pageId-1%>">&lt;&lt;前一頁</a>&nbsp;<a href="lookNote.do?pageId=<%=pageId+1%>"> 下一頁&gt;&gt;</a>
  68.   </p>
  69. </form>
  70. <P align=left><FONT size=2>&nbsp; </FONT></P>
  71.     <p> </td>
  72.   </tr>
  73. </table>
  74. </body>
  75. </html>