📄 _showtopic__jsp.java
字号:
out.write(_jsp_string52, 0, _jsp_string52.length);
out.print((replypage));
out.write(_jsp_string47, 0, _jsp_string47.length);
out.print((boardcode));
out.write(_jsp_string53, 0, _jsp_string53.length);
out.print((rootid));
out.write(_jsp_string48, 0, _jsp_string48.length);
out.print((privurl));
out.write(_jsp_string54, 0, _jsp_string54.length);
out.print((skinPath));
out.write(_jsp_string55, 0, _jsp_string55.length);
out.print((SkinUtil.getLocale(request)));
out.write(_jsp_string56, 0, _jsp_string56.length);
if (_jsp_LabelTag_0 == null) {
_jsp_LabelTag_0 = new com.redmoon.forum.ui.LabelTag();
_jsp_LabelTag_0.setPageContext(pageContext);
_jsp_LabelTag_0.setParent((javax.servlet.jsp.tagext.Tag) null);
}
_jsp_LabelTag_0.setRes("res.label.forum.showtopic");
_jsp_LabelTag_0.setKey("addreply");
_jsp_LabelTag_0.doEndTag();
out.write(_jsp_string57, 0, _jsp_string57.length);
if (vplugin.size()>0) {
Iterator irplugin = vplugin.iterator();
while (irplugin.hasNext()) {
PluginUnit pu = (PluginUnit)irplugin.next();
IPluginUI ipu = pu.getUI(request, response, out);
IPluginViewListThread pv = ipu.getViewListThread(boardcode);
if (pu.getType().equals(pu.TYPE_TOPIC) && !pu.getButton().equals("")) {
out.write(_jsp_string58, 0, _jsp_string58.length);
out.print((addpage));
out.write(_jsp_string59, 0, _jsp_string59.length);
out.print((pu.getCode()));
out.write(_jsp_string60, 0, _jsp_string60.length);
out.print((StrUtil.UrlEncode(boardcode)));
out.write(_jsp_string48, 0, _jsp_string48.length);
out.print((privurl));
out.write(_jsp_string61, 0, _jsp_string61.length);
out.print((skinPath + "/" + pu.getButton()));
out.write('_');
out.print((SkinUtil.getLocale(request)));
out.write(_jsp_string62, 0, _jsp_string62.length);
}
}
}
out.write(_jsp_string63, 0, _jsp_string63.length);
Vector vplugin2 = msgLeaf.getAllPlugin2();
Iterator irplugin2 = vplugin2.iterator();
while (irplugin2.hasNext()) {
com.redmoon.forum.plugin2.Plugin2Unit p2u = (com.redmoon.forum.plugin2.Plugin2Unit)irplugin2.next();
out.write(_jsp_string64, 0, _jsp_string64.length);
out.print((addpage));
out.write(_jsp_string65, 0, _jsp_string65.length);
out.print((p2u.getCode()));
out.write(_jsp_string60, 0, _jsp_string60.length);
out.print((StrUtil.UrlEncode(boardcode)));
out.write(_jsp_string48, 0, _jsp_string48.length);
out.print((privurl));
out.write(_jsp_string61, 0, _jsp_string61.length);
out.print((skinPath + "/images/" + p2u.getButton()));
out.write('_');
out.print((SkinUtil.getLocale(request)));
out.write(_jsp_string66, 0, _jsp_string66.length);
}
out.write(_jsp_string67, 0, _jsp_string67.length);
if (_jsp_LabelTag_0 == null) {
_jsp_LabelTag_0 = new com.redmoon.forum.ui.LabelTag();
_jsp_LabelTag_0.setPageContext(pageContext);
_jsp_LabelTag_0.setParent((javax.servlet.jsp.tagext.Tag) null);
}
_jsp_LabelTag_0.setRes("res.label.forum.showtopic");
_jsp_LabelTag_0.setKey("hit_begin");
_jsp_LabelTag_0.doEndTag();
out.write(_jsp_string68, 0, _jsp_string68.length);
out.print((rootMsgDb.getHit() + 1));
out.write(_jsp_string69, 0, _jsp_string69.length);
if (_jsp_LabelTag_0 == null) {
_jsp_LabelTag_0 = new com.redmoon.forum.ui.LabelTag();
_jsp_LabelTag_0.setPageContext(pageContext);
_jsp_LabelTag_0.setParent((javax.servlet.jsp.tagext.Tag) null);
}
_jsp_LabelTag_0.setRes("res.label.forum.showtopic");
_jsp_LabelTag_0.setKey("hit_end");
_jsp_LabelTag_0.doEndTag();
out.write(_jsp_string70, 0, _jsp_string70.length);
out.print((ForumPage.getShowTopicPage(request, 1, rootid, rootid, 1, "")));
out.write(_jsp_string71, 0, _jsp_string71.length);
if (_jsp_LabelTag_0 == null) {
_jsp_LabelTag_0 = new com.redmoon.forum.ui.LabelTag();
_jsp_LabelTag_0.setPageContext(pageContext);
_jsp_LabelTag_0.setParent((javax.servlet.jsp.tagext.Tag) null);
}
_jsp_LabelTag_0.setRes("res.label.forum.showtopic");
_jsp_LabelTag_0.setKey("tree_view");
_jsp_LabelTag_0.doEndTag();
out.write(_jsp_string72, 0, _jsp_string72.length);
if (irthread.hasPrevious()) {
MsgDb prevMsg = (MsgDb)irthread.previous();
irthread.next();
out.write(_jsp_string73, 0, _jsp_string73.length);
out.print((ForumPage.getShowTopicPage(request, prevMsg.getId())));
out.write(_jsp_string74, 0, _jsp_string74.length);
if (_jsp_LabelTag_0 == null) {
_jsp_LabelTag_0 = new com.redmoon.forum.ui.LabelTag();
_jsp_LabelTag_0.setPageContext(pageContext);
_jsp_LabelTag_0.setParent((javax.servlet.jsp.tagext.Tag) null);
}
_jsp_LabelTag_0.setRes("res.label.forum.showtopic");
_jsp_LabelTag_0.setKey("show_pre");
_jsp_LabelTag_0.doEndTag();
out.write(_jsp_string75, 0, _jsp_string75.length);
}
out.write(_jsp_string76, 0, _jsp_string76.length);
if (_jsp_LabelTag_0 == null) {
_jsp_LabelTag_0 = new com.redmoon.forum.ui.LabelTag();
_jsp_LabelTag_0.setPageContext(pageContext);
_jsp_LabelTag_0.setParent((javax.servlet.jsp.tagext.Tag) null);
}
_jsp_LabelTag_0.setRes("res.label.forum.showtopic");
_jsp_LabelTag_0.setKey("refresh");
_jsp_LabelTag_0.doEndTag();
out.write(_jsp_string77, 0, _jsp_string77.length);
if (irthread.hasNext()) {
MsgDb nextMsg = (MsgDb)irthread.next();
out.write(_jsp_string78, 0, _jsp_string78.length);
out.print((ForumPage.getShowTopicPage(request, nextMsg.getId())));
out.write(_jsp_string74, 0, _jsp_string74.length);
if (_jsp_LabelTag_0 == null) {
_jsp_LabelTag_0 = new com.redmoon.forum.ui.LabelTag();
_jsp_LabelTag_0.setPageContext(pageContext);
_jsp_LabelTag_0.setParent((javax.servlet.jsp.tagext.Tag) null);
}
_jsp_LabelTag_0.setRes("res.label.forum.showtopic");
_jsp_LabelTag_0.setKey("show_after");
_jsp_LabelTag_0.doEndTag();
out.write(_jsp_string79, 0, _jsp_string79.length);
}else{
out.write(_jsp_string80, 0, _jsp_string80.length);
}
out.write(_jsp_string81, 0, _jsp_string81.length);
out.print((skin.getTableBorderClr()));
out.write(_jsp_string82, 0, _jsp_string82.length);
out.print((skinPath));
out.write(_jsp_string83, 0, _jsp_string83.length);
if (_jsp_LabelTag_0 == null) {
_jsp_LabelTag_0 = new com.redmoon.forum.ui.LabelTag();
_jsp_LabelTag_0.setPageContext(pageContext);
_jsp_LabelTag_0.setParent((javax.servlet.jsp.tagext.Tag) null);
}
_jsp_LabelTag_0.setRes("res.label.forum.showtopic");
_jsp_LabelTag_0.setKey("topic");
_jsp_LabelTag_0.doEndTag();
out.write(_jsp_string84, 0, _jsp_string84.length);
out.print((DefaultRender.RenderFullTitle(request, rootMsgDb)));
out.write(_jsp_string85, 0, _jsp_string85.length);
String allclr = "#ffffff";
String rootclr = "#ffffff";
if (showUserName.equals(rootMsgDb.getName())) {
rootclr = "yellow";
}
else {
allclr = "yellow";
}
out.write(_jsp_string86, 0, _jsp_string86.length);
out.print((rootid));
out.write(_jsp_string87, 0, _jsp_string87.length);
out.print((allclr));
out.write(_jsp_string88, 0, _jsp_string88.length);
if (_jsp_LabelTag_0 == null) {
_jsp_LabelTag_0 = new com.redmoon.forum.ui.LabelTag();
_jsp_LabelTag_0.setPageContext(pageContext);
_jsp_LabelTag_0.setParent((javax.servlet.jsp.tagext.Tag) null);
}
_jsp_LabelTag_0.setRes("res.label.forum.showtopic");
_jsp_LabelTag_0.setKey("all_user");
_jsp_LabelTag_0.doEndTag();
out.write(_jsp_string89, 0, _jsp_string89.length);
out.print((rootid));
out.write(_jsp_string90, 0, _jsp_string90.length);
out.print((StrUtil.UrlEncode(rootMsgDb.getName())));
out.write(_jsp_string87, 0, _jsp_string87.length);
out.print((rootclr));
out.write(_jsp_string88, 0, _jsp_string88.length);
if (_jsp_LabelTag_0 == null) {
_jsp_LabelTag_0 = new com.redmoon.forum.ui.LabelTag();
_jsp_LabelTag_0.setPageContext(pageContext);
_jsp_LabelTag_0.setParent((javax.servlet.jsp.tagext.Tag) null);
}
_jsp_LabelTag_0.setRes("res.label.forum.showtopic");
_jsp_LabelTag_0.setKey("root_user");
_jsp_LabelTag_0.doEndTag();
out.write(_jsp_string91, 0, _jsp_string91.length);
if (_jsp_LabelTag_0 == null) {
_jsp_LabelTag_0 = new com.redmoon.forum.ui.LabelTag();
_jsp_LabelTag_0.setPageContext(pageContext);
_jsp_LabelTag_0.setParent((javax.servlet.jsp.tagext.Tag) null);
}
_jsp_LabelTag_0.setRes("res.label.forum.showtopic");
_jsp_LabelTag_0.setKey("print");
_jsp_LabelTag_0.doEndTag();
out.write(_jsp_string92, 0, _jsp_string92.length);
if (_jsp_LabelTag_0 == null) {
_jsp_LabelTag_0 = new com.redmoon.forum.ui.LabelTag();
_jsp_LabelTag_0.setPageContext(pageContext);
_jsp_LabelTag_0.setParent((javax.servlet.jsp.tagext.Tag) null);
}
_jsp_LabelTag_0.setRes("res.label.forum.showtopic");
_jsp_LabelTag_0.setKey("favoriate");
_jsp_LabelTag_0.doEndTag();
out.write(_jsp_string93, 0, _jsp_string93.length);
if (rootMsgDb.isBlog() || rootMsgDb.getLastOperate()!=MsgDb.LAST_OPERATE_NONE) {
out.write(_jsp_string94, 0, _jsp_string94.length);
out.print((skin.getTableBorderClr()));
out.write(_jsp_string95, 0, _jsp_string95.length);
if (rootMsgDb.isBlog()) {
out.write(_jsp_string96, 0, _jsp_string96.length);
out.print((rootMsgDb.getId()));
out.write(_jsp_string97, 0, _jsp_string97.length);
if (_jsp_LabelTag_0 == null) {
_jsp_LabelTag_0 = new com.redmoon.forum.ui.LabelTag();
_jsp_LabelTag_0.setPageContext(pageContext);
_jsp_LabelTag_0.setParent((javax.servlet.jsp.tagext.Tag) null);
}
_jsp_LabelTag_0.setRes("res.label.forum.showtopic");
_jsp_LabelTag_0.setKey("topic_blog");
_jsp_LabelTag_0.doEndTag();
out.write(_jsp_string98, 0, _jsp_string98.length);
}
out.write(_jsp_string1, 0, _jsp_string1.length);
if (rootMsgDb.getLastOperate()!=MsgDb.LAST_OPERATE_NONE) {
MsgOperateDb mod = new MsgOperateDb();
mod = mod.getMsgOperateDb(rootMsgDb.getLastOperate());
if (mod!=null)
out.print(" <a target=_blank href='topic_op.jsp?msgId=" + rootMsgDb.getId() + "'><b>" + mod.getOperateDesc(request) + "</b></a>");
}
out.write(_jsp_string99, 0, _jsp_string99.length);
}
// \u53d6\u5f97\u663e\u793a\u8bbe\u7f6e
BoardRenderDb boardRender = new BoardRenderDb();
boardRender = boardRender.getBoardRenderDb(boardcode);
IPluginRender render = boardRender.getRender();
String name="",lydate="",content="",topic="";
String RegDate="",Gender="",RealPic="",email="",sign="",myface="",nick="";
int experience=0;
int addcount=0;
long id;
int credit=0;
int islocked=0,iselite=0,lylevel=0,isguide=0;
int type=0;
int show_ubbcode=1,show_smile=1;
int iswebedit = 0;
int i = 0;
Vector v_ad = AdDb.getADOnBoard(boardcode, AdDb.TYPE_TOPIC_BOTTOM);
int ad_count = 0;
while (irmsg.hasNext()) {
msgdb = (MsgDb)irmsg.next();
i++;
id = msgdb.getId();
name = msgdb.getName();
topic = msgdb.getTitle();
content = msgdb.getContent();
lydate = com.redmoon.forum.ForumSkin.formatDateTime(request, msgdb.getAddDate());
type = msgdb.getType();
islocked = msgdb.getIsLocked();
iselite = msgdb.getIsElite();
lylevel = msgdb.getLevel();
iswebedit = msgdb.getIsWebedit();
show_ubbcode = msgdb.getShowUbbcode();
show_smile = msgdb.getShowSmile();
UserDb user = null;
if (!name.equals("")) {
user = um.getUser(name);
nick = user.getNick();
RealPic = user.getRealPic();
Gender = user.getGender();
if (Gender.equals("M"))
Gender = SkinUtil.LoadString(request, "res.label.forum.showtopic", "sex_man"); // "\u7537";
else if (Gender.equals("F"))
Gender = SkinUtil.LoadString(request, "res.label.forum.showtopic", "sex_woman"); // "\u5973";
else
Gender = SkinUtil.LoadString(request, "res.label.forum.showtopic", "sex_none"); // "\u4e0d\u8be6";
RegDate = com.redmoon.forum.ForumSkin.formatDate(request, user.getRegDate());
experience = user.getExperience();
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -