📄 _listtopic__jsp.java
字号:
out.write(_jsp_string72, 0, _jsp_string72.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.inc.position");
_jsp_LabelTag_0.setKey("welcome");
_jsp_LabelTag_0.doEndTag();
out.print((user.getLevelDesc()));
out.write(_jsp_string73, 0, _jsp_string73.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.inc.position");
_jsp_LabelTag_0.setKey("exprience");
_jsp_LabelTag_0.doEndTag();
out.print((user.getExperience()));
out.write(_jsp_string73, 0, _jsp_string73.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.inc.position");
_jsp_LabelTag_0.setKey("credit");
_jsp_LabelTag_0.doEndTag();
out.print((user.getCredit()));
out.write(_jsp_string74, 0, _jsp_string74.length);
ScoreMgr sm_pos = new ScoreMgr();
ScoreUnit su_pos = sm_pos.getScoreUnit("gold");
out.print(su_pos.getName());
out.write('\uff1a');
out.print((user.getGold()));
out.write(_jsp_string75, 0, _jsp_string75.length);
}
out.write(_jsp_string76, 0, _jsp_string76.length);
com.redmoon.forum.MsgMgr Topic;
Topic = (com.redmoon.forum.MsgMgr) pageContext.getAttribute("Topic");
if (Topic == null) {
Topic = new com.redmoon.forum.MsgMgr();
pageContext.setAttribute("Topic", Topic);
}
out.write(_jsp_string1, 0, _jsp_string1.length);
com.redmoon.forum.person.userservice userservice;
userservice = (com.redmoon.forum.person.userservice) pageContext.getAttribute("userservice");
if (userservice == null) {
userservice = new com.redmoon.forum.person.userservice();
pageContext.setAttribute("userservice", userservice);
}
out.write(_jsp_string1, 0, _jsp_string1.length);
if (_jsp_AdTag_1 == null) {
_jsp_AdTag_1 = new com.redmoon.forum.ad.AdTag();
_jsp_AdTag_1.setPageContext(pageContext);
_jsp_AdTag_1.setParent((javax.servlet.jsp.tagext.Tag) null);
}
_jsp_AdTag_1.setType(AdDb.TYPE_TEXT);
_jsp_AdTag_1.setBoardCode(boardcode);
_jsp_AdTag_1.doEndTag();
out.write(_jsp_string1, 0, _jsp_string1.length);
String querystring = StrUtil.getNullString(request.getQueryString());
String privurl=request.getRequestURL()+"?"+StrUtil.UrlEncode(querystring,"utf-8");
// \u767b\u8bb0\u8bbf\u5ba2
try {
privilege.enrolGuest(request,response);
}
catch (UserArrestedException e) {
response.sendRedirect("info.jsp?info=" + StrUtil.UrlEncode(e.getMessage()));
return;
}
// \u5237\u65b0\u5728\u4f4d\u65f6\u95f4
userservice.refreshStayTime(request,response);
String timelimit = request.getParameter("timelimit");
if (timelimit==null)
timelimit = "all";
String brule = StrUtil.getNullString(curleaf.getBoardRule());
if (!brule.equals("")) {
out.write(_jsp_string77, 0, _jsp_string77.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.listtopic");
_jsp_LabelTag_0.setKey("rule");
_jsp_LabelTag_0.doEndTag();
out.write(_jsp_string78, 0, _jsp_string78.length);
out.print((brule));
out.write(_jsp_string79, 0, _jsp_string79.length);
}
out.write(_jsp_string1, 0, _jsp_string1.length);
PluginMgr pm = new PluginMgr();
Vector vplugin = pm.getAllPluginUnitOfBoard(boardcode);
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);
String rule = pv.render(UIListThread.POS_RULE);
if (!rule.equals("")) {
out.write(_jsp_string80, 0, _jsp_string80.length);
out.print(pu.getName(request) + ": " + rule + "<BR>");
out.write(_jsp_string79, 0, _jsp_string79.length);
}
}
}
out.write(_jsp_string1, 0, _jsp_string1.length);
com.redmoon.forum.person.UserMgr um = new com.redmoon.forum.person.UserMgr();
if (curleaf.getChildCount()>0) {
if (curleaf.getDisplayStyle()==Leaf.DISPLAY_STYLE_VERTICAL) {
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);
out.print((boardname));
out.write(_jsp_string84, 0, _jsp_string84.length);
MsgDb md = new MsgDb();
LeafChildrenCacheMgr lccm = new LeafChildrenCacheMgr(boardcode);
java.util.Vector v3 = lccm.getChildren();
Iterator ir3 = v3.iterator();
while (ir3.hasNext()) {
Leaf lf = (Leaf) ir3.next();
if (lf.isDisplay(request, privilege)) {
md = md.getMsgDb(lf.getAddId());
out.write(_jsp_string85, 0, _jsp_string85.length);
if (lf.isLocked()) {
out.write(_jsp_string86, 0, _jsp_string86.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.index");
_jsp_LabelTag_0.setKey("board_lock");
_jsp_LabelTag_0.doEndTag();
out.write(_jsp_string87, 0, _jsp_string87.length);
out.print((skinPath));
out.write(_jsp_string88, 0, _jsp_string88.length);
}else{
out.write(_jsp_string89, 0, _jsp_string89.length);
if (lf.getTodayCount()>0) {
out.write(_jsp_string86, 0, _jsp_string86.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.index");
_jsp_LabelTag_0.setKey("board_new");
_jsp_LabelTag_0.doEndTag();
out.write(_jsp_string87, 0, _jsp_string87.length);
out.print((skinPath));
out.write(_jsp_string90, 0, _jsp_string90.length);
}else{
out.write(_jsp_string86, 0, _jsp_string86.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.index");
_jsp_LabelTag_0.setKey("board_nonew");
_jsp_LabelTag_0.doEndTag();
out.write(_jsp_string87, 0, _jsp_string87.length);
out.print((skinPath));
out.write(_jsp_string91, 0, _jsp_string91.length);
}
out.write(_jsp_string92, 0, _jsp_string92.length);
}
out.write(_jsp_string93, 0, _jsp_string93.length);
out.print((ForumPage.getListTopicPage(request, lf.getCode())));
out.write(_jsp_string38, 0, _jsp_string38.length);
out.print((lf.getName()));
out.write(_jsp_string94, 0, _jsp_string94.length);
/*
if (vplugin.size()>0) {
out.print("<font color=#aaaaaa>");
Iterator irpluginnote = vplugin.iterator();
while (irpluginnote.hasNext()) {
PluginUnit pu = (PluginUnit)irpluginnote.next();
out.print(pu.getName(request) + " ");
}
out.print("</font>");
}
*/
out.write(_jsp_string95, 0, _jsp_string95.length);
String logo = StrUtil.getNullString(lf.getLogo());
if (!logo.equals("")) {
out.write(_jsp_string96, 0, _jsp_string96.length);
out.print((logo));
out.write(_jsp_string97, 0, _jsp_string97.length);
}
out.write(_jsp_string98, 0, _jsp_string98.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.listtopic");
_jsp_LabelTag_0.setKey("topic");
_jsp_LabelTag_0.doEndTag();
out.write(_jsp_string99, 0, _jsp_string99.length);
out.print((ForumPage.getShowTopicPage(request, md.getRootid())));
out.write(_jsp_string38, 0, _jsp_string38.length);
out.print((DefaultRender.RenderTitle(request, md.getMsgDb(md.getRootid()), 60)));
out.write(_jsp_string100, 0, _jsp_string100.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.listtopic");
_jsp_LabelTag_0.setKey("post");
_jsp_LabelTag_0.doEndTag();
out.write(_jsp_string101, 0, _jsp_string101.length);
if (md.isLoaded()) {
out.write(_jsp_string102, 0, _jsp_string102.length);
out.print((StrUtil.UrlEncode(md.getName())));
out.write(_jsp_string38, 0, _jsp_string38.length);
out.print((um.getUser(md.getName()).getNick()));
out.write(_jsp_string103, 0, _jsp_string103.length);
}
out.write(_jsp_string104, 0, _jsp_string104.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.listtopic");
_jsp_LabelTag_0.setKey("date");
_jsp_LabelTag_0.doEndTag();
out.print((DateUtil.format(md.getAddDate(), "yy-MM-dd HH:mm")));
out.write(_jsp_string105, 0, _jsp_string105.length);
out.print((lf.getDescription()));
out.write(_jsp_string106, 0, _jsp_string106.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.listtopic");
_jsp_LabelTag_0.setKey("manager");
_jsp_LabelTag_0.doEndTag();
out.write(_jsp_string107, 0, _jsp_string107.length);
MsgMgr mm = new MsgMgr();
Vector managers = mm.getBoardManagers(lf.getCode());
Iterator irmgr = managers.iterator();
while (irmgr.hasNext()) {
UserDb user = (UserDb) irmgr.next();
out.write(_jsp_string108, 0, _jsp_string108.length);
out.print((StrUtil.UrlEncode(user.getName())));
out.write(_jsp_string38, 0, _jsp_string38.length);
out.print((user.getNick()));
out.write(_jsp_string109, 0, _jsp_string109.length);
}
out.write(_jsp_string110, 0, _jsp_string110.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.listtopic");
_jsp_LabelTag_0.setKey("today_post");
_jsp_LabelTag_0.doEndTag();
out.write(_jsp_string111, 0, _jsp_string111.length);
out.print((lf.getTodayCount()));
out.write(_jsp_string112, 0, _jsp_string112.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.listtopic");
_jsp_LabelTag_0.setKey("topic_count");
_jsp_LabelTag_0.doEndTag();
out.write(_jsp_string113, 0, _jsp_string113.length);
out.print((lf.getTopicCount()));
out.write(_jsp_string114, 0, _jsp_string114.length);
if (_jsp_LabelTag_0 == null) {
_jsp_LabelTag_0 = new com.redmoon.forum.ui.LabelTag();
_jsp_LabelTag_0.setPageContext(pageContext);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -