/*
 * Generated by the Jasper component of Apache Tomcat
 * Version: Apache Tomcat/7.0.34
 * Generated at: 2013-01-21 02:31:23 UTC
 * Note: The last modified time of this file was set to
 *       the last modified time of the source file after
 *       generation to assist with modification tracking.
 */
package org.apache.jsp.admin;

import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import java.sql.*;
import tot.exception.*;
import tot.util.*;
import tot.bean.*;
import tot.dao.DaoFactory;
import java.util.*;
import java.sql.*;
import java.net.*;
import tot.global.Sysconfig;
import tot.global.Syslog;

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

  private static final javax.servlet.jsp.JspFactory _jspxFactory =
          javax.servlet.jsp.JspFactory.getDefaultFactory();

  private static java.util.Map<java.lang.String,java.lang.Long> _jspx_dependants;

  static {
    _jspx_dependants = new java.util.HashMap<java.lang.String,java.lang.Long>(3);
    _jspx_dependants.put("/admin/session.jsp", Long.valueOf(1309954872765L));
    _jspx_dependants.put("/admin/../inc/common.jsp", Long.valueOf(1188464978000L));
    _jspx_dependants.put("/WEB-INF/fmt.tld", Long.valueOf(1098682424000L));
  }

  private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005ffmt_005fsetLocale_0026_005fvalue_005fscope_005fnobody;
  private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005ffmt_005fbundle_0026_005fbasename;

  private javax.el.ExpressionFactory _el_expressionfactory;
  private org.apache.tomcat.InstanceManager _jsp_instancemanager;

  public java.util.Map<java.lang.String,java.lang.Long> getDependants() {
    return _jspx_dependants;
  }

  public void _jspInit() {
    _005fjspx_005ftagPool_005ffmt_005fsetLocale_0026_005fvalue_005fscope_005fnobody = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
    _005fjspx_005ftagPool_005ffmt_005fbundle_0026_005fbasename = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
    _el_expressionfactory = _jspxFactory.getJspApplicationContext(getServletConfig().getServletContext()).getExpressionFactory();
    _jsp_instancemanager = org.apache.jasper.runtime.InstanceManagerFactory.getInstanceManager(getServletConfig());
  }

  public void _jspDestroy() {
    _005fjspx_005ftagPool_005ffmt_005fsetLocale_0026_005fvalue_005fscope_005fnobody.release();
    _005fjspx_005ftagPool_005ffmt_005fbundle_0026_005fbasename.release();
  }

  public void _jspService(final javax.servlet.http.HttpServletRequest request, final javax.servlet.http.HttpServletResponse response)
        throws java.io.IOException, javax.servlet.ServletException {

    final javax.servlet.jsp.PageContext pageContext;
    javax.servlet.http.HttpSession session = null;
    final javax.servlet.ServletContext application;
    final javax.servlet.ServletConfig config;
    javax.servlet.jsp.JspWriter out = null;
    final java.lang.Object page = this;
    javax.servlet.jsp.JspWriter _jspx_out = null;
    javax.servlet.jsp.PageContext _jspx_page_context = null;


    try {
      response.setContentType("text/html; charset=UTF-8");
      pageContext = _jspxFactory.getPageContext(this, request, response,
      			"", 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\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");

request.setCharacterEncoding("utf-8");
//response.setDateHeader ("Expires", 0);
String contextPath = request.getContextPath();
String userLocale=request.getLocale().toString();
if(userLocale.equals(""))	userLocale="en";
pageContext.setAttribute("currentLocale",userLocale);

      out.write('\r');
      out.write('\n');
      if (_jspx_meth_fmt_005fsetLocale_005f0(_jspx_page_context))
        return;
      out.write('\r');
      out.write('\n');

response.setContentType("text/html; charset=UTF-8");

      out.write('\r');
      out.write('\n');
      out.write('\r');
      out.write('\n');

String totsearch_admin=null;

if(session.getAttribute("totsearch_admin")!=null){
	totsearch_admin=(String)session.getAttribute("totsearch_admin");
}

if(totsearch_admin==null || totsearch_admin.equals("")){
	response.sendRedirect("login.jsp");
}

      out.write("\r\n");
      out.write("<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Strict//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd\"> \r\n");
      out.write("<html xmlns=\"http://www.w3.org/1999/xhtml\">\r\n");
      if (_jspx_meth_fmt_005fbundle_005f0(_jspx_page_context))
        return;
      out.write("\r\n");
      out.write("</body>\r\n");
      out.write("</html>\r\n");
    } catch (java.lang.Throwable t) {
      if (!(t instanceof javax.servlet.jsp.SkipPageException)){
        out = _jspx_out;
        if (out != null && out.getBufferSize() != 0)
          try { out.clearBuffer(); } catch (java.io.IOException e) {}
        if (_jspx_page_context != null) _jspx_page_context.handlePageException(t);
        else throw new ServletException(t);
      }
    } finally {
      _jspxFactory.releasePageContext(_jspx_page_context);
    }
  }

  private boolean _jspx_meth_fmt_005fsetLocale_005f0(javax.servlet.jsp.PageContext _jspx_page_context)
          throws java.lang.Throwable {
    javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
    javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
    //  fmt:setLocale
    org.apache.taglibs.standard.tag.rt.fmt.SetLocaleTag _jspx_th_fmt_005fsetLocale_005f0 = (org.apache.taglibs.standard.tag.rt.fmt.SetLocaleTag) _005fjspx_005ftagPool_005ffmt_005fsetLocale_0026_005fvalue_005fscope_005fnobody.get(org.apache.taglibs.standard.tag.rt.fmt.SetLocaleTag.class);
    _jspx_th_fmt_005fsetLocale_005f0.setPageContext(_jspx_page_context);
    _jspx_th_fmt_005fsetLocale_005f0.setParent(null);
    // /admin/../inc/common.jsp(19,0) name = value type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_fmt_005fsetLocale_005f0.setValue((java.lang.Object) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${currentLocale}", java.lang.Object.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false));
    // /admin/../inc/common.jsp(19,0) name = scope type = java.lang.String reqTime = false required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_fmt_005fsetLocale_005f0.setScope("page");
    int _jspx_eval_fmt_005fsetLocale_005f0 = _jspx_th_fmt_005fsetLocale_005f0.doStartTag();
    if (_jspx_th_fmt_005fsetLocale_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005ffmt_005fsetLocale_0026_005fvalue_005fscope_005fnobody.reuse(_jspx_th_fmt_005fsetLocale_005f0);
      return true;
    }
    _005fjspx_005ftagPool_005ffmt_005fsetLocale_0026_005fvalue_005fscope_005fnobody.reuse(_jspx_th_fmt_005fsetLocale_005f0);
    return false;
  }

  private boolean _jspx_meth_fmt_005fbundle_005f0(javax.servlet.jsp.PageContext _jspx_page_context)
          throws java.lang.Throwable {
    javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
    javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
    //  fmt:bundle
    org.apache.taglibs.standard.tag.rt.fmt.BundleTag _jspx_th_fmt_005fbundle_005f0 = (org.apache.taglibs.standard.tag.rt.fmt.BundleTag) _005fjspx_005ftagPool_005ffmt_005fbundle_0026_005fbasename.get(org.apache.taglibs.standard.tag.rt.fmt.BundleTag.class);
    _jspx_th_fmt_005fbundle_005f0.setPageContext(_jspx_page_context);
    _jspx_th_fmt_005fbundle_005f0.setParent(null);
    // /admin/left.jsp(6,0) name = basename type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_fmt_005fbundle_005f0.setBasename("resources.totcms_i18n");
    int _jspx_eval_fmt_005fbundle_005f0 = _jspx_th_fmt_005fbundle_005f0.doStartTag();
    if (_jspx_eval_fmt_005fbundle_005f0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
      if (_jspx_eval_fmt_005fbundle_005f0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
        out = _jspx_page_context.pushBody();
        _jspx_th_fmt_005fbundle_005f0.setBodyContent((javax.servlet.jsp.tagext.BodyContent) out);
        _jspx_th_fmt_005fbundle_005f0.doInitBody();
      }
      do {
        out.write("\r\n");
        out.write("<head>\r\n");
        out.write("<meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\r\n");
        out.write("<title>navigation</title>\r\n");
        out.write("<link href=\"style/global.css\" rel=\"stylesheet\" type=\"text/css\" />\r\n");
        out.write("<style type=\"text/css\">\r\n");
        out.write("<!--\r\n");
        out.write("body {\r\n");
        out.write("\tSCROLLBAR-FACE-COLOR: #6a84ae;\r\n");
        out.write("\tSCROLLBAR-HIGHLIGHT-COLOR: #aaaaff;\r\n");
        out.write("\tSCROLLBAR-SHADOW-COLOR: #335997;\r\n");
        out.write("\tSCROLLBAR-3DLIGHT-COLOR: #335997;\r\n");
        out.write("\tSCROLLBAR-ARROW-COLOR: #ffffff;\r\n");
        out.write("\tSCROLLBAR-TRACK-COLOR: #335997;\r\n");
        out.write("\tSCROLLBAR-DARKSHADOW-COLOR: black;\r\n");
        out.write("\tmargin:0 0 0 5px;\r\n");
        out.write("\tbackground-color:#336699;\r\n");
        out.write("}\r\n");
        out.write(".divHead {\r\n");
        out.write("\tBORDER-RIGHT: #336699 1px solid;\r\n");
        out.write("\tBORDER-TOP: #336699 1px solid;\r\n");
        out.write("\tBORDER-LEFT: #336699 0px solid;\r\n");
        out.write("\tWIDTH: 90%;\r\n");
        out.write("\theight:24px;\r\n");
        out.write("\tCURSOR: default;\r\n");
        out.write("\tBORDER-BOTTOM: #336699 1px solid;\r\n");
        out.write("\tBACKGROUND-COLOR: #336699;\r\n");
        out.write("\tmargin:0;\r\n");
        out.write("\tpadding:0;\r\n");
        out.write("}\r\n");
        out.write(".divChild {\r\n");
        out.write("\tBORDER-RIGHT: #6699cc 1px solid;\r\n");
        out.write("\tBORDER-TOP: #003366 1px solid;\r\n");
        out.write("\tBORDER-LEFT: #003366 1px solid;\r\n");
        out.write("\tWIDTH: 90%;\r\n");
        out.write("\tBORDER-BOTTOM: #6699cc 1px solid;\r\n");
        out.write("\tBACKGROUND-COLOR: #336699;\r\n");
        out.write("\tmargin:0;\r\n");
        out.write("\tpadding:0;\r\n");
        out.write("}\r\n");
        out.write(".childLeft {\r\n");
        out.write("\tBORDER-RIGHT: #336699 1px solid;\r\n");
        out.write("\tBORDER-TOP: #336699 1px solid;\r\n");
        out.write("\tBORDER-LEFT: #336699 1px solid;\r\n");
        out.write("\tWIDTH: 90%;\r\n");
        out.write("\theight:24px;\r\n");
        out.write("\tCURSOR: default;\r\n");
        out.write("\tBORDER-BOTTOM: #336699 1px solid;\r\n");
        out.write("\tBACKGROUND-COLOR: #336699;\r\n");
        out.write("\tmargin:0;\r\n");
        out.write("\tpadding:0 0 0 20px;\r\n");
        out.write("}\r\n");
        out.write(".style1 {color: #FFFFFF}\r\n");
        out.write("-->\r\n");
        out.write("</style></head>\r\n");
        out.write("<SCRIPT>\r\n");
        out.write("var MSIE=0;\r\n");
        out.write("if(navigator.appName == 'Microsoft Internet Explorer')MSIE=1;\r\n");
        out.write("function MouseOver(item, type) {\r\n");
        out.write("\titem.style.border='1px solid';\r\n");
        out.write("\tif(type==0) {\r\n");
        out.write("\t\titem.style.backgroundColor='#6699CC';\r\n");
        out.write("\t\titem.style.borderLeftColor='#99CCFF';\r\n");
        out.write("\t\titem.style.borderTopColor='#99CCFF';\r\n");
        out.write("\t\titem.style.borderRightColor='#003366';\r\n");
        out.write("\t\titem.style.borderBottomColor='#003366';\r\n");
        out.write("\t} else if(type==1) {\r\n");
        out.write("\t\titem.style.backgroundColor='#6699CC';\r\n");
        out.write("\t\titem.style.borderLeftColor='#99CCFF';\r\n");
        out.write("\t\titem.style.borderTopColor='#99CCFF';\r\n");
        out.write("\t\titem.style.borderRightColor='#003366';\r\n");
        out.write("\t\titem.style.borderBottomColor='#003366';\r\n");
        out.write("\t}\r\n");
        out.write("}\r\n");
        out.write("\r\n");
        out.write("function MouseOut(item, type) {\r\n");
        out.write("\titem.style.border='1px solid';\r\n");
        out.write("\tif(type==0) {\r\n");
        out.write("\t\titem.style.backgroundColor='#336699';\r\n");
        out.write("\t\titem.style.borderColor='#336699';\r\n");
        out.write("\t} else if(type==1) {\t\r\n");
        out.write("\t\titem.style.backgroundColor='#336699';\r\n");
        out.write("\t\titem.style.borderColor='#336699';\r\n");
        out.write("\t}\r\n");
        out.write("}\r\n");
        out.write("function showHide(obj){\t\r\n");
        out.write("\tif(document.getElementById(obj).style.display==\"none\"){\r\n");
        out.write("\t\tdocument.getElementById(obj).style.display=\"block\";\r\n");
        out.write("\t}\r\n");
        out.write("\telse{\r\n");
        out.write("\t\tdocument.getElementById(obj).style.display=\"none\"\r\n");
        out.write("\t}\r\n");
        out.write("}\r\n");
        out.write("</SCRIPT>\r\n");
        out.write("<body>\r\n");
        out.write("<div class=\"divHead\">\r\n");
        out.write("  <div align=\"center\" class=\"style1\" style=\"padding-top:5px;\">\r\n");
        out.write("  <span id=\"trigFold\"><a href=\"javascript:unfold()\" class=\"w\"><img src=\"images/tree/minus.gif\" alt=\"折叠\" width=\"16\" height=\"16\" border=\"0\" align=\"absmiddle\"></a></span>\r\n");
        out.write("  <strong>淘特站内搜索引擎</strong>(java版)</div>\r\n");
        out.write("</div>\r\n");
        out.write("<div class=\"divChild\">\r\n");
        out.write("  <div class=\"childLeft\" onMouseOver=\"javascript:MouseOver(this,1)\" onMouseOut=\"javascript:MouseOut(this,1)\"><img src=\"images/icon/home.gif\" width=\"22\" height=\"22\" align=\"absmiddle\" /> <a href=\"main.jsp\" target=\"mainFrame\" class=\"white\">Home</a> <img src=\"images/icon/logoff.gif\" width=\"22\" height=\"22\" align=\"absmiddle\" /> <a href=\"logout.jsp\" target=\"_parent\" class=\"white\">退出</a></div>\r\n");
        out.write("</div>\r\n");
        out.write("<div class=\"divChild\" id=\"d01\"></div>\r\n");
        out.write("<!-- news manage -->\r\n");
        out.write("<div class=\"divHead\" onMouseOver=\"javascript:MouseOver(this,1)\" onMouseOut=\"javascript:MouseOut(this,1)\" onClick=\"showHide('d11')\">\r\n");
        out.write("<img src=\"images/icon/template.gif\" width=\"18\" height=\"18\" align=\"absmiddle\"><span class=\"style10 style1\"> \r\n");
        out.write("索引管理</span></div>\r\n");
        out.write("<div class=\"divChild\" id=\"d11\">\t\r\n");
        out.write("\t<div class=\"childLeft\" onMouseOver=\"javascript:MouseOver(this,1)\" onMouseOut=\"javascript:MouseOut(this,1)\"><img src=\"images/icon/folder1.gif\" width=\"18\" height=\"18\" align=\"absmiddle\" /> <a href=\"index-update.jsp\" target=\"mainFrame\" class=\"white\"> | 更新索引 |</a></div>\r\n");
        out.write("  <div class=\"childLeft\" onMouseOver=\"javascript:MouseOver(this,1)\" onMouseOut=\"javascript:MouseOut(this,1)\"><img src=\"images/icon/folder1.gif\" width=\"18\" height=\"18\" align=\"absmiddle\" /> <a href=\"rebuildindex.jsp\" target=\"mainFrame\" class=\"white\"> | 重置索引 |</a></div>\r\n");
        out.write("  <div class=\"childLeft\" onMouseOver=\"javascript:MouseOver(this,1)\" onMouseOut=\"javascript:MouseOut(this,1)\"><img src=\"images/icon/folder1.gif\" width=\"18\" height=\"18\" align=\"absmiddle\" /> <a href=\"index-del.jsp\" target=\"mainFrame\" class=\"white\"> | 删除索引 |</a></div>\r\n");
        out.write("  <div class=\"childLeft\" onMouseOver=\"javascript:MouseOver(this,1)\" onMouseOut=\"javascript:MouseOut(this,1)\"><img src=\"images/icon/folder1.gif\" width=\"18\" height=\"18\" align=\"absmiddle\" /> <a href=\"getxml.jsp\" target=\"mainFrame\" class=\"white\"> | XML接口 |</a></div>\r\n");
        out.write("</div>\r\n");
        out.write("<!-- news manage -->\r\n");
        out.write("<div class=\"divChild\" id=\"d01\"></div>  \r\n");
        out.write("  <div class=\"divChild\" id=\"d08\"> </div>\r\n");
        out.write("<div class=\"divHead\" onMouseOver=\"javascript:MouseOver(this,1)\" onMouseOut=\"javascript:MouseOut(this,1)\" onClick=\"showHide('d06')\">\r\n");
        out.write("<img src=\"images/icon/system.gif\" width=\"22\" height=\"22\" align=\"absmiddle\"><span class=\"style10 style1\"> \r\n");
        out.write("系统配置</span></div>\r\n");
        out.write("<div class=\"divChild\" id=\"d06\">\r\n");
        out.write("  <div class=\"childLeft\" onMouseOver=\"javascript:MouseOver(this,1)\" onMouseOut=\"javascript:MouseOut(this,1)\"><img src=\"images/icon/folder1.gif\" width=\"18\" height=\"18\" align=\"absmiddle\" /> <a href=\"config.jsp\" target=\"mainFrame\" class=\"white\"> | 参数修改 |</a></div>\r\n");
        out.write("</div>\r\n");
        out.write("<script language=\"javascript\">\r\n");
        out.write("function showHide(obj){\t\r\n");
        out.write("\tif(document.getElementById(obj).style.display==\"none\"){\r\n");
        out.write("\t\tdocument.getElementById(obj).style.display=\"block\";\r\n");
        out.write("\t}\r\n");
        out.write("\telse{\r\n");
        out.write("\t\tdocument.getElementById(obj).style.display=\"none\";\r\n");
        out.write("\t}\r\n");
        out.write("}\r\n");
        out.write("function exitsDiv(divid){\r\n");
        out.write("\tvar chkid=document.getElementById(divid);\r\n");
        out.write("\tif(chkid != null){return true; }\r\n");
        out.write("\telse {return false; }\r\n");
        out.write("}\r\n");
        out.write("function unfold(){\r\n");
        out.write("\tfor(i=0;i<30;i++){\r\n");
        out.write("\t\tvar s=(i<10?(\"0\"+i):(i+\"\"));\r\n");
        out.write("\t\tif(exitsDiv(\"d\"+s)){\r\n");
        out.write("\t\t\tdocument.getElementById(\"d\"+s).style.display=\"none\";\r\n");
        out.write("\t\t}\r\n");
        out.write("\t}\r\n");
        out.write("\tdocument.getElementById(\"trigFold\").innerHTML='<a href=\"javascript:foldAll()\" class=\"w\"><img src=\"images/tree/plus.gif\" alt=\"unfold\" width=\"16\" height=\"16\" border=\"0\" align=\"absmiddle\"></a>'\r\n");
        out.write("}\r\n");
        out.write("function foldAll(){\r\n");
        out.write("\tfor(i=0;i<30;i++){\r\n");
        out.write("\t\tvar s=(i<10?(\"0\"+i):(i+\"\"));\r\n");
        out.write("\t\tif(exitsDiv(\"d\"+s)){\r\n");
        out.write("\t\t\tdocument.getElementById(\"d\"+s).style.display=\"block\";\r\n");
        out.write("\t\t}\r\n");
        out.write("\t}\r\n");
        out.write("\tdocument.getElementById(\"trigFold\").innerHTML='<a href=\"javascript:unfold()\" class=\"w\"><img src=\"images/tree/minus.gif\" alt=\"fold\" width=\"16\" height=\"16\" border=\"0\" align=\"absmiddle\"></a>'\r\n");
        out.write("}\r\n");
        out.write("</script>\r\n");
        int evalDoAfterBody = _jspx_th_fmt_005fbundle_005f0.doAfterBody();
        if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
          break;
      } while (true);
      if (_jspx_eval_fmt_005fbundle_005f0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
        out = _jspx_page_context.popBody();
      }
    }
    if (_jspx_th_fmt_005fbundle_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005ffmt_005fbundle_0026_005fbasename.reuse(_jspx_th_fmt_005fbundle_005f0);
      return true;
    }
    _005fjspx_005ftagPool_005ffmt_005fbundle_0026_005fbasename.reuse(_jspx_th_fmt_005fbundle_005f0);
    return false;
  }
}
