- <%@ page language="java" contentType="text/html;charset=UTF-8"
- session="true" errorPage="err.jsp" %>
- <%@ include file="./GVinc/gvImport.jsp" %>
- <jsp:useBean id="cci" scope="page" class="com.gamvan.club.classed.ClubClassInfo"/>
- <jsp:useBean id="ctc" scope="page" class="com.gamvan.club.topic.ClubTopicCollection"/>
- <%
- if(gvUserID<=0){
- out.print(prtCenter("您尚未登陆,无权进行此项操作!","userLogin.jsp",1));
- out.close();
- if(true)return;
- }
- int iPage = TypeChange.stringToInt(request.getParameter("iPage"));
- if(iPage<1){iPage = 1;}
- int layer = TypeChange.stringToInt(request.getParameter("layer"));
- %>
- <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/main.css);
- </STYLE>
- </head>
- <body><DIV id="waitDiv" style="LEFT: 40%; VISIBILITY: hidden; POSITION: absolute; TOP: 30%; 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>
- <IFRAME id=hiddenframe style="DISPLAY: none" src="about:blank" width=0 height=0></IFRAME>
- <script type="text/javascript" src="GVscript/GVjumpPage.js"></script>
- <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>
- <%@ include file="./GVinc/userMenu.jsp" %>
- <table width="99%" height="30" border="0" align="center" cellpadding="2" cellspacing="1" class="tab">
- <tr class="tab1"><td valign="middle">
- <%=com.gamvan.club.ClubHtmlConst.gamvan_menu("<a href="userBox.jsp">我的工具箱</a>>><a href="userMyTopic.jsp">我的话题</a>>>")%>
- <select name="select" onChange="GV_jumpPage('self',this,1);">
- <option value="userMyTopic.jsp?layer=0" <% if(layer==0){out.print("selected");}%>>我发起的话题</option>
- <option value="userMyTopic.jsp?layer=1" <% if(layer==1){out.print("selected");}%>>我参与的话题</option>
- </select>
- </td></tr></table>
- <table width="99%" border="0" align="center" cellpadding="2" cellspacing="1" class="tab">
- <tr align="center" class="tr">
- <td width="128" height="24"><strong>来自</strong></td>
- <td height="22"><strong>我的话题</strong></td>
- <td width="100"><strong>类别</strong></td>
- <td width="120"><strong>发表时间</strong></td></tr>
- <%
- int totalPage = 0; // 总页数
- ctc.setTopicLayer((short)layer);
- ctc.setUserID(gvUserID);
- totalPage = ctc.myTopicCount();
- String tUrl = "clubPage.jsp?ccStyle=1";
- ClubClassItem ccit = null;
- %>
- <c:forEach var="t" items="<%=ctc.myTopicList(iPage,30)%>">
- <tr class="tab2">
- <td width="118" height="25" align="center">
- <c:set value="${t.ccID}" target="${cci}" property="ccID" />
- <%
- ccit = (ClubClassItem)cci.getClubClassInfo();
- %>
- <club:classinfo type="className" value="<%=ccit.getCcName()%>" idIs="<%=ccit.getCcID()%>"/>
- </td>
- <td width="#">
- <span style="float:right">
- <club:topic type="img_listType" idIs="${t.topicType}" value="${t.topicTypeNum}"/>
- </span>
- <club:topic type="img_listMood" value="${t.topicMood}"/>
- <c:if test="${t.topicLayer>0}" >
- <club:topic type="topic" url="<%=tUrl%>" ccID="${t.ccID}" idIs="${t.topicID}" linkId="${t.topicReID}" value="${t.topic}" bea="<%=true%>"/>
- </c:if>
- <c:if test="${t.topicLayer==0}" >
- <club:topic type="topic" url="<%=tUrl%>" ccID="${t.ccID}" idIs="${t.topicID}" value="${t.topic}" bea="<%=true%>"/>
- </c:if>
- <club:topic type="img_listHot" idIs="${t.topicViewCount}" value="${t.topicReCount}"/>
- </td>
- <td width="100" align="center">
- <c:if test="${t.topicLayer>0}" >
- 我的回复
- </c:if>
- <c:if test="${t.topicLayer==0}" >
- <strong>
- 我的主题
- </strong>
- </c:if>
- </td>
- <td align="center">
- <club:topic type="topicAddTime" value="${t.topicAddTime}"/>
- </tr>
- </c:forEach>
- </table>
- <table width="99%" border="0" align="center" cellpadding="0" cellspacing="0">
- <tr>
- <td>
- </td>
- </tr>
- </table>
- <%=Gfoot()%>
- </body>
- </html>