clubListUTF.jsp
上传用户:u_thks
上传日期:2022-07-31
资源大小:1910k
文件大小:1k
- <%@ page language="java" contentType="text/html;charset=UTF-8" %>
- <%@ include file="./GVinc/gvImport.jsp" %>
- <jsp:useBean id="ctc" scope="page" class="com.gamvan.club.topic.ClubTopicCollection"/>
- <%
- /*
- * 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;
- }
- %>
- <c:set value="-1" target="${ctc}" property="topicReID" />
- <%
- String tUrl = clubUrl+"/club/clubPage.jsp?ccStyle=1";
- List list = ctc.topicImportList(1, tList, ccID, tPro, tOrder);
- ClubClassItem ccit = null;
- %>
- <c:catch var="error">
- <c:forEach var="t" items="<%=list%>">
- <%
- 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("<br>");n");%>
- </c:forEach>
- </c:catch>
- <c:out value="${error}"/>