clubPost.jsp
上传用户:u_thks
上传日期:2022-07-31
资源大小:1910k
文件大小:25k
- <%@ 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="ctp" scope="page" class="com.gamvan.club.topic.ClubTopicPost"/>
- <jsp:useBean id="ctt" scope="page" class="com.gamvan.club.topic.ClubTopicType"/>
- <jsp:useBean id="ccc" scope="page" class="com.gamvan.club.topic.ClubContentCollection"/>
- <jsp:useBean id="ud" scope="page" class="com.gamvan.club.manage.UpLoadDataBase"/><%@
- include file="./GVinc/gvClassInfo.jsp" %><%
- int iPage = ParamUtils.getIntParameter(request, "iPage");
- int reID = ParamUtils.getIntParameter(request, "reID");
- int tID = ParamUtils.getIntParameter(request, "tID");
- String act = ParamUtils.getStringParameter(request, "act");
- if(act.equals("")){
- act = "add";
- }
- String ac = ParamUtils.getStringParameter(request, "ac");
- String userPass="", upfilesname="";
- double userTypeNum=0;
- short reTopicType = 0;
- double reTopicTypeNum=0;
- String reUsers = "";
- boolean tempBea=false;
- boolean isRe = false; //用来判断调用哪个类的方法
- /******************************************
- * 判断如果是新建主题,则不提取文章信息
- * 而回复文章取数据内容出来
- * 主要是为了引用回复这个功能
- *******************************************/
- ClubTopicItem ctit = null;
- ClubTopicReItem ctrit = null;
- ClubContentReItem ccrItem = null;
- ClubContentItem ccItem = null;
- if(!act.equals("add")){ //判断是否为回复
- /**
- * 用来判断调用哪个类的方法
- * 0调用主题表 1调用回复表
- */
- if(reID>0){ //判断是回复主题,还是回复主题的回复
- isRe = true; // 回复主题的回复
- }
- if(isRe){
- ctrit = (ClubTopicReItem)cti.topicInfo(tID, reID, (byte)1); //取回复表数据
- }else{
- ctit = (ClubTopicItem)cti.topicInfo(tID, reID, (byte)0); //取主题表数据
- }
- %><%@ include file="./GVinc/gvTopicGet.jsp" %><%
- 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(topicID);
- if(ctrui!=null){
- reUsers = "|" + ctrui.getReUsers() + "|";
- }
- topicTypeNum = reUsers.indexOf("|" + gvUserName + "|"); //如果回复过则返回0,否则返回-1
- break;
- }
- if(userName.equals(gvUserName)){
- userTypeNum=-1;
- }
- if(isPass(gvUserGradeTxt,42)){ //判断是否开通特殊权限
- userTypeNum=-2;
- }
- }
- /******************************************
- * 判断如果是新建主题,则不提取文章信息
- * END
- *******************************************/
- %>
- <html xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <title><%=topic%> From <%=clubTitle%>>><%
- if(ccIDD1>0){
- out.print(ccName2 +">>");
- }
- if(ccIDD>0){
- out.print(ccName1 +">>");
- }
- %><%=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 onload="loadTreeNoimg(<%=ccID%> ,'GVinc/gvMood.jsp?tID=<%=ccID%>');">
- <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>
- <IFRAME id=hiddenframe style="DISPLAY: none" src="about:blank" width=0 height=0></IFRAME>
- <script language="javascript" type="text/javascript" src="GVscript/GVtopCode.js"></script>
- <script language="javascript" type="text/JavaScript" src="GVscript/GVtree.js"></script>
- <script language="javascript" type="text/javascript" src="GVscript/GVshowMenu.js"></script>
- <script language="javascript" type="text/javascript" src="GVscript/GVpost.js"></script>
- <script language="javascript" type="text/javascript" src="GVscriptInc/topBar.js"></script>
- <script language="javascript" type="text/javascript">gv_showWait('waitDiv', 1); </SCRIPT>
- <%
- if(request.getMethod().equals("POST")){
- if(session.getAttribute("gvPost")==null){
- session.setAttribute("gvPost",now);
- }else{
- String isNow1 = FormatDateTime.dateAdd("s", -15); //返回30秒前的时间
- String isNow2 = String.valueOf(session.getAttribute("gvPost"));
- //out.print(isNow1);
- //out.println(isNow2);
- if(FormatDateTime.secondCompare(isNow1,isNow2)){
- out.print(prtCenter("您的帖子发的太快了,坐下来喝杯茶吧!","",2));
- out.print(Gfoot());
- out.close();
- if(true)return;
- }else{
- session.setAttribute("gvPost",now);
- }
- }
-
- StringBuffer sb = new StringBuffer();
- topic = ParamUtils.getStringParameter(request,"gvTopic");
- if(topic.equals("")){
- out.print(prtCenter("文章主题不能为空","",2));
- out.print(Gfoot());
- out.close();
- if(true)return;
- }
- userName = ParamUtils.getStringParameter(request,"gvUserName");
- userPass = ParamUtils.getStringParameter(request,"gvUserPass");
- if((userName.equals(""))||(userPass.equals(""))){
- out.print(prtCenter("用户名、密码不能为空!","",2));
- out.print(Gfoot());
- out.close();
- if(true)return;
- }
- ctp.setAct(act);
- ctp.setUserName(userName);
- ctp.setUserID(gvUserID);
- ctp.setUserPass(userPass);
- ctp.setUserPass2(ParamUtils.getStringParameter(request,"gvUserPass2"));
- ctp.setTopic(ParamUtils.getStringParameter(request,"gvTopic"));
- ctp.setTopicColor(ParamUtils.getStringParameter(request,"gvTopicColor"));
- ctp.setTopicBold(ParamUtils.getStringParameter(request, "gvTopicBold"));
- ctp.setCcID(ParamUtils.getIntParameter(request,"ccID"));
- ctp.setCcID1(ParamUtils.getIntParameter(request,"ccID1"));
- ctp.setCcID2(ParamUtils.getIntParameter(request,"ccID2"));
- ctp.setMoveCCID(0);
- ctp.setTopicMood(ParamUtils.getShortParameter(request,"gvTopicMood"));
- topicType = ParamUtils.getShortParameter(request,"gvTopicType");
- ctp.setTopicType(topicType);
- if(topicType==1){
- ctp.setTopicTypeNum(ParamUtils.getDoubleParameter(request,"gvTopicTypeNum1"));
- }else if(topicType==2){
- ctp.setTopicTypeNum(ParamUtils.getDoubleParameter(request,"gvTopicTypeNum2"));
- }else if(topicType==3){
- ctp.setTopicTypeNum(ParamUtils.getDoubleParameter(request,"gvTopicTypeNum3"));
- }
- ctp.setTopicAddip(request.getRemoteAddr());
- ctp.setTopicIsPass(clubTopicIsPass);
- ctp.setContent(ParamUtils.getStringParameter(request,"content"));
- ctp.setContentUserPen(ParamUtils.getBooleanParameter(request,"gvContentUserPen"));
- ctp.setContentUrl(ParamUtils.getBooleanParameter(request,"gvContentUrl"));
- ctp.setContentImg(ParamUtils.getBooleanParameter(request,"gvContentImg"));
- ctp.setContentEmail(ParamUtils.getBooleanParameter(request,"gvContentEmail"));
- ctp.setContentCopyRight(ParamUtils.getByteParameter(request,"gvContentCopyRight"));
- ctp.setTopicID(tID);
- ctp.setTopicReID(reID);
- try{
- tempBea = ctp.topicPost(ccID1, ccID2);
- }catch(Exception e){
- out.print(e.toString());
- }
- tID = ctp.getTopicID();
- reID = ctp.getTopicReID();
- sb.append("<table width="99%" border="0" align="center" cellpadding="4" cellspacing="1" class="tab">");
- if(tempBea){
- sb.append("<tr class="tab1" align="center" ><td height="25"><strong>文章发表成功,您现在可以……</strong></td></tr>");
- sb.append("<tr class="tab3" align="center" ><td height="25"><a href="clubClass.jsp?ccID="+ ccID +"" target="_self">返回文章所在版面!</a></td></tr>");
- sb.append("<tr class="tab3" align="center" ><td height="25">");
- sb.append("<a href="clubPage.jsp?ccID="+ ccID +"&tID="+ tID +"&reID="+ reID +"&ccStyle=1&iPage="+iPage+"">查看你所发表的文章!</a>");
- sb.append("</td></tr>");
- ud.setCfUseID(tID); //上传文件使用ID
- ud.setCfUseTxt(topic);//更新上传文件状态
- ud.uploadUpdates(request.getParameter("upfilesname")); //更新上传文件状态
- sb.append("<tr class="tab3" align="center" ><td height="25">");
- sb.append("<span style="color:#bb0000">3秒后,自动跳转至文章所在版面!</span>");
- sb.append("</td></tr>");
- response.setHeader("Refresh", "2; URL=clubClass.jsp?ccID="+ ccID +"");
- }else{
- out.print(prtCenter(ctp.getMessage(),"",3));
- out.print(Gfoot());
- out.close();
- if(true)return;
- }
- sb.append("</table>");
- out.print(sb.toString() + Gfoot());
- out.close();
- if(true)return;
- }
- if(ccID<=0){
- out.print(errs(3,"您所请求的版面不存在或已被删除!"));
- 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(act.equals("add")){
- if(isPass(blackInfo,1)){ //禁止发表
- if(blackOver==0){
- out.print(errs(1,"您发表主题的权限被社区勤杂工屏闭,操作理由是:<strong>"+blackTxt+"</strong>"));
- out.close();
- if(true) return;
- }
- }
- }else if(act.equals("re")){
- if(isPass(blackInfo,2)){ //禁止回复
- if(blackOver==0){
- out.print(errs(1,"您回复主题的权限被社区勤杂工屏闭,操作理由是:<strong>"+blackTxt+"</strong>"));
- out.close();
- if(true) return;
- }
- }
- }
- }
- }
- */
- //权限判断开始
- if(act.equals("add")){
- if(!isPass(gvUserGradeTxt,13)){
- out.print(errs(1,"您的级别("+ gvUserGradeName +")不能发表主题,如果你还没有登陆,请先登陆!"));
- out.close();
- if(true) return;
- }
- }
- if(act.equals("re")){
- //topicType = 0;
- //topicTypeNum=20;
- if(!isPass(gvUserGradeTxt,14)){
- out.print(errs(1,"您的级别("+ gvUserGradeName +")不能回复主题,如果你还没有登陆,请先登陆!"));
- out.close();
- if(true) return;
- }
- }
- if(act.equals("edit")){
- if(userName.equals(gvUserName)){
- if(!isPass(gvUserGradeTxt,15)){
- out.print(errs(1,"您的级别("+ gvUserGradeName +")不能编辑自己的主题,如果你还没有登陆,请先登陆!"));
- out.close();
- if(true) return;
- }
- }else{
- if(!isPass(gvUserGradeTxt,19)){
- 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;
- }
- }
- }
- }
- %><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)
- )%><%
- if(act.equals("add")){
- out.print("发表主题");
- }
- if(act.equals("re")){
- out.print("回复主题");
- }
- if(act.equals("edit")){
- out.print("编辑主题");
- }
- %></td></tr></table>
- <table width="99%" border="0" align="center" cellpadding="4" cellspacing="1" class="tab">
- <form name="Gforms" id="Gforms" method="post" action="" onSubmit="return checkForm();"><tr>
- <td width="80" class="tab1"><strong>用户</strong></td>
- <td class="bg2">
- <input name="gvUserName" type="text" id="gvUserName" value="<%=gvUserName%>" maxlength="20" style="width:180px;height:20px" />
- </td></tr>
- <tr><td class="tab1"><strong>密码</strong></td>
- <td class="bg2">
- <input name="gvUserPass" type="password" id="gvUserPass" value="<%=gvUserPass%>" maxlength="30" style="width:180px;height:20px"/>
- <input name="gvUserPass2" type="hidden" id="gvUserPass2" value="<%=gvUserPass%>"/>
- </td></tr>
- <tr><td class="tab1"><strong>主题</strong></td>
- <td class="bg2">
- <input name="gvTopic" type="text" id="gvTopic" value="<%if(act.equals("edit")){out.print(topic);}%>" maxlength="100" onkeydown="keyForm();" style="width:400px;height:20px"/>
- <%
- if(isPass(gvUserGradeTxt,39)){
- %>
- <select name="gvTopicColor" id="gvTopicColor">
- <option selected value="">主题颜色</option>
- <option style="COLOR: #000000" value="black">■■■■</option>
- <option style="COLOR: #ff0000" value="#ff0000">■■■■</option>
- <option style="COLOR: #ffcc00" value="#ffcc00">■■■■</option>
- <option style="COLOR: #ff6699" value="#ff6699">■■■■</option>
- <option style="COLOR: #008800" value="#008800">■■■■</option>
- <option style="COLOR: orange" value="orange">■■■■</option>
- <option style="COLOR: #aa00cc" value="#aa00cc">■■■■</option>
- <option style="COLOR: #0000ff" value="#0000ff">■■■■</option>
- <option style="COLOR: #ccaa00" value="#ccaa00">■■■■</option>
- <option style="COLOR: #880000" value="#880000">■■■■</option>
- <option style="COLOR: teal" value="teal">■■■■</option>
- <option style="COLOR: #000088" value="#000088">■■■■</option>
- </select>
- <%
- }
- if(isPass(gvUserGradeTxt,38)){
- %>
- <input name="gvTopicBold" type="checkbox" id="gvTopicBold" value="1">加粗
- <%
- }
- %>
- </td>
- </tr>
- <tr>
- <td class="tab1" ><strong>型别</strong></td>
- <td class="bg2">
- <%
- if(act.equals("re")){
- %>
- <input name="gvTopicType" type="radio" value="0" checked="checked" />普通帖
- <%}else{%>
- <input name="gvTopicType" type="radio" value="0" <%if(topicType==0){out.print("checked="checked"");}%> onClick="showTypeInfo(this.value);writeContent(0);" />普通帖
- <%}%>
- <%
- if(act.equals("add") || (act.equals("edit")&&reID==0)){
- %>
-
- <input type="radio" name="gvTopicType" value="1" <%if(topicType==1){out.print("checked="checked"");}%> onClick="showTypeInfo(this.value);writeContent(1);"/>积分浏览帖
-
- <input type="radio" name="gvTopicType" value="2" <%if(topicType==2){out.print("checked="checked"");}%> onClick="showTypeInfo(this.value);writeContent(2);"/>金钱购买帖
-
- <input type="radio" name="gvTopicType" value="3" <%if(topicType==3){out.print("checked="checked"");}%> onClick="showTypeInfo(this.value);writeContent(3)"/>散分(求助)帖
-
- <input type="radio" name="gvTopicType" value="4" <%if(topicType==4){out.print("checked="checked"");}%> onClick="showTypeInfo(this.value);writeContent(4);"/>回复可见帖
- <div id="div1" style="DISPLAY:none; color: #CC0000;">
- 本主题只有积分大于等于 <input name="gvTopicTypeNum1" type="text" value="<%=topicTypeNum%>" size="4" maxlength="10"/> 才能浏览
- [GVtype] 标签内填写需要积分浏览的相关内容 [/GVtype]
- </div>
- <div id="div2" style="DISPLAY:none; color: #CC0000;">
- 观看此帖用户需要支付 <input name="gvTopicTypeNum2" type="text" value="<%=topicTypeNum%>" size="4" maxlength="10"/> 枚今币
- [GVtype] 标签内填写需要金钱购买浏览的相关内容 [/GVtype]
- </div>
- <div id="div3" style="DISPLAY:none; color: #CC0000;">
- 求助帖,需要作者结帖,本贴给分 <input name="gvTopicTypeNum3" type="text" value="<%=topicTypeNum%>" size="4" maxlength="10"/> 分,结帖扣作者积分,系统强制结帖将扣信誉分!
- </div>
- <div id="div4" style="DISPLAY:none; color: #CC0000;">
- <strong>回复可见帖</strong>,只有回复过的用户才能浏览!<br />
- [GVtype] 标签内填写需要回复可见的相关内容 [/GVtype]
- </div>
- <script language="javascript">
- showTypeInfo("<%=topicType%>");
- </script>
- <%
- }
- %>
- </td>
- </tr>
- <tr id="load_<%=ccID%>">
- <td class="tab1"><strong>心情</strong></td>
- <td class="bg2">
- <table border="0" cellpadding="0" cellspacing="0">
- <tr><td>
- <img src="GVimgs/previous.gif" border="0" align="absmiddle" style="cursor:hand;" onclick="loadTreeNoimg(<%=ccID%> ,'GVinc/gvMood.jsp?tID=<%=ccID%>&ipage=1');" />
- </td>
- <td><div id="replies_<%=ccID%>"></div></td><td>
- <img src="GVimgs/next.gif" border="0" align="absmiddle" style="cursor:hand;" onclick="loadTreeNoimg(<%=ccID%> ,'GVinc/gvMood.jsp?tID=<%=ccID%>&ipage=2');" />
- </td>
- </tr></table>
- </tr>
- <tr>
- <td class="tab1"><strong>正文</strong></td>
- <td class="bg2">
- <table width="100%" border="0" cellpadding="2" cellspacing="1">
- <tr>
- <td>
- <script language="javascript" src="GVscript/ubbAdd.js"></script>
- 颜色 <select name="color" onChange=showcolor(this.options[this.selectedIndex].value)>
- <option selected style="COLOR: #000000" value="black">■■■■</option>
- <option style="COLOR: #ff0000" value="#ff0000">■■■■</option>
- <option style="COLOR: #ffcc00" value="#ffcc00">■■■■</option>
- <option style="COLOR: #ff6699" value="#ff6699">■■■■</option>
- <option style="COLOR: #008800" value="#008800">■■■■</option>
- <option style="COLOR: orange" value="orange">■■■■</option>
- <option style="COLOR: #aa00cc" value="#aa00cc">■■■■</option>
- <option style="COLOR: #0000ff" value="#0000ff">■■■■</option>
- <option style="COLOR: #ccaa00" value="#ccaa00">■■■■</option>
- <option style="COLOR: #880000" value="#880000">■■■■</option>
- <option style="COLOR: teal" value="teal">■■■■</option>
- <option style="COLOR: #000088" value="#000088">■■■■</option></select>
- 字体大小 <select name=size onChange=showsize(this.options[this.selectedIndex].value)>
- <option value="10">小</option>
- <option value="12" selected>标准</option>
- <option value="14">中</option>
- <option value="16">大</option>
- <option value="36">特大</option>
- <option value="66">超大</option>
- </select>
- UBB语法帮助
- <select name=font onChange=thelp(this.options[this.selectedIndex].value)>
- <option value="1">帮助</option>
- <option value="2">代写</option>
- <option value="0" selected >基本</option>
- </select>
- </td></tr>
- <tr><td>
- <img src="GVimgs/editor/b.gif" align="absmiddle" alt="粗体字 [B] [/B]" style="cursor:hand" onClick="javascript:bold();"/>
- <img align="absmiddle" src="GVimgs/editor/i.gif" alt="斜体字 [i] [/i]" style="cursor:hand" onClick="javascript:italicize();"/>
- <img align="absmiddle" src="GVimgs/editor/u.gif" alt="使文字带有下划线 [u] [/u]" style="cursor:hand" onClick="javascript:underline();" />
- <img align="absmiddle" src="GVimgs/editor/center.gif" alt="使文字居中显示 [center][/center]" style="cursor:hand" onClick="javascript:center();" />
- <img align="absmiddle" src="GVimgs/editor/right.gif" alt="使文字居右显示 [right] [/right]" style="cursor:hand" onClick="javascript:right();" />
- <img align="absmiddle" src="GVimgs/editor/quote.gif" alt="引用内容 [quote] [/quote]" style="cursor:hand" onClick="javascript:quote();" />
- <img align="absmiddle" src="GVimgs/editor/move.gif" alt="移动的文字 [move] [/move]" style="cursor:hand" onClick="javascript:move();" />
- <img align="absmiddle" src="GVimgs/editor/url.gif" alt="插入超级链接 [url] [/url]" style="cursor:hand" onClick="javascript:hyperlink();"/>
- <img align="absmiddle" src="GVimgs/editor/pic.gif" alt="插入图片 [img] [/img]" style="cursor:hand" onClick="javascript:image();"/>
- <img align="absmiddle" src="GVimgs/editor/flash.gif" alt="插入flash动画 [flash] [/flash]" style="cursor:hand" onClick="javascript:flash();"/>
- <img align="absmiddle" src="GVimgs/editor/real.gif" alt="播放realOne影音文件 [real] [/real]" style="cursor:hand" onClick="javascript:real();"/>
- <img align="absmiddle" src="GVimgs/editor/winplayer.gif" alt="播放windows player影音文件 [video] [/video]" style="cursor:hand" onClick="javascript:win();"/>
- <img align="absmiddle" src="GVimgs/editor/email.gif" alt="插入Email链接 [email] [/email]" style="cursor:hand" onClick="javascript:emailurl();"/>
- <img align="absmiddle" src="GVimgs/editor/c.gif" alt="插入代码 [code] [/code]" style="cursor:hand" onClick="javascript:codes();"/>
- </td></tr></table>
- <%
- if((topicPro==1 || topicType!=0) && ac.equals("quote")){
- content = "";
- }
- if(act.equals("edit")){
- out.print(textArea("content",90,15,content));
- }else{
- if(ac.equals("quote")){
- out.print(textArea("content",90,15,"[quote="+userName+"]" + topic +"n" + content +"[/quote]"));
- }else{
- out.print(textArea("content",90,15,""));
- }
- }
- %>
- </td></tr>
- <tr><td class="tab1"><strong>上传附件</strong>
- </td>
- <td class="bg2">
- <%
- if(((ccUpfilePass==1) || (clubUpfileOpen==1 && ccUpfilePass!=2) || gvUserUpfileOpen==1) && gvUserUpfileOpen != 2){
- out.print("<iframe name="ad" frameborder=0 width="100%" height="42" scrolling=no src="upLoad/upLoad.jsp?ccID="+ccID+"&ccName="+ccName+""></iframe>");
- }else{
- if(gvUserUpfileOpen==2){
- out.print("<font color="#bb0000">您的上传功能已被管理员关闭!</font>");
- }
- }
- %>
- <input name="upfilesname" type="hidden" value="" />
- </td></tr>
- <tr><td class="tab1"><strong>辅助</strong></td>
- <td class="bg2">
- <input name="gvContentUserPen" type="checkbox" value="true" <%if(contentUserPen){out.print("checked="checked"");}%> />显示签名
- <input name="gvContentUrl" type="checkbox" value="true" <%if(contentUrl){out.print("checked="checked"");}%>/>Url自动识别
- <input name="gvContentImg" type="checkbox" value="true" <%if(contentImg){out.print("checked="checked"");}%>/>图片自动识别
- <input name="gvContentEmail" type="checkbox" value="true" <%if(contentEmail){out.print("checked="checked"");}%>/>Email提醒
- </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>
- <tr><td height="30" colspan="2" class="tab1">
- 版权信息声明(仅代表发贴本人):
- <input name="gvContentCopyRight" type="radio" value="0" <%if(contentCopyRight==0){out.print("checked="checked"");}%> />无版权声明
- <input type="radio" name="gvContentCopyRight" value="1" <%if(contentCopyRight==1){out.print("checked="checked"");}%>/>本站独享
- <input type="radio" name="gvContentCopyRight" value="2" <%if(contentCopyRight==2){out.print("checked="checked"");}%>/>网络共享
- <input type="radio" name="gvContentCopyRight" value="3" <%if(contentCopyRight==3){out.print("checked="checked"");}%>/>非商业性共享
- </td></tr></form></table>
- <%
- if(act.equals("re")){
- %>
- <table width="99%" border="0" align="center" cellpadding="2" cellspacing="1" class="tab">
- <%
- /*****************************************
- * 如过回复的是回复则提取主题的回复内容
- *****************************************/
- if(isRe){
- ctit = (ClubTopicItem)cti.topicInfo(tID, 0, (byte)0); //取主题表数据
- ccItem = cti.getCci();
- %>
- <tr class="tr">
- <td height="25" align="center">
- <club:users type="userName" idIs="<%=ctit.getUserID()%>" value="<%=ctit.getUserName()%>" bea="<%=false%>"/>
- </td><td>
- <club:topic type="img_listMood" value="<%=String.valueOf(ctit.getTopicMood())%>"/>
- <strong><club:topic type="topic" value="<%=ctit.getTopic()%>"/></strong>
- <club:topic type="img_listType" idIs="<%=ctit.getTopicType()%>" value="<%=String.valueOf(ctit.getTopicTypeNum())%>"/>
- </td></tr>
- <tr valign="top" class="bg2"><td width="109" height="37">
- </td><td>
- <club:topicPage type="content" value="<%=ccItem.getContent()%>" idIs="<%=tID%>"
- pro="<%=ctit.getTopicPro()%>" bea="<%=isPass(gvUserGradeTxt,35)%>"
- bea_img="<%=ccItem.getContentImg()%>" bea_url="<%=ccItem.getContentUrl()%>"
- tpType="<%=ctit.getTopicType()%>"
- tpTypeNum="<%=ctit.getTopicTypeNum()%>"
- tpUserNum="<%=userTypeNum%>"
- />
- </td></tr>
- <%
- /*****************************************
- * 如过回复的是回复则提取主题的回复内容
- * END
- *****************************************/
- }%>
- <%--提取主题信息开始--%>
- <%boolean userIsDel = false;%>
- <tr class="tr">
- <td width="109" height="25" align="center">
- <club:users type="userName" idIs="<%=userID%>" value="<%=userName%>" bea="<%=userIsDel%>"/>
- </td><td width="657" valign="top">
- <club:topic type="img_listMood" value="<%=String.valueOf(topicMood)%>"/>
- <strong><club:topic type="topic" value="<%=topic%>"/></strong>
- <club:topic type="img_listType" idIs="<%=topicType%>" value="<%=String.valueOf(topicTypeNum)%>"/>
- </td>
- </tr>
- <tr valign="top" class="bg2">
- <td height="37"> </td>
- <td>
- <club:topicPage type="content" value="<%=content%>" idIs="<%=tID%>"
- pro="<%=ctit.getTopicPro()%>" bea="<%=isPass(gvUserGradeTxt,35)%>"
- bea_img="<%=contentImg%>" bea_url="<%=contentUrl%>"
- tpType="<%=topicType%>"
- tpTypeNum="<%=ctit.getTopicTypeNum()%>"
- tpUserNum="<%=userTypeNum%>"
- />
- </td></tr>
- </table>
- <%}%>
- <%@ include file="GVinc/gvOnlineArea.jsp" %>
- <%=Gfoot()%>
- <!-- Powered by www.GamVan.com -->