clubAfficheList.jsp
上传用户:u_thks
上传日期:2022-07-31
资源大小:1910k
文件大小:3k
源码类别:
WEB源码(ASP,PHP,...)
开发平台:
Java
- <%@ page language="java" contentType="text/html;charset=UTF-8" %>
- <%@ include file="../GVinc/gvInclude.jsp" %>
- <%@ include file="clubMasterPass.jsp" %>
- <jsp:useBean id="ccl" scope="page" class="com.gamvan.club.classed.ClubClassList"/>
- <jsp:useBean id="cci" scope="page" class="com.gamvan.club.classed.ClubClassInfo"/>
- <jsp:useBean id="cca" scope="request" class="com.gamvan.club.ClubAffiche"/>
- <jsp:useBean id="cma" scope="request" class="com.gamvan.club.manage.ClubAffiche"/>
- <%
- //权限判断共享代码
- int uoID = 0;
- if(request.getParameter("ccID") != null){
- ccID = Integer.parseInt(request.getParameter("ccID"));
- }else{
- ccID = 0;
- }
- int iPage = 1;
- if(request.getParameter("iPage")!=null){
- iPage = TypeChange.stringToInt(request.getParameter("iPage"));
- }
- String act = "add";
- if(request.getParameter("act")!=null){
- act = request.getParameter("act");
- }
- if(request.getMethod().equals("POST")){
- String caid[];
- caid = request.getParameterValues("caID");
- cma.afficheDel(caid);
- out.print(prtCenter2(cma.getMessage(),"./clubAfficheList.jsp",1));
- out.close();
- if(true)return;
- }
- %>
- <html>
- <head>
- <title>今晚在线-社区管理</title>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <link href="css.css" rel="stylesheet" type="text/css">
- <style type="text/css">
- <!--
- .style1 {color: #D4D0C8}
- -->
- </style>
- </head>
- <body>
- <script language="javascript" type="text/javascript" src="../GVscript/GVtopCode.js"></script>
- <script type="text/javascript" src="../GVscript/GVjumpPage.js"></script>
- <table width="99%" border="0" align="center" cellpadding="2" cellspacing="2" bgcolor="#B6B6B6">
- <tr>
- <td align="center"><strong>公告列表</strong></td>
- </tr>
- </table>
- <table width="99%" border="0" align="center" cellpadding="2" cellspacing="1" bgcolor="#b6B6B6">
- <form name="Gforms" id="Gforms" method="post" action="">
- <tr align="center" bgcolor="#e6e6e6">
- <td width="40"><strong>操作</strong></td>
- <td width="*" bgcolor="#E6E6E6"><strong>主题</strong></td>
- <!--<td width="120" bgcolor="#E6E6E6"><strong>所在版面</strong></td>-->
- <td width="120" bgcolor="#E6E6E6"><strong>发布人</strong></td>
- <td width="120" bgcolor="#E6E6E6"><strong>发布时间</strong></td>
- <td width="36" bgcolor="#E6E6E6"><strong>编辑</strong></td>
- </tr>
- <%
- cca.setCcID(-1);
- int totalPage = 0;
- totalPage = cca.afficheCount();
- %>
- <c:forEach var="a" items="<%=cca.afficheList(iPage,30)%>">
- <tr bgcolor="#f6f6f6">
- <td align="center">
- <club:affiche type="htmlCheckbox" idIs="${a.caID}" />
- </td>
- <td>
- <club:affiche type="caTopic" url="../" value="${a.caTopic}" idIs="${a.caID}" linkId="${a.ccID}" />
- </td>
- <!--
- <td align="center" bgcolor="#f6f6f6">
- </td>
- -->
- <td align="center" bgcolor="#f6f6f6">
- <club:affiche type="caByUser" value="${a.caByUser}" />
- </td>
- <td align="center" bgcolor="#f6f6f6">
- <club:affiche type="caAddTime" value="${a.caAddTime}" />
- </td>
- <td align="center">
- <club:affiche type="htmlEdit" idIs="${a.caID}" linkId="${a.ccID}" />
- </td></tr>
- </c:forEach>
- <tr align="center" bgcolor="#E6E6E6">
- <td height="33" colspan="8"><input type="submit" name="Submit" value="确定删除" />
- </td>
- </tr>
- </form>
- <tr bgcolor="#E6E6E6">
- <td colspan="8">
- <%=OutPrint.pageJump(totalPage,30, iPage, "clubAfficheList.jsp?")%>
- </td>
- </tr>
- </table>
- </body>
- </html>