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

📄 clubtopiclist.jsp

📁 特色: 1.今晚在线社区独有的双风格分桢形式 2.社区最多可进行3级分类
💻 JSP
字号:
<%@ page language="java" contentType="text/html;charset=UTF-8" %><%@ 
include file="../GVinc/gvInclude.jsp" %><%@ 
include file="clubMasterPass.jsp" %>
<jsp:useBean id="ctm" scope="page" class="com.gamvan.club.topic.ClubTopicManage" />
<jsp:useBean id="cci" scope="page" class="com.gamvan.club.classed.ClubClassInfo"/>
<% 	
//权限判断共享代码
boolean ispass = false;
//ArrayEdit ae = new ArrayEdit();
ispass = ae.txtsArray(gvcmgTxt,21,"|");
if(!ispass){
	out.print(prtCenter2("您无权进行此项操作!","",2));
	out.close();
	return;
}
int iPage = ParamUtils.getIntParameter(request,"iPage",1);
boolean isRe = ParamUtils.getBooleanParameter(request,"isRe");
byte isDel = ParamUtils.getByteParameter(request,"isDel");
short pro = ParamUtils.getShortParameter(request,"pro",(short)-1);
int isPass = ParamUtils.getIntParameter(request,"isPass",-1);
short layer = ParamUtils.getShortParameter(request,"layer",(short)-1);
if(request.getMethod().equals("POST")){
	ctm.setIsRe(isRe);
	ctm.setAct(request.getParameter("act"));
	ctm.topicDos(request.getParameterValues("topicID"));
	out.print(prtCenter2("操作成功,点击这里返回!","clubTopicList.jsp?isRe="+isRe+"&isDel="+isDel+"&isPass="+isPass+"&pro="+pro+"&layer="+layer+"&iPage="+iPage+"",1));
	out.close();
	if(true)return;
}
%><html><head><title>社区管理</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<STYLE type=text/css media=screen>@import url(../GVinc/GamVanClubStyle.css);</STYLE>
</head><body>
<script language="javascript" src="../GVscript/GVtopCode.js"></script>
<script language="javascript" src="../GVscript/GVshowMenu.js"></script>
<table width="100%" border="0" align="center" cellpadding="1" cellspacing="1" class="tab">
<tr><td height="25" align="center"><strong>社区文章管理</strong></td></tr>
<tr><td height="25" bgcolor="#FFFFFF">
<a href="clubTopicList.jsp?isPass=1&pro=-1&isRe=false">已认证主题</a>
&nbsp;&nbsp;
<a href="clubTopicList.jsp?isPass=0&pro=-1&isRe=false">未认证主题</a>
&nbsp;&nbsp;
<a href="clubTopicList.jsp?isPass=1&pro=-1&isRe=true">已认证回复</a>
&nbsp;&nbsp;
<a href="clubTopicList.jsp?isPass=0&pro=-1&isRe=true">未认证回复</a>
&nbsp;&nbsp;
<a href="clubTopicList.jsp?isPass=3&isDel=1&isRe=false">回收站主题</a>
&nbsp;&nbsp;
<a href="clubTopicList.jsp?isPass=3&isDel=1&isRe=true">回收站回复</a>
</td></tr></table>
<table width="100%" border="0" align="center" cellpadding="2" cellspacing="1" bgcolor="#cccccc" class="tab">
<form name="Gforms" method="post" action="">
<tr>
<td width="30" height="25" align="center">&nbsp;</td>
<td align="center"><strong>主题</strong></td>
<td width="100" align="center"><strong>所在版面</strong></td>
<td width="100" align="center"><strong>作者</strong></td>
<td width="40" align="center"><strong>认证</strong></td>
<td width="40" align="center"><strong>属性</strong></td>
<td width="40" align="center"><strong>类型</strong></td>
<td width="50" align="center"><strong>型别</strong></td>
<td width="100" align="center"><strong>发表时间</strong></td></tr>
<%
ccID = ParamUtils.getIntParameter(request,"ccID");
String tUrl = "../clubPage.jsp?ccStyle=1";
ctm.setTopicPro(pro);
ctm.setIsRe(isRe);
ctm.setTopicIsDel(isDel);
int totalPage = ctm.topicCount(isPass);
ClubClassItem ccit = null;
List list = ctm.topicList(iPage, 30, isPass);
%>
<c:forEach var="t" items="<%=list%>">
<tr>
<td width="30" height="25" align="center" bgcolor="#f6f6f6">
<%if(isRe){%>
	<club:topic type="htmlCheckbox"  idIs="${t.topicReID}"/>
<%}else{%>
	<club:topic type="htmlCheckbox"  idIs="${t.topicID}"/>
<%}%>
</td>
<td bgcolor="#f6f6f6">
<%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 align="center" bgcolor="#f6f6f6">
<c:set value="${t.ccID}"  target="${cci}" property="ccID" />
<%ccit = cci.getClubClassInfo();%>
<club:classinfo type="className"  url="../" value="<%=ccit.getCcName()%>" idIs="<%=ccit.getCcID()%>"/>  </td>
<td align="center" bgcolor="#f6f6f6">
<club:users type="userName"  idIs="${t.userID}" value="${t.userName}" url="../" bea="<%=false%>"/></td>
<td align="center" bgcolor="#f6f6f6">
<club:topic type="topicIsPass" bea="${t.topicIsPass}" value="${t.topicIsPass}"/></td>
<td align="center" bgcolor="#f6f6f6">
<club:topic type="topicPro" idIs="${t.topicPro}"/>
</td>
<td align="center" bgcolor="#f6f6f6">
<c:if test="${t.topicLayer>0}" >
回复
</c:if>
<c:if test="${t.topicLayer==0}" ><strong>
主题
</strong>
</c:if></td>
<td align="center" bgcolor="#f6f6f6">
<club:topic type="img_listType" idIs="${t.topicType}" value="${t.topicTypeNum}"/></td>
<td align="center" bgcolor="#f6f6f6">
<span class="smalltxt"><club:topic type="topicAddTime" value="${t.topicAddTime}"/></span>
</td>
</tr>
</c:forEach>
<tr>
<td height="30" align="center">
<input name="chkall" type="checkbox" id="chkall" value="on" onclick="checkAll(this.form)"/>	</td>
<td colspan="8"><select name="act" id="act">
<option value="0" selected>操作内容</option>
<option value="1">认证主题</option>
<option value="2">反认证主题</option>
<option value="3">删除主题至回收站</option>
<option value="4">还原回收站主题</option>
<option value="5">物理删除主题</option>
</select>
<input name="gvSubmit" type="submit" id="gvSubmit" value="确定提交">
<strong>(为了统计的精确性,删除主题时建议全部归入回收站再执行物理删除操作)</strong></td>
</tr></form></table>
<DIV class="line"></DIV>
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr><td><strong><%=OutPrint.pageJump(totalPage,30, iPage, "clubTopicList.jsp?isRe="+isRe+"&isDel="+isDel+"&isPass="+isPass+"&pro="+pro+"&layer="+layer+"&")%></strong></td>
</tr></table>
</body>
</html>

⌨️ 快捷键说明

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