a_audit.jsp
上传用户:lm2018
上传日期:2015-12-12
资源大小:30449k
文件大小:3k
源码类别:

Jsp/Servlet

开发平台:

Java

  1. <%@ page language="java" pageEncoding="GBK" import="java.util.*"%>
  2. <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
  3. <%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean"%>
  4. <%@ taglib uri="http://struts.apache.org/tags-html" prefix="html"%>
  5. <%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic"%>
  6. <%@ taglib uri="http://struts.apache.org/tags-tiles" prefix="tiles"%>
  7. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  8. <html>
  9. <head>
  10. <style type="text/css">
  11. .tableHead{ /*表头*/
  12. font-size:12px;
  13. font-weight:bold;
  14. height:20pt;
  15. background:url(img/bg.bmp);
  16. text-align:buttom;
  17. }
  18. .myTable{
  19. border:#00A8FF 1px solid;
  20. border-collapse:collapse;
  21. /*padding:0px 0px 0px 0px;*/
  22. }
  23. .myTable TD{
  24. border:#00A8FF 1px solid;
  25. font-family:"宋体";
  26. font-size:10pt;
  27. /*height:22px;*/
  28. padding:0px 0px 0px 0px;
  29. }
  30. .text{
  31. font-family:"宋体";
  32. font-size:10pt;
  33. /*height:22px;*/
  34. padding:0px 0px 0px 0px;
  35. width:200px;
  36. height:22px;
  37. }
  38. </style>
  39. </head>
  40. <body>
  41. <table width="100%" border="1" class="myTable">
  42.   <tr class="tableHead">
  43.     <td colspan="2" align="center">公告信息</td>
  44.   </tr>
  45.   <tr>
  46.     <td  align="right" width="10%">标题:&nbsp;</td>
  47.     <td  align="center">${affiche.atitle}</td>
  48.   </tr>
  49.   <tr>
  50.     <td align="right" width="10%">内容:&nbsp;</td>
  51.     <td align="center">${affiche.acontent}</td>
  52.   </tr>
  53.   <tr>
  54.     <td align="right" width="10%">发布时间:&nbsp;</td>
  55.     <td align="center">${affiche.asend_time}</td>
  56.   </tr>
  57.   <tr>
  58.     <td align="right" width="10%">有效时间:</td>
  59.     <td align="center">${affiche.areal_time}&nbsp;</td>
  60.   </tr>
  61.   <tr>
  62.     <td align="right" width="10%">发布人:</td>
  63.     <td align="center">${affiche.fname}&nbsp;</td>
  64.   </tr>
  65.   <tr>
  66.     <td align="right" width="10%">备注:</td>
  67.     <td align="center">${affiche.amemo}&nbsp;</td>
  68.   </tr>
  69.   <c:if  test="${affiche.affixpath!=null}">
  70.    <% 
  71.    Map map = (Map)request.getAttribute("affiche");
  72.    String path = (String)map.get("affixpath");
  73.    String name = (String)map.get("affixname");   
  74.    String[] names = name.split(",");
  75.     for(int i=0;i<names.length;i++){
  76.    %>
  77.     <tr>
  78.      <td align="right" width="10%">附件<%=i+1%></td>
  79.      <td align="center">
  80.      <a href ="${pageContext.request.contextPath}/Jsp_file/affiche/down.jsp?filename=<%=names[i]%>"><%=names[i]%></a>
  81.      &nbsp;
  82.      </td>
  83.    </tr>
  84.    <%
  85.    }
  86.    %>
  87.   </c:if>
  88.    
  89.   <tr>
  90.    <td>&nbsp;</td>
  91.    <td><input type="button" value="审核通过" onclick="javascript:location.href='${pageContext.request.contextPath}/affiche.do?method=audit&flag=ok&id=${affiche.aid}';""/>
  92. &nbsp;
  93. <input type="button" value="审核不通过" onclick="javascript:location.href='${pageContext.request.contextPath}/affiche.do?method=audit&flag=no&id=${affiche.aid}';""/>
  94. &nbsp;
  95. <input type="button" value="取消" onclick="javascript:history.back();"/>
  96. </td>
  97.   </tr>
  98. </table>
  99. </body>
  100. </html>