clubTopicDel.jsp
上传用户:u_thks
上传日期:2022-07-31
资源大小:1910k
文件大小:6k
- <%@ page language="java" contentType="text/html;charset=UTF-8"
- session="true" errorPage="err.jsp" %>
- <%@ include file="./GVinc/gvImport.jsp" %>
- <jsp:useBean id="ctm" scope="page" class="com.gamvan.club.topic.ClubTopicManage" />
- <html xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <title><%=clubTitle%>>>
- </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>
- <IFRAME id=hiddenframe style="DISPLAY: none" src="about:blank" width=0 height=0></IFRAME>
- <DIV id="waitDiv" style="LEFT: 40%; VISIBILITY: hidden; POSITION: absolute; TOP: 40%; 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%>__回收站')
- </script>
- <table width="99%" border="0" align="center" cellpadding="2" cellspacing="0" class="bg0">
- <tr><td height="20" valign="top">
- <%
- boolean isRe = ParamUtils.getBooleanParameter(request,"isRe");
- if(request.getMethod().equals("POST")){
- if(isPass(gvUserGradeTxt,37)){
- ctm.setIsRe(isRe);
- ctm.setAct(request.getParameter("act"));
- ctm.topicDos(request.getParameterValues("topicID"));
- out.print(OutPrint.prtCenter("操作成功,点击这里返回!","clubTopicDel.jsp",1));
- out.print(Gfoot());
- out.close();
- if(true)return;
- }
- }
- %>
- </td></tr></table>
- <table width="99%" border="0" align="center" cellpadding="2" cellspacing="1" class="tab">
- <tr class="tab1"><td>
- <%=com.gamvan.club.ClubHtmlConst.gamvan_menu("<a href="clubTopicDel.jsp" target="_self">回收站</a>")%>
- [<a href="clubTopicDel.jsp?isRe=false">显示所有主题</a>]
- [<a href="clubTopicDel.jsp?isRe=true">显示所有回复</a>]
- </td></tr></table>
- <%
- int totalPage = 0; // 总页数
- int tPro = 0;
- int iPage = TypeChange.stringToInt(request.getParameter("iPage"));
- if(iPage<1){
- iPage = 1;
- }
- %>
- <table width="99%" border="0" align="center" cellpadding="2" cellspacing="1" class="tab">
- <form name="Gforms" id="Gforms" method="post" action="">
- <%//权限判断开始
- if(isPass(gvUserGradeTxt,37)){%>
- <tr class="tab2"><td height="25" colspan="8">
-
- <select name="act" id="act">
- <option value="0" selected="selected">选择要操作的内容</option>
- <option value="4">还原回收站主题</option>
- <option value="5">物理删除主题</option>
- </select>
- <input name="gvSubmit" type="submit" class="btn" id="gvSubmit" value="提交" />
-
- <input name="chkall" type="checkbox" id="chkall" value="on" onclick="checkAll(this.form)"/>全(反)选
- </td></tr><%}%>
- <tr align="center" class="tr"><td></td><td></td>
- <td height="22"><strong>主题</strong></td><td width="38"><strong>类型</strong></td><td width="38"><strong>回复</strong></td><td width="100"><strong> 作者 </strong></td><td width="110"><strong>最后更新</strong></td><td width="30"><strong>型别</strong></td> </tr>
- <%
- ccID = TypeChange.stringToInt(request.getParameter("ccID"));
- String tUrl = "clubPage.jsp?ccStyle=1";
- ctm.setTopicPro((short)4);
- ctm.setIsRe(isRe);
- totalPage = ctm.topicCount(-1);
- ClubClassItem ccit = null;
- %><c:forEach var="t" items="<%=ctm.topicList(iPage,30,-1)%>">
- <tr class="tab3">
- <td width="30" height="25" align="center">
- <%if(isRe){%>
- <club:topic type="htmlCheckbox" idIs="${t.topicReID}"/>
- <%}else{%>
- <club:topic type="htmlCheckbox" idIs="${t.topicID}"/>
- <%}%>
- </td><td width="25" align="center">
- <club:topic type="img_listMood" value="${t.topicMood}"/>
- </td><td width="">
- <club:topic type="topic" property="_blank" ccID="${t.ccID}" url="<%=tUrl%>" idIs="${t.topicID}" linkId="${t.topicReID}" value="${t.topic}" bea="<%=true%>"/>
- </td><td width="38" align="center" class="smallTxt">
- <c:if test="${t.topicLayer>0}" >回复</c:if>
- <c:if test="${t.topicLayer==0}" ><strong>主题</strong></c:if>
- </td><td width="38" align="center" class="smallTxt">
- <club:topic type="topicReCount" value="${t.topicReCount}"/>
- </td><td width="100" align="center">
- <club:topic type="userName" idIs="${t.userID}" value="${t.userName}" bea="<%=true%>"/>
- </td><td width="110" align="center" class="smallTxt">
- <club:topic type="topicLastReTime" value="${t.topicLastReTime}"/>
- </td><td width="30" align="center">
- <club:topic type="img_listType" idIs="${t.topicType}" value="${t.topicTypeNum}"/>
- </td></tr>
- </c:forEach>
- </form>
- </table>
- <table width="99%" height="25" border="0" align="center" cellpadding="0" cellspacing="0" >
- <tr >
- <td>
- <%=OutPrint.pageJump(totalPage,30, iPage, "clubTopicDel.jsp?&isRe="+isRe+"")%>
- </td>
- </tr>
- </table>
- <table width="99%" border="0" align="center" cellpadding="2" cellspacing="1" class="tab">
- <tr class="tr2"><td> <strong>版面图例 </strong></td></tr>
- <tr><td class="tab3">
- <img src="GVimgs/topicPro/new.gif" align="absmiddle" />新帖
-
- <img src="GVimgs/topicPro/old.gif" align="absmiddle" />旧帖
-
- <img src="GVimgs/topicPro/up3.gif" align="absmiddle" />总置顶帖
-
- <img src="GVimgs/topicPro/up1.gif" align="absmiddle" />置顶帖
-
- <img src="GVimgs/topicPro/best.gif" align="absmiddle" />精品帖
-
- <img src="GVimgs/topicPro/hot.gif" align="absmiddle" />热门帖
-
- <img src="GVimgs/topicPro/lock.gif" align="absmiddle" />锁定帖
- </td>
- </tr>
- </table>
- <%@ include file="GVinc/gvOnlineArea.jsp" %>
- <%=Gfoot()%>
- </body>
- </html>