clublistutf.jsp
来自「bbs系统源码有简单的bbs功能 论坛:http://www.mycodes.」· JSP 代码 · 共 43 行
JSP
43 行
<%@ page language="java" contentType="text/html;charset=UTF-8" session="false" %><%@
include file="./GVinc/gvInclude.jsp" %>
<jsp:useBean id="ctr" scope="page" class="com.gamvan.club.topic.ClubTopicResults"/>
<%
/*
* tPro 1为精品话题 2为置顶推荐话题
* order 1按回复倒序排列 2按最新回复倒序 默认按照发表时间倒序排列
* tLen 从左截取字符数
* tList 显示的行数
*
*/
ccID = TypeChange.stringToInt(request.getParameter("ccID"));
int tPro = TypeChange.stringToInt(request.getParameter("tPro"));
int tOrder = TypeChange.stringToInt(request.getParameter("tOrder"));
int tList = TypeChange.stringToInt(request.getParameter("tList"));
int tLen=TypeChange.stringToInt(request.getParameter("tLen"));
String mood=request.getParameter("mood");
if(tList<1){
tList = 10;
}
String tUrl = clubUrl+"/club/clubPage.jsp?ccStyle=1";
ctr.setTopicReID(-1);
List list = ctr.topicImportList(1, tList, tOrder, ccID, tPro);
ClubClassItem ccit = null;
%>
<c:catch var="error">
<c:forEach var="t" items="<%=list%>">
<%
out.print("document.write(\"<DIV class=list_topic>\");\n");
if(mood.equals("1")){
%>
<club:topic type="img_listMoodScript" value="${t.topicMood}"/>
<%}else{
out.print("document.write(\""+mood+" \");\n");
}
%>
<club:topic type="topicScript" url="<%=tUrl%>" linkId="<%=tLen%>" ccID="${t.ccID}" idIs="${t.topicID}" value="${t.topic}" property="_self"/>
<%out.print("document.write(\"</DIV>\");\n");%>
</c:forEach>
<%list=null;%>
</c:catch>
<c:out value="${error}"/>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?