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

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="ctm" scope="page" class="com.gamvan.club.topic.ClubTopicManage" />
  5. <html xmlns="http://www.w3.org/1999/xhtml">
  6. <head>
  7. <title><%=clubTitle%>&gt;&gt;
  8. </title>
  9. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  10. <link href="./GVimgs/favicon.ico" rel="Bookmark"> 
  11. <link rel="icon" href="./GVimgs/favicon.ico" type="image/x-icon" />
  12. <link rel="shortcut icon" href="./GVimgs/favicon.ico" type="image/x-icon" />
  13. <link href="./GVinc/main.css" rel="stylesheet" type="text/css" />
  14. </head>
  15. <body>
  16. <IFRAME id=hiddenframe style="DISPLAY: none" src="about:blank" width=0  height=0></IFRAME>
  17. <DIV id="waitDiv" style="LEFT: 40%; VISIBILITY: hidden; POSITION: absolute; TOP: 40%; TEXT-ALIGN: center">
  18. <TABLE cellPadding=6 border=0>
  19. <TBODY><TR><TD align=middle>
  20. <IMG  src="GVimgs/loading.gif" alt="请稍候..." width="30" height="30">
  21. <BR>
  22. <FONT color="red">数据载入中,请稍候...</FONT></TD></TR></TBODY></TABLE></DIV>
  23. <script language="javascript" type="text/javascript" src="GVscript/GVtopCode.js"></script>
  24. <script language="javascript" type="text/javascript" src="GVscript/GVshowMenu.js"></script>
  25. <script language="javascript" type="text/javascript" src="GVscriptInc/topBar.js"></script>
  26. <SCRIPT language="javascript">gv_showWait('waitDiv', 1); </SCRIPT>
  27. <script language="javascript" type="text/javascript">
  28. prtie2('<%=clubTitle%>__回收站')
  29. </script>
  30. <table width="99%" border="0" align="center" cellpadding="2" cellspacing="0" class="bg0">
  31. <tr><td height="20" valign="top">
  32. <%
  33. boolean isRe = ParamUtils.getBooleanParameter(request,"isRe");
  34. if(request.getMethod().equals("POST")){
  35. if(isPass(gvUserGradeTxt,37)){
  36. ctm.setIsRe(isRe);
  37. ctm.setAct(request.getParameter("act"));
  38. ctm.topicDos(request.getParameterValues("topicID"));
  39. out.print(OutPrint.prtCenter("操作成功,点击这里返回!","clubTopicDel.jsp",1));
  40. out.print(Gfoot());
  41. out.close();
  42. if(true)return;
  43. }
  44. }
  45. %>
  46. </td></tr></table>
  47. <table width="99%" border="0" align="center" cellpadding="2" cellspacing="1" class="tab">
  48. <tr class="tab1"><td>
  49. <%=com.gamvan.club.ClubHtmlConst.gamvan_menu("<a href="clubTopicDel.jsp" target="_self">回收站</a>")%>
  50. &nbsp;&nbsp;[<a href="clubTopicDel.jsp?isRe=false">显示所有主题</a>]
  51. &nbsp;&nbsp;[<a href="clubTopicDel.jsp?isRe=true">显示所有回复</a>]
  52. </td></tr></table>
  53. <%
  54. int totalPage = 0; // 总页数
  55. int tPro = 0;
  56. int iPage = TypeChange.stringToInt(request.getParameter("iPage"));
  57. if(iPage<1){
  58. iPage = 1;
  59. }
  60. %>
  61. <table width="99%"  border="0" align="center" cellpadding="2" cellspacing="1" class="tab">
  62. <form name="Gforms" id="Gforms" method="post" action="">
  63. <%//权限判断开始
  64. if(isPass(gvUserGradeTxt,37)){%>
  65. <tr class="tab2"><td height="25" colspan="8">
  66. &nbsp;
  67. <select name="act" id="act">
  68. <option value="0" selected="selected">选择要操作的内容</option>
  69. <option value="4">还原回收站主题</option>
  70. <option value="5">物理删除主题</option>
  71. </select>&nbsp;
  72. <input name="gvSubmit" type="submit" class="btn" id="gvSubmit" value="提交" />
  73. &nbsp;&nbsp;
  74. <input name="chkall" type="checkbox" id="chkall" value="on" onclick="checkAll(this.form)"/>全(反)选
  75. </td></tr><%}%>
  76. <tr align="center" class="tr"><td></td><td></td>
  77. <td height="22"><strong>主题</strong></td><td width="38"><strong>类型</strong></td><td width="38"><strong>回复</strong></td><td width="100"><strong> 作者 </strong></td><td width="110"><strong>最后更新</strong></td><td width="30"><strong>型别</strong></td> </tr>
  78. <%
  79. ccID = TypeChange.stringToInt(request.getParameter("ccID"));
  80. String tUrl = "clubPage.jsp?ccStyle=1";
  81. ctm.setTopicPro((short)4);
  82. ctm.setIsRe(isRe);
  83. totalPage = ctm.topicCount(-1);
  84. ClubClassItem ccit = null;
  85. %><c:forEach var="t" items="<%=ctm.topicList(iPage,30,-1)%>">
  86. <tr class="tab3">
  87. <td width="30" height="25" align="center">
  88. <%if(isRe){%>
  89. <club:topic type="htmlCheckbox"  idIs="${t.topicReID}"/>
  90. <%}else{%>
  91. <club:topic type="htmlCheckbox"  idIs="${t.topicID}"/>
  92. <%}%>
  93. </td><td width="25" align="center">
  94. <club:topic type="img_listMood"  value="${t.topicMood}"/>
  95. </td><td width="">
  96. <club:topic type="topic" property="_blank" ccID="${t.ccID}" url="<%=tUrl%>" idIs="${t.topicID}" linkId="${t.topicReID}" value="${t.topic}" bea="<%=true%>"/>
  97. </td><td width="38" align="center" class="smallTxt">
  98. <c:if test="${t.topicLayer>0}" >回复</c:if>
  99. <c:if test="${t.topicLayer==0}" ><strong>主题</strong></c:if>
  100. </td><td width="38" align="center" class="smallTxt">
  101. <club:topic type="topicReCount" value="${t.topicReCount}"/>
  102. </td><td width="100" align="center">
  103. <club:topic type="userName"  idIs="${t.userID}" value="${t.userName}" bea="<%=true%>"/>
  104. </td><td width="110" align="center" class="smallTxt">
  105. <club:topic type="topicLastReTime" value="${t.topicLastReTime}"/>
  106. </td><td width="30" align="center">
  107. <club:topic type="img_listType" idIs="${t.topicType}" value="${t.topicTypeNum}"/>
  108. </td></tr>
  109. </c:forEach>
  110. </form>
  111. </table>
  112. <table width="99%" height="25" border="0" align="center" cellpadding="0" cellspacing="0" >
  113. <tr >
  114. <td>
  115. <%=OutPrint.pageJump(totalPage,30, iPage, "clubTopicDel.jsp?&isRe="+isRe+"")%>
  116. </td>
  117. </tr>
  118. </table>
  119. <table width="99%" border="0" align="center" cellpadding="2" cellspacing="1" class="tab">
  120. <tr class="tr2"><td>&nbsp;<strong>版面图例 </strong></td></tr>
  121. <tr><td class="tab3">
  122. <img src="GVimgs/topicPro/new.gif" align="absmiddle" />新帖
  123. &nbsp;&nbsp;
  124. <img src="GVimgs/topicPro/old.gif" align="absmiddle" />旧帖
  125. &nbsp;&nbsp;
  126. <img src="GVimgs/topicPro/up3.gif" align="absmiddle" />总置顶帖
  127. &nbsp;&nbsp;
  128. <img src="GVimgs/topicPro/up1.gif" align="absmiddle" />置顶帖
  129. &nbsp;&nbsp;
  130. <img src="GVimgs/topicPro/best.gif" align="absmiddle" />精品帖
  131. &nbsp;&nbsp;
  132. <img src="GVimgs/topicPro/hot.gif" align="absmiddle" />热门帖
  133. &nbsp;&nbsp;
  134. <img src="GVimgs/topicPro/lock.gif" align="absmiddle" />锁定帖
  135. </td>
  136.   </tr>
  137. </table>
  138. <%@ include file="GVinc/gvOnlineArea.jsp" %>
  139. <%=Gfoot()%>
  140. </body>
  141. </html>