📄 _showtopic__jsp.java
字号:
credit = user.getCredit();
addcount = user.getAddCount();
email = user.getEmail();
sign = user.getSign();
myface = user.getMyface();
}
out.write(_jsp_string100, 0, _jsp_string100.length);
out.print((skin.getTableBorderClr()));
out.write(_jsp_string101, 0, _jsp_string101.length);
if (!name.equals("")) {
out.write(_jsp_string102, 0, _jsp_string102.length);
out.print((user.getNick()));
out.write(_jsp_string103, 0, _jsp_string103.length);
BoardManagerDb bm = new BoardManagerDb();
bm = bm.getBoardManagerDb(Leaf.CODE_ROOT, name);
// \u9a8c\u8bc1\u662f\u5426\u4e3a\u603b\u7248
if (bm.isLoaded() && !bm.isHide()) {
out.print("<div style='padding-top:5px;padding-bottom:5px'>" + SkinUtil.LoadString(request, "res.label.forum.listtopic", "superManager") + "</div>");
}
else {
bm = bm.getBoardManagerDb(boardcode, name);
if (bm.isLoaded() && !bm.isHide()) {
out.print("<div style='padding-top:5px;padding-bottom:5px'>" + SkinUtil.LoadString(request, "res.label.forum.listtopic", "manager") + "</div>");
}
}
UserGroupDb ugd = user.getUserGroupDb();
if (!ugd.getCode().equals(UserGroupDb.EVERYONE)) {
out.print("<div>" + ugd.getDesc() + "</div>");
}
out.write(_jsp_string104, 0, _jsp_string104.length);
if (myface.equals("")) {
out.write(_jsp_string105, 0, _jsp_string105.length);
out.print((RealPic));
out.write(_jsp_string106, 0, _jsp_string106.length);
}else{
out.write(_jsp_string107, 0, _jsp_string107.length);
out.print((user.getMyfaceUrl(request)));
out.write(_jsp_string106, 0, _jsp_string106.length);
}
out.write(_jsp_string108, 0, _jsp_string108.length);
out.print((user.getLevelPic()));
out.write(_jsp_string106, 0, _jsp_string106.length);
out.print((Gender));
out.write(_jsp_string109, 0, _jsp_string109.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("rank");
_jsp_LabelTag_0.doEndTag();
out.print((user.getLevelDesc()));
out.write(_jsp_string110, 0, _jsp_string110.length);
ScoreMgr sm = new ScoreMgr();
Vector vscore = sm.getAllScore();
Iterator irscore = vscore.iterator();
String str = "";
while (irscore.hasNext()) {
ScoreUnit scoreUnit = (ScoreUnit) irscore.next();
if (scoreUnit.isDisplay()) {
out.print(scoreUnit.getName(request) + "\uff1a" + (int)scoreUnit.getScore().getUserSum(user.getName()) + "<BR>");
}
}
out.write(_jsp_string111, 0, _jsp_string111.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_count");
_jsp_LabelTag_0.doEndTag();
out.print((addcount));
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.showtopic");
_jsp_LabelTag_0.setKey("topic_elite");
_jsp_LabelTag_0.doEndTag();
out.print((user.getEliteCount()));
out.write(_jsp_string113, 0, _jsp_string113.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("reg_date");
_jsp_LabelTag_0.doEndTag();
out.print((RegDate));
out.write(_jsp_string113, 0, _jsp_string113.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("online_status");
_jsp_LabelTag_0.doEndTag();
OnlineUserDb ou = new OnlineUserDb();
ou = ou.getOnlineUserDb(user.getName());
if (ou.isLoaded())
out.print(SkinUtil.LoadString(request, "res.label.forum.showtopic", "online_status_yes")); // "\u5728\u7ebf");
else
out.print(SkinUtil.LoadString(request, "res.label.forum.showtopic", "online_status_no")); // "\u79bb\u7ebf");
out.write(_jsp_string114, 0, _jsp_string114.length);
if (cfg1.getBooleanProperty("forum.isOnlineTimeRecord")) {
out.write(_jsp_string115, 0, _jsp_string115.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("online_time");
_jsp_LabelTag_0.doEndTag();
out.print(((int)user.getOnlineTime()));
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("hour");
_jsp_LabelTag_0.doEndTag();
out.write(_jsp_string114, 0, _jsp_string114.length);
}
out.write(_jsp_string114, 0, _jsp_string114.length);
if (cfg1.getBooleanProperty("forum.isFactionUsed")) {
UserPropDb up = new UserPropDb();
up = up.getUserPropDb(user.getName());
String faction = StrUtil.getNullStr(up.getString("faction"));
if (!faction.equals("")) {
FactionDb fd = new FactionDb();
fd = fd.getFactionDb(faction);
faction = fd.getName();
}
if (!faction.equals("")) {
out.write(_jsp_string115, 0, _jsp_string115.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("faction");
_jsp_LabelTag_0.doEndTag();
out.print((faction));
out.write(_jsp_string114, 0, _jsp_string114.length);
}
}
out.write(_jsp_string114, 0, _jsp_string114.length);
if (cfg1.getBooleanProperty("forum.showFlowerEgg")) {
UserPropDb up = new UserPropDb();
up = up.getUserPropDb(user.getName());
out.write(_jsp_string116, 0, _jsp_string116.length);
out.print((up.getInt("flower_count")));
out.write(_jsp_string117, 0, _jsp_string117.length);
out.print((up.getInt("egg_count")));
out.write(_jsp_string118, 0, _jsp_string118.length);
}
out.write(_jsp_string119, 0, _jsp_string119.length);
}else{
out.write(_jsp_string120, 0, _jsp_string120.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("anonym");
_jsp_LabelTag_0.doEndTag();
out.write(_jsp_string121, 0, _jsp_string121.length);
}
out.write(_jsp_string122, 0, _jsp_string122.length);
out.print((skin.getTableBorderClr()));
out.write(_jsp_string123, 0, _jsp_string123.length);
out.print((id));
out.write(_jsp_string124, 0, _jsp_string124.length);
out.print((StrUtil.UrlEncode(name)));
out.write(_jsp_string125, 0, _jsp_string125.length);
out.print((StrUtil.toHtml(nick)));
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("user_info");
_jsp_LabelTag_0.doEndTag();
out.write(_jsp_string126, 0, _jsp_string126.length);
out.print((StrUtil.UrlEncode(nick,"utf-8")));
out.write(_jsp_string127, 0, _jsp_string127.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("send_short_msg");
_jsp_LabelTag_0.doEndTag();
out.print((StrUtil.toHtml(nick)));
out.write(_jsp_string128, 0, _jsp_string128.length);
out.print((StrUtil.toHtml(email)));
out.write(_jsp_string129, 0, _jsp_string129.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("send_email");
_jsp_LabelTag_0.doEndTag();
out.print((StrUtil.toHtml(nick)));
out.write(_jsp_string130, 0, _jsp_string130.length);
out.print((i));
out.write(_jsp_string131, 0, _jsp_string131.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_copy");
_jsp_LabelTag_0.doEndTag();
out.write(_jsp_string132, 0, _jsp_string132.length);
out.print((StrUtil.UrlEncode(boardcode)));
out.write(_jsp_string53, 0, _jsp_string53.length);
out.print((id));
out.write(_jsp_string133, 0, _jsp_string133.length);
out.print((privurl));
out.write(_jsp_string134, 0, _jsp_string134.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_quote");
_jsp_LabelTag_0.doEndTag();
out.write(_jsp_string135, 0, _jsp_string135.length);
if (islocked==0) {
out.write(_jsp_string136, 0, _jsp_string136.length);
out.print((boardcode));
out.write(_jsp_string53, 0, _jsp_string53.length);
out.print((id));
out.write(_jsp_string48, 0, _jsp_string48.length);
out.print((privurl));
out.write(_jsp_string137, 0, _jsp_string137.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_reply");
_jsp_LabelTag_0.doEndTag();
out.write(_jsp_string138, 0, _jsp_string138.length);
}
out.write(_jsp_string139, 0, _jsp_string139.length);
if (user!=null && !user.getHome().equals("")) {
out.write(_jsp_string140, 0, _jsp_string140.length);
out.print((user.getHome()));
out.write(_jsp_string141, 0, _jsp_string141.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("home");
_jsp_LabelTag_0.doEndTag();
out.write(_jsp_string142, 0, _jsp_string142.length);
}
out.write(_jsp_string143, 0, _jsp_string143.length);
if (com.redmoon.blog.Config.getInstance().isBlogOpen) {
out.write(_jsp_string144, 0, _jsp_string144.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 + -