⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 left_jsp.java

📁 新闻发布 能够简单的发布新闻 可以上穿图片 可以在后台发布 在前台显示
💻 JAVA
📖 第 1 页 / 共 2 页
字号:
package org.apache.jsp.admin;

import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;

public final class left_jsp extends org.apache.jasper.runtime.HttpJspBase
    implements org.apache.jasper.runtime.JspSourceDependent {

  private static java.util.Vector _jspx_dependants;

  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=GBK");
      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\n");
      out.write("<html>\r\n");
      out.write("<head>\r\n");
      out.write("<meta http-equiv=\"Content-Type\" content=\"text/html; charset=gb2312\">\r\n");
      out.write("  <link rel=\"stylesheet\" type=\"text/css\" href=\"../css/main.css\">\r\n");
      out.write("  <title>left</title>\r\n");
      out.write("  <script language=\"JavaScript\">\r\n");
      out.write("  scores = new Array(20);\r\n");
      out.write("  var numTotal=0;\r\n");
      out.write("  NS4 = (document.layers) ? 1 : 0;\r\n");
      out.write("  IE4 = (document.all) ? 1 : 0;\r\n");
      out.write("  ver4 = (NS4 || IE4) ? 1 : 0;\r\n");
      out.write("  if (ver4) {\r\n");
      out.write("    with (document) {\r\n");
      out.write("      write(\"<STYLE TYPE='text/css'>\");\r\n");
      out.write("      if (NS4) {\r\n");
      out.write("        write(\".parent {position:absolute; visibility:visible}\");            write(\".child {position:absolute; visibility:visible}\");            write(\".regular {position:absolute; visibility:visible}\")\r\n");
      out.write("      }  else {\r\n");
      out.write("        write(\".child {display:none}\")\r\n");
      out.write("      }\r\n");
      out.write("      write(\"</STYLE>\");\r\n");
      out.write("    }\r\n");
      out.write("  }\r\n");
      out.write("  function getIndex(el) {\r\n");
      out.write("    ind = null;\r\n");
      out.write("    for (i=0; i<document.layers.length; i++) {\r\n");
      out.write("      whichEl = document.layers[i];\r\n");
      out.write("      if (whichEl.id == el) {\r\n");
      out.write("        ind = i;\r\n");
      out.write("        break;\r\n");
      out.write("      }\r\n");
      out.write("    }\r\n");
      out.write("    return ind;\r\n");
      out.write("  }\r\n");
      out.write("  function arrange() {\r\n");
      out.write("    nextY = document.layers[firstInd].pageY +document.layers[firstInd].document.height;\r\n");
      out.write("    for (i=firstInd+1; i<document.layers.length; i++) {\r\n");
      out.write("      whichEl = document.layers[i];\r\n");
      out.write("      if (whichEl.visibility != \"hide\") {\r\n");
      out.write("        whichEl.pageY = nextY;\r\n");
      out.write("        nextY += whichEl.document.height;\r\n");
      out.write("      }\r\n");
      out.write("    }\r\n");
      out.write("  }\r\n");
      out.write("  function initIt(){\r\n");
      out.write("    if (!ver4) return;\r\n");
      out.write("    if (NS4) {\r\n");
      out.write("      for (i=0; i<document.layers.length; i++) {\r\n");
      out.write("        whichEl = document.layers[i];\r\n");
      out.write("        if (whichEl.id.indexOf(\"Child\") != -1) whichEl.visibility = \"hide\";\r\n");
      out.write("      }\r\n");
      out.write("      arrange();\r\n");
      out.write("    } else {\r\n");
      out.write("      divColl = document.all.tags(\"DIV\");\r\n");
      out.write("      for (i=0; i<divColl.length; i++) {\r\n");
      out.write("        whichEl = divColl(i);\r\n");
      out.write("        if (whichEl.className == \"child\") whichEl.style.display = \"none\";\r\n");
      out.write("      }\r\n");
      out.write("    }\r\n");
      out.write("  }\r\n");
      out.write("  function expandIt(el) {\r\n");
      out.write("    if (!ver4) return;\r\n");
      out.write("    if (IE4) {\r\n");
      out.write("      whichEl1 = eval(el + \"Child\");\r\n");
      out.write("      for(i=1;i<=numTotal;i++){\r\n");
      out.write("        whichEl = eval(scores[i] + \"Child\");\r\n");
      out.write("        if(whichEl!=whichEl1) {\r\n");
      out.write("          whichEl.style.display = \"none\";\r\n");
      out.write("        }\r\n");
      out.write("      }\r\n");
      out.write("      whichEl1 = eval(el + \"Child\");\r\n");
      out.write("      if (whichEl1.style.display == \"none\") {\r\n");
      out.write("        whichEl1.style.display = \"block\";\r\n");
      out.write("      } else {\r\n");
      out.write("        whichEl1.style.display = \"none\";\r\n");
      out.write("      }\r\n");
      out.write("    } else {\r\n");
      out.write("      whichEl = eval(\"document.\" + el + \"Child\");\r\n");
      out.write("      for(i=1;i<=numTotal;i++){\r\n");
      out.write("        whichEl = eval(\"document.\" + scores[i] + \"Child\");\r\n");
      out.write("        if(whichEl!=whichEl1) {\r\n");
      out.write("          whichEl.visibility = \"hide\";\r\n");
      out.write("        }\r\n");
      out.write("      }\r\n");
      out.write("      if (whichEl.visibility == \"hide\") {\r\n");
      out.write("        whichEl.visibility = \"show\";\r\n");
      out.write("      } else {\r\n");
      out.write("        whichEl.visibility = \"hide\";\r\n");
      out.write("      }\r\n");
      out.write("      arrange();\r\n");
      out.write("    }\r\n");
      out.write("  }\r\n");
      out.write("  onload = initIt;\r\n");
      out.write("  </script>\r\n");
      out.write("  <base target=\"main\">\r\n");
      out.write("</head>\r\n");
      out.write("\r\n");
      out.write("<body>\r\n");
      out.write("\r\n");
      out.write("<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"180\" height=\"120%\">\r\n");
      out.write("  <tr>\r\n");
      out.write("    <td bgcolor=\"#C0D8F0\" width=\"180\" align=\"center\" valign=\"top\" background=\"../images/left_bj_main.jpg\">\r\n");
      out.write("      <table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" height=\"300\" width=\"100%\">\r\n");
      out.write("        <tr>\r\n");
      out.write("          <td valign=\"top\">\r\n");
      out.write("            <table border=\"0\" cellpadding=\"0\" cellspacing=\"0\">\r\n");
      out.write("              <tr>\r\n");
      out.write("                <td><img border=\"0\" width=\"0\" height=\"10\"></td>\r\n");
      out.write("              </tr>\r\n");
      out.write("            </table>\r\n");
      out.write("            <div id='KB1Parent' class='parent'>\r\n");
      out.write("              <table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\">\r\n");
      out.write("                <tr>\r\n");
      out.write("                  <td bgcolor=\"#6090D8\"><img border=\"0\" width=\"0\" height=\"1\"></td>\r\n");
      out.write("                </tr>\r\n");
      out.write("                <tr>\r\n");
      out.write("                  <td height=\"26\" bgcolor=\"#80A0E0\">    <img border=\"0\" src=\"../images/daoh_dian.gif\" width=\"12\" height=\"20\" align=\"absmiddle\">\r\n");
      out.write("                    <a href=\"../login.jsp\" target=\"_parent\" onClick=\"expandIt('KB1'); return false\"><font color=\"#FFFFFF\" class=\"dazi\">管理首页</font></a><font color=\"#FFFFFF\" class=\"dazi\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</font></td>\r\n");
      out.write("                </tr>\r\n");
      out.write("              </table>\r\n");
      out.write("            </div>\r\n");
      out.write("            <div id='KB1Child' class='child'>\r\n");
      out.write("\r\n");
      out.write("            </div>\r\n");
      out.write("\r\n");
      out.write("            <div id='KB2Parent' class='parent'>\r\n");
      out.write("              <table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\">\r\n");
      out.write("                <tr>\r\n");
      out.write("                  <td bgcolor=\"#6090D8\"><img border=\"0\" width=\"0\" height=\"1\"></td>\r\n");
      out.write("                </tr>\r\n");
      out.write("                <tr>\r\n");
      out.write("                  <td height=\"26\" bgcolor=\"#80A0E0\">    <img border=\"0\" src=\"../images/daoh_dian.gif\" width=\"12\" height=\"20\" align=\"absmiddle\">\r\n");
      out.write("                    <a href=\"#\" onClick=\"expandIt('KB2'); return false\"><font color=\"#FFFFFF\" class=\"dazi\">分类管理</font></a><font color=\"#FFFFFF\" class=\"dazi\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</font></td>\r\n");
      out.write("                </tr>\r\n");
      out.write("              </table>\r\n");
      out.write("            </div>\r\n");
      out.write("            <div id='KB2Child' class='child'>\r\n");
      out.write("              <table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\">\r\n");
      out.write("                <tr>\r\n");
      out.write("                  <td bgcolor=\"#6090D8\"><img border=\"0\" width=\"0\" height=\"1\"></td>\r\n");
      out.write("                </tr>\r\n");
      out.write("              </table>\r\n");
      out.write("              <table border=\"0\" cellpadding=\"0\" cellspacing=\"0\">\r\n");
      out.write("                <tr>\r\n");
      out.write("                  <td width=\"60\"></td>\r\n");
      out.write("                  <td>\r\n");
      out.write("                    <table border=\"0\" cellpadding=\"0\" cellspacing=\"3\" width=\"100\">\r\n");
      out.write("                      <tr>\r\n");
      out.write("                        <td></td>\r\n");

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -