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

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

开发平台:

Java

  1. <%@ page language="java" contentType="text/html;charset=UTF-8"
  2.  errorPage="err.jsp" %>
  3. <%@ include file="./GVinc/gvImport.jsp" %>
  4. <jsp:useBean id="cci" scope="page" class="com.gamvan.club.classed.ClubClassInfo"/>
  5. <jsp:useBean id="cma" scope="request" class="com.gamvan.club.manage.ClubAffiche"/>
  6. <jsp:useBean id="cca" scope="request" class="com.gamvan.club.ClubAffiche"/>
  7. <%@ include file="./GVinc/gvClassInfo.jsp" %> 
  8. <%
  9. int iPage = 1;
  10. if(request.getParameter("iPage")!=null){
  11. iPage = Integer.parseInt(request.getParameter("iPage"));
  12. }
  13. String act = "";
  14. if(request.getParameter("act")!=null){
  15. act = request.getParameter("act");
  16. }
  17. String ccAffiche = "";
  18. if(request.getMethod().equals("POST")){
  19. String caid[];
  20. caid = request.getParameterValues("caID");
  21. cma.afficheDel(caid);
  22. out.print(prtCenter(cma.getMessage(),"./cmAffiche.jsp?ccID="+ccID+"",1));
  23. out.close();
  24. if(true)return;
  25. }
  26. %>
  27. <html xmlns="http://www.w3.org/1999/xhtml">
  28. <head>
  29. <title><%=clubTitle%>&gt;&gt;<%
  30. if(ccIDD1>0){
  31. out.print(ccName2 +"&gt;&gt;");
  32. }
  33. %>
  34. <%
  35. if(ccIDD>0){
  36. out.print(ccName1 +"&gt;&gt;");
  37. }
  38. %>
  39. <%=ccName%>
  40. </title>
  41. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  42. <link href="./GVimgs/favicon.ico" rel="Bookmark"> 
  43. <link rel="icon" href="./GVimgs/favicon.ico" type="image/x-icon" />
  44. <link rel="shortcut icon" href="./GVimgs/favicon.ico" type="image/x-icon" />
  45. <link href="./GVinc/main.css" rel="stylesheet" type="text/css" />
  46. </head>
  47. <body>
  48. <DIV id="waitDiv" style="LEFT: 40%; VISIBILITY: hidden; POSITION: absolute; TOP: 20%; TEXT-ALIGN: center">
  49. <TABLE cellPadding=6 border=0>
  50. <TBODY><TR><TD align=middle>
  51. <IMG  src="GVimgs/loading.gif" alt="请稍候..." width="30" height="30">
  52. <BR>
  53. <FONT color="red">数据载入中,请稍候...</FONT></TD></TR></TBODY></TABLE></DIV>
  54. <script language="javascript" type="text/javascript" src="GVscript/GVtopCode.js"></script>
  55. <script language="javascript" type="text/javascript" src="GVscript/GVshowMenu.js"></script>
  56. <script language="javascript" type="text/javascript" src="GVscriptInc/topBar.js"></script>
  57. <SCRIPT language="javascript">gv_showWait('waitDiv', 1); </SCRIPT>
  58. <script language="javascript" type="text/javascript">
  59. prtie2('<%=clubTitle%>__<%if(ccIDD1>0){out.print(ccName2 +"__");}%><%if(ccIDD>0){out.print(ccName1 +"__");}%><%=ccName%>__公告管理')
  60. </script>
  61. <%
  62. //权限判断开始
  63. if(ccID<=0){
  64. out.print(errs(3,"您所请求的版面不存在或已被删除!"));
  65. out.close();
  66. if(true) return;
  67. }
  68. if(!isPass(gvUserGradeTxt,30)){
  69. out.print(errs(1,"您的级别("+ gvUserGradeName +")不能进行此项操作,如果你还没有登陆,请先登陆!"));
  70. out.close();
  71. if(true) return;
  72. }
  73. %>
  74. <table width="99%" border="0" align="center" cellpadding="2" cellspacing="1" class="tab">
  75. <tr class="tab1">    <td>
  76. <strong>您的位置</strong>&gt;&gt;<a href="default.jsp" target="_parent">社区首页</a>&gt;&gt;
  77. <a href="main.jsp">进站画面</a>&gt;&gt;
  78. <%
  79. temp = "";
  80. if(ccIDD1>0){
  81. out.print("<a href="clubClass.jsp?ccID="+ ccID2 +"&ccStyle="+ ccStyle +"">"+ ccName2 +"</a>&gt;&gt;");
  82. temp =  ccName2 + ">>";
  83. }
  84. %>
  85. <%
  86. if(ccIDD>0){
  87. out.print("<a href="clubClass.jsp?ccID="+ ccID1 +"&ccStyle="+ ccStyle +"">"+ ccName1 +"</a>&gt;&gt;");
  88. temp += ccName1 + ">>";
  89. }
  90. temp += ccName + ">>";
  91. %>
  92. <a href="clubClass.jsp?ccID=<%=ccID%>&ccStyle=<%=ccStyle%>"><%=ccName%></a>&gt;&gt;
  93. 版面管理
  94. <SCRIPT language="javascript">prtie('<%=clubName%>>><%=temp%> 版面管理');</SCRIPT>
  95. </td>
  96.   </tr>
  97. </table>
  98. <%@ include file="./GVfilesInc/classManageMenu.jsp" %>
  99. <table width="99%" border="0" align="center" cellpadding="2" cellspacing="1" class="tab">
  100. <form name="Gforms" id="Gforms" method="post" action="">
  101. <tr align="center" class="tab2">
  102.     <td width="40" height="25"><strong>操作</strong></td>
  103.     <td width="*"><strong>主题</strong></td>
  104.     <td width="120"><strong>发布人</strong></td>
  105.     <td width="128"><strong>发布时间</strong></td>
  106.     <td width="36"><strong>编辑</strong></td>
  107.   </tr>
  108. <%
  109. cca.setCcID(ccID);
  110. int totalPage = 0;
  111. totalPage = cca.afficheCount();
  112. %>
  113. <c:forEach var="a" items="<%=cca.afficheList(iPage,30)%>">
  114. <tr><td align="center" class="tab3">
  115. <club:affiche type="htmlCheckbox"  idIs="${a.caID}" />
  116. </td><td class="tab3">
  117. <club:affiche type="caTopic"  value="${a.caTopic}" idIs="${a.caID}" linkId="${a.ccID}" />
  118. </td><td align="center" class="tab3">
  119. <club:affiche type="caByUser" value="${a.caByUser}" />
  120. </td><td align="center" class="tab3">
  121. <span class="smallTxt"><club:affiche type="caAddTime" value="${a.caAddTime}" /></span>
  122. </td><td align="center" class="tab3">
  123. <club:affiche type="htmlEdit"  idIs="${a.caID}" linkId="${a.ccID}" />
  124. </td></tr>
  125. </c:forEach> 
  126. <tr align="center">
  127. <td height="33" colspan="5" class="tab3"><input name="Submit" type="submit" class="btn" value="确定删除" /></td>
  128. </tr>
  129. </form>
  130. </table>
  131. <table width="99%" height="25" border="0" align="center" cellpadding="0" cellspacing="0">
  132. <tr><td><%=OutPrint.pageJump(totalPage,30, iPage, "cmAffiche.jsp?ccID="+ccID+"&")%>
  133. </td></tr></table>
  134. <%=Gfoot()%>
  135. </body>
  136. </html>
  137. <!-- Powered by www.GamVan.com -->