⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 clubtopicdel.jsp

📁 bbs系统源码有简单的bbs功能 论坛:http://www.mycodes.net/bbs
💻 JSP
字号:
<%@ 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" />
<STYLE type="text/css" media="screen">@import url(./GVinc/GamVanClubStyle.css);</STYLE>
</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="100%" border="0" align="center" cellpadding="2" cellspacing="1">
<tr><td><img src="GVimgs/mainLogo.gif" /></td><td align="right">
<script language="javascript" type="text/javascript" src="./GVscript/GVad.js"></script>
<script language="javascript" type="text/javascript" src="./GVscriptInc/GVad_1.js"></script>
</td></tr></table>
<%
boolean isRe = ParamUtils.getBooleanParameter(request,"isRe");
if(request.getMethod().equals("POST")){
	if(isPass(gvUserGradeTxt,37)){
		ctm.setTopicLogByUserList((short)1);
		ctm.setTopicLogList(true);
		ctm.setByUser(gvUserName);
		ctm.setByUserID(gvUserID);
		ctm.setTopicLogTxt("");
		ctm.setByUserIP(request.getRemoteAddr());
		ctm.setIsRe(isRe);
		ctm.setAct(request.getParameter("act"));
		ctm.topicDos(request.getParameterValues("topicID"));
		out.print(OutPrint.prtCenter("操作成功,点击这里返回!"+ctm.getMessage(),"clubTopicDel.jsp",1));
		out.print(Gfoot());
		out.close();
		if(true)return;
	}
}
%>
<DIV class="line"></DIV>
<DIV class="list_table_0">
<%=com.gamvan.club.ClubHtmlConst.gamvan_menu("<a href=\"clubTopicDel.jsp\" target=\"_self\">回收站</a>")%>
&nbsp;&nbsp;[<a href="clubTopicDel.jsp?isRe=false">显示所有主题</a>]
&nbsp;&nbsp;[<a href="clubTopicDel.jsp?isRe=true">显示所有回复</a>]
</DIV>
<DIV class="line"></DIV>
<%
int totalPage = 0; // 总页数
int tPro = 0;
int iPage = TypeChange.stringToInt(request.getParameter("iPage"));
if(iPage<1){
	iPage = 1;
	}
%>
<table width="100%"  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">
&nbsp;
<select name="act" id="act">
<option value="0" selected="selected">选择要操作的内容</option>
<option value="4">还原回收站主题</option>
<option value="5">物理删除主题</option>
</select>&nbsp;
<input name="gvSubmit" type="submit" class="btn" id="gvSubmit" value="提交" />
&nbsp;&nbsp;
<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.setTopicIsDel((byte)1);
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="">
<%if(isRe){%>
<club:topic type="topic" property="_blank" ccID="${t.ccID}" url="<%=tUrl%>" idIs="${t.topicID}" linkId="${t.topicReID}" value="${t.topic}" bea="<%=true%>"/>
<%}else{%>
<club:topic type="topic" property="_blank" ccID="${t.ccID}" url="<%=tUrl%>" idIs="${t.topicID}" linkId="0" 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="100%" 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="100%" border="0" align="center" cellpadding="2" cellspacing="1" class="tab">
<tr class="tr2"><td>&nbsp;<strong>版面图例 </strong></td></tr>
<tr><td class="tab3">
<img src="GVimgs/topicPro/new.gif" align="absmiddle" />新帖
&nbsp;&nbsp;
<img src="GVimgs/topicPro/old.gif" align="absmiddle" />旧帖
&nbsp;&nbsp;
<img src="GVimgs/topicPro/up3.gif" align="absmiddle" />总置顶帖
&nbsp;&nbsp;
<img src="GVimgs/topicPro/up1.gif" align="absmiddle" />置顶帖
&nbsp;&nbsp;
<img src="GVimgs/topicPro/best.gif" align="absmiddle" />精品帖
&nbsp;&nbsp;
<img src="GVimgs/topicPro/hot.gif" align="absmiddle" />热门帖
&nbsp;&nbsp;
<img src="GVimgs/topicPro/lock.gif" align="absmiddle" />锁定帖
</td>
  </tr>
</table>
<%@ include file="GVinc/gvOnlineArea.jsp" %>
<%=Gfoot()%>
</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -