cmAffiche.jsp
上传用户:u_thks
上传日期:2022-07-31
资源大小:1910k
文件大小:5k
- <%@ page language="java" contentType="text/html;charset=UTF-8"
- errorPage="err.jsp" %>
- <%@ include file="./GVinc/gvImport.jsp" %>
- <jsp:useBean id="cci" scope="page" class="com.gamvan.club.classed.ClubClassInfo"/>
- <jsp:useBean id="cma" scope="request" class="com.gamvan.club.manage.ClubAffiche"/>
- <jsp:useBean id="cca" scope="request" class="com.gamvan.club.ClubAffiche"/>
- <%@ include file="./GVinc/gvClassInfo.jsp" %>
- <%
- int iPage = 1;
- if(request.getParameter("iPage")!=null){
- iPage = Integer.parseInt(request.getParameter("iPage"));
- }
- String act = "";
- if(request.getParameter("act")!=null){
- act = request.getParameter("act");
- }
- String ccAffiche = "";
- if(request.getMethod().equals("POST")){
- String caid[];
- caid = request.getParameterValues("caID");
- cma.afficheDel(caid);
- out.print(prtCenter(cma.getMessage(),"./cmAffiche.jsp?ccID="+ccID+"",1));
- out.close();
- if(true)return;
- }
- %>
- <html xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <title><%=clubTitle%>>><%
- if(ccIDD1>0){
- out.print(ccName2 +">>");
- }
- %>
- <%
- if(ccIDD>0){
- out.print(ccName1 +">>");
- }
- %>
- <%=ccName%>
- </title>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <link href="./GVimgs/favicon.ico" rel="Bookmark">
- <link rel="icon" href="./GVimgs/favicon.ico" type="image/x-icon" />
- <link rel="shortcut icon" href="./GVimgs/favicon.ico" type="image/x-icon" />
- <link href="./GVinc/main.css" rel="stylesheet" type="text/css" />
- </head>
- <body>
- <DIV id="waitDiv" style="LEFT: 40%; VISIBILITY: hidden; POSITION: absolute; TOP: 20%; TEXT-ALIGN: center">
- <TABLE cellPadding=6 border=0>
- <TBODY><TR><TD align=middle>
- <IMG src="GVimgs/loading.gif" alt="请稍候..." width="30" height="30">
- <BR>
- <FONT color="red">数据载入中,请稍候...</FONT></TD></TR></TBODY></TABLE></DIV>
- <script language="javascript" type="text/javascript" src="GVscript/GVtopCode.js"></script>
- <script language="javascript" type="text/javascript" src="GVscript/GVshowMenu.js"></script>
- <script language="javascript" type="text/javascript" src="GVscriptInc/topBar.js"></script>
- <SCRIPT language="javascript">gv_showWait('waitDiv', 1); </SCRIPT>
- <script language="javascript" type="text/javascript">
- prtie2('<%=clubTitle%>__<%if(ccIDD1>0){out.print(ccName2 +"__");}%><%if(ccIDD>0){out.print(ccName1 +"__");}%><%=ccName%>__公告管理')
- </script>
- <%
- //权限判断开始
- if(ccID<=0){
- out.print(errs(3,"您所请求的版面不存在或已被删除!"));
- out.close();
- if(true) return;
- }
- if(!isPass(gvUserGradeTxt,30)){
- out.print(errs(1,"您的级别("+ gvUserGradeName +")不能进行此项操作,如果你还没有登陆,请先登陆!"));
- out.close();
- if(true) return;
- }
- %>
- <table width="99%" border="0" align="center" cellpadding="2" cellspacing="1" class="tab">
- <tr class="tab1"> <td>
- <strong>您的位置</strong>>><a href="default.jsp" target="_parent">社区首页</a>>>
- <a href="main.jsp">进站画面</a>>>
- <%
- temp = "";
- if(ccIDD1>0){
- out.print("<a href="clubClass.jsp?ccID="+ ccID2 +"&ccStyle="+ ccStyle +"">"+ ccName2 +"</a>>>");
- temp = ccName2 + ">>";
- }
- %>
- <%
- if(ccIDD>0){
- out.print("<a href="clubClass.jsp?ccID="+ ccID1 +"&ccStyle="+ ccStyle +"">"+ ccName1 +"</a>>>");
- temp += ccName1 + ">>";
- }
- temp += ccName + ">>";
- %>
- <a href="clubClass.jsp?ccID=<%=ccID%>&ccStyle=<%=ccStyle%>"><%=ccName%></a>>>
- 版面管理
- <SCRIPT language="javascript">prtie('<%=clubName%>>><%=temp%> 版面管理');</SCRIPT>
- </td>
- </tr>
- </table>
- <%@ include file="./GVfilesInc/classManageMenu.jsp" %>
- <table width="99%" border="0" align="center" cellpadding="2" cellspacing="1" class="tab">
- <form name="Gforms" id="Gforms" method="post" action="">
- <tr align="center" class="tab2">
- <td width="40" height="25"><strong>操作</strong></td>
- <td width="*"><strong>主题</strong></td>
- <td width="120"><strong>发布人</strong></td>
- <td width="128"><strong>发布时间</strong></td>
- <td width="36"><strong>编辑</strong></td>
- </tr>
- <%
- cca.setCcID(ccID);
- int totalPage = 0;
- totalPage = cca.afficheCount();
- %>
- <c:forEach var="a" items="<%=cca.afficheList(iPage,30)%>">
- <tr><td align="center" class="tab3">
- <club:affiche type="htmlCheckbox" idIs="${a.caID}" />
- </td><td class="tab3">
- <club:affiche type="caTopic" value="${a.caTopic}" idIs="${a.caID}" linkId="${a.ccID}" />
- </td><td align="center" class="tab3">
- <club:affiche type="caByUser" value="${a.caByUser}" />
- </td><td align="center" class="tab3">
- <span class="smallTxt"><club:affiche type="caAddTime" value="${a.caAddTime}" /></span>
- </td><td align="center" class="tab3">
- <club:affiche type="htmlEdit" idIs="${a.caID}" linkId="${a.ccID}" />
- </td></tr>
- </c:forEach>
- <tr align="center">
- <td height="33" colspan="5" class="tab3"><input name="Submit" type="submit" class="btn" value="确定删除" /></td>
- </tr>
- </form>
- </table>
- <table width="99%" height="25" border="0" align="center" cellpadding="0" cellspacing="0">
- <tr><td><%=OutPrint.pageJump(totalPage,30, iPage, "cmAffiche.jsp?ccID="+ccID+"&")%>
- </td></tr></table>
- <%=Gfoot()%>
- </body>
- </html>
- <!-- Powered by www.GamVan.com -->