clubAfficheList.jsp
上传用户:u_thks
上传日期:2022-07-31
资源大小:1910k
文件大小:3k
源码类别:

WEB源码(ASP,PHP,...)

开发平台:

Java

  1. <%@ page language="java" contentType="text/html;charset=UTF-8" %>
  2. <%@ include file="../GVinc/gvInclude.jsp" %>
  3. <%@ include file="clubMasterPass.jsp" %>
  4. <jsp:useBean id="ccl" scope="page" class="com.gamvan.club.classed.ClubClassList"/>
  5. <jsp:useBean id="cci" scope="page" class="com.gamvan.club.classed.ClubClassInfo"/>
  6. <jsp:useBean id="cca" scope="request" class="com.gamvan.club.ClubAffiche"/>
  7. <jsp:useBean id="cma" scope="request" class="com.gamvan.club.manage.ClubAffiche"/>
  8. <% 
  9. //权限判断共享代码
  10. int uoID = 0;
  11. if(request.getParameter("ccID") != null){
  12. ccID = Integer.parseInt(request.getParameter("ccID"));
  13. }else{
  14. ccID = 0;
  15. }
  16. int iPage = 1;
  17. if(request.getParameter("iPage")!=null){
  18. iPage = TypeChange.stringToInt(request.getParameter("iPage"));
  19. }
  20. String act = "add";
  21. if(request.getParameter("act")!=null){
  22. act = request.getParameter("act");
  23. }
  24. if(request.getMethod().equals("POST")){
  25. String caid[];
  26. caid = request.getParameterValues("caID");
  27. cma.afficheDel(caid);
  28. out.print(prtCenter2(cma.getMessage(),"./clubAfficheList.jsp",1));
  29. out.close();
  30. if(true)return;
  31. }
  32. %>
  33. <html>
  34. <head>
  35. <title>今晚在线-社区管理</title>
  36. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  37. <link href="css.css" rel="stylesheet" type="text/css">
  38. <style type="text/css">
  39. <!--
  40. .style1 {color: #D4D0C8}
  41. -->
  42. </style>
  43. </head>
  44. <body>
  45. <script language="javascript" type="text/javascript" src="../GVscript/GVtopCode.js"></script>
  46. <script type="text/javascript" src="../GVscript/GVjumpPage.js"></script>
  47. <table width="99%" border="0" align="center" cellpadding="2" cellspacing="2" bgcolor="#B6B6B6">
  48.   <tr>
  49.     <td align="center"><strong>公告列表</strong></td>
  50.   </tr>
  51. </table>
  52. <table width="99%" border="0" align="center" cellpadding="2" cellspacing="1" bgcolor="#b6B6B6">
  53. <form name="Gforms" id="Gforms" method="post" action="">
  54. <tr align="center" bgcolor="#e6e6e6">
  55.     <td width="40"><strong>操作</strong></td>
  56.     <td width="*" bgcolor="#E6E6E6"><strong>主题</strong></td>
  57. <!--<td width="120" bgcolor="#E6E6E6"><strong>所在版面</strong></td>-->
  58. <td width="120" bgcolor="#E6E6E6"><strong>发布人</strong></td>
  59.     <td width="120" bgcolor="#E6E6E6"><strong>发布时间</strong></td>
  60.     <td width="36" bgcolor="#E6E6E6"><strong>编辑</strong></td>
  61.   </tr>
  62. <%
  63. cca.setCcID(-1);
  64. int totalPage = 0;
  65. totalPage = cca.afficheCount();
  66. %>
  67. <c:forEach var="a" items="<%=cca.afficheList(iPage,30)%>">
  68. <tr bgcolor="#f6f6f6">
  69. <td align="center">
  70. <club:affiche type="htmlCheckbox"  idIs="${a.caID}" />
  71. </td>
  72. <td>
  73. <club:affiche type="caTopic" url="../" value="${a.caTopic}" idIs="${a.caID}" linkId="${a.ccID}" />
  74. </td>
  75. <!--
  76. <td align="center" bgcolor="#f6f6f6">
  77. </td>
  78. -->
  79. <td align="center" bgcolor="#f6f6f6">
  80. <club:affiche type="caByUser" value="${a.caByUser}" />
  81. </td>
  82. <td align="center" bgcolor="#f6f6f6">
  83. <club:affiche type="caAddTime" value="${a.caAddTime}" />
  84. </td>
  85. <td align="center">
  86. <club:affiche type="htmlEdit"  idIs="${a.caID}" linkId="${a.ccID}" />
  87. </td></tr>
  88. </c:forEach> 
  89. <tr align="center" bgcolor="#E6E6E6">
  90. <td height="33" colspan="8"><input type="submit" name="Submit" value="确定删除" />
  91. </td>
  92. </tr>
  93. </form> 
  94. <tr bgcolor="#E6E6E6">
  95. <td colspan="8">
  96. <%=OutPrint.pageJump(totalPage,30, iPage, "clubAfficheList.jsp?")%>
  97. </td>
  98. </tr>
  99. </table>
  100. </body>
  101. </html>