📄 _login__jsp.java
字号:
if (tc.isVisitForbidden(request)) {
if (hUrl.indexOf("/info.jsp")==-1) {
String str = SkinUtil.LoadString(request, "res.label.forum.inc.header", "time_visit_forbid");
str = StrUtil.format(str, new Object[] {tc.getProperty("forbidVisitTime1"), tc.getProperty("forbidVisitTime2")});
response.sendRedirect(rootpath + "/info.jsp?info=" + StrUtil.UrlEncode(str));
return;
}
}
// String rootpath = Global.getRootPath(); // "http://" + Global.server + ":" + Global.port + "/" + Global.virtualPath; // "http://www.zjrj.cn";
String hboardcode,hboardname;
hboardcode = ParamUtil.get(request, "boardcode");
hboardname = ParamUtil.get(request, "boardname");
if (hboardcode==null)
hboardcode = "";
if (hboardname == null)
hboardname = "";
hboardname = cn.js.fan.util.StrUtil.UrlEncode(hboardname);
String hSessionBoardCode = UserSession.getBoardCode(request);
ThemeMgr tm = new ThemeMgr();
Theme hTheme = tm.getTheme("default");
if (!hSessionBoardCode.equals("")) {
Leaf hleaf = new Leaf();
hleaf = hleaf.getLeaf(hSessionBoardCode);
String theme = "";
if (hleaf!=null)
theme = hleaf.getTheme();
if (theme==null || theme.equals(""))
;
else {
Theme t = tm.getTheme(theme);
if (t!=null) {
hTheme = t;
}
}
}
out.write(_jsp_string10, 0, _jsp_string10.length);
out.print((rootpath));
out.write(_jsp_string11, 0, _jsp_string11.length);
out.print((hTheme.getHeight()));
out.write(_jsp_string12, 0, _jsp_string12.length);
out.print((rootpath));
out.print((hTheme.getPath() + "/" + hTheme.getBanner()));
out.write(_jsp_string13, 0, _jsp_string13.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_HEADER);
_jsp_AdTag_1.setBoardCode(hSessionBoardCode);
_jsp_AdTag_1.doEndTag();
out.write(_jsp_string14, 0, _jsp_string14.length);
com.redmoon.forum.ui.menu.LeafChildrenCacheMgr dlcmHe = new com.redmoon.forum.ui.menu.LeafChildrenCacheMgr("root");
java.util.Vector vtHe = dlcmHe.getChildren();
Iterator irHe = vtHe.iterator();
int headCt = 0;
int navpos = vtHe.size() - 2;
int lastpos = vtHe.size() - 1;
while (irHe.hasNext()) {
com.redmoon.forum.ui.menu.Leaf menuleaf = (com.redmoon.forum.ui.menu.Leaf) irHe.next();
out.print("<li>");
String menuItem = "";
if (menuleaf.getType()==com.redmoon.forum.ui.menu.Leaf.TYPE_LINK) {
out.write(_jsp_string15, 0, _jsp_string15.length);
out.print((menuleaf.getTarget()));
out.write(_jsp_string16, 0, _jsp_string16.length);
out.print((menuleaf.getLink(request)));
out.write(_jsp_string17, 0, _jsp_string17.length);
out.print((menuleaf.getWidth()-15));
out.write(_jsp_string18, 0, _jsp_string18.length);
out.print((menuleaf.getWidth()));
out.write(_jsp_string19, 0, _jsp_string19.length);
out.print((menuleaf.getName(request)));
out.write(_jsp_string20, 0, _jsp_string20.length);
}
else {
menuItem = com.redmoon.forum.ui.menu.PresetLeaf.getMenuItem(request, menuleaf);
out.print(menuItem);
}
com.redmoon.forum.ui.menu.LeafChildrenCacheMgr dl = new com.redmoon.forum.ui.menu.LeafChildrenCacheMgr(menuleaf.getCode());
java.util.Vector headv = dl.getChildren();
Iterator headir1 = headv.iterator();
if (headv.size()>0)
out.print("<ul>");
while (headir1.hasNext()) {
com.redmoon.forum.ui.menu.Leaf menulf = (com.redmoon.forum.ui.menu.Leaf) headir1.next();
out.write(_jsp_string21, 0, _jsp_string21.length);
out.print((menulf.getTarget()));
out.write(_jsp_string16, 0, _jsp_string16.length);
out.print((menulf.getLink(request)));
out.write(_jsp_string17, 0, _jsp_string17.length);
out.print((menulf.getWidth()));
out.write(_jsp_string19, 0, _jsp_string19.length);
out.print((menulf.getName(request)));
out.write(_jsp_string22, 0, _jsp_string22.length);
com.redmoon.forum.ui.menu.LeafChildrenCacheMgr dl2 = new com.redmoon.forum.ui.menu.LeafChildrenCacheMgr(menulf.getCode());
java.util.Vector v2 = dl2.getChildren();
Iterator ir2 = v2.iterator();
if (v2.size()>0)
out.print("<ul>");
while (ir2.hasNext()) {
com.redmoon.forum.ui.menu.Leaf menulf2 = (com.redmoon.forum.ui.menu.Leaf) ir2.next();
out.write(_jsp_string23, 0, _jsp_string23.length);
out.print((menulf2.getTarget()));
out.write(_jsp_string16, 0, _jsp_string16.length);
out.print((menulf2.getLink(request)));
out.write(_jsp_string17, 0, _jsp_string17.length);
out.print((menulf2.getWidth()));
out.write(_jsp_string19, 0, _jsp_string19.length);
out.print((menulf2.getName(request)));
out.write(_jsp_string24, 0, _jsp_string24.length);
}
if (v2.size()>0)
out.print("</ul>");
out.print("</li>");
}
if (headv.size()>0)
out.print("</ul>");
out.print("</li>");
// \u6700\u540e\u4e00\u9879\u4e0d\u5199\u5206\u9694\u7ebf
if (headCt!=lastpos) {
if (menuleaf.getType()==com.redmoon.forum.ui.menu.Leaf.TYPE_PRESET && menuItem.equals(""))
;
else
out.print("<li class='menuDiv'></li>");
}
// \u5728\u5012\u6570\u7b2c\u4e8c\u9879\u5199\u63d2\u4ef6\u7684\u83dc\u5355\u9879
if (headCt==navpos) {
com.redmoon.forum.plugin.PluginMgr headerPm = new com.redmoon.forum.plugin.PluginMgr();
Iterator irHeaderPlugin = headerPm.getAllPlugin().iterator();
while (irHeaderPlugin.hasNext()) {
com.redmoon.forum.plugin.PluginUnit pu = (com.redmoon.forum.plugin.PluginUnit)irHeaderPlugin.next();
com.redmoon.forum.plugin.base.IPluginUI ipu = pu.getUI(request, response, out);
com.redmoon.forum.plugin.base.IPluginViewCommon pvc = ipu.getViewCommon();
if (pvc!=null) {
String hnavstr = pvc.render(com.redmoon.forum.plugin.base.IPluginViewCommon.POS_NAV_BAR);
if (!hnavstr.equals("")) {
out.print("<li>" + hnavstr + "</li>");
out.print("<li class='menuDiv'></li>");
}
}
}
}
headCt++;
}
out.write(_jsp_string25, 0, _jsp_string25.length);
if (re) {
String privurl = ParamUtil.get(request, "privurl");
if (privurl.equals(""))
privurl = "forum/index.jsp";
out.write(_jsp_string26, 0, _jsp_string26.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.login");
}
_jsp_LabelTag_0.setKey("login_success");
_jsp_LabelTag_0.doEndTag();
out.write(_jsp_string27, 0, _jsp_string27.length);
out.print(StrUtil.waitJump("<a href='"+privurl+"'>" + SkinUtil.LoadString(request,"res.label.login","return_front") + "</a>", 1, privurl));
}
out.write(_jsp_string28, 0, _jsp_string28.length);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -