/*
 * Generated by the Jasper component of Apache Tomcat
 * Version: ......
 * Generated at: 2022-11-10 06:43:16 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;

import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import wnp.util.testMe;
import wnp.reg.serverReg;
import java.util.Map;

public final class admin_005fregist_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;

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

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

  public javax.el.ExpressionFactory _jsp_getExpressionFactory() {
    if (_el_expressionfactory == null) {
      synchronized (this) {
        if (_el_expressionfactory == null) {
          _el_expressionfactory = _jspxFactory.getJspApplicationContext(getServletConfig().getServletContext()).getExpressionFactory();
        }
      }
    }
    return _el_expressionfactory;
  }

  public org.apache.tomcat.InstanceManager _jsp_getInstanceManager() {
    if (_jsp_instancemanager == null) {
      synchronized (this) {
        if (_jsp_instancemanager == null) {
          _jsp_instancemanager = org.apache.jasper.runtime.InstanceManagerFactory.getInstanceManager(getServletConfig());
        }
      }
    }
    return _jsp_instancemanager;
  }

  public void _jspInit() {
  }

  public void _jspDestroy() {
  }

  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,
      			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("\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("<!DOCTYPE html PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">\r\n");
      out.write("<html>\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>授权管理</title>\r\n");
      out.write("<link rel=\"stylesheet\" type=\"text/css\" href=\"css/easyui/themes/default/easyui.css\"/>\r\n");
      out.write("<link rel=\"stylesheet\" type=\"text/css\" href=\"css/easyui/themes/icon.css\"/>\r\n");
      out.write("<script type=\"text/javascript\" src=\"js/easyui/jquery.min.js\"></script>\r\n");
      out.write("<script type=\"text/javascript\" src=\"js/easyui/jquery.easyui.min.js\"></script>\r\n");
      out.write("<script type=\"text/javascript\" src=\"js/myjs/myrpc.js\"></script>\r\n");
      out.write("<script type=\"text/javascript\" src=\"js/jquery/json.js\"></script>\r\n");

	Object usercode=session.getAttribute("usercode");
	Object username=session.getAttribute("username");
	if (usercode==null) 	
	response.getWriter().write("<script>alert('请先登录。');location.href='admin_login.jsp'</script>");


      out.write("\r\n");
      out.write("<script language=\"javascript\">\r\n");
      out.write("function upreg(){\r\n");
      out.write("\tvar filename=document.getElementById(\"file1\").value;\r\n");
      out.write("\tif (filename!=\"\")\r\n");
      out.write("\t{\t\r\n");
      out.write("\t\tdocument.getElementById(\"regform\").submit();\r\n");
      out.write("\t}else\r\n");
      out.write("\t{\r\n");
      out.write("\t\talert(\"请先添加授权文件\");\r\n");
      out.write("\t}\t\r\n");
      out.write("\t\t\r\n");
      out.write("}\r\n");
      out.write("function logout()\r\n");
      out.write("{\r\n");
      out.write("\tif (!confirm('确定要注销登录吗？')) return;\r\n");
      out.write("\twindow.location.href='regLogout';\r\n");
      out.write("}\r\n");
      out.write("</script>\r\n");
      out.write("<script type=\"text/javascript\">\r\n");
      out.write("\t\t\r\n");
      out.write("\t\tvar toolbar_pc = [{\r\n");
      out.write("\t\t\ttext:'禁用',\r\n");
      out.write("\t\t\ticonCls:'icon-no',\r\n");
      out.write("\t\t\thandler:function()\r\n");
      out.write("\t\t\t{\r\n");
      out.write("\t\t\t\tnolist($('#terminal_pclist'));\r\n");
      out.write("\t\t\t\t\r\n");
      out.write("\t\t\t}\r\n");
      out.write("\t\t},'-',{\r\n");
      out.write("\t\t\ttext:'启用',\r\n");
      out.write("\t\t\ticonCls:'icon-ok',\r\n");
      out.write("\t\t\thandler:function()\r\n");
      out.write("\t\t\t{\r\n");
      out.write("\t\t\t\toklist($('#terminal_pclist'));\r\n");
      out.write("\t\t\t}\r\n");
      out.write("\t\t},'-',{\r\n");
      out.write("\t\t\ttext:'暂停',\r\n");
      out.write("\t\t\ticonCls:'icon-lock',\r\n");
      out.write("\t\t\thandler:function()\r\n");
      out.write("\t\t\t{\r\n");
      out.write("\t\t\t\tpauselist($('#terminal_pclist'));\r\n");
      out.write("\t\t\t}\r\n");
      out.write("\t\t},'-',{\r\n");
      out.write("\t\t\ttext:'删除',\r\n");
      out.write("\t\t\ticonCls:'icon-cut',\r\n");
      out.write("\t\t\thandler:function()\r\n");
      out.write("\t\t\t{\r\n");
      out.write("\t\t\t\tdellist($('#terminal_pclist'));\r\n");
      out.write("\t\t\t}\r\n");
      out.write("\t\t},'-',{\r\n");
      out.write("\t\t\ttext:'修改备注',\r\n");
      out.write("\t\t\ticonCls:'icon-edit',\r\n");
      out.write("\t\t\thandler:function()\r\n");
      out.write("\t\t\t{\r\n");
      out.write("\t\t\t\teditlist($('#terminal_pclist'));\r\n");
      out.write("            }\r\n");
      out.write("\t\t\t\t\r\n");
      out.write("\t\t\t\r\n");
      out.write("\t\t},'-',{\r\n");
      out.write("\t\t\ttext:'保存备注',\r\n");
      out.write("\t\t\ticonCls:'icon-save',\r\n");
      out.write("\t\t\thandler:function()\r\n");
      out.write("\t\t\t{\r\n");
      out.write("\t\t\t\tsavelist($('#terminal_pclist'));\r\n");
      out.write("\t\t\t}\r\n");
      out.write("\t\t},'-',{\r\n");
      out.write("\t\t\ttext:'取消修改',\r\n");
      out.write("\t\t\ticonCls:'icon-cancel',\r\n");
      out.write("\t\t\thandler:function()\r\n");
      out.write("\t\t\t{\t\t\t\r\n");
      out.write("\t\t\t\tcanceleditlist($('#terminal_pclist'));\r\n");
      out.write("\t\t\t}\r\n");
      out.write("\t\t}];\r\n");
      out.write("</script>\r\n");
      out.write("<script type=\"text/javascript\">\r\n");
      out.write("\t\tvar toolbar_mobile = [{\r\n");
      out.write("\t\t\ttext:'禁用',\r\n");
      out.write("\t\t\ticonCls:'icon-no',\r\n");
      out.write("\t\t\thandler:function()\r\n");
      out.write("\t\t\t{\r\n");
      out.write("\t\t\t\tnolist($('#terminal_mobilelist'));\r\n");
      out.write("\t\t\t}\r\n");
      out.write("\t\t},'-',{\r\n");
      out.write("\t\t\ttext:'启用',\r\n");
      out.write("\t\t\ticonCls:'icon-ok',\r\n");
      out.write("\t\t\thandler:function()\r\n");
      out.write("\t\t\t{\r\n");
      out.write("\t\t\t\toklist($('#terminal_mobilelist'));\r\n");
      out.write("\t\t\t}\r\n");
      out.write("\t\t},'-',{\r\n");
      out.write("\t\t\ttext:'暂停',\r\n");
      out.write("\t\t\ticonCls:'icon-lock',\r\n");
      out.write("\t\t\thandler:function()\r\n");
      out.write("\t\t\t{\r\n");
      out.write("\t\t\t\tpauselist($('#terminal_mobilelist'));\r\n");
      out.write("\t\t\t}\r\n");
      out.write("\t\t},'-',{\r\n");
      out.write("\t\t\ttext:'删除',\r\n");
      out.write("\t\t\ticonCls:'icon-cut',\r\n");
      out.write("\t\t\thandler:function()\r\n");
      out.write("\t\t\t{\r\n");
      out.write("\t\t\t\tdellist($('#terminal_mobilelist'));\r\n");
      out.write("\t\t\t}\r\n");
      out.write("\t\t},'-',{\r\n");
      out.write("\t\t\ttext:'修改备注',\r\n");
      out.write("\t\t\ticonCls:'icon-edit',\r\n");
      out.write("\t\t\thandler:function()\r\n");
      out.write("\t\t\t{\r\n");
      out.write("\t\t\t\teditlist($('#terminal_mobilelist'));\r\n");
      out.write("            }\r\n");
      out.write("\t\t\t\t\r\n");
      out.write("\t\t\t\r\n");
      out.write("\t\t},'-',{\r\n");
      out.write("\t\t\ttext:'保存备注',\r\n");
      out.write("\t\t\ticonCls:'icon-save',\r\n");
      out.write("\t\t\thandler:function()\r\n");
      out.write("\t\t\t{\r\n");
      out.write("\t\t\t\tsavelist($('#terminal_mobilelist'));\r\n");
      out.write("\t\t\t}\r\n");
      out.write("\t\t},'-',{\r\n");
      out.write("\t\t\ttext:'取消修改',\r\n");
      out.write("\t\t\ticonCls:'icon-cancel',\r\n");
      out.write("\t\t\thandler:function()\r\n");
      out.write("\t\t\t{\r\n");
      out.write("\t\t\t\tcanceleditlist($('#terminal_mobilelist'));\r\n");
      out.write("\t\t\t}\r\n");
      out.write("\t\t}];\r\n");
      out.write("</script>\r\n");
      out.write("<script type=\"text/javascript\">\r\n");
      out.write("\t\tvar editRow=undefined;\r\n");
      out.write("\t\tvar toolbar_server = [{\r\n");
      out.write("\t\t\ttext:'禁用',\r\n");
      out.write("\t\t\ticonCls:'icon-no',\r\n");
      out.write("\t\t\thandler:function()\r\n");
      out.write("\t\t\t{\r\n");
      out.write("\t\t\t\tnolist($('#terminal_serverlist'));\r\n");
      out.write("\t\t\t}\r\n");
      out.write("\t\t},'-',{\r\n");
      out.write("\t\t\ttext:'启用',\r\n");
      out.write("\t\t\ticonCls:'icon-ok',\r\n");
      out.write("\t\t\thandler:function()\r\n");
      out.write("\t\t\t{\r\n");
      out.write("\t\t\t\toklist2($('#terminal_serverlist'));\r\n");
      out.write("\t\t\t}\r\n");
      out.write("\t\t},'-',{\r\n");
      out.write("\t\t\ttext:'暂停',\r\n");
      out.write("\t\t\ticonCls:'icon-lock',\r\n");
      out.write("\t\t\thandler:function()\r\n");
      out.write("\t\t\t{\r\n");
      out.write("\t\t\t\tpauselist($('#terminal_serverlist'));\r\n");
      out.write("\t\t\t}\r\n");
      out.write("\t\t},'-',{\r\n");
      out.write("\t\t\ttext:'删除',\r\n");
      out.write("\t\t\ticonCls:'icon-cut',\r\n");
      out.write("\t\t\thandler:function()\r\n");
      out.write("\t\t\t{\r\n");
      out.write("\t\t\t\tdellist($('#terminal_serverlist'));\r\n");
      out.write("\t\t\t}\r\n");
      out.write("\t\t},'-',{\r\n");
      out.write("\t\t\ttext:'修改授权',\r\n");
      out.write("\t\t\ticonCls:'icon-edit',\r\n");
      out.write("\t\t\thandler:function()\r\n");
      out.write("\t\t\t{\r\n");
      out.write("\t\t\t\teditlist($('#terminal_serverlist'));\r\n");
      out.write("            }\r\n");
      out.write("\t\t\t\t\r\n");
      out.write("\t\t\t\r\n");
      out.write("\t\t},'-',{\r\n");
      out.write("\t\t\ttext:'保存授权',\r\n");
      out.write("\t\t\ticonCls:'icon-save',\r\n");
      out.write("\t\t\thandler:function()\r\n");
      out.write("\t\t\t{\r\n");
      out.write("\t\t\t\tsavelist2($('#terminal_serverlist'));\r\n");
      out.write("\t\t\t}\r\n");
      out.write("\t\t},'-',{\r\n");
      out.write("\t\t\ttext:'取消修改',\r\n");
      out.write("\t\t\ticonCls:'icon-cancel',\r\n");
      out.write("\t\t\thandler:function()\r\n");
      out.write("\t\t\t{\r\n");
      out.write("\t\t\t\tcanceleditlist($('#terminal_serverlist'));\r\n");
      out.write("\t\t\t}\r\n");
      out.write("\t\t}];\r\n");
      out.write("\t\t\r\n");
      out.write("\t\t\r\n");
      out.write("</script>\r\n");
      out.write("<script type=\"text/javascript\">\r\n");
      out.write("function showregmode(type){\r\n");
      out.write("\tif (type==1){\r\n");
      out.write("\t\t$E(\"regform\").style.display=\"\";\r\n");
      out.write("\t\t$E(\"regform2\").style.display=\"none\";\r\n");
      out.write("\t}else{\r\n");
      out.write("\t\t$E(\"regform2\").style.display=\"\";\r\n");
      out.write("\t\t$E(\"regform\").style.display=\"none\";\r\n");
      out.write("\t}\t\t\r\n");
      out.write("}\r\n");
      out.write("\r\n");
      out.write("function saveregurl(){\r\n");
      out.write("\tvar regurl=$E(\"txt_regurl\").value;\r\n");
      out.write("\tif (regurl==\"\"){\r\n");
      out.write("\t\talert(\"请先输入授权服务器的地址\");\r\n");
      out.write("\t\treturn;\r\n");
      out.write("\t}\r\n");
      out.write("\tvar data=$myrpc('wnp.reg.serverReg','autoSign', \r\n");
      out.write("\t\t\t{'url':regurl\r\n");
      out.write("\t\t\t });\r\n");
      out.write("\t\r\n");
      out.write("\talert(data.message);\r\n");
      out.write("\tif (data.success) window.location=\"admin_regist.jsp\";\r\n");
      out.write("}\r\n");
      out.write("\r\n");
      out.write("</script>\r\n");
      out.write("</head>\r\n");
      out.write("\r\n");
      out.write("<body>\r\n");
      out.write("\t");

		boolean isreg=testMe.testValid();
		boolean isexpire=testMe.testExpire();
		int days=testMe.getLeftDays();
		Map<String,String> data=serverReg.getRegInfo();
		String customer_id=data.get("customer_id");
		String customer_code=data.get("customer_code");
		String customer_name=data.get("customer_name");
		String customer_firstdate=data.get("customer_firstdate");
		String customer_enddate=data.get("customer_enddate");
		String customer_count=data.get("customer_count");
		String customer_count2=data.get("customer_count2");
		String customer_count3=data.get("customer_count3");
		String customer_status=data.get("customer_status");
		String customer_regcode=data.get("customer_regcode");
		String customer_regtype=data.get("customer_regtype");
		data=null;
		
	
      out.write("\r\n");
      out.write("\t<h2 align=\"center\">授权管理</h2>\r\n");
      out.write("\t当前用户：");
      out.print(username );
      out.write("&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href=\"changepsw.jsp\">修改密码</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href='javascript:logout();'>注销登录</a>\r\n");
      out.write("\t<hr></hr>\r\n");
      out.write("\t<table id=\"reginfo\" cellspacing=15px>\r\n");
      out.write("\t\t<tr>\r\n");
      out.write("\t\t\t<td>客户编码：</td><td>");
      out.print(customer_code );
      out.write("</td>\r\n");
      out.write("\t\t\t<td >客户名称：</td><td colspan=3>");
      out.print(customer_name );
      out.write("</td>\t\r\n");
      out.write("\t\t\t<td>授权方式：</td><td>");
      out.print(customer_regtype );
      out.write("</td>\r\n");
      out.write("\t\t\t");
if (!isreg&&!isexpire){ 
      out.write("\r\n");
      out.write("\t\t\t<td>剩余试用天数：");
      out.print(days );
      out.write("</td>\t\r\n");
      out.write("\t\t\t");
} 
      out.write("\t\r\n");
      out.write("\t\t</tr>\r\n");
      out.write("\t\t<tr>\t\t\t\r\n");
      out.write("\t\t\t<td>授权状态：</td><td><font color=rgb(0,0,255)>");
      out.print(customer_status );
      out.write("</font></td>\t\r\n");
      out.write("\t\t\t<td>客户标识码：</td><td colspan=1>");
      out.print(customer_id );
      out.write("</td>\r\n");
      out.write("\t\t\t<td>首次安装时间：</td><td>");
      out.print(customer_firstdate );
      out.write("</td>\t\r\n");
      out.write("\t\t</tr>\r\n");
      out.write("\t\t<tr>\r\n");
      out.write("\t\t\t<td>有效期截止：</td><td>");
      out.print(customer_enddate );
      out.write("</td>\t\r\n");
      out.write("\t\t\t<td>服务器数：</td><td>");
      out.print(customer_count3 );
      out.write("</td>\t\r\n");
      out.write("\t\t\t<td>PC端授权数：</td><td>");
      out.print(customer_count );
      out.write("</td>\t\r\n");
      out.write("\t\t\t<td>移动端授权数：</td><td>");
      out.print(customer_count2 );
      out.write("</td>\r\n");
      out.write("\t\t</tr>\r\n");
      out.write("\t\t<tr>\r\n");
      out.write("\t\t\t<td>授权码：</td><td colspan=6>");
      out.print(customer_regcode );
      out.write("</td>\r\n");
      out.write("\t\t</tr>\r\n");
      out.write("\t\t<tr>\r\n");
      out.write("\t\t<td>更改授权方式：</td>\r\n");
      out.write("\t\t\t<td><input type=\"radio\" checked value=\"1\" name=\"regmode\" onclick=\"showregmode(1);\">文件授权</td>\r\n");
      out.write("\t\t\t<td><input type=\"radio\" value=\"2\" name=\"regmode\" onclick=\"showregmode(2);\">联机授权</td>\t\r\n");
      out.write("\t\t</tr>\t\t\r\n");
      out.write("\t</table>\r\n");
      out.write("\t<form id=\"regform\" name=\"regform\" method=\"post\" action=\"upload\" ENCTYPE=\"multipart/form-data\">\t\r\n");
      out.write("\t\t<table width=\"60%\">\r\n");
      out.write("\t\t<tr>\r\n");
      out.write("\t\t<td><input style=\"border:1 dashed #ffa0a0;height:21px;width:60%\" type=\"file\" name=\"file1\" id=\"file1\" class='textbox' /></td>\r\n");
      out.write("\t\t<td><button type=\"button\" name=\"btn_submit\" onclick=\"upreg()\">提交授权文件</button></td>\t\r\n");
      out.write("\t\t</tr>\r\n");
      out.write("\t\t</table>\r\n");
      out.write("\t</form>\r\n");
      out.write("\t\r\n");
      out.write("\t<div id=\"regform2\" >\r\n");
      out.write("\t<table width=\"60%\">\r\n");
      out.write("\t<tr>\r\n");
      out.write("\t\t<td>授权服务器地址：</td>\r\n");
      out.write("\t\t<td><input style=\"border:1 dashed #ffa0a0;height:21px;width:90%\" type=\"text\" name=\"txt_regurl\" id=\"txt_regurl\" /></td>\r\n");
      out.write("\t\t<td><button type=\"button\" name=\"btn_saveurl\" onclick=\"saveregurl()\">申请授权</button></td>\r\n");
      out.write("\t</tr>\r\n");
      out.write("\t</table>\t\r\n");
      out.write("\t</div>\r\n");
      out.write("\t\r\n");
      out.write("\t\r\n");
      out.write("\t<script type=\"text/javascript\">\r\n");
      out.write("\tshowregmode(1);\r\n");
      out.write("\t</script>\r\n");
      out.write("\t<p></p>\r\n");
      out.write("\t<div class=\"easyui-tabs\" style=\"width:auto;height:500px;\">\r\n");
      out.write("\t\t<div title=\"PC端列表\" style=\"padding:10px;\">\r\n");
      out.write("\t\t\t<table id=\"terminal_pclist\"\r\n");
      out.write("\t\t\t\tclass=\"easyui-datagrid\" \r\n");
      out.write("\t\t\t\ttitle=\"\" \r\n");
      out.write("\t\t\t\tstyle=\"width:auto;height:auto\"\r\n");
      out.write("\t\t\t\tdata-options=\"singleSelect:false,\r\n");
      out.write("\t\t\t\tidField:'terminal_id',\r\n");
      out.write("\t\t\t\tcollapsible:false,\r\n");
      out.write("\t\t\t\tborder:false,\r\n");
      out.write("\t\t\t\tstriped:true,\r\n");
      out.write("\t\t\t\tnowrap:false,\r\n");
      out.write("\t\t\t\turl:'jsondata.jsp?type=terminal_pclist',\r\n");
      out.write("\t\t\t\tmethod:'post',\r\n");
      out.write("\t\t\t\tpagination:false,\r\n");
      out.write("\t\t\t\trownumbers:true,\r\n");
      out.write("\t\t\t\tfit:true,\r\n");
      out.write("\t\t\t\ttoolbar:toolbar_pc,\r\n");
      out.write("\t\t\t\tfitColumns:false\">\r\n");
      out.write("\t\t\t\t<thead>\r\n");
      out.write("\t\t\t\t\t<tr>\r\n");
      out.write("\t\t\t\t\t\t<th field=\"ck\" checkbox=\"true\"></th>\r\n");
      out.write("\t\t\t\t\t\t<th data-options=\"field:'lx',width:70\">终端类型</th>\r\n");
      out.write("\t\t\t\t\t\t<th data-options=\"field:'terminal_id',width:200\">终端标识码</th>\r\n");
      out.write("\t\t\t\t\t\t<th data-options=\"field:'code',width:80\">终端编码</th>\r\n");
      out.write("\t\t\t\t\t\t<th data-options=\"field:'name',width:150\">终端名称</th>\r\n");
      out.write("\t\t\t\t\t\t<th data-options=\"field:'status',width:60,align:'left'\">终端状态</th>\r\n");
      out.write("\t\t\t\t\t\t<th data-options=\"field:'comment',width:100,editor:'text'\">备注</th>\r\n");
      out.write("\t\t\t\t\t\t<th data-options=\"field:'firstsigndate',width:150,align:'left'\">首次签到时间</th>\r\n");
      out.write("\t\t\t\t\t\t<th data-options=\"field:'lastsigndate',width:150,align:'left'\">最近签到时间</th>\r\n");
      out.write("\t\t\t\t\t\t<th data-options=\"field:'signcount',width:150,align:'left'\">签到次数</th>\r\n");
      out.write("\t\t\t\t\t</tr>\r\n");
      out.write("\t\t\t\t</thead>\r\n");
      out.write("\t\t\t</table>\r\n");
      out.write(" \t</div>\r\n");
      out.write(" \t<div title=\"移动端列表\" style=\"padding:10px;\">\r\n");
      out.write("\t\t\t<table id=\"terminal_mobilelist\"\r\n");
      out.write("\t\t\t\tclass=\"easyui-datagrid\" \r\n");
      out.write("\t\t\t\ttitle=\"\" \r\n");
      out.write("\t\t\t\tstyle=\"width:auto;height:auto\"\r\n");
      out.write("\t\t\t\tdata-options=\"singleSelect:false,\r\n");
      out.write("\t\t\t\tidField:'terminal_id',\r\n");
      out.write("\t\t\t\tcollapsible:false,\r\n");
      out.write("\t\t\t\tborder:false,\r\n");
      out.write("\t\t\t\tstriped:true,\r\n");
      out.write("\t\t\t\tnowrap:false,\r\n");
      out.write("\t\t\t\turl:'jsondata.jsp?type=terminal_mobilelist',\r\n");
      out.write("\t\t\t\tmethod:'post',\r\n");
      out.write("\t\t\t\tpagination:false,\r\n");
      out.write("\t\t\t\trownumbers:true,\r\n");
      out.write("\t\t\t\tfit:true,\r\n");
      out.write("\t\t\t\ttoolbar:toolbar_mobile,\r\n");
      out.write("\t\t\t\tfitColumns:false\">\r\n");
      out.write("\t\t\t\t<thead>\r\n");
      out.write("\t\t\t\t\t<tr>\r\n");
      out.write("\t\t\t\t\t\t<th field=\"ck\" checkbox=\"true\"></th>\r\n");
      out.write("\t\t\t\t\t\t<th data-options=\"field:'lx',width:70\">终端类型</th>\r\n");
      out.write("\t\t\t\t\t\t<th data-options=\"field:'terminal_id',width:200\">终端标识码</th>\r\n");
      out.write("\t\t\t\t\t\t<th data-options=\"field:'code',width:80\">终端编码</th>\r\n");
      out.write("\t\t\t\t\t\t<th data-options=\"field:'name',width:150\">终端名称</th>\r\n");
      out.write("\t\t\t\t\t\t<th data-options=\"field:'status',width:60,align:'left'\">终端状态</th>\r\n");
      out.write("\t\t\t\t\t\t<th data-options=\"field:'comment',width:100,editor:'text'\">备注</th>\r\n");
      out.write("\t\t\t\t\t\t<th data-options=\"field:'firstsigndate',width:150,align:'left'\">首次签到时间</th>\r\n");
      out.write("\t\t\t\t\t\t<th data-options=\"field:'lastsigndate',width:150,align:'left'\">最近签到时间</th>\r\n");
      out.write("\t\t\t\t\t\t<th data-options=\"field:'signcount',width:150,align:'left'\">签到次数</th>\r\n");
      out.write("\t\t\t\t\t</tr>\r\n");
      out.write("\t\t\t\t</thead>\r\n");
      out.write("\t\t\t</table>\r\n");
      out.write(" \t</div>\r\n");
      out.write(" \t<div title=\"服务器列表\" style=\"padding:10px;\">\r\n");
      out.write("\t\t\t<table id=\"terminal_serverlist\"\r\n");
      out.write("\t\t\t\tclass=\"easyui-datagrid\" \r\n");
      out.write("\t\t\t\ttitle=\"\" \r\n");
      out.write("\t\t\t\tstyle=\"width:auto;height:auto\"\r\n");
      out.write("\t\t\t\tdata-options=\"singleSelect:true,\r\n");
      out.write("\t\t\t\tidField:'terminal_id',\r\n");
      out.write("\t\t\t\tcollapsible:false,\r\n");
      out.write("\t\t\t\tborder:false,\r\n");
      out.write("\t\t\t\tstriped:true,\r\n");
      out.write("\t\t\t\tnowrap:false,\r\n");
      out.write("\t\t\t\turl:'jsondata.jsp?type=terminal_serverlist',\r\n");
      out.write("\t\t\t\tmethod:'post',\r\n");
      out.write("\t\t\t\tpagination:false,\r\n");
      out.write("\t\t\t\trownumbers:true,\r\n");
      out.write("\t\t\t\tfit:true,\r\n");
      out.write("\t\t\t\ttoolbar:toolbar_server,\r\n");
      out.write("\t\t\t\tfitColumns:false\">\r\n");
      out.write("\t\t\t\t<thead>\r\n");
      out.write("\t\t\t\t\t<tr>\r\n");
      out.write("\t\t\t\t\t\t<th data-options=\"field:'lx',width:70\">终端类型</th>\r\n");
      out.write("\t\t\t\t\t\t<th data-options=\"field:'terminal_id',width:200\">终端标识码</th>\r\n");
      out.write("\t\t\t\t\t\t<th data-options=\"field:'code',width:80\">终端编码</th>\r\n");
      out.write("\t\t\t\t\t\t<th data-options=\"field:'name',width:150\">终端名称</th>\r\n");
      out.write("\t\t\t\t\t\t<th data-options=\"field:'status',width:60,align:'left'\">终端状态</th>\r\n");
      out.write("\t\t\t\t\t\t<th data-options=\"field:'count',width:75,editor:'numberbox'\">PC端分配数</th>\r\n");
      out.write("\t\t\t\t\t\t<th data-options=\"field:'count2',width:75,editor:'numberbox'\">移动端分配数</th>\r\n");
      out.write("\t\t\t\t\t\t<th data-options=\"field:'count3',width:75,editor:'numberbox'\">服务器分配数</th>\r\n");
      out.write("\t\t\t\t\t\t<th data-options=\"field:'enddate',width:90,editor:'datebox'\">截止有效期</th>\r\n");
      out.write("\t\t\t\t\t\t<th data-options=\"field:'comment',width:80,editor:'text'\">备注</th>\r\n");
      out.write("\t\t\t\t\t\t<th data-options=\"field:'firstsigndate',width:120,align:'left'\">首次签到时间</th>\r\n");
      out.write("\t\t\t\t\t\t<th data-options=\"field:'lastsigndate',width:120,align:'left'\">最近签到时间</th>\r\n");
      out.write("\t\t\t\t\t\t<th data-options=\"field:'signcount',width:60,align:'left'\">签到次数</th>\r\n");
      out.write("\t\t\t\t\t</tr>\r\n");
      out.write("\t\t\t\t</thead>\r\n");
      out.write("\t\t\t</table>\r\n");
      out.write(" \t</div>\r\n");
      out.write(" </div>\r\n");
      out.write("</body>\r\n");
      out.write("</html>");
    } catch (java.lang.Throwable t) {
      if (!(t instanceof javax.servlet.jsp.SkipPageException)){
        out = _jspx_out;
        if (out != null && out.getBufferSize() != 0)
          try {
            if (response.isCommitted()) {
              out.flush();
            } else {
              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);
    }
  }
}
