clubPage.jsp
上传用户:u_thks
上传日期:2022-07-31
资源大小:1910k
文件大小:28k
- <%@ page language="java" contentType="text/html;charset=UTF-8" %>
- <%@ include file="./GVinc/gvImport.jsp" %><%@
- include file="./GVinc/gvTopicVar.jsp" %>
- <jsp:useBean id="cci" scope="page" class="com.gamvan.club.classed.ClubClassInfo"/>
- <jsp:useBean id="cti" scope="page" class="com.gamvan.club.topic.ClubTopicInfo"/>
- <jsp:useBean id="ctli" scope="request" class="com.gamvan.club.topic.ClubTopicLogInfo"/>
- <jsp:useBean id="ctc" scope="request" class="com.gamvan.club.topic.ClubTopicCollection"/>
- <jsp:useBean id="ccc" scope="request" class="com.gamvan.club.topic.ClubContentCollection"/>
- <jsp:useBean id="ctil" scope="request" class="com.gamvan.club.topic.ClubTopicIlike"/>
- <jsp:useBean id="ctt" scope="request" class="com.gamvan.club.topic.ClubTopicType"/>
- <jsp:useBean id="csrs" scope="request" class="com.gamvan.club.ClubStringReplaces"/><%@
- include file="./GVinc/gvClassInfo.jsp"
- %><%
- if(request.getParameter("ccStyle")!=null){
- ccStyle = ParamUtils.getByteParameter(request,"ccStyle");
- }else{
- ccStyle = ccoStyle;
- }
- //定义函数,准备读取主题内容
- int reID = ParamUtils.getIntParameter(request,"reID");
- int tID = ParamUtils.getIntParameter(request,"tID");
- if(tID<=0){
- out.print(OutPrint.prtCenter("您所请求的页面不存在或已被删除!","userLogin.jsp",1));
- out.close();
- return;
- }
- ctil.updateMyLike(tID,gvUserID); //更新订阅收藏的主题最后查看时间
- cti.topicUpdate(tID, reID, ccStyle); //浏览次数加1
- // 判断是显示回复还是主题
- ClubTopicItem ctit = null;
- ClubTopicReItem ctrit = null;
- ClubContentReItem ccrItem = null;
- ClubContentItem ccItem = null;
- /**
- * 用来判断调用哪个类的方法
- * 0调用主题表 1调用回复表
- */
- boolean isRe = false; //用来判断调用哪个类的方法
- if(ccStyle==1){
- if(reID>0){
- isRe = true;
- }
- }
- if(isRe){
- ctrit = (ClubTopicReItem)cti.topicInfo(tID, reID, ccStyle);
- if(ctrit==null){
- out.print(OutPrint.prtCenter("您所请求的主题不存在或已被删除!","userLogin.jsp",2));
- out.close();
- return;
- }
- }else{
- ctit = (ClubTopicItem)cti.topicInfo(tID, reID, ccStyle);
- if(ctit==null){
- out.print(OutPrint.prtCenter("您所请求的主题不存在或已被删除!","userLogin.jsp",2));
- out.close();
- return;
- }
- }
- %><%@ include file="./GVinc/gvTopicGet.jsp" %><html xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <title><%=topic%>__来自:<%=clubTitle%>__<%=ccName%></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: 20%; 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>
- <script language="javascript" type="text/javascript" src="GVscript/GVtopCode.js"></script>
- <script language="javascript" type="text/javascript" src="GVscript/GVrunCode.js"></script>
- <SCRIPT language="javascript" type="text/javascript" >gv_showWait('waitDiv', 1); </SCRIPT>
- <script language="javascript" type="text/javascript" src="GVscriptInc/topBar.js"></script>
- <script language="javascript" type="text/javascript" src="GVscript/GVshowMenu.js"></script>
- <script language="javascript" type="text/javascript">
- prtie2('<%=clubTitle%>__<%if(ccIDD1>0){out.print(ccName2 +"__");}%><%if(ccIDD>0){out.print(ccName1 +"__");}%><%=ccName%>__<%=topic%>')
- </script>
- <%
- int iPage = ParamUtils.getIntParameter(request,"iPage");
- if(iPage < 1 ){ iPage=1; }
- if(ccID<=0){
- out.print(errs(3,"您所请求的版面不存在或已被删除!"));
- out.close();
- if(true) return;
- }
- if(!topicIsPass){
- out.print(errs(1,"你请求的主题正在审核中。。。"));
- out.close();
- if(true) return;
- }
- /*
- //黑名单判断开始
- if(cbg.clubBlackSelect(gvUserID, 1)){
- blackInfo = cbg.getBlackInfo();
- blackTxt = cbg.getBlackTxt();
- blackOver = cbg.getBlackOver();
- blackCCID = cbg.getCCID();
- if(blackCCID==0 || blackCCID==ccID || blackCCID==ccID1 || blackCCID==ccID2){
- if(isPass(blackInfo,3)){ //禁止浏览主题
- if(blackOver==0){
- out.print(errs(1,"您的浏览权限被社区勤杂工屏闭,操作理由是:<strong>"+blackTxt+"</strong>"));
- out.close();
- if(true) return;
- }
- }
- }
- }
- */
- //权限判断开始
- if(ccUgid<gvUserGradeID){
- out.print(errs(1,"您的级别("+ gvUserGradeName +")无权查看本主题!如果您尚未登陆,请先登陆社区!"));
- out.close();
- if(true) return;
- }
- if(ccType==0){
- if(!isPass(gvUserGradeTxt,2)){
- out.print(errs(1,"您的级别("+ gvUserGradeName +")无权浏览社区分类!"));
- out.close();
- if(true) return;
- }
- }else{
- if(!isPass(gvUserGradeTxt,3)){
- out.print(errs(1,"您的级别("+ gvUserGradeName +")无权浏览社区版面!"));
- out.close();
- if(true) return;
- }
- }
- if(ccPro>0){
- boolean passPro=false; //判断用户是否有访问特殊属性的版面
- if(ccPro==3){
- passPro = ae.txtsArray(ccUserPass, gvUserName, "|");
- if(!passPro && !isPass(gvUserGradeTxt,41)){
- out.print(errs(1,"本版为成员版,须经过管理员认证才能访问!"));
- out.close();
- if(true) return;
- }
- }
- }
- //================判断主题型别开始===========================
- switch(topicType){
- case 0:
- if(!isPass(gvUserGradeTxt,4)){
- out.print(errs(1,"您的级别("+ gvUserGradeName +")无权浏览本版内容,如果您还没有登陆,请先登陆!"));
- out.close();
- if(true) return;
- }
- break;
- default:
- if(!isPass(gvUserGradeTxt,5)){
- out.print(errs(1,"您的级别("+ gvUserGradeName +")不可以请求浏览社区<strong>金钱、散分、积分、隐藏</strong>等特殊型别的主题!"));
- out.close();
- if(true) return;
- }
- break;
- }
- if(topicPro==1){
- if(!isPass(gvUserGradeTxt,6)){
- out.print(errs(1,"您的级别("+ gvUserGradeName +")不可以请求浏览社区<strong>精华帖</strong>!"));
- out.close();
- if(true) return;
- }
- }
- if(request.getMethod().equals("POST")){
- switch(topicType){
- case 2:
- //判断主题型别库当前用户是否参与过selectTopicType返回 double
- boolean bea = false;
- if(cti.selectTopicType(topicID, gvUserID, topicType, topicTypeNum)<=0){
- bea = cti.addTopicType(topicID, gvUserID, topicType, topicTypeNum);
- }else{
- bea = cti.updateTopicType(topicID, gvUserID, topicType, topicTypeNum);
- }
- if(!bea){
- out.print(prtCenter(cti.getMessage(),"",2));
- response.setHeader("Refresh", "2; ");
- out.print(Gfoot());
- out.close();
- if(true)return;
- }
- break;
- case 3:
- break;
- }
- }
- double userTypeNum=0;
- String reUsers = "";
- switch(topicType){
- case 1:
- userTypeNum=gvUserMark;
- break;
- case 2:
- //out.print(userTypeNum);
- userTypeNum=cti.selectTopicType(topicID, gvUserID, topicType, topicTypeNum);
- break;
- case 3:
-
- break;
- case 4:
- ClubTopicReUsersItem ctrui = null;
- ctrui = (ClubTopicReUsersItem)cti.selectReUsers(tID);
- if(ctrui!=null){
- reUsers = "|" + ctrui.getReUsers() + "|";
- }
- topicTypeNum = reUsers.indexOf("|" + gvUserName + "|"); //如果回复过则返回0,否则返回-1
- //out.print(reUsers);
- break;
- }
- if(userName.equals(gvUserName)){
- userTypeNum=-1;
- }
- if(isPass(gvUserGradeTxt,42)){ //判断是否开通特殊权限
- userTypeNum=-2;
- }
- /**
- content = es.htmlEncoder(content);
- es.setUbbImg(contentImg);
- es.setUbbUrl(contentUrl);
- content = es.ubbEncoder(content);
- ctt.setTopicType(topicType);
- ctt.setTopicTypeNum(topicTypeNum);
- ctt.setUserTypeNum(userTypeNum);
- content = ctt.encoderType(content);
- */
- //=============================================================================
- double userMark = 0;
- double userMoney = 0;
- double userCredit = 0;
- int userTopicCount=0, userReCount=0;
- String userRegDate="", userLastDate="";
- String userWeb="", userArea="", userCity="", userPen="", userPic="";
- String userName2 = "";
- boolean userIsDel = false;
- cui = null;
- cui = cu.userInfo(userID);
- if(cui!=null){
- userIsDel = cui.getUserIsDel();
- if(!userIsDel){
- userName2 = cui.getUserName2();
- userMark = cui.getUserMark();
- userMoney = cui.getUserMoney();
- userCredit = cui.getUserCredit();
- userTopicCount = cui.getUserTopicCount();
- userReCount = cui.getUserReCount();
- //userRegDate = cui.getUserRegDate();
- userWeb = cui.getUserWeb();
- userArea = cui.getUserArea();
- userCity = cui.getUserCity();
- //userQQ = cu.getUserQQ();
- userPen = cui.getUserPen();
- //userPen = es.htmlEncoder(userPen);
- //userPen = es.ubbEncoder(userPen);
- userPic = cui.getUserPic();
- }
- }
- /*
- //黑名单过滤开始
- if(cbg.clubBlackSelect(userID, 1)){
- blackInfo = cbg.getBlackInfo();
- blackTxt = cbg.getBlackTxt();
- blackOver = cbg.getBlackOver();
- blackCCID = cbg.getCCID();
- if(blackCCID==0 || blackCCID==ccID || blackCCID==ccID1 || blackCCID==ccID2){
- if(isPass(blackInfo,7)){ //禁止显示签名
- if(blackOver==0){
- userPen = "<font color="#000099">==>此用户签名已被社区勤杂工屏闭<==<br>";
- userPen += " 操作理由是:"+blackTxt+"</font>";
- }
- }
- if(isPass(blackInfo,4)){ //禁止显示签名
- if(blackOver==0){
- content = "<font color="#bb0000">==>此用户发表的主题已被社区勤杂工屏闭 禁止显示<==<br>";
- content += " 操作理由是:"+blackTxt+"</font>";
- }
- }
- }
- blackInfo=null;
- blackTxt=null;
-
- }
- */
- %>
- <table width="99%" border="0" align="center" cellpadding="2" cellspacing="1" class="tab">
- <tr class="tab1"><td height="25">
- <%=com.gamvan.club.ClubHtmlConst.gamvan_menu(
- com.gamvan.club.ClubHtmlConst.gamvan_classMenu(ccID, ccID1,ccID2,ccName,ccName1,ccName2, ccIDD, ccIDD1)
- )%>查看文章
- </td>
- </tr></table>
- <table width="99%" border="0" align="center" cellpadding="2" cellspacing="1" class="bg0">
- <tr><td height="20">
- <a href="clubPost.jsp?ccID=<%=ccID%>&act=add"><img alt="发表新主题" src="GVimgs/topic.gif" border="0" align="absmiddle" /></a>
-
- <a href="clubPost.jsp?ccID=<%=ccID%>&tID=<%=tID%>&act=re"><img alt="回复本主题" src="GVimgs/reTopic.gif" border="0" align="absmiddle"/></a>
-
- 本主题已被查阅<strong> <%=topicViewCount%> </strong>次,
- 回复<strong> <%=topicReCount%> </strong>次。
- </td><td width="160" align="right">
- <%
- if(ccStyle==0){
- %>
- <a href="clubPage.jsp?ccID=<%=ccID%>&tID=<%=tID%>&ccStyle=1&iPage=<%=iPage%>">树型显示</a>
- <%
- }else{
- %>
- <a href="clubPage.jsp?ccID=<%=ccID%>&tID=<%=tID%>&ccStyle=0&iPage=<%=iPage%>">平板显示</a>
- <%
- }
- %>
- <a href="./clubPageSend.jsp?ccID=<%=ccID%>&tID=<%=tID%>">推荐给朋友</a>
- </td></tr></table>
- <script>
- document.write("<table width="99%" border="0" align="center" cellpadding="2" cellspacing="1" class="bg0"><tr>");
- document.write("<td width="100">本页URL地址</td>");
- document.write("<td><input onfocus="this.select();" class="inputText" size="60" name="" type="text" style='width:100%; height:20px' value=""+self.location+"" /></td>");
- document.write("<td width="120" align="right">");
- document.write("<a href="./clubTopicIlike.jsp?tID=<%=tID%>" target="_self">订阅本主题</a>");
- document.write("</td>");
- document.write("</tr></table>");
- </script>
- <table width="99%" border="0" align="center" cellpadding="2" cellspacing="1" class="tab">
- <tr class="tr2">
- <td width="128" height="22"><strong> 用户:</strong>
- <club:users type="userName" idIs="<%=userID%>" value="<%=userName%>" bea="<%=userIsDel%>"/>
- </td>
- <td height="22">
- <club:topic type="img_listMood" value="<%=String.valueOf(topicMood)%>"/>
- <club:topic type="img_listType" idIs="<%=topicType%>" value="<%=String.valueOf(topicTypeNum)%>"/>
- <strong>
- <club:topic type="topic" value="<%=topic%>"/>
- </strong>
-
- <span class="smallTxt">
- <club:topic type="topicAddTime" value="<%=topicAddTime%>"/>
- </span>
- </td>
- </tr>
- <tr class="tab2">
- <td width="128" valign="top" class="td">
- <table width="100%" border="0" align="center" cellpadding="1" cellspacing="2">
- <%
- if(userPic!=null && !userPic.equals("")){
- out.print("<tr><td colspan="2">");
- out.print("<div align="center"><img src=""+ userPic +"" border="0" onload="javascript:if(this.width > 120){this.width = 120};"></div>");
- out.print("</td></tr>");
- }
- %>
- <tr>
- <td width="35"><strong>积分:</strong></td>
- <td ><%=userMark%></td>
- </tr><tr>
- <td><strong>金币:</strong></td>
- <td><%=userMoney%></td>
- </tr>
- <tr>
- <td><strong>信誉:</strong></td>
- <td><%=userCredit%></td>
- </tr>
- <tr>
- <td><strong>发帖: </strong></td>
- <td><%=userTopicCount%></td>
- </tr>
- <tr>
- <td><strong>来自:</strong></td>
- <td><%
- out.print(userArea);
- if(userCity!=null && !userCity.equals("")){
- out.print("," + userCity);
- }
- %></td></tr>
- </table>
- </td>
- <td valign="top" class="bg0">
- <!-----------------文章顶部按钮开始------------------>
- <table width="100%" border="0" cellpadding="1" cellspacing="2">
- <tr><td align="right" >
- <span style="float:left; color:#0022aa">楼主<%
- out.print("-> <a href="userInfo.jsp?userID="+userID+"" target="_blank" style="color:#009900">"+userName2+"</a>");
- %></span>
- <%if(userWeb != ""){%>
- <a href="<%=userWeb%>" target="_blank"><img alt="查看用户个人主页" src="GVimgs/pages/1.gif" border="0" /></a>
- <%}%>
- <a href="userInfo.jsp?userID=<%=userID%>" target="_blank"><img alt="查看用户信息" src="GVimgs/pages/2.gif" border="0" /></a>
- <a onClick="return openPop(this,500,400,100,200);" href="emailSend.jsp?userID=<%=userID%>" target="_self"><img alt="给用户发送Email" src="GVimgs/pages/3.gif" border="0" /></a>
- <club:users type="imgFriend" idIs="<%=userID%>" property="<%=userName%>"/>
- <club:users type="imgMessage" idIs="<%=userID%>" property="<%=userName%>"/>
- <a href="clubPost.jsp?ccID=<%=ccID%>&tID=<%=tID%>&reID=<%=reID%>&act=re" target="_self"><img alt="回复主题" src="GVimgs/pages/7.gif" border="0" /></a>
- <a href="clubPost.jsp?ccID=<%=ccID%>&tID=<%=tID%>&reID=<%=reID%>&act=re&ac=quote" target="_self"><img alt="引用回复主题" src="GVimgs/pages/8.gif" border="0" /></a>
- <a onmouseover="showmenu(event,'','Menu_Show_<%=-1%>')" href="#"><img alt="帖子管理" src="GVimgs/pages/9.gif" border="0" /></a>
- <DIV class="showMenu" id="Menu_Show_<%=-1%>" >
- <UL>
- <li><a href="clubPost.jsp?ccID=<%=ccID%>&tID=<%=tID%>&reID=<%=reID%>&act=edit" target="_self">编辑主题</A></li>
- <li><a href="clubPageManage.jsp?ccID=<%=ccID%>&tID=<%=tID%>&reID=<%=reID%>&act=del" target="_self">删除主题</a></li>
- <li><a href="clubPageManage.jsp?ccID=<%=ccID%>&tID=<%=tID%>&reID=<%=reID%>&act=manage" target="_self">管理主题</a></li>
- <li><%if(topicPro==1){%>
- <a href="clubPageManage.jsp?ccID=<%=ccID%>&tID=<%=tID%>&act=nobest" target="_self">解除精品</a>
- <%}else{%><a href="clubPageManage.jsp?ccID=<%=ccID%>&tID=<%=tID%>&act=best" target="_self">加为精品</a>
- <%}%></li>
- <li><a href="clubPageManage.jsp?ccID=<%=ccID%>&tID=<%=tID%>&act=move" target="_self">移动主题</a></li>
- <li><a href="clubPageManage.jsp?ccID=<%=ccID%>&tID=<%=tID%>&act=top" target="_self">置顶主题</a></li>
- </UL></DIV>
- </td></tr></table>
- <!-----------------文章顶部按钮结束------------------>
- <club:topicPage type="content" value="<%=content%>" idIs="<%=tID%>"
- pro="<%=topicPro%>" bea="<%=isPass(gvUserGradeTxt,35)%>"
- bea_img="<%=contentImg%>" bea_url="<%=contentUrl%>"
- tpType="<%=topicType%>"
- tpTypeNum="<%=topicTypeNum%>"
- tpUserNum="<%=userTypeNum%>"
- />
- <club:topicPage type="topicLog" linkId="<%=reID%>" idIs="<%=tID%>" />
- <club:topicPage type="contentCopyRight" name="<%=clubName%>" idIs="<%=contentCopyRight%>"/>
- <club:topicPage type="contentUserPen" bea="<%=contentUserPen%>" value="<%=userPen%>"/>
- </td></tr></table>
- <%-- ---------平板文章回复列表开始-------- --%>
- <%
- //===========回复开始=====================
- int storey = 0;
- storey = storey + ((iPage-1) * ccReplyNum);
- int totalPage = 0;
- totalPage = ctc.topicReCount(tID);
- int rtID = 0;
- if(ccStyle==0){
- %>
- <c:set value="<%=String.valueOf(ccStyle)%>" target="${ctc}" property="ccStyle"/>
- <c:set value="<%=String.valueOf(tID)%>" target="${ctc}" property="topicID"/>
- <c:forEach var="re" items="<%=ctc.topicReList(iPage,ccReplyNum)%>">
- <c:set value="${re.userID}" target="${cu}" property="userID" /><%
- storey++;
- cui = null;
- cui = (ClubUserItem)cu.userInfo(0);
- if(cui!=null){
- userIsDel = cui.getUserIsDel();
- if(!userIsDel){
- userID = cui.getUserID();
- userName2 = cui.getUserName2();
- userMark = cui.getUserMark();
- userMoney = cui.getUserMoney();
- userCredit = cui.getUserCredit();
- userTopicCount = cui.getUserTopicCount();
- userReCount = cui.getUserReCount();
- //userRegDate = cui.getUserRegDate();
- userWeb = cui.getUserWeb();
- userArea = cui.getUserArea();
- userCity = cui.getUserCity();
- userPen = cui.getUserPen();
- userPic = cui.getUserPic();
- }else{
- userName = "<font color="#aaaaaa">"+ userName +"</font>";
- }
- }
- %>
- <table width="99%" border="0" align="center" cellpadding="2" cellspacing="1" class="tab"><tr class="tr2"><td width="128" height="22">
- <strong> 用户:</strong>
- <club:users type="userName" idIs="${re.userID}" value="${re.userName}" bea="<%=userIsDel%>"/>
- </td><td height="22">
- <club:topic type="img_listMood" value="${re.topicMood}"/>
- <strong>
- <club:topic type="topic" idIs="${re.topicID}" value="${re.topic}"/>
- </strong>
-
- <span class="smallTxt">
- <club:topic type="topicAddTime" value="${re.topicAddTime}"/>
- </span>
- </td></tr><tr class="tab2"><td width="128" valign="top" class="td">
- <!---------------------用户信息开始显示------------------------->
- <table width="100%" border="0" align="center" cellpadding="1" cellspacing="2">
- <%if(userPic!=null && !userPic.equals("")){
- out.print("<tr><td colspan="2">");
- out.print("<div align="center"><img src=""+ userPic +"" border="0" onload="javascript:if(this.width > 120){this.width = 120};"></div>");
- out.print("</td></tr>");
- }
- %><tr><td width="35"><strong>积分:</strong></td><td><%=userMark%></td></tr>
- <tr><td><strong>金币:</strong></td><td><%=userMoney%></td></tr>
- <tr><td><strong>信誉:</strong></td><td><%=userCredit%></td></tr>
- <tr><td><strong>发帖:</strong></td><td><%=userTopicCount%></td></tr>
- <tr><td><strong>来自:</strong></td><td><%
- out.print(userArea);
- if(userCity!=null && !userCity.equals("")){out.print("," + userCity);}
- %></td></tr></table>
- <!---------------------用户信息结束显示------------------------->
- </td><td valign="top" class="bg0">
- <!-----------------文章顶部按钮开始------------------>
- <table width="100%" border="0" cellpadding="1" cellspacing="2">
- <tr><td align="right">
- <span style="float:left">
- <%
- out.print("<span style=color:#0022aa>["+storey+"]楼</span>");
- out.print("-> <a href="userInfo.jsp?userID="+userID+"" target="_blank" style="color:#009900">"+userName2+"</a>");
- %></span>
- <%if(userWeb != ""){%>
- <a href="<%=userWeb%>" target="_blank"><img alt="查看用户个人主页" src="GVimgs/pages/1.gif" border="0" /></a>
- <%}%>
- <a href="userInfo.jsp?userID=<%=userID%>" target="_blank"><img alt="查看用户信息" src="GVimgs/pages/2.gif" border="0" /></a>
- <a onClick="return openPop(this,500,400,100,200);" href="emailSend.jsp?userID=<%=userID%>" target="_self"><img alt="给用户发送Email" src="GVimgs/pages/3.gif" border="0" /></a>
- <club:users type="imgFriend" idIs="${re.userID}" property="${re.userName}"/>
- <club:users type="imgMessage" idIs="${re.userID}" property="${re.userName}"/>
- <a href="clubPost.jsp?ccID=<%=ccID%>&tID=<%=tID%>&reID=<club:topic type="topicID" value="${re.topicReID}"/>&act=re&iPage=<%=iPage%>" target="_self"><img alt="回复主题" src="GVimgs/pages/7.gif" border="0" /></a>
- <a href="clubPost.jsp?ccID=<%=ccID%>&tID=<%=tID%>&reID=<club:topic type="topicID" value="${re.topicReID}"/>&act=re&ac=quote&iPage=<%=iPage%>" target="_self"><img alt="引用回复主题" src="GVimgs/pages/8.gif" border="0" /></a>
- <a onmouseover="showmenu(event,'','Menu_Show_<%=storey%>')" href="#">
- <img alt="帖子管理" src="GVimgs/pages/9.gif" border="0" /></a>
- <DIV class="showMenu" id="Menu_Show_<%=storey%>" >
- <UL>
- <li><a href="clubPost.jsp?ccID=<%=ccID%>&tID=<%=tID%>&reID=<club:topic type="topicID" value="${re.topicReID}"/>&act=edit" target="_self">编辑主题</A></li>
- <li><a href="clubPageManage.jsp?ccID=<%=ccID%>&tID=<%=tID%>&reID=<club:topic type="topicID" value="${re.topicReID}"/>&act=del" target="_self">删除主题</a></li>
- <li><a href="clubPageManage.jsp?ccID=<%=ccID%>&tID=<%=tID%>&reID=<club:topic type="topicID" value="${re.topicReID}"/>&act=manage" target="_self">管理主题</a></li>
- </UL>
- </DIV>
- </td></tr></table>
- <!-----------------文章顶部按钮结束------------------>
- <c:set value="${re.topicReID}" target="${ctc}" property="topicReID" />
- <%
- content = "";
- contentUserPen = false;
- contentUrl = false;
- contentImg = false;
- contentEmail = false;
- contentCopyRight = (short)0;
- ccrItem = ctc.contentReItem();
- if(ccrItem!=null){
- content = ccrItem.getContent();
- contentUserPen = ccrItem.getContentUserPen();
- contentUrl = ccrItem.getContentUrl();
- contentImg = ccrItem.getContentImg();
- contentEmail = ccrItem.getContentEmail();
- contentCopyRight = ccrItem.getContentCopyRight();
- }
- %>
- <club:topicPage type="content" value="<%=content%>" pro="${re.topicPro}" idIs="${re.topicID}"
- bea="<%=isPass(gvUserGradeTxt,35)%>" bea_img="<%=contentImg%>"
- bea_url="<%=contentUrl%>"/>
- <club:topicPage type="topicLog" idIs="${re.topicID}" linkId="${re.topicReID}"/>
- <club:topicPage type="contentCopyRight" name="<%=clubName%>" idIs="<%=contentCopyRight%>"/>
- <club:topicPage type="contentUserPen" bea="<%=contentUserPen%>" value="<%=userPen%>"/>
- </td></tr>
- </table></c:forEach>
- <%-- ---------平板文章列表结束-------- --%>
- <%
- }else{
- %>
- <%-- ---------树型列表开始-------- --%>
- <table width="99%" border="0" align="center" cellpadding="2" cellspacing="1" class="tab">
- <tr align="center" class="tr">
- <td height="22"><strong>树型列表</strong></td>
- <td width="30"><strong>查阅</strong></td>
- <td width="30"><strong>回复</strong></td>
- <td width="120"><strong>发表时间</strong></td></tr><%
- ctit = null;
- ctit = (ClubTopicItem)cti.topicInfo(tID, 0, (byte)0);
- ccID = ctit.getCcID();
- topicID = ctit.getTopicID();
- topicReID = ctit.getTopicReID();
- topicOrder = ctit.getTopicOrder();
- topicLayer = ctit.getTopicLayer();
- topicTree = ctit.getTopicTree();
- topicMood = ctit.getTopicMood();
- topic = ctit.getTopic();
- userName = ctit.getUserName();
- userID = ctit.getUserID();
- topicAddTime = ctit.getTopicAddTime();
- topicViewCount = ctit.getTopicViewCount();
- topicReCount = ctit.getTopicReCount();
- topicLen = ctit.getTopicLen();
- ctit = null;
- String tUrl = "clubPage.jsp?ccID="+ccID+"&ccStyle="+ccStyle;
- %>
- <!-------------讨论区风格主题开始---------------->
- <tr class="tab2">
- <td height="25">
- <club:topic type="img_listMood" value="<%=String.valueOf(topicMood)%>"/>
- 〖<club:topic type="userName" idIs="<%=(userID)%>" value="<%=userName%>" bea="<%=true%>"/>〗
- <club:topic type="topic" url="<%=tUrl%>" idIs="<%=(tID)%>" value="<%=topic%>" bea="<%=true%>"/>
- <club:topic type="img_listHot" idIs="<%=(topicViewCount)%>" value="<%=String.valueOf(topicReCount)%>"/>
- </td><td align="center" class="smallTxt" width="30">
- <c:out value="<%=String.valueOf(topicViewCount)%>" escapeXml="false"/>
- </td><td align="center" class="smallTxt" width="30">
- <c:out value="<%=String.valueOf(topicReCount)%>" escapeXml="false"/>
- </td><td align="center" class="smallTxt" width="120">
- <club:topic type="topicAddTime" value="<%=topicAddTime%>"/>
- </td></tr>
- <!-------------讨论区风格主题结束---------------->
- <!-------------讨论区风格回复开始---------------->
- <c:set value="<%=String.valueOf(tID)%>" target="${ctc}" property="topicID"/>
- <c:set value="<%=String.valueOf(ccStyle)%>" target="${ctc}" property="ccStyle"/>
- <c:forEach var="re" items="<%=ctc.topicReList(iPage,ccReplyNum)%>">
- <c:set var="id_1" value="<%=String.valueOf(reID)%>" scope="page"/>
- <c:set var="id_2" value="${re.topicReID}" scope="page"/>
- <c:if test="${id_1 != id_2}">
- <tr class="bg0">
- </c:if>
- <c:if test="${id_1 == id_2}">
- <tr class="tab3">
- </c:if><td height="25">
- <club:topic type="tree_list" idIs="${re.topicLayer}" value="${re.topicTree}"/>
- <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%>"/>
- <club:topic type="img_listHot" idIs="${re.topicViewCount}" value="${re.topicReCount}"/>
- <i><club:topic type="topicLen" value="${re.topicLen}"/></i>
- </td><td align="center" class="smallTxt" width="30">
- <c:out value="${re.topicViewCount}" escapeXml="false"/>
- </td><td align="center" class="smallTxt" width="30">
- <c:out value="${re.topicReCount}" escapeXml="false"/>
- </td><td align="center" class="smallTxt" width="120">
- <club:topic type="topicAddTime" value="${re.topicAddTime}"/>
- </td></tr>
- </c:forEach>
- <!-------------讨论区风格回复开始---------------->
- </table>
- <%-- ---------数型列表结束-------- --%>
- <%}%>
- <table width="99%" border="0" align="center" cellpadding="0" cellspacing="0"><tr><td>
- <%=OutPrint.pageJump(totalPage,ccReplyNum, iPage, "clubPage.jsp?ccID="+ccID+"&tID="+ tID +"&ccStyle="+ ccStyle +"&")%>
- </td></tr></table>
- <script language="JavaScript" type="text/javascript" src="GVscript/GVpost.js"></script>
- <table width="99%" border="0" align="center" cellpadding="4" cellspacing="1" class="tab">
- <form name="Gforms" id="Gforms" method="post" onSubmit="return checkForm();" action="clubPost.jsp?ccID=<%=ccID%>&tID=<%=tID%>&act=re&iPage=<%=iPage%>"><tr>
- <td width="128" class="tab1"><strong>用户</strong></td>
- <td class="bg2">
- <input name="gvUserName" type="text" id="gvUserName" value="<%=gvUserName%>" size="20" maxlength="20" />
- </td></tr>
- <tr><td class="tab1"><strong>密码</strong></td>
- <td class="bg2">
- <input name="gvUserPass" type="password" id="gvUserPass" value="<%=gvUserPass%>" size="20" maxlength="50" />
- <input name="gvUserPass2" type="hidden" id="gvUserPass2" value="<%=gvUserPass%>" size="20" maxlength="50" />
- </td></tr>
- <tr><td class="tab1"><strong>主题</strong></td>
- <td class="bg2">
- <!--onfocus="this.value='';"-->
- <input name="gvTopic" type="text" id="gvTopic" size="60" maxlength="100" value=""/>
- </td></tr>
- <tr><td valign="top" class="tab1"><strong>正文</strong>(可选)<br /></td>
- <td class="bg2"><%
- out.print(textArea("content",78,8,""));
- content="";%>
- </td></tr>
- <tr><td height="30" colspan="2" class="tab1">
-
-
-
- <input name="gvSubmit" type="submit" class="btn" id="gvSubmit" value=" 确定提交 " />
-
- <input name="gvBack" type="button" class="btn" onClick="javascript:history.back();" value=" 取消 "/>
- <input name="ccID1" type="hidden" id="ccID1" value="<%=ccID1%>" />
- <input name="ccID2" type="hidden" id="ccID2" value="<%=ccID2%>" /></td>
- </tr></form></table>
- <%@ include file="GVinc/gvOnlineArea.jsp" %>
- <%=Gfoot()%>
- </body>
- </html>
- <!-- Powered by www.GamVan.com -->