📄 _tree__jsp.java
字号:
public boolean _caucho_isModified()
{
if (_caucho_isDead)
return true;
if (com.caucho.util.CauchoSystem.getVersionId() != 2057024144)
return true;
for (int i = _caucho_depends.size() - 1; i >= 0; i--) {
com.caucho.vfs.Depend depend;
depend = (com.caucho.vfs.Depend) _caucho_depends.get(i);
if (depend.isModified())
return true;
}
return false;
}
public long _caucho_lastModified()
{
return 0;
}
public com.caucho.java.LineMap _caucho_getLineMap()
{
return _caucho_line_map;
}
public void destroy()
{
_caucho_isDead = true;
super.destroy();
}
public void init(com.caucho.java.LineMap lineMap,
com.caucho.vfs.Path appDir)
throws javax.servlet.ServletException
{
com.caucho.vfs.Path resinHome = com.caucho.util.CauchoSystem.getResinHome();
com.caucho.vfs.MergePath mergePath = new com.caucho.vfs.MergePath();
mergePath.addMergePath(appDir);
mergePath.addMergePath(resinHome);
mergePath.addClassPath(getClass().getClassLoader());
_caucho_line_map = new com.caucho.java.LineMap("_tree__jsp.java", "/test/news/admin/widget/tree/tree.jsp");
_caucho_line_map.add(3, 1);
_caucho_line_map.add(1, 29);
_caucho_line_map.add(5, 32);
_caucho_line_map.add(26, 39);
com.caucho.vfs.Depend depend;
depend = new com.caucho.vfs.Depend(appDir.lookup("news/admin/widget/tree/tree.jsp"), 1029045226788L, 12337L);
_caucho_depends.add(depend);
}
private static byte []_jsp_string1;
private static byte []_jsp_string0;
private static byte []_jsp_string2;
private static byte []_jsp_string3;
static {
try {
_jsp_string1 = "\r\n\r\n".getBytes("GB2312");
_jsp_string0 = "\r\n".getBytes("GB2312");
_jsp_string2 = "\r\n<html>\r\n<head>\r\n<script LANGUAGE=\"JavaScript\">\r\n<!--\r\nvar total=1;\r\nvar db = new Array();\r\n\r\n// -- Enter Values Here --\r\n// Format: dbAdd(parent[true|false] , description, URL [blank for nohref], level , TARGET [blank for \"content\"], new? [1=yes])\r\ndbAdd( false , \"首页\" , \"../../default.jsp\" , 0 , \"mainFrame\" , 1 );\r\n\r\ndbAdd( true, \"信息系统\", \"\", 0, \"mainFrame\", 0 );\r\n dbAdd( true, \"内容管理\", \"\", 1, \"mainFrame\", 0 );\r\n dbAdd( false, \"添加\", \"../../info/add_article.jsp\", 2, \"mainFrame\", 0 );\r\n dbAdd( true, \"审核发布\", \"\", 2, \"mainFrame\", 0 );\r\n ".getBytes("GB2312");
_jsp_string3 = "\r\n dbAdd( true, \"分类管理\", \"\", 1, \"mainFrame\", 0 );\r\n dbAdd( false, \"添加\", \"../../info/add_category.jsp\", 2, \"mainFrame\", 0 );\r\n dbAdd( false, \"编辑\", \"../../info/category.jsp\", 2, \"mainFrame\", 0 );\r\n dbAdd( true, \"模板管理\", \"\", 1, \"mainFrame\", 0 );\r\n dbAdd( false, \"添加\", \"../../info/add_template.jsp\", 2, \"mainFrame\", 0 );\r\n dbAdd( false, \"编辑\", \"../../info/template.jsp\", 2, \"mainFrame\", 0 );\r\n\r\ndbAdd( true, \"用户管理\", \"\", 0, \"mainFrame\", 0 );\r\n dbAdd( false, \"用户信息管理\", \"/\", 1, \"mainFrame\", 0 );\r\n dbAdd( false, \"发送邮件\", \"/\", 1, \"mainFrame\", 0 );\r\n\r\ndbAdd( true, \"调查管理\", \"\", 0, \"mainFrame\", 0 );\r\n dbAdd( false, \"添加\", \"../../poll/add_poll.jsp\", 1, \"mainFrame\", 0 );\r\n dbAdd( false, \"编辑\", \"../../poll/poll.jsp\", 1, \"mainFrame\", 0 );\r\n dbAdd( false, \"评论管理\", \"/\", 1, \"mainFrame\", 0 );\r\n\r\ndbAdd( true, \"论坛管理\", \"\", 0, \"mainFrame\", 0 );\r\n dbAdd( true, \"版面管理\", \"\", 1, \"mainFrame\", 0 );\r\n dbAdd( false, \"添加\", \"/\", 2, \"mainFrame\", 0 );\r\n dbAdd( false, \"编辑\", \"/\", 2, \"mainFrame\", 0 );\r\n dbAdd( true, \"贴子管理\", \"\", 1, \"mainFrame\", 0 );\r\n dbAdd( false, \"查看贴子\", \"/\", 2, \"mainFrame\", 0 );\r\n dbAdd( false, \"维护贴子\", \"/\", 2, \"mainFrame\", 0 ); \r\n\r\ndbAdd( true, \"系统设置\", \"\", 0, \"mainFrame\", 0 );\r\n dbAdd( true, \"模块管理\", \"\", 1, \"mainFrame\", 0 );\r\n dbAdd( false, \"添加\", \"../../sys/add_module.jsp\", 2, \"mainFrame\", 0 );\r\n dbAdd( false, \"编辑\", \"../../sys/module.jsp\", 2, \"mainFrame\", 0 );\r\n dbAdd( true, \"权限管理\", \"\", 1, \"mainFrame\", 0 );\r\n dbAdd( false, \"添加\", \"../../sys/add_priv.jsp\", 2, \"mainFrame\", 0 );\r\n dbAdd( false, \"编辑\", \"../../sys/priv.jsp\", 2, \"mainFrame\", 0 );\r\n dbAdd( true, \"管理员管理\", \"\", 1, \"mainFrame\", 0 );\r\n dbAdd( false, \"添加\", \"../../sys/add_user.jsp\", 2, \"mainFrame\", 0 );\r\n dbAdd( false, \"编辑\", \"../../sys/user.jsp\", 2, \"mainFrame\", 0 );\r\n dbAdd( true, \"版块管理\", \"\", 1, \"mainFrame\", 0 );\r\n dbAdd( false, \"添加\", \"../../sys/add_block.jsp\", 2, \"mainFrame\", 0 );\r\n dbAdd( false, \"编辑\", \"../../sys/block.jsp\", 2, \"mainFrame\", 0 );\r\n\r\ndbAdd( true, \"帮助\", \"\", 0, \"mainFrame\", 0 );\r\n dbAdd( true, \"帮助主题\", \"\", 1, \"mainFrame\", 0 );\r\n dbAdd( false, \"FAQ\", \"/\", 1, \"mainFrame\", 0 );\r\n \r\n/*\r\ndbAdd( true , \"The Web\" , \"\" , 0 , \"\", 1)\r\n dbAdd( true , \"Scripts\" , \"/scripts/\" , 1 , \"\" , 1)\r\n dbAdd( false , \"Calendar\" , \"/scripts/calendar/\" , 2 , \"\" , 0)\r\n dbAdd( false , \"Replace Util\", \"/scripts/replace/\" , 2 , \"\" , 0)\r\n dbAdd( false , \"Access Analysis\", \"/scripts/access/\", 2 , \"\" , 0)\r\n dbAdd( false , \"Content Tree\" , \"/scripts/tree/\" , 2 , \"\" , 1)\r\n dbAdd( false , \"Tip of the Day\" , \"/scripts/tip/\" , 2 , \"\" , 1)\r\n dbAdd( true , \"Information\" , \"/info/\" , 1 , \"\" , 0)\r\n dbAdd( false , \"Searching the Internet\" , \"/info/search/\" ,2 , \"\" , 0)\r\n dbAdd( false , \"Slash, Slash, Slash\" , \"/info/slash/\" , 2 , \"\" , 0)\r\n dbAdd( false , \"SSI Tutorial\" , \"/info/ssi/\" , 2 , \"\" , 0)\r\n dbAdd( true , \"CGI Scripts\" , \"/www/scripts/\" , 1 , \"\" , 0)\r\n dbAdd( false , \"Image Indexer\" , \"/www/scripts/images.html\" , 2 , \"\" , 0)\r\n dbAdd( false , \"Raytraced Access Stats\" , \"/www/scripts/access3.html\" , 2 , \"\" , 0)\r\n dbAdd( false , \"Countdown\" , \"/www/scripts/countdown.html\" , 2 , \"\" , 0)\r\n dbAdd( false , \"Form Response Mailer\" , \"/www/scripts/mailer.html\" , 2 , \"\" , 0)\r\n dbAdd( false , \"Comments\" , \"/www/scripts/comments.html\" , 2 , \"\" , 0)\r\n dbAdd( false , \"Access Stats\" , \"/www/scripts/access.html\" , 2 , \"\" , 0)\r\n dbAdd( false , \"Graphical Access Stats\" , \"/www/scripts/access2.html\" , 2 , \"\" , 0)\r\n dbAdd( false , \"Table Generator\" , \"/www/scripts/table.html\" , 2 , \"\" , 0)\r\n dbAdd( false , \"Access Counter\" , \"/www/scripts/counter.html\" , 2 , \"\" , 0)\r\n dbAdd( false , \"Mail Links Generator\" , \"/www/scripts/maillink.html\" , 2 , \"\" , 0)\r\n dbAdd( false , \"User Stats\" , \"/www/scripts/stats.html\" , 2 , \"\" , 0)\r\ndbAdd( true , \"Technology\" , \"\" , 0 , \"\", 0)\r\n dbAdd( true , \"Perl\" , \"/perl/\" , 1 , \"\" , 0)\r\n dbAdd( false , \"icons.zip\" , \"/perl/icons/icons.zip\" , 2 , \"\" , 0)\r\n dbAdd( true , \"Graph.pm\" , \"\" , 2 , \"\" , 0)\r\n dbAdd( false , \"Documentation\" , \"/perl/graph/Graph.pm.html\" , 3 , \"\" , 0)\r\n dbAdd( false , \"Example Script\" , \"/perl/graph/example.txt\" , 3 , \"\" , 0)\r\n dbAdd( false , \"Example .gif\" , \"/perl/graph/example.gif\" , 3 , \"\" , 0)\r\n dbAdd( false , \"Download\" , \"/perl/graph/Graph.pm.zip\" , 3 , \"\" , 0)\r\n dbAdd( false , \"Must-Have Utilities\" , \"/utilities/\" , 1 , \"\" , 0)\r\n\r\ndbAdd( true , \"Fun\" , \"\" , 0 , \"\" , 0)\r\n dbAdd( true , \"Home Theater\" , \"/theater/\" , 1 , \"\" , 0)\r\n dbAdd( false , \"My Home Theater\" , \"/theater/theater.html\" , 2 , \"\" , 0)\r\n dbAdd( false , \"My Movie Collection\" , \"/theater/movies.html\" , 2 , \"\" , 0)\r\n dbAdd( false , \"Honda Prelude\" , \"/prelude/\" , 1 , \"\" , 0)\r\n dbAdd( true , \"Pictures\" , \"/pictures/\" , 1 , \"\" , 0)\r\n dbAdd( false , \"European Vacation\" , \"/vacation/\" , 2 , \"\" , 0)\r\n dbAdd( false , \"Iscanic\" , \"/iscanic/\" , 2 , \"\" , 0)\r\n dbAdd( false , \"ISCA Users\" , \"/isca/\" , 2 , \"\" , 0)\r\n \r\ndbAdd( true , \"Entertainment\" , \"\" , 0 , \"\" , 0)\r\n dbAdd( false , \"Raytracing\" , \"/raytracing/\" , 1 , \"\" , 0)\r\n dbAdd( false , \"Mods and Midis\" , \"/modmidi/\" , 1 , \"\" , 0)\r\n dbAdd( false , \"RealAudio\" , \"/realaudio/\" , 1 , \"\" , 0)\r\n */\r\n// dbAdd( false , \"\" , \"\" , 0 , \"\" , 0)\r\n\r\n// -- End modifications --\r\n\r\n// Get current cookie setting\r\nvar current=getCurrState()\r\nfunction getCurrState() {\r\n var label = \"currState=\"\r\n var labelLen = label.length\r\n var cLen = document.cookie.length\r\n var i = 0\r\n while (i < cLen) {\r\n var j = i + labelLen\r\n if (document.cookie.substring(i,j) == label) {\r\n var cEnd = document.cookie.indexOf(\";\",j)\r\n if (cEnd == -1) { cEnd = document.cookie.length }\r\n return unescape(document.cookie.substring(j,cEnd))\r\n }\r\n i++\r\n }\r\n return \"\"\r\n}\r\n\r\n// Add an entry to the database\r\nfunction dbAdd(mother,display,URL,indent,top,newitem) {\r\n db[total] = new Object;\r\n db[total].mother = mother\r\n db[total].display = display\r\n db[total].URL = URL\r\n db[total].indent = indent\r\n db[total].top = top\r\n db[total].newitem = newitem\r\n total++\r\n }\r\n\r\n// Record current settings in cookie\r\nfunction setCurrState(setting) {\r\n var expire = new Date();\r\n expire.setTime(expire.getTime() + ( 7*24*60*60*1000 ) ); // expire in 1 week\r\n document.cookie = \"currState=\" + escape(setting) + \"; expires=\" + expire.toGMTString();\r\n }\r\n\r\n// toggles an outline mother entry, storing new value in the cookie\r\nfunction toggle(n) {\r\n if (n != 0) {\r\n var infotring = \"\"\r\n var expanded = current.substring(n-1,n) // of clicked item\r\n infotring += current.substring(0,n-1)\r\n infotring += expanded ^ 1 // Bitwise XOR clicked item\r\n infotring += current.substring(n,current.length)\r\n setCurrState(infotring) // write new state back to cookie\r\n }\r\n}\r\n\r\n// returns padded spaces (in mulTIPles of 2) for indenting\r\nfunction pad(n) {\r\n var result = \"\"\r\n for (var i = 1; i <= n; i++) { result += \" \" }\r\n return result\r\n}\r\n\r\n// Expand everything\r\nfunction explode() {\r\n current = \"\";\r\n initState=\"\";\r\n for (var i = 1; i < db.length; i++) { \r\n initState += \"1\"\r\n current += \"1\"\r\n }\r\n setCurrState(initState);\r\n history.go(0);\r\n }\r\n\r\n// Collapse everything\r\nfunction contract() {\r\n current = \"\";\r\n initState=\"\";\r\n for (var i = 1; i < db.length; i++) { \r\n initState += \"0\"\r\n current += \"0\"\r\n }\r\n setCurrState(initState);\r\n history.go(0);\r\n }\r\n\r\nfunction tree_close() {\r\n window.parent.location = window.parent.content.location;\r\n }\r\n\r\n// end -->\r\n\r\n\r\n</script>\r\n\r\n<title>contents</title>\r\n<meta http-equiv=\"content-type\" content=\"text/html; charset=gb2312\"></head>\r\n\r\n<body bgcolor=#ffffff link=\"#006666\" vlink=\"#004444\" background=\"../../images/background.gif\" leftmargin=\"0\" topmargin=\"0\" marginwidth=\"0\" marginheight=\"0\">\r\n<table width=180 cellspacing=0 cellpadding=3 border=0 bgcolor=\"#666666\">\r\n <tr> \r\n <td align=left width=100%><font color=\"#FFFFFF\"><b>交通资讯网</b></font></td>\r\n <td align=right><a href=\"javascript:contract();\"><IMG SRC=\"images/minimize.gif\" WIDTH=16 HEIGHT=14 BORDER=0></a><a href=\"javascript:explode();\"><IMG SRC=\"images/maximize.gif\" WIDTH=16 HEIGHT=14 BORDER=0 ></a><a href=\"javascript:tree_clos\r\n\r\n\r\n\r\n\r\ne();\"><IMG SRC=\"images/x.gif\" WIDTH=16 HEIGHT=14 BORDER=0></a></td>\r\n</tr>\r\n</table>\r\n\r\n<table border=0 width=500>\r\n<tr>\r\n <td> \r\n <script LANGUAGE=\"JavaScript\">\r\n<!--\r\n// Set the initial state if no current state or length changed\r\nif (current == \"\" || current.length != (db.length-1)) {\r\n current = \"\"\r\n initState = \"\"\r\n for (i = 1; i < db.length; i++) { \r\n initState += \"0\"\r\n current += \"0\"\r\n }\r\n setCurrState(initState)\r\n }\r\nvar prevIndentDisplayed = 0\r\nvar showMyDaughter = 0\r\n// end -->\r\n \r\n<!--\r\nvar Outline=\"\"\r\n// cycle through each entry in the outline array\r\nfor (var i = 1; i < db.length; i++) {\r\n var currIndent = db[i].indent // get the indent level\r\n var expanded = current.substring(i-1,i) // current state\r\n var top = db[i].top\r\n if (top == \"\") { top=\"content\" }\r\n // display entry only if it meets one of three criteria\r\n if ((currIndent == 0 || currIndent <= prevIndentDisplayed || (showMyDaughter == 1 && (currIndent - prevIndentDisplayed == 1)))) {\r\n Outline += pad(currIndent)\r\n\r\n // Insert the appropriate GIF and HREF\r\n newitem = \"\";\r\n if (db[i].newitem) { newitem=\"_new\"; }\r\n if (!(db[i].mother)) {\r\n Outline += \"<IMG SRC=\\\"images/blank.gif\\\" WIDTH=16 HEIGHT=16 BORDER=0><IMG SRC=\\\"images/document\" + newitem + \".gif\\\" WIDTH=16 HEIGHT=16 BORDER=0>\"\r\n } \r\n else { \r\n if (current.substring(i-1,i) == 1) {\r\n Outline += \"<A HREF=\\\"javascript:history.go(0)\\\" onMouseOver=\\\"window.parent.status=\\'Click to collapse\\';return true;\\\" onClick=\\\"toggle(\" + i + \")\\\">\"\r\n Outline += \"<IMG SRC=\\\"images/minus.gif\\\" WIDTH=16 HEIGHT=16 BORDER=0><IMG SRC=\\\"images/open\" + newitem + \".gif\\\" WIDTH=16 HEIGHT=16 BORDER=0>\"\r\n Outline += \"</A>\"\r\n }\r\n else {\r\n Outline += \"<A HREF=\\\"javascript:history.go(0)\\\" onMouseOver=\\\"window.parent.status=\\'Click to expand\\';return true;\\\" onClick=\\\"toggle(\" + i + \")\\\">\"\r\n Outline += \"<IMG SRC=\\\"images/plus.gif\\\" WIDTH=16 HEIGHT=16 BORDER=0><IMG SRC=\\\"images/closed\" + newitem + \".gif\\\" WIDTH=16 HEIGHT=16 BORDER=0>\"\r\n Outline += \"</A>\"\r\n }\r\n }\r\n Outline += \" \";\r\n \r\n if (db[i].URL == \"\" || db[i].URL == null) {\r\n Outline += \" \" + db[i].display // no link, just a listed item \r\n }\r\n else {\r\n Outline += \" <A HREF=\\\"\" + db[i].URL + \"\\\" TARGET=\\\"\" + top + \"\\\">\" + db[i].display + \"</A>\"\r\n }\r\n // Bold if at level 0\r\n if (currIndent == 0) { \r\n Outline = \"<B>\" + Outline + \"</B>\"\r\n }\r\n Outline += \"<BR>\"\r\n prevIndentDisplayed = currIndent\r\n showMyDaughter = expanded\r\n // if (i == 1) { Outline = \"\"}\r\n if (db.length > 25) {\r\n document.write(Outline)\r\n Outline = \"\"\r\n }\r\n }\r\n }\r\ndocument.write(Outline)\r\n// end -->\r\n</script>\r\n\r\n\r\n</td></tr>\r\n</table>\r\n<i> \r\n<center>\r\n <br>\r\n</center>\r\n</i>\r\n</body>\r\n</html>\r\n".getBytes("GB2312");
} catch (java.io.UnsupportedEncodingException e) {
e.printStackTrace();
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -