<%@ page contentType="text/html; charset=utf-8"%> <%@ page import="EHMSOFT.BBS.Fun.WMFunction"%> <%@ page import="ehm.util.Editor"%> <%@ page import="EHMSOFT.BBS.Debate.ForumBoardList"%> <% ForumBoardList fbl = new ForumBoardList(pageContext); int pid = WMFunction.getFixID(request.getParameter("pid")); int boardid = WMFunction.getFixInteger(request.getParameter("boardid")); if(boardid <=0){ String ef = "ControlError"; String em = "参数传递错误!请检查操作!"; fbl.setErrorMsg(ef,em); return; } //更新点击量 fbl.DoUpdate("update bbs_board set viewcount=viewcount+1 where id=" + boardid); int[] _infoid = fbl.getDebateInfoid(); //获取下面的版块ID号 //System.out.println("debateinfoid : " + _infoid[0] + " : " + _infoid[1] + " : " + _infoid[2]); EHMSOFT.BBS.DB.DBVO_bbs_board dbb = fbl.getBoardFilds(boardid); if(dbb==null){ dbb=new EHMSOFT.BBS.DB.DBVO_bbs_board(); } String board_name = dbb.getBoard_name(); String board_explain = dbb.getBoard_explain(); String board_master = dbb.getBoard_master(); board_master = !board_master.equals("")?board_master:"Turner"; String board_ctime = WMFunction.getFormattedDate(dbb.getCtime()); int board_viewcount = dbb.getViewcount(); int board_allpost = dbb.getAllpost(); String action = WMFunction.getFixValue(request.getParameter("action")); String author = WMFunction.getFixValue(request.getParameter("author")); String backUrl = WMFunction.getFixValue(request.getParameter("backUrl")); // 帖子内容限制 int limit_content = fbl.getForumBoardPopedomList(boardid).getSetting32(); // ===============================定义编辑器相关参数===================================== //String content = ""; //帖子内容 //设置上传文件的路径,必须是基于WEB根目录的虚拟目录,格式如(/uploadFolder/) String upFolder = "/debate/UploadFile/"; /** * 设置编辑器显示模式 * 简洁版:simple;常规版:normal;高级版:advanced **/ String DispStyle = "simple"; /** * 设置编辑器样式 * 蓝色:blue;酷蓝:coolblue;绿色:green;高亮:light;Word2003:mx;office:office; * office3D:office3d;红色:red;黄色:yellow **/ String sStyle = "blue"; //编辑器路径 String EditorPath = "/manager/editor/editor.jsp"; Editor editor = new Editor("",upFolder,"DebateFrm","content"); editor.setStyle(sStyle); editor.setDispStyle(DispStyle); editor.setEditorPath(EditorPath); //out.println(editor.TextEdit()); // ======================================================================================= %> 经济观察报_EEO辩论_主题 - <%//@include file="/templates/inc/top.html"%>
当前位置:观察家>辩论
主题:<%=board_name%>
发起贴:
<%=board_explain%>
发起人:<%=board_master%>
开始时间:<%=board_ctime%>
人气:<%=board_viewcount%>
正方观点
反方观点
发表观点: 正方观点   反方观点   第三方观点 <% String _eeouser_truename = (String)session.getAttribute("member_name"); if(_eeouser_truename== null || _eeouser_truename.equals("")){ %> * 发表评论之前,请您先注册登录 <%}%>
标题:
*不得超过 200 个汉字
内容:

<% if(fbl.getForumBoardPopedomList().getSetting30()==1){ %>  验证码:   <%}else{%> <% } if(_eeouser_truename!= null && !_eeouser_truename.equals("")){ %>       <% } %> 字节限制:
EEO.COM.CN
地址:中国北京东城区兴化东里甲7号楼 邮编:100013 电话:8008109060 4006109060 传真:86-10-64297521
备案序号:鲁ICP05020873号 Copyright 2001-2008
Baidu
map