myLikeTopic.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="ctil" scope="page" class="com.gamvan.club.topic.ClubTopicIlike"/>
  5. <jsp:useBean id="cci" scope="application" class="com.gamvan.club.classed.ClubClassInfo"/>
  6. <%
  7. if(gvUserID==0){
  8. out.print(OutPrint.prtCenter("您尚未登陆,无权进行此项操作!","userLogin.jsp",1));
  9. out.close();
  10. return;
  11. }
  12. %>
  13. <html xmlns="http://www.w3.org/1999/xhtml">
  14. <head>
  15. <title><%=clubTitle%>__我订阅的话题</title>
  16. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  17. <link href="./GVimgs/favicon.ico" rel="Bookmark"> 
  18. <link rel="icon" href="./GVimgs/favicon.ico" type="image/x-icon" />
  19. <link rel="shortcut icon" href="./GVimgs/favicon.ico" type="image/x-icon" />
  20. <link href="./GVinc/main.css" rel="stylesheet" type="text/css" /></head>
  21. <body><DIV id="waitDiv" style="LEFT: 40%; VISIBILITY: hidden; POSITION: absolute; TOP: 30%; TEXT-ALIGN: center">
  22. <TABLE cellPadding=6 border=0>
  23. <TBODY><TR><TD align=middle>
  24. <IMG  src="GVimgs/loading.gif" alt="请稍候..." width="30" height="30">
  25. <BR>
  26. <FONT color="red">数据载入中,请稍候...</FONT></TD></TR></TBODY></TABLE></DIV>
  27. <IFRAME id=hiddenframe style="DISPLAY: none" src="about:blank" width=0  height=0></IFRAME>
  28. <script type="text/javascript" src="../GVscript/GVjumpPage.js"></script>
  29. <script language="javascript" type="text/javascript" src="GVscript/GVtopCode.js"></script>
  30. <script language="javascript" type="text/javascript" src="GVscriptInc/topBar.js"></script>
  31. <SCRIPT language="javascript">gv_showWait('waitDiv', 1); </SCRIPT>
  32. <script language="javascript" type="text/javascript">
  33. prtie2('<%=clubTitle%>__我订阅的主题');
  34. </script>
  35. <%@ include file="./GVinc/userMenu.jsp" %>
  36. <table width="99%" border="0" align="center" cellpadding="2" cellspacing="1" class="tab">
  37. <tr class="tab1"><td valign="middle">
  38. <%=com.gamvan.club.ClubHtmlConst.gamvan_menu("<a href="userBox.jsp">我的工具箱</a>&gt;&gt;我订阅的主题")%>
  39. </td></tr></table>
  40. <table width="99%"  border="0" align="center" cellpadding="2" cellspacing="1" class="tab">
  41. <tr class="tab1"><td>
  42. <img src="GVimgs/topicPro/new.gif" align="absmiddle" />自您订阅后本主题<strong> 有 </strong>新回复&nbsp;&nbsp;<img src="GVimgs/topicPro/old.gif" align="absmiddle" />
  43. 自您订阅后本主题<strong> 无 </strong>新回复
  44. </td></tr></table>
  45. <%
  46. if(request.getMethod().equals("POST")){
  47. ctil.delLike(request.getParameterValues("likeID"));
  48. out.print(OutPrint.prtCenter(ctil.getMessage(),"myLikeTopic.jsp",1));
  49. out.print(Gfoot());
  50. if(true)return;
  51. out.close();
  52. }
  53. %>
  54. <table width="99%" border="0" align="center" cellpadding="2" cellspacing="1" class="tab">
  55. <form name="Gforms" id="Gforms" method="post" action="" onSubmit="javascript:postMsg();">
  56. <tr align="center" class="tr">
  57. <td width="128" height="25"><strong>来自</strong></td>
  58. <td width="40"><strong>更新</strong></td>
  59. <td><strong>订阅的主题</strong></td>
  60. <td width="100"><strong>作者</strong></td>
  61. <td width="120"><strong>订阅时间</strong></td>
  62. <td width="40"><strong>选择</strong></td>
  63. </tr>
  64. <%
  65. int iPage = TypeChange.stringToInt(request.getParameter("iPage"));
  66. ctil.setMyUserID(gvUserID);
  67. int totalPage = ctil.myLikeTopicListCount();
  68. ClubClassItem ccit = null;
  69. %>
  70. <c:forEach var="t" items="<%=ctil.myLikeTopicList(iPage,30)%>">
  71. <tr class="tab2">
  72. <td width="128" height="25" align="center">
  73. <c:set value="${t.ccID}"  target="${cci}" property="ccID" />
  74. <%
  75. ccit = (ClubClassItem)cci.getClubClassInfo();
  76. %>
  77. <club:classinfo type="className"  value="<%=ccit.getCcName()%>" idIs="<%=ccit.getCcID()%>"/>
  78. </td><td align="center">
  79. <club:topic type="img_iLike" value="${t.lastTime}" property="${t.topicLastReTime}" />
  80. </td><td width="-1">
  81. <club:topic type="topic" ccID="${t.ccID}" url="clubPage.jsp?ccStyle=0" property="_blank" idIs="${t.topicID}" value="${t.topic}" bea="<%=true%>"/>
  82. </td>
  83. <td align="center">
  84. <club:users type="userName" value="${t.myUserName}" idIs="${t.myUserID}" bea="false" />
  85. </td>
  86. <td align="center">
  87. <club:topic type="dateTime" value="${t.addTime}" />
  88. </td>
  89. <td align="center">
  90. <club:topic type="htmlCheckbox" idIs="${t.likeID}" property="likeID"/>
  91. </td>
  92. </tr>
  93. </c:forEach>
  94. <%=ctil.getMessage()%>
  95. <tr class="tab2">
  96. <td height="25" colspan="5" align="right">
  97. <input name="gvSubmit" type="submit" class="btn" value="取消订阅" />
  98. <input type="hidden" name="gvBack" value=""/>
  99. 全(反)选</td>
  100. <td align="center">
  101. <input name="chkall" type="checkbox" id="chkall" value="on" onClick="checkAll(this.form)"/>
  102. </td>
  103. </tr>
  104. </form>
  105. </table>
  106. <table width="99%"  border="0" align="center" cellpadding="0" cellspacing="0">
  107.   <tr>
  108.     <td>
  109. <%=OutPrint.pageJump(totalPage,30, iPage, "myLikeTopic.jsp?")%>
  110. </td></tr></table>
  111. <%@ include file="GVinc/gvOnlineArea.jsp" %>
  112. <%=Gfoot()%>
  113. </body>
  114. </html>