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

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

开发平台:

Java

  1. <%@ page language="java" contentType="text/html;charset=UTF-8" %><%@ 
  2. include file="../GVinc/gvImport.jsp" %>
  3. <jsp:useBean id="ctc" scope="request" class="com.gamvan.club.topic.ClubTopicCollection"/><%
  4. int tID = 0;
  5. int reID = 0;
  6. int i2 = 0;
  7. int iPage = TypeChange.stringToInt(request.getParameter("ipage"));
  8. if(iPage<1){iPage = 1;}
  9. tID = TypeChange.stringToInt(request.getParameter("tID"));
  10. ccID = TypeChange.stringToInt(request.getParameter("ccID"));
  11. String tUrl = "clubPage.jsp?ccID="+ccID+"&ccStyle=1";
  12. %><div id="threadtree_<%=tID%>">
  13. <!--=============回复内容开始==================-->
  14. <c:set value="1"  target="${ctc}" property="ccStyle"/>
  15. <c:set value="<%=new Integer(tID)%>"  target="${ctc}" property="topicID" /><%
  16. int allRePage = ctc.topicReCount(tID);
  17. List list = ctc.topicReList(iPage,8);
  18. %><DIV class="line"></DIV>
  19. <c:forEach var="re" items="<%=list%>">
  20. <DIV class=list_tab_2>
  21. <club:topic type="tree_list" idIs="${re.topicLayer}" value="${re.topicTree}"/>
  22. <club:topic type="img_listMood"  value="${re.topicMood}"/>〖<club:topic type="userName" idIs="${re.userID}" value="${re.userName}" bea="<%=true%>"/>〗<club:topic type="topic" url="<%=tUrl%>" idIs="<%=tID%>" linkId="${re.topicReID}" value="${re.topic}" bea="<%=true%>"/>
  23. &nbsp;<club:topic type="topicAddTime" value="${re.topicAddTime}"/>
  24. &nbsp;<i>
  25. <a href="clubPost.jsp?ccID=7&tID=<%=tID%>&reID=<club:topic type="topicID" value="${re.topicReID}"/>&act=re">
  26. <club:topic type="topicLen" value="${re.topicLen}"/></a></i>
  27. </DIV>
  28. </c:forEach>
  29. <DIV  class=list_tab_2 style="height:24;">
  30. &nbsp;&nbsp;共 <strong><%=allRePage%></strong> 条回帖
  31. <%for(i2=1; i2<=(allRePage/8); i2++){%>
  32. &nbsp;<a onclick="loadTreeNoimg(<%=tID%>,'GVinc/ccStyle0_1.jsp?ccID=<%=ccID%>&tID=<%=tID%>&ipage=<%=i2%>')" style="cursor:hand;">
  33. &lt;<%=i2%>&gt;</a>
  34. <%}%>
  35. </DIV>
  36. <%if(list==null || String.valueOf(list).equals("[]")){%>
  37. &nbsp;&nbsp;&nbsp;&nbsp;
  38. <a href="clubPost.jsp?ccID=<%=ccID%>&act=re&tID=<%=tID%>">本主暂无回复</a>
  39. <%}%>
  40. </div>
  41. <html xmlns="http://www.w3.org/1999/xhtml">
  42. <head>
  43. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  44. <link href="../GVinc/main.css" rel="stylesheet" type="text/css" />
  45. <title></title>
  46. <script language="JavaScript" type="text/JavaScript">
  47. <!--
  48. var ie4 = document.all && navigator.userAgent.indexOf("Opera") == -1;
  49. var ns6 = document.getElementById && !document.all;
  50. var ns4 = document.layers;
  51. function loadtree(id) {
  52.   var sobj = ie4 ? eval("document.all.threadtree_" + id) : ns6 ? document.getElementById("threadtree_" + id ) : ns4 ? eval("document.threadtree_" + id) : "";
  53.   var tobj = ie4 ? eval("parent.document.all.replies_" + id) : ns6 ? parent.document.getElementById("replies_" + id ) : ns4 ? eval("parent.document.replies_" + id) : "";
  54.   if(sobj != null && tobj != null) {
  55.     if(ie4 || ns6) {
  56.       tobj.innerHTML = sobj.innerHTML;
  57.     }
  58.     else {
  59.       tobj.document.write(sobj.innerHTML);
  60.       tobj.document.close();
  61.     }
  62.   }
  63. }
  64. //-->
  65. </script>
  66. </head>
  67. <body onLoad="loadtree(<%=tID%>)">
  68. </body>
  69. </html>