?? manage_jsp.java
字號:
package org.apache.jsp.admin;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
public final class manage_jsp extends org.apache.jasper.runtime.HttpJspBase
implements org.apache.jasper.runtime.JspSourceDependent {
private static java.util.Vector _jspx_dependants;
static {
_jspx_dependants = new java.util.Vector(1);
_jspx_dependants.add("/admin/checkmaster.jsp");
}
public java.util.List getDependants() {
return _jspx_dependants;
}
public void _jspService(HttpServletRequest request, HttpServletResponse response)
throws java.io.IOException, ServletException {
JspFactory _jspxFactory = null;
PageContext pageContext = null;
HttpSession session = null;
ServletContext application = null;
ServletConfig config = null;
JspWriter out = null;
Object page = this;
JspWriter _jspx_out = null;
PageContext _jspx_page_context = null;
try {
_jspxFactory = JspFactory.getDefaultFactory();
response.setContentType("text/html; charset=gb2312");
pageContext = _jspxFactory.getPageContext(this, request, response,
null, true, 8192, true);
_jspx_page_context = pageContext;
application = pageContext.getServletContext();
config = pageContext.getServletConfig();
session = pageContext.getSession();
out = pageContext.getOut();
_jspx_out = out;
out.write('\r');
out.write('\n');
out.write('\r');
out.write('\n');
String bbsadmin=null;
bbsadmin = (String)session.getAttribute("bbsadmin");
if(bbsadmin==""||bbsadmin==null)
{
out.print("<script>window.open('../admin/index.jsp');</script>");
//out.print("<script>");
//out.print("alert('你的權(quán)限太低無法進(jìn)入!');");
//out.print("window.location.href='../admin/index.jsp';");
//out.print("</script>");
}
out.write('\r');
out.write('\n');
out.write('\r');
out.write('\n');
String opentree="tree.jsp";
String urlfile="../user/user_manage.jsp";
out.write("\r\n");
out.write("<HTML>\r\n");
out.write("<HEAD>\r\n");
out.write("<TITLE>后臺管理</TITLE>\r\n");
out.write("<META content=\"text/html; charset=gbk\" http-equiv=Content-Type>\r\n");
out.write("<LINK href=\"../css/news2.css\" rel=stylesheet type=text/css>\r\n");
out.write("<SCRIPT>\r\n");
out.write("if(self!=top){top.location=self.location;}\r\n");
out.write("function switchSysBar(){\r\n");
out.write("if (switchPoint.innerText==4){\r\n");
out.write("switchPoint.innerText=3\r\n");
out.write("document.all(\"frmTitle\").style.display=\"\"\r\n");
out.write("}else{\r\n");
out.write("switchPoint.innerText=4\r\n");
out.write("document.all(\"frmTitle\").style.display=\"none\"\r\n");
out.write("}}\r\n");
out.write("</SCRIPT>\r\n");
out.write("\r\n");
out.write("<STYLE type=text/css>.navPoint {\r\n");
out.write("\tCOLOR: white; CURSOR: hand; FONT-FAMILY: Webdings; FONT-SIZE: 9pt\r\n");
out.write("}\r\n");
out.write("</STYLE>\r\n");
out.write("<META content=\"MSHTML 5.00.3700.6699\" name=GENERATOR></HEAD>\r\n");
out.write("<BODY scroll=no style=\"MARGIN: 0px\">\r\n");
out.write("<TABLE border=0 cellPadding=0 cellSpacing=0 height=\"100%\" width=\"100%\">\r\n");
out.write(" <TBODY>\r\n");
out.write(" <TR>\r\n");
out.write(" <TD align=middle id=frmTitle noWrap vAlign=center>\r\n");
out.write("\t<IFRAME frameBorder=0 id=left name=left scrolling=yes src=\"");
out.print(opentree);
out.write("\" \r\n");
out.write(" style=\"HEIGHT: 100%; VISIBILITY: inherit; WIDTH: 140px; Z-INDEX: 2\">\r\n");
out.write(" </IFRAME></TD>\r\n");
out.write(" <TD bgColor=#a4b6d7>\r\n");
out.write(" <TABLE border=0 cellPadding=0 cellSpacing=0 height=\"100%\">\r\n");
out.write(" <TBODY>\r\n");
out.write(" <TR>\r\n");
out.write(" <TD onclick=switchSysBar() \r\n");
out.write(" style=\"HEIGHT: 100%\"><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><SPAN \r\n");
out.write(" class=navPoint id=switchPoint \r\n");
out.write(" title=關(guān)閉/打開左欄>4</SPAN><BR><BR><BR><BR><BR><BR><BR><BR></TD></TR></TBODY></TABLE></TD>\r\n");
out.write(" <TD style=\"WIDTH: 100%\">\r\n");
out.write("\t<IFRAME frameBorder=0 id=main name=main scrolling=yes src=\"");
out.print(urlfile);
out.write("\" \r\n");
out.write(" style=\"HEIGHT: 100%; VISIBILITY: inherit; WIDTH: 100%; Z-INDEX: 1\">\r\n");
out.write(" </IFRAME></TD></TR></TBODY></TABLE>\r\n");
out.write("<SCRIPT>\r\n");
out.write("if(window.screen.width<'1024'){switchSysBar()}\r\n");
out.write("</SCRIPT>\r\n");
out.write("</BODY>\r\n");
out.write("</HTML>");
} catch (Throwable t) {
if (!(t instanceof SkipPageException)){
out = _jspx_out;
if (out != null && out.getBufferSize() != 0)
out.clearBuffer();
if (_jspx_page_context != null) _jspx_page_context.handlePageException(t);
}
} finally {
if (_jspxFactory != null) _jspxFactory.releasePageContext(_jspx_page_context);
}
}
}
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -