userMyTopic.jsp
上传用户:u_thks
上传日期:2022-07-31
资源大小:1910k
文件大小:5k
源码类别:

WEB源码(ASP,PHP,...)

开发平台:

Java

  1. <%@ page language="java" contentType="text/html;charset=UTF-8"
  2.  session="true" errorPage="err.jsp" %>
  3. <%@ include file="./GVinc/gvImport.jsp" %>
  4. <jsp:useBean id="cci" scope="page" class="com.gamvan.club.classed.ClubClassInfo"/>
  5. <jsp:useBean id="ctc" scope="page" class="com.gamvan.club.topic.ClubTopicCollection"/> 
  6. <%
  7. if(gvUserID<=0){
  8. out.print(prtCenter("您尚未登陆,无权进行此项操作!","userLogin.jsp",1));
  9. out.close();
  10. if(true)return;
  11. }
  12. int iPage = TypeChange.stringToInt(request.getParameter("iPage"));
  13. if(iPage<1){iPage = 1;}
  14. int layer = TypeChange.stringToInt(request.getParameter("layer"));
  15. %>
  16. <html xmlns="http://www.w3.org/1999/xhtml">
  17. <head>
  18. <title><%=clubTitle%>  我的话题</title>
  19. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  20. <link href="./GVimgs/favicon.ico" rel="Bookmark"> 
  21. <link rel="icon" href="./GVimgs/favicon.ico" type="image/x-icon" />
  22. <link rel="shortcut icon" href="./GVimgs/favicon.ico" type="image/x-icon" />
  23. <STYLE type=text/css media=screen>
  24. @import url(./GVinc/main.css);
  25. </STYLE>
  26. </head>
  27. <body><DIV id="waitDiv" style="LEFT: 40%; VISIBILITY: hidden; POSITION: absolute; TOP: 30%; TEXT-ALIGN: center">
  28. <TABLE cellPadding=6 border=0>
  29. <TBODY><TR><TD align=middle>
  30. <IMG  src="GVimgs/loading.gif" alt="请稍候..." width="30" height="30">
  31. <BR>
  32. <FONT color="red">数据载入中,请稍候...</FONT></TD></TR></TBODY></TABLE></DIV>
  33. <IFRAME id=hiddenframe style="DISPLAY: none" src="about:blank" width=0  height=0></IFRAME>
  34. <script type="text/javascript" src="GVscript/GVjumpPage.js"></script>
  35. <script language="javascript" type="text/javascript" src="GVscript/GVtopCode.js"></script>
  36. <script language="javascript" type="text/javascript" src="GVscript/GVshowMenu.js"></script>
  37. <script language="javascript" type="text/javascript" src="GVscriptInc/topBar.js"></script>
  38. <SCRIPT language="javascript">gv_showWait('waitDiv', 1); </SCRIPT>
  39. <script language="javascript" type="text/javascript">
  40. prtie2('<%=clubTitle%>__我的话题');
  41. </script>
  42. <%@ include file="./GVinc/userMenu.jsp" %>
  43. <table width="99%" height="30" border="0" align="center" cellpadding="2" cellspacing="1" class="tab">
  44. <tr class="tab1"><td valign="middle">
  45. <%=com.gamvan.club.ClubHtmlConst.gamvan_menu("<a href="userBox.jsp">我的工具箱</a>&gt;&gt;<a href="userMyTopic.jsp">我的话题</a>&gt;&gt;")%>
  46. <select name="select" onChange="GV_jumpPage('self',this,1);">
  47. <option value="userMyTopic.jsp?layer=0" <% if(layer==0){out.print("selected");}%>>我发起的话题</option>
  48. <option value="userMyTopic.jsp?layer=1" <% if(layer==1){out.print("selected");}%>>我参与的话题</option>
  49. </select>
  50. </td></tr></table>
  51. <table width="99%" border="0" align="center" cellpadding="2" cellspacing="1" class="tab">
  52. <tr align="center" class="tr">
  53. <td width="128" height="24"><strong>来自</strong></td>
  54. <td height="22"><strong>我的话题</strong></td>
  55. <td width="100"><strong>类别</strong></td>
  56. <td width="120"><strong>发表时间</strong></td></tr>
  57. <%
  58. int totalPage = 0; // 总页数
  59. ctc.setTopicLayer((short)layer);
  60. ctc.setUserID(gvUserID);
  61. totalPage = ctc.myTopicCount();
  62. String tUrl = "clubPage.jsp?ccStyle=1";
  63. ClubClassItem ccit = null;
  64. %>
  65. <c:forEach var="t" items="<%=ctc.myTopicList(iPage,30)%>">
  66. <tr class="tab2">
  67. <td width="118" height="25" align="center">
  68. <c:set value="${t.ccID}"  target="${cci}" property="ccID" />
  69. <%
  70. ccit = (ClubClassItem)cci.getClubClassInfo();
  71. %>
  72. <club:classinfo type="className"  value="<%=ccit.getCcName()%>" idIs="<%=ccit.getCcID()%>"/>
  73. </td>
  74. <td width="#">
  75. <span style="float:right">
  76. <club:topic type="img_listType" idIs="${t.topicType}" value="${t.topicTypeNum}"/>
  77. </span>
  78. <club:topic type="img_listMood"  value="${t.topicMood}"/>
  79. <c:if test="${t.topicLayer>0}" >
  80. <club:topic type="topic" url="<%=tUrl%>" ccID="${t.ccID}" idIs="${t.topicID}" linkId="${t.topicReID}" value="${t.topic}" bea="<%=true%>"/>
  81. </c:if>
  82. <c:if test="${t.topicLayer==0}" >
  83. <club:topic type="topic" url="<%=tUrl%>" ccID="${t.ccID}" idIs="${t.topicID}" value="${t.topic}" bea="<%=true%>"/>
  84. </c:if>
  85. <club:topic type="img_listHot" idIs="${t.topicViewCount}" value="${t.topicReCount}"/>
  86. </td>
  87. <td width="100" align="center">
  88. <c:if test="${t.topicLayer>0}" >
  89. 我的回复
  90. </c:if>
  91. <c:if test="${t.topicLayer==0}" >
  92. <strong>
  93. 我的主题
  94. </strong>
  95. </c:if>
  96. </td>
  97. <td align="center">
  98. <club:topic type="topicAddTime" value="${t.topicAddTime}"/>
  99. </tr>
  100. </c:forEach>
  101. </table>
  102. <table width="99%"  border="0" align="center" cellpadding="0" cellspacing="0">
  103.   <tr>
  104.     <td>&nbsp;
  105. </td>
  106.   </tr>
  107. </table>
  108. <%=Gfoot()%>
  109. </body>
  110. </html>