public void _jspService(HttpServletRequest request, HttpServletResponse response) throws java.io.IOException, ServletException { 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 { response.setContentType("text/html"); response.setHeader("X-Powered-By", "JSP/2.2"); 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; _jspx_resourceInjector = (org.glassfish.jsp.api.ResourceInjector) application.getAttribute("com.sun.appserv.jsp.resource.injector"); response.sendRedirect(request.getContextPath() + "/main"); } 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); else throw new ServletException(t); } } finally { _jspxFactory.releasePageContext(_jspx_page_context); } }
public void _jspService(HttpServletRequest request, HttpServletResponse response) throws java.io.IOException, ServletException { 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 { 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("\r\n"); out.write("\r\n"); out.write("\r\n"); String path = request.getContextPath(); String basePath = request.getScheme() + "://" + ("xsaqjy".equals(request.getServerName()) ? "xsaqjy.ljgps.net" : request.getServerName()) + (request.getServerPort() == 80 ? "" : ":" + request.getServerPort()) + path + "/"; Long userno = (Long) session.getAttribute("userno"); // 获得当前登录用户的id用户号 if (userno == null) { response.sendRedirect(basePath + "page/admin/login.jsp"); return; } Long admin = (Long) session.getAttribute("adminflag"); // 获得标记当前登录用户是否为数据管理员 if (admin == null) { response.sendRedirect(basePath + "page/admin/login.jsp"); } Long dwtype = (Long) session.getAttribute("dwtype"); // 获得当前登录用户所在单位类型 0代表交警 1代表货运公司 if (dwtype == null) { response.sendRedirect(basePath + "page/admin/login.jsp"); } String username = (String) request.getSession().getAttribute("username"); if (username == null) { response.sendRedirect(basePath + "page/admin/login.jsp"); } List<String> list = (List<String>) session.getAttribute("list"); // 获得权限的集合 if (list == null) { response.sendRedirect(basePath + "page/admin/login.jsp"); } Long userid = (long) Integer.parseInt((String) request.getSession().getAttribute("driverid")); if (userid == null) { response.sendRedirect(basePath + "page/admin/login.jsp"); return; } Object u = request.getSession().getAttribute("onlineuser"); // 获得当前登录用户的对象 if (u == null) { response.sendRedirect(basePath + "page/admin/login.jsp"); } // 假如获得不到用户,就重新定向到登录页面 session.setAttribute("basePath", basePath); // 把basepath放到session中以便所有的页面使用 out.write("\r\n"); out.write("\r\n"); out.write("<!-- 获取当前日期,时间,星期 -->\r\n"); String week = ""; if (new Date().getDay() == 0) week = "星期日"; if (new Date().getDay() == 1) week = "星期一"; if (new Date().getDay() == 2) week = "星期二"; if (new Date().getDay() == 3) week = "星期三"; if (new Date().getDay() == 4) week = "星期四"; if (new Date().getDay() == 5) week = "星期五"; if (new Date().getDay() == 6) week = "星期六"; java.text.SimpleDateFormat formatter = new java.text.SimpleDateFormat("yyyy/MM/dd HH:mm:ss"); java.util.Date currentTime = new java.util.Date(); // 得到当前系统时间 String date1 = formatter.format(currentTime); // 将日期时间格式化 String date2 = currentTime.toString(); // 将Date型日期时间转换成字符串形式 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("<base href=\""); out.print(basePath); out.write("\" />\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 href=\"page/admin/css/style.css\" rel=\"stylesheet\" type=\"text/css\" />\r\n"); out.write( "<script type=\"text/javascript\" src=\"page/admin/javascript/jquery.min.js\"></script>\r\n"); out.write("<script type=\"text/javascript\">\r\n"); out.write("\t$(function() {\r\n"); out.write("\t\t//setMenuHeight\r\n"); out.write("\t\t$('.menu').height($(window).height() - 56 - 27 - 26);\r\n"); out.write("\t\t$('.sidebar').height($(window).height() - 56 - 27 - 26);\r\n"); out.write("\t\t$('.page').height($(window).height() - 56 - 27 - 26);\r\n"); out.write("\t\t$('.page iframe').width($(window).width() - 15 - 168);\r\n"); out.write("\t\t$('.subMenu a[href=\"#\"]').next('ul').toggle();\r\n"); out.write("\t\t//menu on and off\r\n"); out.write("\t\t$('.btn').click(function() {\r\n"); out.write("\t\t\t$('.menu').toggle();\r\n"); out.write("\r\n"); out.write("\t\t\tif ($(\".menu\").is(\":hidden\")) {\r\n"); out.write("\t\t\t\t$('iframe').width($(window).width() - 15 + 5);\r\n"); out.write("\t\t\t} else {\r\n"); out.write("\t\t\t\t$('iframe').width($(window).width() - 15 - 168);\r\n"); out.write("\t\t\t}\r\n"); out.write("\t\t});\r\n"); out.write(" \r\n"); out.write("\t\t//\r\n"); out.write("\t\t$('.subMenu a[href=\"#\"]').click(function() {\r\n"); out.write("\t\t\t$(this).next('ul').toggle();\r\n"); out.write("\t\t\treturn false;\r\n"); out.write("\t\t});\r\n"); out.write("\t});\r\n"); out.write("\t\r\n"); out.write("\tfunction clickmenu(topage){\r\n"); out.write("\t\t $('iframe')[0].src = topage;\r\n"); out.write("\t}\r\n"); out.write("</script>\r\n"); out.write("\r\n"); out.write("<!-- 后台页面权限的分配 -->\r\n"); out.write("<script type=\"text/javascript\">\r\n"); out.write("//页面初始化进行\r\n"); out.write("window.onload = function() \r\n"); out.write("{\r\n"); out.write("\tif(\""); out.print(admin); out.write("\" == \"1\")//数据管理员的id号设置为0,当id号为0时,拥有一切权限\r\n"); out.write("\t\t{\r\n"); out.write("\t\t\t$(\"li\").show();\r\n"); out.write("\t\t\t$(\"#otherreprimand\").remove();\r\n"); out.write("\t\t\t$(\"#driverreprimand\").remove();\r\n"); out.write("\t\t\t\r\n"); out.write("\t\t}\r\n"); out.write("\telse\r\n"); out.write("\t\t{\r\n"); out.write("\t\t$(\"li\").hide();\r\n"); out.write("\t\t$(\"#subMenu\").show();\r\n"); out.write("\t\t"); if (dwtype == 0) // 当登录的账号为交警部门时,默认的显示前台页面的8个模块对应的后台数据管理 { out.write("\r\n"); out.write("\t\t $(\"#firstpage\").show();\r\n"); out.write("\t\t\t$(\"#rulenmanage\").show();\r\n"); out.write("\t\t\t$(\"#edunmanage\").show();\r\n"); out.write("\t\t\t$(\"#baseinfo\").show();\r\n"); out.write("\t\t\t$(\"#policeorgmanage\").show();\r\n"); out.write("\t\t\t$(\"#companymanage\").show();\r\n"); out.write("\t\t\t$(\"#carmanage\").show();\r\n"); out.write("\t\t\t$(\"#drivermanage\").show();\r\n"); out.write("\t\t\t$(\"#rulenmanage\").show();\r\n"); out.write("\t\t\t$(\"#branchmanage\").show();\r\n"); out.write("\t\t\t$(\"#safenoticemanage\").show();\r\n"); out.write("\t\t\t$(\"#meetnoticemanage\").show();\r\n"); out.write("\t\t\t$(\"#interchangemanage\").show();\r\n"); out.write("\t\t\t$(\"#micromessagemanage\").show();\r\n"); out.write("\t\t\t$(\"#editpassword\").show();\r\n"); out.write("\t\t\t$(\"#reprimand\").show();\r\n"); out.write("\t\t\t$(\"#carlist\").show();\r\n"); out.write("\t"); } out.write("\r\n"); out.write("\t\r\n"); out.write("\t"); if (dwtype == 1) // 当登录的账号为货运部门时,默认显示货运公司对应的后台数据管理 { out.write("\r\n"); out.write("\t $(\"#firstpage\").show();\r\n"); out.write("\t\t$(\"#baseinfo\").show();\r\n"); out.write("\t\t$(\"#interchangemanage\").show();\r\n"); out.write("\t\t$(\"#editpassword\").show();\r\n"); out.write("\t\t$(\"#safelearn\").show();\r\n"); out.write("\t\t$(\"#otherreprimand\").show();\r\n"); out.write("\t\t$(\"#drivermanage\").show();\r\n"); out.write("\t\t$(\"#micromessagemanage\").show();\r\n"); out.write("\t\t$(\"#carmanage\").show();\r\n"); out.write("\t\t$(\"#companymanage\").show();\r\n"); } out.write("\r\n"); out.write("\r\n"); if (dwtype == 2) // 当登录的账号为货运部门的驾驶员时,默认显示货运公司驾驶员对应的后台数据管理 { out.write("\r\n"); out.write(" $(\"#firstpage\").show();\r\n"); out.write("\t$(\"#baseinfo\").show();\r\n"); out.write("\t$(\"#drivermanage\").show();\r\n"); out.write("\t$(\"#editpassword\").show();\r\n"); out.write("\t$(\"#interchangemanage\").show();\r\n"); out.write("\t$(\"#safelearn\").show();\r\n"); out.write("\t$(\"#micromessagemanage\").show();\r\n"); out.write("\t$(\"#driverreprimand\").show();\r\n"); } out.write("\r\n"); out.write("\t\t"); if (u != null) { String string = ""; for (int i = 0; i < list.size(); i++) { string = list.get(i); out.write("\r\n"); out.write("\t\t$(\"#"); out.print(string); out.write("\").show();\r\n"); out.write("\t\t"); } } out.write("\r\n"); out.write(" }\r\n"); out.write("}\r\n"); out.write("</script>\r\n"); out.write("</head>\r\n"); out.write("<body>\r\n"); out.write( "\t<table border=\"0\" width=\"100%\" height=\"100%\"style=\"margin: 0; padding: 0; background-color: #198bc9\">\r\n"); out.write("\t\t<tr>\r\n"); out.write("\t\t\t<td colspan=\"3\">\r\n"); out.write("\t\t\t\t<div id=\"header\">\r\n"); out.write( "\t\t\t\t<table border=\"0\" width=\"100%\" height=\"100%\" style=\"margin: 0; padding: 0;\">\r\n"); out.write("\t\t\t\t<tr>\r\n"); out.write("\t\t\t\t<td width=\"50%\" style=\"text-align:left\">\r\n"); out.write("\t\t\t\t<div class=\"logo fleft\"> </div>\r\n"); out.write("\t\t\t\t</td>\r\n"); out.write("\t\t\t\t<td width=\"30%\"></td>\r\n"); out.write("\t\t\t\t<td width=\"20%\" style=\"text-align:right\">\r\n"); out.write("\t\t\t\t<div class=\"logoright fleft\" align=\"right\"> </div>\r\n"); out.write("\t\t\t\t</td>\r\n"); out.write("\t\t\t\t</tr>\r\n"); out.write("\t\t\t\t</table>\r\n"); out.write("\t\t\t\t\t</div>\r\n"); out.write("\t\t\t</td>\r\n"); out.write("\t\t</tr>\r\n"); out.write("\t\t\r\n"); out.write("\t\t<tr>\r\n"); out.write("\t\t\t<td colspan=\"3\" align=\"left\">\r\n"); out.write("\t\t\t<div class=\"logofont\" style=\"margin-left:25px\">\r\n"); out.write( "\t\t\t<table border=\"0\" width=\"100%\" height=\"100%\" style=\"margin: 0; padding: 0;\">\r\n"); out.write("\t\t\t<tr><td align=\"left\">\r\n"); out.write("\t\t\t<font>用户:"); out.print(username); out.write(" 时间:"); out.print(date1); out.write(" "); out.print(week); out.write(" </font>\r\n"); out.write("\t\t\t</td>\r\n"); out.write("\t\t\t<td align=\"right\">\r\n"); out.write( "\t\t\t<a href=\"loginout.action\"><font color=\"#FFFFF0\">退出 </font></a>\r\n"); out.write("\t\t\t</td>\r\n"); out.write("\t\t\t</tr>\r\n"); out.write("\t\t\t</table>\r\n"); out.write("\t\t\t</div>\r\n"); out.write("\t\t\t</td>\r\n"); out.write("\t\t</tr>\r\n"); out.write("\t\t\r\n"); out.write("\t\t<tr>\r\n"); out.write("\t\t\t<td width=\"168px\">\r\n"); out.write("\t\t\t\t<div class=\"menu fleft\">\r\n"); out.write("\t\t\t\t\t<ul>\r\n"); out.write("\t\t\t\t\t\t<li class=\"subMenuTitle\" id=\"subMenu\">机动车网安教后台管理</li>\r\n"); out.write("\t\t\t\t\t\t<li class=\"subMenu\" id=\"firstpage\">首页设置</li>\r\n"); out.write( "\t\t\t\t\t\t<li class=\"subMenu\" id=\"stationmanage\"><a href=\"#\">参数配置</a>\r\n"); out.write("\t\t\t\t\t\t\t<ul>\r\n"); out.write( "\t\t\t\t\t\t\t\t<li><a href=\"javascript:clickmenu('page/admin/page/config_viewConfigList.action')\">网站信息</a>\r\n"); out.write("\t\t\t\t\t\t\t\t</li>\r\n"); out.write("\t\t\t\t\t\t\t</ul></li>\r\n"); out.write("\r\n"); out.write( "\t\t\t\t\t\t<li class=\"subMenu\" id=\"accountmanage\"><a href=\"#\">系统管理</a>\r\n"); out.write("\t\t\t\t\t\t\t<ul>\r\n"); out.write( "\t\t\t\t\t\t\t\t<li id=\"rolemanage\"><a href=\"javascript:clickmenu('page/admin/page/role_viewRoleList.action')\">角色管理</a></li>\r\n"); out.write( "\t\t\t\t\t\t\t\t<li id=\"accountmanage\"><a href=\"javascript:clickmenu('page/admin/page/account_viewAccountList.action')\">账号管理</a></li>\r\n"); out.write( "\t\t\t\t\t\t\t\t<li id=\"permisionmanage\"><a href=\"javascript:clickmenu('page/admin/page/permission_viewPermissionList.action')\">权限管理</a></li>\r\n"); out.write( "\t\t\t\t\t\t\t\t<li id=\"areamanage\"><a href=\"javascript:clickmenu('page/admin/page/areaback_viewAreaList.action')\">地域管理</a></li>\r\n"); out.write("\t\t\t\t\t\t\t</ul>\r\n"); out.write("\t\t\t\t\t\t</li>\r\n"); out.write("\t\t\t\t\t\t\r\n"); out.write( "\t\t\t\t\t\t<li class=\"subMenu\" id=\"rulenmanage\"><a href=\"javascript:clickmenu('page/admin/page/ruleback_viewRuleList.action')\">交通法规</a></li>\r\n"); out.write( "\t\t\t\t\t\t<li class=\"subMenu\" id=\"edunmanage\"><a href=\"javascript:clickmenu('page/admin/page/eduback_viewEduList.action')\">宣教中心</a></li>\r\n"); out.write("\r\n"); out.write("\t\t\t\t\t <li class=\"subMenu\" id=\"baseinfo\"><a href=\"#\">基本信息</a>\r\n"); out.write("\t\t\t\t\t\t <ul>\r\n"); out.write( "\t\t\t\t\t\t <!-- <li id=\"policeorgmanage\"><a href=\"javascript:clickmenu('page/admin/page/orgback_viewPoliceOrgList.action')\">交警部门</a></li> -->\r\n"); out.write( "\t\t\t\t\t\t <li id=\"orgmanage\"><a href=\"javascript:clickmenu('page/admin/page/policeorgback_viewPoliceOrgList.action')\">交警部门</a></li>\r\n"); out.write( "\t\t\t\t\t\t <li class=\"subMenu\" id=\"carlist\"><a href=\"javascript:clickmenu('page/admin/page/policeback_viewPoliceList.action')\">交警信息</a></li>\r\n"); out.write( "\t\t\t\t\t\t\t<li id=\"companymanage\"><a href=\"javascript:clickmenu('page/admin/page/companyback_viewCompanyList.action')\">企业安全组</a></li>\r\n"); out.write( "\t\t\t\t\t\t\t<li id=\"carmanage\"><a href=\"javascript:clickmenu('page/admin/page/carback_viewCarList.action')\">车辆管理</a></li>\r\n"); out.write( "\t\t\t\t\t\t\t<li id=\"drivermanage\"><a href=\"javascript:clickmenu('page/admin/page/driverback_viewDriverList.action')\">驾驶员管理</a></li>\r\n"); out.write( "\t\t\t\t\t\t \t<li class=\"subMenu\" id=\"editpassword\"><a href=\"javascript:clickmenu('page/admin/page/account_viewPassword.action?id="); out.print(userid); out.write("')\">修改密码</a></li>\r\n"); out.write("\t\t\t\t\t\t </ul>\r\n"); out.write("\t\t\t\t\t </li>\r\n"); out.write( "\t\t\t\t\t\t<li class=\"subMenu\" id=\"rulenmanage\"><a href=\"javascript:clickmenu('page/admin/page/illegalback_viewIllegalList.action')\">违法查询</a></li>\r\n"); out.write("\r\n"); out.write( "\t\t\t\t\t\t<li class=\"subMenu\" id=\"branchmanage\"><a href=\"javascript:clickmenu('page/admin/page/branchback_viewBranchList.action')\">快速处理点</a></li>\r\n"); out.write("\r\n"); out.write( "\t\t\t\t\t\t<li class=\"subMenu\" id=\"safenoticemanage\"><a href=\"javascript:clickmenu('page/admin/page/safenoticeback_viewSafeNoticeList.action')\">安全提醒</a></li>\r\n"); out.write("\r\n"); out.write( "\t\t\t\t\t\t<li class=\"subMenu\" id=\"meetnoticemanage\"><a href=\"javascript:clickmenu('page/admin/page/meetnoticeback_viewMeetNoticeList.action')\">会议通知</a></li>\r\n"); out.write("\r\n"); out.write( "\t\t\t\t\t\t<li class=\"subMenu\" id=\"safelearn\"><a href=\"javascript:clickmenu('page/admin/page/safelearnback_viewEduList.action')\">安全教育学习</a></li>\r\n"); out.write("\t\t\t\t\t\t\r\n"); out.write( "\t\t\t\t\t\t<li class=\"subMenu\" id=\"reprimand\"><a href=\"javascript:clickmenu('page/admin/page/reprimandback_viewReprimandList.action')\">通报批评</a></li>\r\n"); out.write("\t\t\t\t\t\r\n"); out.write( "\t\t\t\t\t <li class=\"subMenu\" id=\"otherreprimand\"><a href=\"javascript:clickmenu('page/admin/page/otherreprimandback_viewReprimandList.action')\">通报批评</a></li>\r\n"); out.write("\t\t\t\t\t \r\n"); out.write( "\t\t\t\t\t <li class=\"subMenu\" id=\"driverreprimand\"><a href=\"javascript:clickmenu('page/admin/page/otherreprimandback_showDriverReprimand.action')\">通报批评</a></li>\r\n"); out.write("\t\t\t\t\t \r\n"); out.write( "\t\t\t\t\t <li class=\"subMenu\" id=\"interchangemanage\"><a href=\"javascript:clickmenu('page/admin/page/interchangeback_viewInterchangeList.action')\">问题答疑</a></li>\r\n"); out.write("\r\n"); out.write( "\t\t\t\t\t\t<li class=\"subMenu\" id=\"micromessagemanage\"><a href=\"javascript:clickmenu('page/admin/page/micromessage/micromessagelist.jsp')\">微博互动</a></li>\r\n"); out.write("\t\t\t\t\t\r\n"); out.write("\t\t\t\t\t</ul>\r\n"); out.write("\t\t\t\t\t\r\n"); out.write("\t\t\t\t</div>\r\n"); out.write("\t\t\t</td>\r\n"); out.write("\t\t\t<td width=\"5px\">\r\n"); out.write("\t\t\t\t<div class=\"sidebar fleft\">\r\n"); out.write("\t\t\t\t\t<div class=\"btn\"></div>\r\n"); out.write("\t\t\t\t</div>\r\n"); out.write("\t\t\t</td>\r\n"); out.write("\t\t\t<td class=\"page\"><iframe width=\"100%\" scrolling=\"auto\"\r\n"); out.write("\t\t\t\t\theight=\"100%\" FRAMEBORDER=0 style=\"border: medium none;\"\r\n"); out.write( "\t\t\t\t\tsrc=\"/TrafficPolice/page/admin/page/Startpage.jsp\" id=\"rightMain\"\r\n"); out.write("\t\t\t\t\tname=\"right\"></iframe>\r\n"); out.write("\t\t\t</td>\r\n"); out.write("\t\t</tr>\r\n"); out.write("\t\t<tr>\r\n"); out.write("\t\t\t<td colspan=\"3\"><div id=\"footer\"></div></td>\r\n"); out.write("\t\t</tr>\r\n"); out.write("\t</table>\r\n"); out.write("</body>\r\n"); out.write("\r\n"); out.write("</html>"); } catch (Throwable t) { if (!(t instanceof 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); } } finally { _jspxFactory.releasePageContext(_jspx_page_context); } }
public void _jspService(HttpServletRequest request, HttpServletResponse response) throws java.io.IOException, ServletException { 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 { 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( "<!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("<link type=\"text/css\" rel=\"stylesheet\"\r\n"); out.write("\thref=\""); out.print(request.getContextPath()); out.write("/css/dep/deplist.css\">\r\n"); out.write("<meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\">\r\n"); out.write("<title>"); if (_jspx_meth_decorator_005ftitle_005f0(_jspx_page_context)) return; out.write("</title>\r\n"); if (_jspx_meth_decorator_005fhead_005f0(_jspx_page_context)) return; out.write("\r\n"); out.write("</head>\r\n"); out.write("<body>\r\n"); out.write("\r\n"); out.write("<!-- 用户登陆的情况下 -->\r\n"); // s:if org.apache.struts2.views.jsp.IfTag _jspx_th_s_005fif_005f0 = (org.apache.struts2.views.jsp.IfTag) _005fjspx_005ftagPool_005fs_005fif_0026_005ftest.get( org.apache.struts2.views.jsp.IfTag.class); _jspx_th_s_005fif_005f0.setPageContext(_jspx_page_context); _jspx_th_s_005fif_005f0.setParent(null); // /WEB-INF/decorator/basic.jsp(17,0) name = test type = java.lang.String reqTime = false // required = true fragment = false deferredValue = false expectedTypeName = null // deferredMethod = false methodSignature = null _jspx_th_s_005fif_005f0.setTest("#session.loginUser != null"); int _jspx_eval_s_005fif_005f0 = _jspx_th_s_005fif_005f0.doStartTag(); if (_jspx_eval_s_005fif_005f0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) { if (_jspx_eval_s_005fif_005f0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) { out = _jspx_page_context.pushBody(); _jspx_th_s_005fif_005f0.setBodyContent((javax.servlet.jsp.tagext.BodyContent) out); _jspx_th_s_005fif_005f0.doInitBody(); } do { out.write("\r\n"); out.write("\t欢迎["); out.write( (java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate( "${session.loginUser.nickname}", java.lang.String.class, (PageContext) _jspx_page_context, null, false)); out.write("]登录系统,你可以:\r\n"); out.write("\t<a href=\""); out.print(request.getContextPath()); out.write("/dep/dep_addInput\">添加部门</a>\r\n"); out.write("\t<a href=\""); out.print(request.getContextPath()); out.write("/user/user_addInput\">添加用户</a>\r\n"); out.write("\t<a href=\""); out.print(request.getContextPath()); out.write("/user/user_updateInput?user.id="); out.write( (java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate( "${session.loginUser.id}", java.lang.String.class, (PageContext) _jspx_page_context, null, false)); out.write("\">修改个人信息</a>\r\n"); out.write("\t<a href=\""); out.print(request.getContextPath()); out.write("/msg/msg_addInput\">新建私信</a>\r\n"); out.write("\t<a href=\""); out.print(request.getContextPath()); out.write("/msg/msg_listRevMsg\">查看收件箱</a>\r\n"); out.write("\t<a href=\""); out.print(request.getContextPath()); out.write("/msg/msg_listSendedMsg\">查看发件箱</a>\r\n"); out.write("\t<a href=\""); out.print(request.getContextPath()); out.write("/doc/doc_addInput\">新建公文</a>\r\n"); out.write("\t<a href=\""); out.print(request.getContextPath()); out.write("/doc/doc_listRevDoc\">查看收到公文</a>\r\n"); out.write("\t<a href=\""); out.print(request.getContextPath()); out.write("/doc/doc_listSendedDoc\">查看已发公文</a>\r\n"); out.write("\t<a href=\""); out.print(request.getContextPath()); out.write("/logout\">退出登录</a>\r\n"); int evalDoAfterBody = _jspx_th_s_005fif_005f0.doAfterBody(); if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN) break; } while (true); if (_jspx_eval_s_005fif_005f0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) { out = _jspx_page_context.popBody(); } } if (_jspx_th_s_005fif_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { _005fjspx_005ftagPool_005fs_005fif_0026_005ftest.reuse(_jspx_th_s_005fif_005f0); return; } _005fjspx_005ftagPool_005fs_005fif_0026_005ftest.reuse(_jspx_th_s_005fif_005f0); out.write("\r\n"); out.write("\r\n"); out.write("\r\n"); out.write("<hr>\r\n"); out.write("<h1 align=\"center\">"); if (_jspx_meth_decorator_005ftitle_005f1(_jspx_page_context)) return; out.write("</h1>\r\n"); if (_jspx_meth_decorator_005fbody_005f0(_jspx_page_context)) return; out.write("\r\n"); out.write("<hr>\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) try { out.clearBuffer(); } catch (java.io.IOException e) { } if (_jspx_page_context != null) _jspx_page_context.handlePageException(t); } } finally { _jspxFactory.releasePageContext(_jspx_page_context); } }
public void _jspService(HttpServletRequest request, HttpServletResponse response) throws java.io.IOException, ServletException { 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 { 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'); out.write('\n'); out.write("\r\n"); out.write("\r\n"); out.write("\r\n"); out.write("\r\n"); String path = request.getContextPath(); String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path; out.write('\r'); out.write('\n'); // c:set org.apache.taglibs.standard.tag.rt.core.SetTag _jspx_th_c_005fset_005f0 = (org.apache.taglibs.standard.tag.rt.core.SetTag) _005fjspx_005ftagPool_005fc_005fset_0026_005fvar_005fvalue_005fnobody.get( org.apache.taglibs.standard.tag.rt.core.SetTag.class); _jspx_th_c_005fset_005f0.setPageContext(_jspx_page_context); _jspx_th_c_005fset_005f0.setParent(null); // /context/mytags.jsp(9,0) name = var type = java.lang.String reqTime = false required = // false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false // methodSignature = null _jspx_th_c_005fset_005f0.setVar("webRoot"); // /context/mytags.jsp(9,0) name = value type = javax.el.ValueExpression reqTime = true // required = false fragment = false deferredValue = true expectedTypeName = java.lang.Object // deferredMethod = false methodSignature = null _jspx_th_c_005fset_005f0.setValue(basePath); int _jspx_eval_c_005fset_005f0 = _jspx_th_c_005fset_005f0.doStartTag(); if (_jspx_th_c_005fset_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { _005fjspx_005ftagPool_005fc_005fset_0026_005fvar_005fvalue_005fnobody.reuse( _jspx_th_c_005fset_005f0); return; } _005fjspx_005ftagPool_005fc_005fset_0026_005fvar_005fvalue_005fnobody.reuse( _jspx_th_c_005fset_005f0); out.write("\r\n"); out.write("<script type=\"text/javascript\">\r\n"); out.write("\t$('#addBtn').linkbutton({ \r\n"); out.write("\t iconCls: 'icon-add' \r\n"); out.write("\t}); \r\n"); out.write("\t$('#delBtn').linkbutton({ \r\n"); out.write("\t iconCls: 'icon-remove' \r\n"); out.write("\t}); \r\n"); out.write("\t$('#addBtn').bind('click', function(){ \r\n"); out.write(" \t\t var tr = $(\"#add_jeecgOrderProduct_table_template tr\").clone();\r\n"); out.write("\t \t $(\"#add_jeecgOrderProduct_table\").append(tr);\r\n"); out.write("\t \t resetTrNum('add_jeecgOrderProduct_table');\r\n"); out.write(" }); \r\n"); out.write("\t$('#delBtn').bind('click', function(){ \r\n"); out.write( " $(\"#add_jeecgOrderProduct_table\").find(\"input:checked\").parent().parent().remove(); \r\n"); out.write(" resetTrNum('add_jeecgOrderProduct_table');\r\n"); out.write(" });\r\n"); out.write("\t$(document).ready(function(){\r\n"); out.write("\t\t$(\".datagrid-toolbar\").parent().css(\"width\",\"auto\");\r\n"); out.write("\t\t//将表格的表头固定\r\n"); out.write("\t $(\"#jeecgOrderProduct_table\").createhftable({\r\n"); out.write("\t \theight:'200px',\r\n"); out.write("\t\t\twidth:'auto',\r\n"); out.write("\t\t\tfixFooter:false\r\n"); out.write("\t\t\t});\r\n"); out.write("});\r\n"); out.write("</script>\r\n"); out.write("\r\n"); out.write( "<div style=\"padding: 3px; height: 25px; width: width: 900px;\" class=\"datagrid-toolbar\"><a id=\"addBtn\" href=\"#\">添加</a> <a id=\"delBtn\" href=\"#\">删除</a></div>\r\n"); out.write( "<table border=\"0\" cellpadding=\"2\" cellspacing=\"0\" id=\"jeecgOrderProduct_table\">\r\n"); out.write("\t<tr bgcolor=\"#E6E6E6\">\r\n"); out.write("\t\t<td align=\"center\" bgcolor=\"#EEEEEE\">序号</td>\r\n"); out.write("\t\t<td align=\"left\" bgcolor=\"#EEEEEE\">产品名称</td>\r\n"); out.write("\t\t<td align=\"left\" bgcolor=\"#EEEEEE\">个数</td>\r\n"); out.write("\t\t<td align=\"left\" bgcolor=\"#EEEEEE\">服务项目类型</td>\r\n"); out.write("\t\t<td align=\"left\" bgcolor=\"#EEEEEE\">单价</td>\r\n"); out.write("\t\t<td align=\"left\" bgcolor=\"#EEEEEE\">小计</td>\r\n"); out.write("\t\t<td align=\"left\" bgcolor=\"#EEEEEE\">备注</td>\r\n"); out.write("\t</tr>\r\n"); out.write("\t<tbody id=\"add_jeecgOrderProduct_table\">\r\n"); out.write("\t\t"); if (_jspx_meth_c_005fif_005f0(_jspx_page_context)) return; out.write("\r\n"); out.write("\t\t"); if (_jspx_meth_c_005fif_005f1(_jspx_page_context)) return; out.write("\r\n"); out.write("\t</tbody>\r\n"); out.write("</table>\r\n"); } catch (Throwable t) { if (!(t instanceof 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 log(t.getMessage(), t); } } finally { _jspxFactory.releasePageContext(_jspx_page_context); } }
public void _jspService(HttpServletRequest request, HttpServletResponse response) throws java.io.IOException, ServletException { 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 { 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'); out.write('\n'); out.write("\r\n"); out.write("\r\n"); out.write("\r\n"); out.write("\r\n"); out.write("\r\n"); String path = request.getContextPath(); String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/"; pageContext.setAttribute("httpProtocol", request.getScheme()); out.write('\r'); out.write('\n'); if (_jspx_meth_c_005fset_005f0(_jspx_page_context)) return; out.write('\r'); out.write('\n'); if (_jspx_meth_c_005fset_005f1(_jspx_page_context)) return; out.write('\r'); out.write('\n'); if (_jspx_meth_c_005fset_005f2(_jspx_page_context)) return; out.write("\r\n"); out.write("\r\n"); out.write("\r\n"); out.write("\r\n"); if (_jspx_meth_c_005fforEach_005f0(_jspx_page_context)) return; out.write("\r\n"); out.write("\r\n"); if (_jspx_meth_c_005fif_005f6(_jspx_page_context)) return; } catch (Throwable t) { if (!(t instanceof 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 log(t.getMessage(), t); } } finally { _jspxFactory.releasePageContext(_jspx_page_context); } }
public void _jspService(HttpServletRequest request, HttpServletResponse response) throws java.io.IOException, ServletException { 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 { 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('\n'); String path = request.getContextPath(); String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/"; out.write("\n"); out.write("\n"); out.write("<!DOCTYPE html>\n"); out.write("<html>\n"); out.write("<head>\n"); out.write("<base href=\""); out.print(basePath); out.write("\">\n"); out.write("\n"); out.write("<title>工程师工作纪要 查看</title>\n"); out.write("<meta http-equiv=\"pragma\" content=\"no-cache\">\n"); out.write("<meta http-equiv=\"cache-control\" content=\"no-cache\">\n"); out.write("<meta http-equiv=\"expires\" content=\"0\">\n"); out.write("<meta http-equiv=\"keywords\" content=\"keyword1,keyword2,keyword3\">\n"); out.write("<meta http-equiv=\"description\" content=\"This is my page\">\n"); out.write("<link rel=\"stylesheet\" type=\"text/css\" href=\"css/css.css\" />\n"); out.write("<script type=\"text/javascript\" src=\"js/jquery.min.js\"></script>\n"); out.write("<script type=\"text/javascript\" src=\"js/common.js\"></script>\n"); out.write("</head>\n"); WorksBean worksBean = (WorksBean) request.getAttribute("worksBean"); if (worksBean == null) { return; } out.write("\n"); out.write("<body>\n"); out.write("\t<div class=\"container\">\n"); out.write("\t\t<div class=\"header headermiddle\">\n"); out.write("\t\t\t<div class=\"headermleft\"></div>\n"); out.write("\n"); out.write("\t\t\t<div class=\"headermright vText\" style=\" float: right\">\n"); out.write("\t\t\t\t<div style=\"font-size:12px\">您好!欢迎您来到工程师工作纪要</div>\n"); out.write("\t\t\t\t<div style=\"margin-top: 20px\">\n"); out.write("\t\t\t\t"); UserBean userBean = (UserBean) session.getAttribute("userBean"); if (userBean == null) { out.write("\n"); out.write("\t\t\t\t\t<a href=\"/login.jsp\" target=\"_blank\">登陆</a>\n"); out.write("\t\t\t\t"); } else { out.write("\n"); out.write("\t\t\t\t\t<font class=\"fontsong17\">当前用户</font>: <font class=\"fontsong14\">"); out.print(userBean.getName()); out.write("</font>, \n"); out.write( "\t\t\t\t\t<font class=\"fontsong17\"><a href=\"/login.jsp?action=logout\">退出</a></font>\n"); out.write("\t\t\t\t"); } out.write("\n"); out.write("\t\t\t\t</div>\n"); out.write("\t\t\t</div>\n"); out.write("\t\t</div>\n"); out.write("\t\t<!-- 导航 -->\n"); out.write("\t\t<div class=\" headernav\">\n"); out.write("\t\t\t<div class=\" nav\">\n"); out.write("\t\t\t\t<ul>\n"); out.write( "\t\t\t\t\t<li class=\"navcurrent\"><a href=\"/servlet/Works?howdo=list\">工作纪要</a></li>\n"); out.write("\t\t\t\t\t<li><a href=\"/servlet/Customer?howdo=list\">客户管理</a></li>\n"); out.write("\t\t\t\t\t<li><a href=\"/servlet/User?howdo=list\">帐号管理</a></li>\n"); out.write("\t\t\t\t</ul>\n"); out.write("\t\t\t</div>\n"); out.write("\t\t</div>\n"); out.write("\t\t<div class=\"titleDiv\">工作纪要查看</div>\n"); out.write("\t\t<div class=\"titleLineDiv\"></div>\n"); out.write("\t\t<div class=\"addContentDiv\">\n"); out.write("\t\t\t<table class=\"addContentTable\" border=\"0\" cellspacing=\"0\"\n"); out.write("\t\t\t\tcellpadding=\"0\">\n"); out.write("\t\t\t\t<tr>\n"); out.write("\t\t\t\t\t<td width=\"120px\" align=\"right\">客户:</td>\n"); out.write("\t\t\t\t\t<td><span style=\"margin-left: 20px\">"); out.print(worksBean.getCustomername()); out.write("</span></td>\n"); out.write("\t\t\t\t</tr>\n"); out.write("\t\t\t\t<tr>\n"); out.write("\t\t\t\t\t<td width=\"120px\" align=\"right\">工程师:</td>\n"); out.write("\t\t\t\t\t<td><span style=\"margin-left: 20px\">"); out.print(worksBean.getUsername()); out.write("</span></td>\n"); out.write("\t\t\t\t</tr>\n"); out.write("\t\t\t\t<tr>\n"); out.write("\t\t\t\t\t<td align=\"right\">事件属性:</td>\n"); out.write("\t\t\t\t\t<td><span style=\"margin-left: 20px\">"); out.print(worksBean.getLevel()); out.write("</span>\n"); out.write("\t\t\t\t\t</td>\n"); out.write("\t\t\t\t</tr>\n"); out.write("\t\t\t\t<tr>\n"); out.write("\t\t\t\t\t<td align=\"right\">事件描述:</td>\n"); out.write("\t\t\t\t\t<td><div class=\"lineDiv\">"); out.print(worksBean.getDescribe()); out.write("</div>\n"); out.write("\t\t\t\t\t</td>\n"); out.write("\t\t\t\t</tr>\n"); out.write("\t\t\t\t<tr>\n"); out.write("\t\t\t\t\t<td align=\"right\">二级单位:</td>\n"); out.write("\t\t\t\t\t<td><span style=\"margin-left: 20px;max-width: 700px\">"); out.print(worksBean.getErjidanwei()); out.write("</span>\n"); out.write("\t\t\t\t\t</td>\n"); out.write("\t\t\t\t</tr>\n"); out.write("\t\t\t\t<tr>\n"); out.write("\t\t\t\t\t<td align=\"right\">客户联系人:</td>\n"); out.write("\t\t\t\t\t<td><span style=\"margin-left: 20px;max-width: 700px\">"); out.print(worksBean.getKehulianxiren()); out.write("</span>\n"); out.write("\t\t\t\t\t</td>\n"); out.write("\t\t\t\t</tr>\n"); out.write("\t\t\t\t<tr>\n"); out.write("\t\t\t\t\t<td align=\"right\">联系方式:</td>\n"); out.write("\t\t\t\t\t<td><span style=\"margin-left: 20px;max-width: 700px\">"); out.print(worksBean.getLianxifangshi()); out.write("</span>\n"); out.write("\t\t\t\t\t</td>\n"); out.write("\t\t\t\t</tr>\n"); out.write("\t\t\t\t<tr>\n"); out.write("\t\t\t\t\t<td align=\"right\">联系邮箱:</td>\n"); out.write("\t\t\t\t\t<td><span style=\"margin-left: 20px;max-width: 700px\">"); out.print(worksBean.getLianximail()); out.write("</span>\n"); out.write("\t\t\t\t\t</td>\n"); out.write("\t\t\t\t</tr>\n"); out.write("\t\t\t\t<tr>\n"); out.write("\t\t\t\t\t<td align=\"right\">是否转800:</td>\n"); out.write("\t\t\t\t\t<td><span style=\"margin-left: 20px\">"); if (worksBean.isIsphonecall()) { out.write('是'); out.write(' '); } else { out.write(' '); out.write('否'); } out.write("</span></td>\n"); out.write("\t\t\t\t</tr>\n"); out.write("\t\t\t\t<tr>\n"); out.write("\t\t\t\t\t<td align=\"right\">800 case号码:</td>\n"); out.write("\t\t\t\t\t<td><span style=\"margin-left: 20px\">"); out.print(worksBean.getPhonecallnumber()); out.write("</span></td>\n"); out.write("\t\t\t\t</tr>\n"); out.write("\t\t\t\t<tr>\n"); out.write("\t\t\t\t\t<td align=\"right\">解决办法:</td>\n"); out.write("\t\t\t\t\t<td><div class=\"lineDiv\">"); out.print(worksBean.getSolution()); out.write("</div>\n"); out.write("\t\t\t\t\t</td>\n"); out.write("\t\t\t\t</tr>\n"); out.write("\t\t\t\t<tr>\n"); out.write("\t\t\t\t\t<td align=\"right\">是否关闭:</td>\n"); out.write("\t\t\t\t\t<td><span style=\"margin-left: 20px \">"); if (worksBean.getIsclosed() == 1) { out.write('关'); out.write('闭'); out.write(' '); } else { out.write(' '); out.write('开'); out.write('启'); } out.write("</span></td>\n"); out.write("\t\t\t\t</tr>\n"); out.write("\t\t\t\t<tr>\n"); out.write("\t\t\t\t\t<td align=\"right\">更新内容:</td>\n"); out.write("\t\t\t\t\t<td><div class=\"lineDiv\">"); if (worksBean.getNewcontent() != null) { out.write(' '); out.print(worksBean.getNewcontent()); out.write(' '); } out.write("</div></td>\n"); out.write("\t\t\t\t</tr>\n"); out.write("\t\t\t\t"); if (worksBean.getIsclosed() == 1 && worksBean.getClosedate() != null) { out.write("\n"); out.write("\t\t\t\t<tr>\n"); out.write("\t\t\t\t\t<td align=\"right\">关闭时间:</td>\n"); out.write("\t\t\t\t\t<td><span style=\"margin-left: 20px\">"); out.print(worksBean.getClosedate()); out.write("</span></td>\n"); out.write("\t\t\t\t</tr>\n"); out.write("\t\t\t\t"); } out.write("\n"); out.write("\t\t\t\t<tr>\n"); out.write("\t\t\t\t\t<td align=\"right\"></td>\n"); out.write("\t\t\t\t\t<td>\n"); out.write( "\t\t\t\t\t\t<div class=\"divBtn ml20 fl mt20\" onclick=\"window.history.back(-1);\">返回</div></td>\n"); out.write("\t\t\t\t</tr>\n"); out.write("\t\t\t</table>\n"); out.write("\n"); out.write("\t\t</div>\n"); out.write("\t\t"); out.write("\r\n"); out.write("\r\n"); out.write("\r\n"); out.write("<!DOCTYPE html>\r\n"); out.write("<html>\r\n"); out.write("<head>\r\n"); out.write("\r\n"); out.write("<title>智友汇</title>\r\n"); out.write("<meta http-equiv=\"pragma\" content=\"no-cache\">\r\n"); out.write("<meta http-equiv=\"cache-control\" content=\"no-cache\">\r\n"); out.write("<meta http-equiv=\"expires\" content=\"0\">\r\n"); out.write("<meta http-equiv=\"keywords\" content=\"keyword1,keyword2,keyword3\">\r\n"); out.write("<meta http-equiv=\"description\" content=\"This is my page\">\r\n"); out.write("<link rel=\"stylesheet\" type=\"text/css\" href=\"/css/css.css\" />\r\n"); out.write("<script type=\"text/javascript\" src=\"/js/jquery.min.js\"></script>\r\n"); out.write("\r\n"); out.write("</head>\r\n"); out.write("\r\n"); out.write("<body>\r\n"); out.write("\t<div class=\"footer\">\r\n"); out.write("\t\r\n"); out.write("\t<div class=\"footerbottom\">\r\n"); out.write("\t<div style=\"margin-top: 10px;margin-bottom: 30px\">Copyright©2015\r\n"); out.write("\t\t\t北京恒光数码科技有限公司 版权所有</div>\r\n"); out.write("\t</div>\r\n"); out.write("\t</div>\r\n"); out.write("</body>\r\n"); out.write("</html>\r\n"); out.write("\n"); out.write("\t\t<!-- end .container -->\n"); out.write("\t</div>\n"); out.write("\n"); out.write("</body>\n"); out.write("</html>\n"); } catch (Throwable t) { if (!(t instanceof 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 log(t.getMessage(), t); } } finally { _jspxFactory.releasePageContext(_jspx_page_context); } }
public void _jspService(HttpServletRequest request, HttpServletResponse response) throws java.io.IOException, ServletException { 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 { 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; _jspx_resourceInjector = (org.glassfish.jsp.api.ResourceInjector) application.getAttribute("com.sun.appserv.jsp.resource.injector"); out.write("\r\n"); out.write("\r\n"); out.write("\r\n"); String basePath = request.getContextPath(); out.write("\r\n"); out.write("<!DOCTYPE HTML>\r\n"); out.write("<html>\r\n"); out.write("<head>\r\n"); out.write("<title>"); out.print(TeeUtil.HTML_TITLE); out.write("</title>\r\n"); out.write("<meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\" />\r\n"); out.write("<meta name=\"viewport\"\r\n"); out.write("\tcontent=\"width=device-width, initial-scale=1, maximum-scale=1\">\r\n"); out.write( "<link href=\"/css/style.css\" rel=\"stylesheet\" type=\"text/css\" media=\"all\" />\r\n"); out.write("<script type=\"text/javascript\" src=\"/js/jquery-1.9.0.min.js\"></script>\r\n"); out.write("</head>\r\n"); out.write("<body>\r\n"); out.write("\t<input id=\"liindex\" value=\"3\" type=\"hidden\">\r\n"); out.write("\t"); org.apache.jasper.runtime.JspRuntimeLibrary.include( request, response, "header.jsp", out, false); out.write("\r\n"); out.write("\t<div class=\"main\">\r\n"); out.write("\t\t<div class=\"wrap\">\r\n"); out.write("\t\t\t<div class=\"services_grid\">\r\n"); out.write("\t\t\t\t<div class=\"content_bottom\">\r\n"); out.write("\t\t\t\t\t<div class=\"section group service_desc\">\r\n"); out.write("\t\t\t\t\t\t<div class=\"listview_1_of_2 images_1_of_2\">\r\n"); out.write("\t\t\t\t\t\t\t<div class=\"listimg listimg_2_of_1\">\r\n"); out.write("\t\t\t\t\t\t\t\t<img src=\"./images/service-1.png\" alt=\"\" />\r\n"); out.write("\t\t\t\t\t\t\t</div>\r\n"); out.write("\t\t\t\t\t\t\t<div class=\"text list_2_of_1\">\r\n"); out.write("\t\t\t\t\t\t\t\t<h4>Service - 01</h4>\r\n"); out.write("\t\t\t\t\t\t\t\t<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit,\r\n"); out.write("\t\t\t\t\t\t\t\t\tsed do eiusmod tempor incididunt ut labore et dolore.Lorem\r\n"); out.write( "\t\t\t\t\t\t\t\t\tipsum dolor sit amet. Lorem ipsum dolor sit amet, consectetur\r\n"); out.write( "\t\t\t\t\t\t\t\t\tadipisicing elit, sed do eiusmod tempor incididunt ut labore.</p>\r\n"); out.write("\t\t\t\t\t\t\t\t<div class=\"view-all\">\r\n"); out.write("\t\t\t\t\t\t\t\t\t<a href=\"events.html\">More Info</a>\r\n"); out.write("\t\t\t\t\t\t\t\t</div>\r\n"); out.write("\t\t\t\t\t\t\t</div>\r\n"); out.write("\t\t\t\t\t\t</div>\r\n"); out.write("\t\t\t\t\t\t<div class=\"listview_1_of_2 images_1_of_2\">\r\n"); out.write("\t\t\t\t\t\t\t<div class=\"listimg listimg_2_of_1\">\r\n"); out.write("\t\t\t\t\t\t\t\t<img src=\"./images/service-2.png\" alt=\"\" />\r\n"); out.write("\t\t\t\t\t\t\t</div>\r\n"); out.write("\t\t\t\t\t\t\t<div class=\"text list_2_of_1\">\r\n"); out.write("\t\t\t\t\t\t\t\t<h4>Service - 02</h4>\r\n"); out.write("\t\t\t\t\t\t\t\t<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit,\r\n"); out.write("\t\t\t\t\t\t\t\t\tsed do eiusmod tempor incididunt ut labore et dolore.Lorem\r\n"); out.write("\t\t\t\t\t\t\t\t\tipsum dolor sit amet sed do eiusmod tempor incididunt ut\r\n"); out.write("\t\t\t\t\t\t\t\t\tlabore.Lorem ipsum dolor sit amet, consectetur adipisicing\r\n"); out.write("\t\t\t\t\t\t\t\t\telit.</p>\r\n"); out.write("\t\t\t\t\t\t\t\t<div class=\"view-all\">\r\n"); out.write("\t\t\t\t\t\t\t\t\t<a href=\"events.html\">More Info</a>\r\n"); out.write("\t\t\t\t\t\t\t\t</div>\r\n"); out.write("\t\t\t\t\t\t\t</div>\r\n"); out.write("\t\t\t\t\t\t</div>\r\n"); out.write("\t\t\t\t\t</div>\r\n"); out.write("\t\t\t\t\t<div class=\"section group service_desc\">\r\n"); out.write("\t\t\t\t\t\t<div class=\"listview_1_of_2 images_1_of_2\">\r\n"); out.write("\t\t\t\t\t\t\t<div class=\"listimg listimg_2_of_1\">\r\n"); out.write("\t\t\t\t\t\t\t\t<img src=\"./images/service-3.png\" alt=\"\" />\r\n"); out.write("\t\t\t\t\t\t\t</div>\r\n"); out.write("\t\t\t\t\t\t\t<div class=\"text list_2_of_1\">\r\n"); out.write("\t\t\t\t\t\t\t\t<h4>Service - 01</h4>\r\n"); out.write("\t\t\t\t\t\t\t\t<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit,\r\n"); out.write("\t\t\t\t\t\t\t\t\tsed do eiusmod tempor incididunt ut labore et dolore.Lorem\r\n"); out.write( "\t\t\t\t\t\t\t\t\tipsum dolor sit amet. Lorem ipsum dolor sit amet, consectetur\r\n"); out.write( "\t\t\t\t\t\t\t\t\tadipisicing elit, sed do eiusmod tempor incididunt ut labore.</p>\r\n"); out.write("\t\t\t\t\t\t\t\t<div class=\"view-all\">\r\n"); out.write("\t\t\t\t\t\t\t\t\t<a href=\"events.html\">More Info</a>\r\n"); out.write("\t\t\t\t\t\t\t\t</div>\r\n"); out.write("\t\t\t\t\t\t\t</div>\r\n"); out.write("\t\t\t\t\t\t</div>\r\n"); out.write("\t\t\t\t\t\t<div class=\"listview_1_of_2 images_1_of_2\">\r\n"); out.write("\t\t\t\t\t\t\t<div class=\"listimg listimg_2_of_1\">\r\n"); out.write("\t\t\t\t\t\t\t\t<img src=\"./images/service-4.png\" alt=\"\" />\r\n"); out.write("\t\t\t\t\t\t\t</div>\r\n"); out.write("\t\t\t\t\t\t\t<div class=\"text list_2_of_1\">\r\n"); out.write("\t\t\t\t\t\t\t\t<h4>Service - 02</h4>\r\n"); out.write("\t\t\t\t\t\t\t\t<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit,\r\n"); out.write("\t\t\t\t\t\t\t\t\tsed do eiusmod tempor incididunt ut labore et dolore.Lorem\r\n"); out.write("\t\t\t\t\t\t\t\t\tipsum dolor sit amet sed do eiusmod tempor incididunt ut\r\n"); out.write("\t\t\t\t\t\t\t\t\tlabore.Lorem ipsum dolor sit amet, consectetur adipisicing\r\n"); out.write("\t\t\t\t\t\t\t\t\telit.</p>\r\n"); out.write("\t\t\t\t\t\t\t\t<div class=\"view-all\">\r\n"); out.write("\t\t\t\t\t\t\t\t\t<a href=\"events.html\">More Info</a>\r\n"); out.write("\t\t\t\t\t\t\t\t</div>\r\n"); out.write("\t\t\t\t\t\t\t</div>\r\n"); out.write("\t\t\t\t\t\t</div>\r\n"); out.write("\t\t\t\t\t</div>\r\n"); out.write("\t\t\t\t\t<div class=\"section group service_desc\">\r\n"); out.write("\t\t\t\t\t\t<div class=\"listview_1_of_2 images_1_of_2\">\r\n"); out.write("\t\t\t\t\t\t\t<div class=\"listimg listimg_2_of_1\">\r\n"); out.write("\t\t\t\t\t\t\t\t<img src=\"./images/service-5.png\" alt=\"\" />\r\n"); out.write("\t\t\t\t\t\t\t</div>\r\n"); out.write("\t\t\t\t\t\t\t<div class=\"text list_2_of_1\">\r\n"); out.write("\t\t\t\t\t\t\t\t<h4>Service - 01</h4>\r\n"); out.write("\t\t\t\t\t\t\t\t<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit,\r\n"); out.write("\t\t\t\t\t\t\t\t\tsed do eiusmod tempor incididunt ut labore et dolore.Lorem\r\n"); out.write( "\t\t\t\t\t\t\t\t\tipsum dolor sit amet. Lorem ipsum dolor sit amet, consectetur\r\n"); out.write( "\t\t\t\t\t\t\t\t\tadipisicing elit, sed do eiusmod tempor incididunt ut labore.</p>\r\n"); out.write("\t\t\t\t\t\t\t\t<div class=\"view-all\">\r\n"); out.write("\t\t\t\t\t\t\t\t\t<a href=\"events.html\">More Info</a>\r\n"); out.write("\t\t\t\t\t\t\t\t</div>\r\n"); out.write("\t\t\t\t\t\t\t</div>\r\n"); out.write("\t\t\t\t\t\t</div>\r\n"); out.write("\t\t\t\t\t\t<div class=\"listview_1_of_2 images_1_of_2\">\r\n"); out.write("\t\t\t\t\t\t\t<div class=\"listimg listimg_2_of_1\">\r\n"); out.write("\t\t\t\t\t\t\t\t<img src=\"./images/service-6.png\" alt=\"\" />\r\n"); out.write("\t\t\t\t\t\t\t</div>\r\n"); out.write("\t\t\t\t\t\t\t<div class=\"text list_2_of_1\">\r\n"); out.write("\t\t\t\t\t\t\t\t<h4>Service - 02</h4>\r\n"); out.write("\t\t\t\t\t\t\t\t<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit,\r\n"); out.write("\t\t\t\t\t\t\t\t\tsed do eiusmod tempor incididunt ut labore et dolore.Lorem\r\n"); out.write("\t\t\t\t\t\t\t\t\tipsum dolor sit amet sed do eiusmod tempor incididunt ut\r\n"); out.write("\t\t\t\t\t\t\t\t\tlabore.Lorem ipsum dolor sit amet, consectetur adipisicing\r\n"); out.write("\t\t\t\t\t\t\t\t\telit.</p>\r\n"); out.write("\t\t\t\t\t\t\t\t<div class=\"view-all\">\r\n"); out.write("\t\t\t\t\t\t\t\t\t<a href=\"events.html\">More Info</a>\r\n"); out.write("\t\t\t\t\t\t\t\t</div>\r\n"); out.write("\t\t\t\t\t\t\t</div>\r\n"); out.write("\t\t\t\t\t\t</div>\r\n"); out.write("\t\t\t\t\t</div>\r\n"); out.write("\t\t\t\t</div>\r\n"); out.write("\t\t\t</div>\r\n"); out.write("\t\t\t<div class=\"sidebar\">\r\n"); out.write("\t\t\t\t<div class=\"sidebar_right_top\">\r\n"); out.write("\t\t\t\t\t<h3>Latest News</h3>\r\n"); out.write("\t\t\t\t\t<div class=\"latestnews\">\r\n"); out.write("\t\t\t\t\t\t<div class=\"latestnews_desc\">\r\n"); out.write("\t\t\t\t\t\t\t<h4>Jan 15, 2012</h4>\r\n"); out.write("\t\t\t\t\t\t\t<p>It is a long established fact that a reader will be\r\n"); out.write( "\t\t\t\t\t\t\t\tdistracted by the readable content of a page when looking at its\r\n"); out.write("\t\t\t\t\t\t\t\tlayout.</p>\r\n"); out.write("\t\t\t\t\t\t\t<span><a href=\"#\">read more</a></span>\r\n"); out.write("\t\t\t\t\t\t</div>\r\n"); out.write("\t\t\t\t\t\t<div class=\"latestnews_desc\">\r\n"); out.write("\t\t\t\t\t\t\t<h4>Jan 20, 2013</h4>\r\n"); out.write("\t\t\t\t\t\t\t<p>It is a long established fact that a reader will be\r\n"); out.write( "\t\t\t\t\t\t\t\tdistracted by the readable content of a page when looking at its\r\n"); out.write("\t\t\t\t\t\t\t\tlayout.</p>\r\n"); out.write("\t\t\t\t\t\t\t<span><a href=\"#\">read more</a></span>\r\n"); out.write("\t\t\t\t\t\t</div>\r\n"); out.write("\t\t\t\t\t\t<div class=\"view-all\">\r\n"); out.write("\t\t\t\t\t\t\t<a href=\"events.html\">ViewAll</a>\r\n"); out.write("\t\t\t\t\t\t</div>\r\n"); out.write("\t\t\t\t\t</div>\r\n"); out.write("\t\t\t\t</div>\r\n"); out.write("\t\t\t\t<div class=\"sidebar_right_bottom\">\r\n"); out.write("\t\t\t\t\t<h3>Member Login</h3>\r\n"); out.write("\t\t\t\t\t<div class=\"login_form\">\r\n"); out.write("\t\t\t\t\t\t<form>\r\n"); out.write("\t\t\t\t\t\t\t<div>\r\n"); out.write("\t\t\t\t\t\t\t\t<span><label>User Name</label></span> <span><input\r\n"); out.write("\t\t\t\t\t\t\t\t\tname=\"userName\" type=\"text\" class=\"textbox\"></span>\r\n"); out.write("\t\t\t\t\t\t\t</div>\r\n"); out.write("\t\t\t\t\t\t\t<div>\r\n"); out.write("\t\t\t\t\t\t\t\t<span><label>Password</label></span> <span><input\r\n"); out.write("\t\t\t\t\t\t\t\t\tname=\"userName\" type=\"password\"></span>\r\n"); out.write("\t\t\t\t\t\t\t</div>\r\n"); out.write("\t\t\t\t\t\t\t<div>\r\n"); out.write("\t\t\t\t\t\t\t\t<span><input type=\"submit\" class=\"mybutton\"\r\n"); out.write("\t\t\t\t\t\t\t\t\tvalue=\"Submit\"></span>\r\n"); out.write("\t\t\t\t\t\t\t</div>\r\n"); out.write("\t\t\t\t\t\t\t<span><a href=\"#\">Forgot Password ?</a></span>\r\n"); out.write("\t\t\t\t\t\t</form>\r\n"); out.write("\t\t\t\t\t\t<h4>\r\n"); out.write("\t\t\t\t\t\t\tFree registration <a href=\"#\">Click here</a>\r\n"); out.write("\t\t\t\t\t\t</h4>\r\n"); out.write("\t\t\t\t\t</div>\r\n"); out.write("\t\t\t\t</div>\r\n"); out.write("\t\t\t</div>\r\n"); out.write("\t\t\t<div class=\"clear\"></div>\r\n"); out.write("\t\t</div>\r\n"); out.write("\t</div>\r\n"); out.write("\t"); org.apache.jasper.runtime.JspRuntimeLibrary.include( request, response, "footer.jsp", out, false); out.write("\r\n"); out.write("</body>\r\n"); out.write("</html>\r\n"); out.write("\r\n"); } 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); else throw new ServletException(t); } } finally { _jspxFactory.releasePageContext(_jspx_page_context); } }
public void _jspService(HttpServletRequest request, HttpServletResponse response) throws java.io.IOException, ServletException { 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 { 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"); String path = request.getContextPath(); String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/"; out.write("\r\n"); out.write("\r\n"); out.write("<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\">\r\n"); out.write("<head>\r\n"); out.write("<base href=\""); out.print(basePath); out.write("\">\r\n"); out.write("\r\n"); out.write("<meta http-equiv=\"Content-Type\" content=\"text/html; charset= GBK \">\r\n"); out.write("<title>成衣维修登记列表查询</title>\r\n"); out.write("\r\n"); out.write("<link rel=\"stylesheet\" type=\"text/css\" href=\""); out.print(path); out.write("/jquery-easyui-1.3.1/themes/default/easyui.css\">\r\n"); out.write("<link rel=\"stylesheet\" type=\"text/css\" href=\""); out.print(path); out.write("/jquery-easyui-1.3.1/themes/icon.css\">\r\n"); out.write("<link rel=\"stylesheet\" type=\"text/css\" href=\""); out.print(path); out.write("/jquery-easyui-1.3.1/demo/demo.css\">\r\n"); out.write("<script type=\"text/javascript\" src=\""); out.print(path); out.write("/jquery-easyui-1.3.1/jquery-1.8.0.min.js\" charset=\"GBK\"></script>\r\n"); out.write("<script type=\"text/javascript\" src=\""); out.print(path); out.write("/jquery-easyui-1.3.1/jquery.easyui.min.js\" charset=\"GBK\"></script>\r\n"); out.write("\r\n"); out.write("<script language=\"javascript\" >\r\n"); out.write("\r\n"); out.write("//下拉列表选择 店铺编码\r\n"); out.write("$(function(){\r\n"); out.write("\t$('#dp').combogrid({\r\n"); out.write("\t\tpanelWidth:260,\r\n"); out.write(" \t\tmode:'remote',\r\n"); out.write("\t\tidField:'depotid',\r\n"); out.write("\t\ttextField:'dname',\r\n"); out.write("\t\turl:'rest/getFilterdp/S2',\r\n"); out.write("\t\tmethod:'post',\r\n"); out.write("\t \r\n"); out.write("\t\tcolumns:[[\r\n"); out.write("\t\t\t{field:'depotid',title:'店铺编号',width:90},\r\n"); out.write("\t\t\t{field:'dname',title:'店铺名称',width:160},\r\n"); out.write("\r\n"); out.write("\t\t]]\r\n"); out.write("\t});\r\n"); out.write("});\r\n"); out.write(" \r\n"); out.write("\r\n"); out.write("//普通下拉2 店铺类型\r\n"); out.write("$(function(){\r\n"); out.write("\t\t\t$('#zt').combobox({\r\n"); out.write("\t\t\t\turl:'rest/getFilterzt/S1',\r\n"); out.write("\t\t\t\tmethod:'post',\r\n"); out.write("\t\t\t\tvalueField:'bh',\r\n"); out.write("\t\t\t\ttextField:'mc'\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("//结果列表\r\n"); out.write("\t$(function(){\r\n"); out.write("\t\t$('#operateRecordGrid').datagrid({\r\n"); out.write("\t\t//\ttitle:'DataGrid - ContextMenu',\r\n"); out.write("\t\t\ticonCls:'icon-save',\r\n"); out.write("\t\t\twidth:960,\r\n"); out.write("\t\t\theight:400,\r\n"); out.write("\t\t\tnowrap: true,\r\n"); out.write("\t\t\tautoRowHeight: false,\r\n"); out.write("\t\t\tstriped: true,\r\n"); out.write("\t\t\tcollapsible:true,\r\n"); out.write("\t\t\tloadMsg:'正在努力查找数据……',\r\n"); out.write("\t\t\t//url:'/gclm/web/maintainregister!execute',\r\n"); out.write("\t\t\turl:'rest/getList/'+$('#status').attr('value'),\r\n"); out.write("\t\t\tmethod:'post',\r\n"); out.write("\t\t\tsingleSelect:true,\r\n"); out.write("\t\t\tonDblClickRow: function() {\r\n"); out.write("\t\t\t\t\r\n"); out.write("\t\t\t var selected = $('#operateRecordGrid').datagrid('getSelected');\r\n"); out.write("\t\t\t \r\n"); out.write("\t\t\t \r\n"); out.write("\t\t\t if (selected){\r\n"); out.write("\t\t\t \t\r\n"); out.write("\t\t\t \t\r\n"); out.write("\t\t\t \twindow.parent.listDbOnclick(selected.guid,selected.zt);\r\n"); out.write("\t\t\t /*\r\n"); out.write("\t\t\t \tif(selected.zt==0){\r\n"); out.write( "\t\t\t window.open(\"cm/register/querydetail_register.jsp?guid=\"+selected.guid+\"&zt=\"+selected.zt);\r\n"); out.write("\t\t\t \t}else if(selected.zt==1){\r\n"); out.write( "\t\t\t \t\twindow.open(\"cm/register/querydetail_pjpd.jsp?guid=\"+selected.guid+\"&zt=\"+selected.zt);\r\n"); out.write("\t\t\t \t}\r\n"); out.write("\t\t\t \telse if(\"3,4,5\".indexOf(selected.zt)>=0){\r\n"); out.write( "\t\t\t \t\twindow.open(\"cm/register/querydetail_pjpd2.jsp?guid=\"+selected.guid+\"&zt=\"+selected.zt);\r\n"); out.write("\t\t\t \t}\r\n"); out.write("\t\t\t \telse {\r\n"); out.write( "\t\t\t \t\twindow.open(\"cm/register/querydetail_noable.jsp?guid=\"+selected.guid+\"&zt=\"+selected.zt);\r\n"); out.write("\t\t\t \t}\r\n"); out.write("\t\t\t */\t\r\n"); out.write("\t\t\t \r\n"); out.write("\t\t\t }\r\n"); out.write("\t\t\t }\r\n"); out.write("\t\t\t \t\r\n"); out.write("\t\t\t \t,\r\n"); out.write("\t\t\tcolumns:[[\r\n"); out.write("\t\t\t\t{field:'dh',title:'维修单号',width:130,sortable:true},\r\n"); out.write("\t\t\t\t{field:'ydh',title:'运单号',width:100,sortable:true},\r\n"); out.write("\t\t\t\t{field:'dpbm',title:'店铺编码',width:90,sortable:true},\r\n"); out.write("\t\t\t\t{field:'dpmc',title:'店铺名称',width:120,sortable:true},\r\n"); out.write("\t\t\t\t{field:'kh',title:'款号',width:100,sortable:true},\r\n"); out.write("\t\t\t\t{field:'zt',title:'状态',width:90,sortable:true},\r\n"); out.write("\t\t\t\t{field:'djsj',title:'登记时间',width:120,sortable:true},\r\n"); out.write("\t\t\t\t{field:'thrq',title:'退回日期',width:120,sortable:true},\r\n"); out.write("\t\t\t\t{field:'gkxm',title:'顾客姓名',width:90,sortable:true},\r\n"); out.write("\t\t\t\t{field:'vipkh',title:'VIP卡号',width:90,sortable:true},\r\n"); out.write("\t\t\t\t{field:'jjcd',title:'紧急程度',width:90,sortable:true},\r\n"); out.write("\t\t\t\t{field:'wxxz1',title:'维修性质1',width:120,sortable:true},\r\n"); out.write("\t\t\t\t{field:'wtd1',title:'问题点1',width:120,sortable:true},\r\n"); out.write("\t\t\t\t{field:'qy1',title:'起因1',width:120,sortable:true},\r\n"); out.write("\t\t\t\t{field:'xxd1',title:'现象点1',width:120,sortable:true},\r\n"); out.write("\t\t\t\t{field:'bwms',title:'部位描述',width:120,sortable:true},\r\n"); out.write("\t\t\t\t{field:'pjpdsj',title:'品检判定时间',width:120,sortable:true},\r\n"); out.write("\t\t\t\t{field:'zbfhBzrq',title:'总部发货时间',width:120,sortable:true},\r\n"); out.write("\t\t\t\t{field:'pdclfs',title:'判定处理方式',width:120,sortable:true},\r\n"); out.write("\t\t\t\t{field:'wxsj',title:'维修时间',width:90,sortable:true},\r\n"); out.write("\t\t\t\t{field:'dppj',title:'店铺满意度',width:90,sortable:true},\r\n"); out.write("\t\t\t\t{field:'thdh',title:'退货单号',width:130,sortable:true},\r\n"); out.write("\t\t\t\t{field:'posthfhddzbs',title:'POS退货发货单登帐标识',width:140,sortable:true}\r\n"); out.write("\t\t\t]],\r\n"); out.write("\t\t\tpagination:true,\r\n"); out.write("\t\t\trownumbers:true\r\n"); out.write("\t\t\t \r\n"); out.write(" /* toolbar:[{ \r\n"); out.write(" id : 'btngjsearch', \r\n"); out.write(" text : '搜索', \r\n"); out.write(" iconCls : 'icon-search', \r\n"); out.write(" handler :searchData, \r\n"); out.write(" }] \r\n"); out.write("\t\t\t */\r\n"); out.write("\t\t\t\r\n"); out.write("\t\t});\r\n"); out.write("\t//$(\"div.datagrid-toolbar\").html(\"查询关键字:<input type='text' />\");\r\n"); out.write("\t\tvar p = $('#operateRecordGrid').datagrid('getPager');\r\n"); out.write("\t\t$(p).pagination({\r\n"); out.write("\t\t\tonBeforeRefresh:function(){\r\n"); out.write("\t\t\t\talert('before refresh');\r\n"); out.write("\t\t\t}\r\n"); out.write("\t\t});\r\n"); out.write("\t});\r\n"); out.write("\t \r\n"); out.write("\t /*\r\n"); out.write(" //搜索功能 \r\n"); out.write(" function reloadgrid (keyword) { \r\n"); out.write( " var queryParams = $('#operateRecordGrid').datagrid('options').queryParams; \r\n"); out.write(" queryParams.state = keyword; \r\n"); out.write( " $('#operateRecordGrid').datagrid('options').queryParams=queryParams; \r\n"); out.write(" $(\"#operateRecordGrid\").datagrid('reload'); \r\n"); out.write(" \r\n"); out.write(" } */\r\n"); out.write(" function searchData(){ \r\n"); out.write(" \tvar dh,dp,vipkh, ydh,kh,zt, dd1,dd2,lx;\r\n"); out.write(" \t\r\n"); out.write(" \tdh=document.getElementById(\"dh\").value;\r\n"); out.write(" \tdp=$('#dp').combobox('getValue');\r\n"); out.write(" \tvipkh = document.getElementById(\"vipkh\").value;\r\n"); out.write(" \t\r\n"); out.write(" \tydh=document.getElementById(\"ydh\").value;\r\n"); out.write(" \tkh=document.getElementById(\"kh\").value;\r\n"); out.write(" \tzt=$('#zt').combobox('getValue');\r\n"); out.write(" \t\r\n"); out.write(" \tdd1 = $('#dd1').datebox('getValue'); \r\n"); out.write(" \tdd2=$('#dd2').datebox('getValue');\r\n"); out.write(" \tlx=$('#lx').combobox('getValue');\r\n"); out.write(" \t//alert(wxdh+\"===\"+dp+\"====\"+dd1);\r\n"); out.write(" \r\n"); out.write( " var query={dh:dh,dp:dp,vipkh:vipkh, ydh:ydh,kh:kh,zt:zt, dd1:dd1,dd2:dd2,lx:lx}; //把查询条件拼接成JSON\r\n"); out.write(" \r\n"); out.write( " $(\"#operateRecordGrid\").datagrid('options').queryParams=query; //把查询条件赋值给datagrid内部变量\r\n"); out.write(" \t$(\"#operateRecordGrid\").datagrid('reload'); //重新加载\r\n"); out.write(" \r\n"); out.write(" } \r\n"); out.write(" \r\n"); out.write(" \r\n"); out.write(" $(function(){\r\n"); out.write(" $('#dd1').datebox({\r\n"); out.write( " formatter: function(date){ return date.getFullYear()+'-'+(date.getMonth()+1)+'-'+date.getDate(); },\r\n"); out.write( " parser: function(date){ return new Date(Date.parse(date.replace(/-/g,\"/\"))); }\r\n"); out.write(" }); \r\n"); out.write(" })\r\n"); out.write(" $(function(){\r\n"); out.write(" $('#dd2').datebox({\r\n"); out.write( " formatter: function(date){ return date.getFullYear()+'-'+(date.getMonth()+1)+'-'+date.getDate(); },\r\n"); out.write( " parser: function(date){ return new Date(Date.parse(date.replace(/-/g,\"/\"))); }\r\n"); out.write(" }); \r\n"); out.write(" })\r\n"); out.write(" \r\n"); out.write(" </script>\r\n"); out.write("\r\n"); out.write("\r\n"); out.write("</head>\r\n"); out.write("\r\n"); out.write("<body>\r\n"); out.write("\t\r\n"); out.write("\t\r\n"); out.write("\t<table>\r\n"); out.write(" \r\n"); out.write(" <tr>\r\n"); out.write("\t<td>\r\n"); out.write("\t</td>\r\n"); out.write("\r\n"); out.write("\t<td>\r\n"); out.write("\t\r\n"); out.write("\t<div align=\"center\">\r\n"); out.write("\t<table>\r\n"); out.write("\t<tr>\r\n"); out.write("\t<td><input id=\"status\" type=\"hidden\" value=\""); out.print(request.getParameter("status")); out.write("\"></td>\r\n"); out.write("\t</tr>\r\n"); out.write("\t<tr><td>维修单号</td><td>\r\n"); out.write( "\t<input id=\"dh\" class=\"easyui-validatebox\" validType=\"minLength[0]\"/>\r\n"); out.write("\t \r\n"); out.write( "\t</td><td>店铺</td><td><select id=\"dp\" name=\"dept\" style=\"width:135px;\"></select></td><td>客户/VIP号</td><td><input id=\"vipkh\"></input></td><td></td></tr>\r\n"); out.write("\t\r\n"); out.write( "\t<tr><td>运输单号</td><td><input id=\"ydh\"></input></td><td>款号</td><td><input id=\"kh\"></input></td><td>状态</td><td>\r\n"); out.write( "\t<select id=\"zt\" class=\"easyui-combobox\" name=\"state\" style=\"width:135px;\"></select>\r\n"); out.write( "\t</td><td><a id=\"button\" class=\"easyui-linkbutton\" data-options=\"iconCls:'icon-search'\" onclick=\" searchData()\">查询</a></td></tr>\r\n"); out.write("\t"); out.write("\r\n"); out.write("\t\r\n"); out.write( "\t<tr><td>登记时间</td><td><input id=\"dd1\" class=\"easyui-datebox\" style=\"width:135px;\" ></input></td><td>- -</td><td><input id=\"dd2\" class=\"easyui-datebox\" style=\"width:135px;\"></input></td>\r\n"); out.write("\t<td>店铺类型</td>\r\n"); out.write("\t<td>\r\n"); out.write( "\t<select id=\"lx\" class=\"easyui-combobox\" name=\"state\" style=\"width:135px;height: 50px;\" data-options=\"required:true,panelHeight:'auto'\" >\r\n"); out.write("\t\t<option value=\"0\" selected>全部</option>\r\n"); out.write("\t\t<option value=\"1\">自营</option>\r\n"); out.write("\t\t<option value=\"2\">加盟</option>\r\n"); out.write("\t</select>\r\n"); out.write("\t</td>\r\n"); out.write("\t<td> "); out.write("</tr>\r\n"); out.write("\t\r\n"); out.write("\t</table>\r\n"); out.write("\t</div>\r\n"); out.write("\t<br/><br/>\r\n"); out.write("\t \r\n"); out.write("\t<div>\r\n"); out.write("\t<table id=\"operateRecordGrid\"></table>\r\n"); out.write("\t</div>\r\n"); out.write("\t</td>\r\n"); out.write("\t<td>\r\n"); out.write("\t<div align=\"right\"></div>\r\n"); out.write("\t</td>\r\n"); out.write("\t</tr>\r\n"); out.write("\t</table>\r\n"); out.write("\t\r\n"); out.write("\t<input id=\"path\" type=\"hidden\" value=\""); out.print(path); out.write("\" />\r\n"); out.write("\t\r\n"); out.write("</body>\r\n"); out.write("</html>\r\n"); } catch (Throwable t) { if (!(t instanceof 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); } } finally { _jspxFactory.releasePageContext(_jspx_page_context); } }
public void _jspService(HttpServletRequest request, HttpServletResponse response) throws java.io.IOException, ServletException { JspFactory _jspxFactory = null; PageContext pageContext = null; HttpSession session = null; Throwable exception = (Throwable) request.getAttribute("javax.servlet.jsp.jspException"); ServletContext application = null; ServletConfig config = null; JspWriter out = null; Object page = this; String _value = null; try { if (_jspx_inited == false) { synchronized (this) { if (_jspx_inited == false) { _jspx_init(); _jspx_inited = true; } } } _jspxFactory = JspFactory.getDefaultFactory(); response.setContentType("text/html; charset=GBK"); pageContext = _jspxFactory.getPageContext(this, request, response, "/error.jsp", true, 8192, true); application = pageContext.getServletContext(); config = pageContext.getServletConfig(); session = pageContext.getSession(); out = pageContext.getOut(); // HTML // begin [file="/search/accountroleinfo.jsp";from=(2,96);to=(3,0)] out.write("\r\n"); // end // HTML // begin [file="/search/accountroleinfo.jsp";from=(3,56);to=(4,0)] out.write("\r\n"); // end // HTML // begin [file="/search/accountroleinfo.jsp";from=(4,55);to=(5,0)] out.write("\r\n"); // end // begin [file="/search/accountroleinfo.jsp";from=(5,0);to=(5,49)] /* ---- power:checkpower ---- */ com.kingsoft.gmsystem.web.taglib.PowerTag _jspx_th_power_checkpower_0 = new com.kingsoft.gmsystem.web.taglib.PowerTag(); _jspx_th_power_checkpower_0.setPageContext(pageContext); _jspx_th_power_checkpower_0.setParent(null); _jspx_th_power_checkpower_0.setModulecode("accountroleinfo"); try { int _jspx_eval_power_checkpower_0 = _jspx_th_power_checkpower_0.doStartTag(); if (_jspx_eval_power_checkpower_0 == javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_BUFFERED) throw new JspTagException( "Since tag handler class com.kingsoft.gmsystem.web.taglib.PowerTag does not implement BodyTag, it can't return BodyTag.EVAL_BODY_TAG"); if (_jspx_eval_power_checkpower_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) { do { // end // begin [file="/search/accountroleinfo.jsp";from=(5,0);to=(5,49)] } while (_jspx_th_power_checkpower_0.doAfterBody() == javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN); } if (_jspx_th_power_checkpower_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) return; } finally { _jspx_th_power_checkpower_0.release(); } // end // HTML // begin [file="/search/accountroleinfo.jsp";from=(5,49);to=(6,0)] out.write("\r\n"); // end // begin [file="/search/accountroleinfo.jsp";from=(6,2);to=(19,0)] String account = new String(Util.setNullToEmpty(request.getParameter("account")).getBytes("ISO-8859-1")); String roleName = new String(Util.setNullToEmpty(request.getParameter("roleName")).getBytes("ISO-8859-1")); String zonecode = request.getParameter("zonecode2"); String game_code = request.getParameter("game_code"); String gatewayName = request.getParameter("gatewayName"); GMHelper gh = new GMHelper(); List gatewayList = gh.getGatewayList(); Iterator it = gatewayList.iterator(); Iterator accountRoleIterator = null; if (null != request.getAttribute("accountRoleList")) accountRoleIterator = ((ArrayList) request.getAttribute("accountRoleList")).iterator(); // end // HTML // begin [file="/search/accountroleinfo.jsp";from=(19,2);to=(27,14)] out.write( "\r\n<html>\r\n\t<!-- InstanceBegin template=\"/Templates/normal.dwt\" codeOutsideHTMLIsLocked=\"false\" -->\r\n\t<head>\r\n\t\t<meta http-equiv=\"Content-Type\" content=\"text/html; charset=GBK\">\r\n\t\t<!-- InstanceBeginEditable name=\"doctitle\" -->\r\n\t\t<title>玩家帐号角色互查</title>\r\n\t\t<!-- InstanceEndEditable -->\r\n\t\t<link href=\""); // end // begin [file="/search/accountroleinfo.jsp";from=(27,17);to=(27,41)] out.print(request.getContextPath()); // end // HTML // begin [file="/search/accountroleinfo.jsp";from=(27,43);to=(29,8)] out.write( "/css/public.css\" rel=\"stylesheet\" type=\"text/css\">\r\n\t\t<script language=\"JavaScript\"\r\n\t\t\tsrc=\""); // end // begin [file="/search/accountroleinfo.jsp";from=(29,11);to=(29,35)] out.print(request.getContextPath()); // end // HTML // begin [file="/search/accountroleinfo.jsp";from=(29,37);to=(31,16)] out.write( "/js/public.js\"></script>\r\n\t\t<script language=\"JavaScript\">\r\n\t\t\tvar AbsPath=\""); // end // begin [file="/search/accountroleinfo.jsp";from=(31,19);to=(31,43)] out.print(request.getContextPath()); // end // HTML // begin [file="/search/accountroleinfo.jsp";from=(31,45);to=(34,2)] out.write( "\"; \r\n\t\t</script>\r\n\t\t<!-- InstanceBeginEditable name=\"head\" -->\r\n\t\t"); // end // begin [file="/search/accountroleinfo.jsp";from=(34,4);to=(34,4)] // end // HTML // begin [file="/search/accountroleinfo.jsp";from=(34,6);to=(36,15)] out.write("\r\n<script language=\"JavaScript\">\r\nvar game_code=\""); // end // begin [file="/search/accountroleinfo.jsp";from=(36,18);to=(36,48)] out.print(Util.setNullToEmpty(game_code)); // end // HTML // begin [file="/search/accountroleinfo.jsp";from=(36,50);to=(37,14)] out.write("\";\r\nvar zonecode=\""); // end // begin [file="/search/accountroleinfo.jsp";from=(37,17);to=(37,46)] out.print(Util.setNullToEmpty(zonecode)); // end // HTML // begin [file="/search/accountroleinfo.jsp";from=(37,48);to=(38,18)] out.write("\";\r\nvar gatewayNames=\""); // end // begin [file="/search/accountroleinfo.jsp";from=(38,21);to=(38,53)] out.print(Util.setNullToEmpty(gatewayName)); // end // HTML // begin [file="/search/accountroleinfo.jsp";from=(38,55);to=(41,0)] out.write("\";\r\nvar gatewayAry = new Array();\r\n\r\n"); // end // begin [file="/search/accountroleinfo.jsp";from=(41,2);to=(49,0)] HashMap hm = null; int cnt = 0; while (it.hasNext()) { hm = (HashMap) it.next(); out.println( "gatewayAry[" + cnt++ + "] =new Array('" + hm.get("game_id") + "','" + hm.get("zonecode") + "','" + hm.get("gateway_name") + "','" + hm.get("area") + "','" + hm.get("group") + "','" + hm.get("region") + "'); "); } // end // HTML // begin [file="/search/accountroleinfo.jsp";from=(49,2);to=(126,19)] out.write( "\r\n\r\nfunction checkValue()\r\n{\r\n\tvar strErr=\"\";\r\n\tif(IsEmpty(\"account\")&&IsEmpty(\"roleName\")) strErr+=\"*玩家帐号或角色信息不能同时为空\\n\";\r\n\tif(strErr!=\"\"){\r\n\t\talert(strErr);\t\r\n\t\treturn false;\r\n\t}else{\t\t\r\n\t\tvar objDiv = document.all(\"gateway\");\r\n\t\tvar aryCheck = objDiv.all.tags(\"INPUT\");\r\n\t\tvar intCheckLength = aryCheck.length;\r\n\t\tvar gateways = \"\";\r\n\t\tfor (i = 0; i < intCheckLength; i++) {\t\r\n\t\t\tif (aryCheck[i].checked) {\r\n\t\t\t\tgateways += aryCheck[i].name + \",\";\r\n\t\t\t}\r\n\t\t}\r\n\t\tdocument.all(\"gatewayName\").value = gateways;\r\n\t\treturn true;\r\n\t}\r\n}\r\n\r\nfunction onChangeGameId()\r\n{\r\n\tvar objSel=document.all(\"zonecode2\");\r\n\tvar objSelTemp=document.all(\"zonecodeTemp\");\r\n\tvar objOption;\r\n\tobjSel.length=0;\r\n\tvar j=0;\r\n\tfor(i=0;i<objSelTemp.length;i++)\r\n\t{\r\n\t\tobjOption=objSelTemp.options[i];\r\n\t\tif(objOption.game_id==document.all(\"game_code\").value)\r\n\t\t{\r\n\t\t \tj+=1;\r\n\t\t \tif(j==1){\r\n\t\t\tobjSel.options[objSel.length]=new Option(0+\".所有区\",'all');\r\n\t\t\tobjSel.options[objSel.length-1].setAttribute(\"game_id\",objOption.game_id);\r\n\t\t \t}\r\n\t\t\tobjSel.options[objSel.length]=new Option(j+\".\"+objOption.text,objOption.value);\r\n\t\t\tobjSel.options[objSel.length-1].setAttribute(\"game_id\",objOption.game_id);\r\n\t\t}\t\t\r\n\t}\r\n}\r\n</script>\r\n\t</head>\r\n\t<!-- InstanceEndEditable -->\r\n\r\n\t<body>\r\n\t\t<table width=\"100%\" height=\"100%\" border=\"0\" align=\"center\"\r\n\t\t\tcellspacing=\"0\">\r\n\t\t\t<tr>\r\n\t\t\t\t<td height=\"20\" bgcolor=\"#BBDDFD\">\r\n\t\t\t\t\t 当前位置:\r\n\t\t\t\t\t<!-- InstanceBeginEditable name=\"position\" -->\r\n\t\t\t\t\t<span class=\"title\">查询功能</span> >>\r\n\t\t\t\t\t<span class=\"title\">玩家帐号角色互查</span>\r\n\t\t\t\t\t<!-- InstanceEndEditable -->\r\n\t\t\t\t</td>\r\n\t\t\t</tr>\r\n\t\t\t<tr>\r\n\t\t\t\t<td align=\"center\" valign=\"top\">\r\n\t\t\t\t\t<!-- InstanceBeginEditable name=\"main\" -->\r\n\t\t\t\t\t<div id=\"divPrompt\"\r\n\t\t\t\t\t\tstyle=\"width: 250px; position: absolute; display: none; left: 340px; top: 300px; height: 44px;\">\r\n\t\t\t\t\t\t<table width=\"100%\" height=\"100%\" border=\"1\" align=\"center\"\r\n\t\t\t\t\t\t\tcellspacing=\"0\" bordercolor=\"#0000FF\" bgcolor=\"#FFFFFF\">\r\n\t\t\t\t\t\t\t<tr>\r\n\t\t\t\t\t\t\t\t<td align=\"center\" valign=\"middle\">\r\n\t\t\t\t\t\t\t\t\t正在查询和等待返回结果,请稍候......\r\n\t\t\t\t\t\t\t\t</td>\r\n\t\t\t\t\t\t\t</tr>\r\n\t\t\t\t\t\t</table>\r\n\t\t\t\t\t</div>\r\n\t\t\t\t\t<br>\r\n\t\t\t\t\t<form action=\""); // end // begin [file="/search/accountroleinfo.jsp";from=(126,22);to=(126,46)] out.print(request.getContextPath()); // end // HTML // begin [file="/search/accountroleinfo.jsp";from=(126,48);to=(139,8)] out.write( "/GMCServlet?action=accountroleinfo\" method=\"post\" onsubmit=\"return checkValue()\">\r\n\t\t\t\t\t<table width=\"100%\" border=\"0\" cellspacing=\"0\">\r\n\t\t\t\t\t\t<tr>\r\n\t\t\t\t\t\t\t<td align=\"center\">\r\n\t\t\t\t\t\t\t\t所属游戏\r\n\t\t\t\t\t\t\t\t<select id=\"selectGamename\" name=\"game_code\"\r\n\t\t\t\t\t\t\t\t\tonmouseover=\"this.focus()\" onchange=\"onChangeGameId()\">\r\n\t\t\t\t\t\t\t\t\t<OPTION value='88'>\r\n\t\t\t\t\t\t\t\t\t\t剑网3\r\n\t\t\t\t\t\t\t\t\t</OPTION>\r\n\t\t\t\t\t\t\t\t</select>\r\n\t\t\t\t\t\t\t\t所在区\r\n\t\t\t\t\t\t\t\t<select name=\"zonecode2\"></select>\r\n\t\t\t\t\t\t\t\t"); // end // begin [file="/search/accountroleinfo.jsp";from=(139,8);to=(140,58)] /* ---- display:display ---- */ com.kingsoft.gmsystem.web.taglib.UserTag _jspx_th_display_display_0 = new com.kingsoft.gmsystem.web.taglib.UserTag(); _jspx_th_display_display_0.setPageContext(pageContext); _jspx_th_display_display_0.setParent(null); _jspx_th_display_display_0.setDisplayCode("select_zone_all"); _jspx_th_display_display_0.setProperty("zonecodeTemp"); _jspx_th_display_display_0.setParameter("display:none"); try { int _jspx_eval_display_display_0 = _jspx_th_display_display_0.doStartTag(); if (_jspx_eval_display_display_0 == javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_BUFFERED) throw new JspTagException( "Since tag handler class com.kingsoft.gmsystem.web.taglib.UserTag does not implement BodyTag, it can't return BodyTag.EVAL_BODY_TAG"); if (_jspx_eval_display_display_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) { do { // end // HTML // begin [file="/search/accountroleinfo.jsp";from=(140,58);to=(141,8)] out.write("\r\n\t\t\t\t\t\t\t\t"); // end // begin [file="/search/accountroleinfo.jsp";from=(141,8);to=(141,26)] } while (_jspx_th_display_display_0.doAfterBody() == javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN); } if (_jspx_th_display_display_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) return; } finally { _jspx_th_display_display_0.release(); } // end // HTML // begin [file="/search/accountroleinfo.jsp";from=(141,26);to=(149,16)] out.write( "\r\n\t\t\t\t\t\t\t\t<input type=\"hidden\" name=\"gatewayName\"/>\r\n\t\t\t\t\t\t\t\t所在服\r\n\t\t\t\t\t\t\t\t<div id=\"gateway\">\r\n\t\t\t\t\t\t\t\t</div>\r\n\r\n\t\t\t\t\t\t\t\t玩家帐号\r\n\t\t\t\t\t\t\t\t<input name=\"account\" type=\"text\" class=\"text\"\r\n\t\t\t\t\t\t\t\t\tvalue=\""); // end // begin [file="/search/accountroleinfo.jsp";from=(149,19);to=(149,26)] out.print(account); // end // HTML // begin [file="/search/accountroleinfo.jsp";from=(149,28);to=(152,63)] out.write( "\" onmouseover=\"this.focus()\" size=\"20\"\r\n\t\t\t\t\t\t\t\t\tmaxlength=\"30\">\r\n\t\t\t\t\t\t\t\t玩家角色\r\n\t\t\t\t\t\t\t\t<input type=\"text\" name=\"roleName\" class=\"text\" value=\""); // end // begin [file="/search/accountroleinfo.jsp";from=(152,66);to=(152,74)] out.print(roleName); // end // HTML // begin [file="/search/accountroleinfo.jsp";from=(152,76);to=(154,45)] out.write( "\"\r\n\t\t\t\t\t\t\t\t\tonmouseover=\"this.focus()\" size=\"20\" maxlength=\"30\">\r\n\t\t\t\t\t\t\t\t<input type=\"checkbox\" name=\"isLike\" "); // end // begin [file="/search/accountroleinfo.jsp";from=(154,48);to=(154,128)] out.print(Util.setNullToEmpty(request.getParameter("isLike")).equals("") ? "" : "checked"); // end // HTML // begin [file="/search/accountroleinfo.jsp";from=(154,130);to=(183,9)] out.write( ">模糊查询\r\n\t\t\t\t\t\t\t\t<input type=\"submit\" name=\"btnSearch\" value=\"查询\"/>\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t</td>\r\n\t\t\t\t\t\t</tr>\r\n\t\t\t\t\t\t<tr>\r\n\t\t\t\t\t\t\t<td align=\"center\">\r\n\t\t\t\t\t\t\t\t<br>\r\n\t\t\t\t\t\t\t\t<table width=\"773\" border=\"1\" cellpadding=\"0\" cellspacing=\"0\"\r\n\t\t\t\t\t\t\t\t\tclass=\"tablelist\">\r\n\t\t\t\t\t\t\t\t\t<tr align=\"left\" bgcolor=\"#419ADC\">\r\n\t\t\t\t\t\t\t\t\t\t<td height=\"31\" colspan=\"6\" nowrap>\r\n\t\t\t\t\t\t\t\t\t\t\t<font color=#ffffff><b> • 玩家帐号基本信息</b>\r\n\t\t\t\t\t\t\t\t\t\t\t</font>\r\n\t\t\t\t\t\t\t\t\t\t</td>\r\n\t\t\t\t\t\t\t\t\t</tr>\r\n\t\t\t\t\t\t\t\t\t<tr>\r\n\t\t\t\t\t\t\t\t\t\t<td width=\"25%\" height=\"25\" align=\"right\" nowrap>\r\n\t\t\t\t\t\t\t\t\t\t\t玩家帐号\r\n\t\t\t\t\t\t\t\t\t\t</td>\r\n\t\t\t\t\t\t\t\t\t\t<td width=\"25%\" height=\"25\" align=\"right\" nowrap>\r\n\t\t\t\t\t\t\t\t\t\t\t玩家角色\r\n\t\t\t\t\t\t\t\t\t\t</td>\r\n\t\t\t\t\t\t\t\t\t\t<td width=\"25%\" height=\"25\" align=\"right\" nowrap>\r\n\t\t\t\t\t\t\t\t\t\t\t所在区\r\n\t\t\t\t\t\t\t\t\t\t</td>\r\n\t\t\t\t\t\t\t\t\t\t<td width=\"25%\" height=\"25\" align=\"right\" nowrap>\r\n\t\t\t\t\t\t\t\t\t\t\t所在服\r\n\t\t\t\t\t\t\t\t\t\t</td>\r\n\t\t\t\t\t\t\t\t\t</tr>\r\n\t\t\t\t\t\t\t\t\t"); // end // begin [file="/search/accountroleinfo.jsp";from=(183,11);to=(187,9)] if (null != accountRoleIterator) { while (accountRoleIterator.hasNext()) { hm = (HashMap) accountRoleIterator.next(); // end // HTML // begin [file="/search/accountroleinfo.jsp";from=(187,11);to=(191,11)] out.write( "\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t<tr>\r\n\t\t\t\t\t\t\t\t\t\t<td width=\"25%\" height=\"25\" align=\"right\" nowrap>\r\n\t\t\t\t\t\t\t\t\t\t\t"); // end // begin [file="/search/accountroleinfo.jsp";from=(191,14);to=(191,32)] out.print(hm.get("account")); // end // HTML // begin [file="/search/accountroleinfo.jsp";from=(191,34);to=(194,11)] out.write( "\r\n\t\t\t\t\t\t\t\t\t\t</td>\r\n\t\t\t\t\t\t\t\t\t\t<td width=\"25%\" height=\"25\" align=\"right\" nowrap>\r\n\t\t\t\t\t\t\t\t\t\t\t"); // end // begin [file="/search/accountroleinfo.jsp";from=(194,14);to=(194,33)] out.print(hm.get("RoleName")); // end // HTML // begin [file="/search/accountroleinfo.jsp";from=(194,35);to=(197,11)] out.write( "\r\n\t\t\t\t\t\t\t\t\t\t</td>\r\n\t\t\t\t\t\t\t\t\t\t<td width=\"25%\" height=\"25\" align=\"right\" nowrap>\r\n\t\t\t\t\t\t\t\t\t\t\t"); // end // begin [file="/search/accountroleinfo.jsp";from=(197,14);to=(197,33)] out.print(hm.get("ZoneName")); // end // HTML // begin [file="/search/accountroleinfo.jsp";from=(197,35);to=(200,11)] out.write( "\r\n\t\t\t\t\t\t\t\t\t\t</td>\r\n\t\t\t\t\t\t\t\t\t\t<td width=\"25%\" height=\"25\" align=\"right\" nowrap>\r\n\t\t\t\t\t\t\t\t\t\t\t"); // end // begin [file="/search/accountroleinfo.jsp";from=(200,14);to=(200,36)] out.print(hm.get("GatewayName")); // end // HTML // begin [file="/search/accountroleinfo.jsp";from=(200,38);to=(203,9)] out.write( "\r\n\t\t\t\t\t\t\t\t\t\t</td>\r\n\t\t\t\t\t\t\t\t\t</tr>\r\n\t\t\t\t\t\t\t\t\t"); // end // begin [file="/search/accountroleinfo.jsp";from=(203,11);to=(206,9)] } } // end // HTML // begin [file="/search/accountroleinfo.jsp";from=(206,11);to=(260,0)] out.write( "\r\n\t\t\t\t\t\t\t\t</table>\r\n\t\t\t\t\t\t\t</td>\r\n\t\t\t\t\t\t</tr>\r\n\t\t\t\t\t</table>\r\n\t\t\t\t\t</form>\r\n\t\t\t\t\t<script language=\"JavaScript\">\r\ndocument.getElementById(\"zonecode2\").onchange = function onChangeZoneCode(){\r\n\tvar objSel = document.getElementById(\"zonecode2\");\r\n\tvar objOpt = objSel.options[objSel.selectedIndex];\r\n\tvar tmp = \"\";\r\n\tfor(var cnt=0;cnt<gatewayAry.length;cnt++){\r\n\t\tif(gatewayAry[cnt][0]==objOpt.game_id&&gatewayAry[cnt][1]==objOpt.value){\t\r\n\t\t\ttmp +=\" <input type='checkbox' name='\"+gatewayAry[cnt][5]+\"'>\"+gatewayAry[cnt][2];\r\n\t\t}\r\n\t}\r\n\tdocument.getElementById(\"gateway\").innerHTML = tmp;\r\n}\r\n\r\n\t if(game_code!=\"\"){\r\n\t\tSetSelValue(\"game_code\",game_code);\r\n onChangeGameId();\r\n SetSelValue(\"zonecode2\",zonecode);\r\n\t }else{\r\n onChangeGameId();\r\n }\r\n if(zonecode!=\"\"){\r\n\t\tonChangeZoneCode();\r\n\t\tif(gatewayNames!=\"\"){\r\n\t\t\tvar objDiv = document.all(\"gateway\");\r\n\t\t\tvar aryCheck = objDiv.all.tags(\"INPUT\");\r\n\t\t\tvar intCheckLength = aryCheck.length;\r\n\t\t\tvar gateways = \"\";\r\n\t\t\tfor (i = 0; i < intCheckLength; i++) {\t\r\n\t\t\t\tif (gatewayNames.indexOf(aryCheck[i].name+\",\")>-1) {\r\n\t\t\t\t\taryCheck[i].checked=true;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\t\t\r\n\t\t\r\n \t }\r\n\t</script>\r\n\t\t\t\t\t<!-- InstanceEndEditable -->\r\n\t\t\t\t</td>\r\n\t\t\t</tr>\r\n\t\t\t<tr>\r\n\t\t\t\t<td height=\"16\" align=\"center\" bgcolor=\"#BBDDFD\">\r\n\t\t\t\t\tCopyright © 2005 Kingsoft Corp,All Rights Reserved\r\n\t\t\t\t</td>\r\n\t\t\t</tr>\r\n\t\t</table>\r\n\t</body>\r\n\t<!-- InstanceEnd -->\r\n</html>\r\n"); // end } catch (Throwable t) { if (out != null && out.getBufferSize() != 0) out.clearBuffer(); if (pageContext != null) pageContext.handlePageException(t); } finally { if (_jspxFactory != null) _jspxFactory.releasePageContext(pageContext); } }
public void _jspService(HttpServletRequest request, HttpServletResponse response) throws java.io.IOException, ServletException { JspFactory _jspxFactory = null; javax.servlet.jsp.PageContext pageContext = null; HttpSession session = null; ServletContext application = null; ServletConfig config = null; JspWriter out = null; Object page = this; JspWriter _jspx_out = null; try { _jspxFactory = JspFactory.getDefaultFactory(); response.setContentType("text/html;charset=ISO-8859-1"); pageContext = _jspxFactory.getPageContext(this, request, response, "/error.jsp", true, 8192, true); application = pageContext.getServletContext(); config = pageContext.getServletConfig(); session = pageContext.getSession(); out = pageContext.getOut(); _jspx_out = out; out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); /** This include page ensures that the handler exists and is ready to be accessed. */ CrawlJobHandler handler = (CrawlJobHandler) application.getAttribute("handler"); Heritrix heritrix = (Heritrix) application.getAttribute("heritrix"); // If handler is empty then this is the first time this bit of code is // being run since the server came online. In that case get or create the // handler. if (handler == null) { if (Heritrix.isSingleInstance()) { heritrix = Heritrix.getSingleInstance(); handler = heritrix.getJobHandler(); application.setAttribute("heritrix", heritrix); application.setAttribute("handler", handler); } else { // TODO: // If we get here, then there are multiple heritrix instances // and we have to put up a screen allowing the user choose between. // Otherwise, there is no Heritrix instance. Thats a problem. throw new RuntimeException( "No heritrix instance (or multiple " + "to choose from and we haven't implemented this yet)"); } } // ensure controller's settingsHandler is always thread-installed // in web ui threads if (handler != null) { CrawlJob job = handler.getCurrentJob(); if (job != null) { CrawlController controller = job.getController(); if (controller != null) { controller.installThreadContextSettingsHandler(); } } } out.write("\n"); out.write("\n"); /** This webpage performs actions that can be performed from the console. */ String sAction = request.getParameter("action"); if (sAction != null) { // Need to handle an action if (sAction.equalsIgnoreCase("start")) { // Tell handler to start crawl job handler.startCrawler(); } else if (sAction.equalsIgnoreCase("stop")) { // Tell handler to stop crawl job handler.stopCrawler(); } else if (sAction.equalsIgnoreCase("terminate")) { // Delete current job if (handler.getCurrentJob() != null) { handler.deleteJob(handler.getCurrentJob().getUID()); } } else if (sAction.equalsIgnoreCase("pause")) { // Tell handler to pause crawl job handler.pauseJob(); } else if (sAction.equalsIgnoreCase("resume")) { // Tell handler to resume crawl job handler.resumeJob(); } else if (sAction.equalsIgnoreCase("checkpoint")) { if (handler.getCurrentJob() != null) { handler.checkpointJob(); } } } response.sendRedirect(request.getContextPath() + "/index.jsp"); out.write("\n"); } catch (Throwable t) { out = _jspx_out; if (out != null && out.getBufferSize() != 0) out.clearBuffer(); if (pageContext != null) pageContext.handlePageException(t); } finally { if (_jspxFactory != null) _jspxFactory.releasePageContext(pageContext); } }
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("\r\n"); out.write("\r\n"); out.write("\r\n"); out.write("\r\n"); String path = request.getContextPath(); String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/"; out.write('\r'); out.write('\n'); String title = request.getParameter("title"); String content = request.getParameter("content"); String filename = request.getParameter("filename"); String fileurl = request.getParameter("fileurl"); Gcxknews gcxknews = new Gcxknews(); gcxknews.setTitle(title); gcxknews.setContent(content); gcxknews.setPubtime(new Date()); gcxknews.setFilename(filename); gcxknews.setFileurl(fileurl); try { BasicDAO.save(gcxknews); out.println(JavaScript.alertandRedirect("保存成功", "gcxknewslist.jsp")); } catch (Exception e) { // TODO Auto-generated catch block e.printStackTrace(); out.println(JavaScript.alertandBack("保存失败")); } out.write("\r\n"); out.write("\r\n"); } 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); } }
public void _jspService(HttpServletRequest request, HttpServletResponse response) throws java.io.IOException, ServletException { 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 { response.setContentType("text/html"); 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("<!DOCTYPE html>\r\n"); org.apache.jasper.runtime.JspRuntimeLibrary.include( request, response, "/resource/jsp/resource_js.jsp", out, false); out.write("\r\n"); out.write("<html lang=\"en\">\r\n"); out.write(" <head>\r\n"); out.write(" <meta charset=\"utf-8\">\r\n"); out.write( " <meta name=\"viewport\" content=\"width=device-width,initial-scale=1,user-scalable=0\">\r\n"); out.write(" <title>项ç®è¯¦æ </title>\r\n"); out.write(" <link rel=\"stylesheet\" type=\"text/css\" href=\"../css/weui.css\">\r\n"); out.write(" <link rel=\"stylesheet\" type=\"text/css\" href=\"../css/base.css\">\r\n"); out.write( " <link rel=\"stylesheet\" type=\"text/css\" href=\"../css/details-jie.css\">\r\n"); out.write( " <script src=\"http://res.wx.qq.com/open/js/jweixin-1.0.0.js\"></script>\r\n"); out.write( " <script type=\"text/javascript\" src=\"../js/jquery.2.1.4.js\"></script>\r\n"); out.write(" <style type=\"text/css\">\r\n"); out.write("\r\n"); out.write("\t\t\t/*æ¥å人åå表*/\r\n"); out.write("\t\t\t.people-list{ color:#333;}\r\n"); out.write("\t\t\t.people-list li{ padding:8px 0;}\r\n"); out.write("\t\t\t.people-list li img{ height:40px; width:40px; border-radius:50%;}\r\n"); out.write("\t\t\t.people-list p{line-height:40px; padding-left:15px;}\r\n"); out.write("\t\t\t.people-list-ico{\r\n"); out.write("\t\t\t\theight:25px;\r\n"); out.write("\t\t\t\twidth:25px;\r\n"); out.write("\t\t\t\tbackground: url(../images/p-li2.png) 0 0 no-repeat;\r\n"); out.write("\t\t\t\tbackground-size:100%;\r\n"); out.write("\t\t\t\tmargin-top:7px;\r\n"); out.write("\t\t\t}\r\n"); out.write("\t\t\t.yes .people-list-ico{background-image:url(../images/p-li1.png);}\r\n"); out.write(" </style>\r\n"); out.write(" </head>\r\n"); out.write(" "); String openid = request.getParameter("OPENID"); String wxid = request.getParameter("WXID"); String itemid = request.getParameter("ITEMID"); String appid = new String(""); String noncestr = new String(""); String signature = new String(""); String timestamp = new String(""); JsSdkConfig ro = WxJSSDKUtil.getConfig( wxid, request.getRequestURL().toString() + "?" + request.getQueryString()); if (ro != null) { System.out.println(request.getRequestURL().toString() + "?" + request.getQueryString()); appid = ro.getAppid(); noncestr = ro.getNonceStr(); signature = ro.getSignature(); timestamp = ro.getTimestamp(); } out.write("\r\n"); out.write(" <body>\r\n"); out.write(" <!-- 头é¨åºå -->\r\n"); out.write(" \t<header class=\"clearfix ft16 pd10 cor9\">\r\n"); out.write( " \t\t<p class=\"jie-hd-lf fl\">æ¥åæé:ãè¿å©<span style=\"color:#FE0000;\"></span>天</p>\r\n"); out.write(" \t\t<div class=\"jie-hd-rt fr\">\r\n"); out.write(" \t\t\t<p><i class=\"jie-hd-ico di\"></i></p>\r\n"); out.write(" \t\t</div>\r\n"); out.write(" \t</header>\r\n"); out.write(" \t<!-- é¢ç®åºå -->\r\n"); out.write(" \t<div class=\"yu tc clearfix bd1\">\r\n"); out.write(" \t\t<p class=\"cor9 yusuan fl\">é¢ç®</p>\r\n"); out.write(" \t\t<p class=\"money fl\"> <i class=\"money-ico di\"></i></p>\r\n"); out.write("\t\t\t<div class=\"starttime fl\">\r\n"); out.write("\t\t\t\t<p>å¯å¨æ¶é´</p>\r\n"); out.write("\t\t\t\t<p></p>\r\n"); out.write("\t\t\t</div>\r\n"); out.write("\t\t\t<div class=\"endtime tr fl\">\r\n"); out.write("\t\t\t\t<p>å®ææ¶é´</p>\r\n"); out.write("\t\t\t\t<p></p>\r\n"); out.write("\t\t\t</div>\r\n"); out.write(" \t</div>\r\n"); out.write(" \t<!-- 详æ -->\r\n"); out.write(" \t<div class=\"jie-inf cor9 pd10 ft14 bd1\">\r\n"); out.write(" \t\t<h1 class=\"ft16\">项ç®è¯¦æ :</h1>\r\n"); out.write(" \t\t <ul class=\"inf-lei\">\r\n"); out.write(" \t\t\t<!-- <li>Java3人</li>\r\n"); out.write(" \t\t\t<li>PHP3人</li> -->\r\n"); out.write(" \t\t</ul> \r\n"); out.write(" \t\t<p></p>\r\n"); out.write(" \t</div>\r\n"); out.write(" \t<div class=\"pd10 cor9\" id=\"bmlist\">\r\n"); out.write(" \t\t<p style=\"padding:10px 0;\">æ¥å人æ°:ã<span>0</span>人</p>\r\n"); out.write(" \t\t<ul class=\"people-list\">\r\n"); out.write(" \t\t\t<!-- <li class=\"clearfix\">\r\n"); out.write(" \t\t\t\t<a href=\"ta.html\" class=\"fl clearfix\">\r\n"); out.write(" \t\t\t\t\t<img src=\"../images/1.jpg\" class=\"fl\">\r\n"); out.write("\t \t\t\t\t<p class=\"fl\">西é¨ç§ææéå ¬å¸</p>\r\n"); out.write(" \t\t\t\t</a>\r\n"); out.write("\t \t\t\t<i class=\"di people-list-ico fr\"></i>\r\n"); out.write(" \t\t\t</li>\r\n"); out.write(" \t\t\t<li class=\"clearfix yes\">\r\n"); out.write(" \t\t\t\t<a href=\"ta.html\" class=\"fl clearfix\">\r\n"); out.write(" \t\t\t\t\t<img src=\"../images/1.jpg\" class=\"fl\">\r\n"); out.write("\t \t\t\t\t<p class=\"fl\">西é¨ç§ææéå ¬å¸</p>\r\n"); out.write(" \t\t\t\t</a>\r\n"); out.write("\t \t\t\t<i class=\"di people-list-ico fr\"></i>\r\n"); out.write(" \t\t\t</li> -->\r\n"); out.write(" \t\t</ul>\r\n"); out.write( " \t\t<a class=\"jie-btn weui_btn weui_btn_primary\" style=\"display: none\"></a>\r\n"); out.write(" \t</div>\r\n"); out.write(" <div class=\"down\" ></div>\r\n"); out.write(" \t <!-- è¡¥å èµæ -->\r\n"); out.write(" \t<div class=\"add\">\r\n"); out.write("\t\t <div class=\"weui_cells weui_cells_form adddate\">\r\n"); out.write("\t\t \t<div class=\"adddate-hd weui_cell bd1\" >\r\n"); out.write( "\t\t \t\t<p class=\"tc\">è¡¥å èµæ<i class=\"adddate-hd-ico di\"></i></p>\r\n"); out.write("\t\t \t</div>\r\n"); out.write("\t\t \t<div class=\"weui_cell bd1\" id=\"imgurl\">\r\n"); out.write( "\t <div class=\"weui_cell_hd\"><img class=\"tou-img\" src=\"\"></div>\r\n"); out.write("\t <div class=\"weui_cell_bd weui_cell_primary\">\r\n"); out.write( "\t <input class=\"weui_input tr\" disabled=\"disabled\" type=\"text\" placeholder=\"ä¸ä¼ 头å\"/>\r\n"); out.write("\t </div>\r\n"); out.write("\t </div>\r\n"); out.write("\t <div class=\"weui_cell bd1\" >\r\n"); out.write( "\t <div class=\"weui_cell_hd\"><label class=\"weui_label\" >æµç§°</label></div>\r\n"); out.write("\t <div class=\"weui_cell_bd weui_cell_primary\">\r\n"); out.write( "\t <input class=\"weui_input tr\" type=\"text\" id=\"nickname\" placeholder=\"请è¾å ¥\"/>\r\n"); out.write("\t </div>\r\n"); out.write("\t </div>\r\n"); out.write("\t <div class=\"weui_cell bd1\">\r\n"); out.write( "\t <div class=\"weui_cell_hd\"><label class=\"weui_label\">å ¬å¸å</label></div>\r\n"); out.write("\t <div class=\"weui_cell_bd weui_cell_primary\">\r\n"); out.write( "\t <input class=\"weui_input tr\" type=\"text\" id=\"company_name\" placeholder=\"请è¾å ¥\"/>\r\n"); out.write("\t </div>\r\n"); out.write("\t </div>\r\n"); out.write("\t <div class=\"weui_cell bd1\">\r\n"); out.write( "\t <div class=\"weui_cell_hd\"><label class=\"weui_label\">è系人</label></div>\r\n"); out.write("\t <div class=\"weui_cell_bd weui_cell_primary\">\r\n"); out.write( "\t <input class=\"weui_input tr\" type=\"text\" id=\"contact\" placeholder=\"请è¾å ¥\"/>\r\n"); out.write("\t </div>\r\n"); out.write("\t </div>\r\n"); out.write("\t <div class=\"weui_cell bd1\">\r\n"); out.write( "\t <div class=\"weui_cell_hd\"><label class=\"weui_label\">èç³»çµè¯</label></div>\r\n"); out.write("\t <div class=\"weui_cell_bd weui_cell_primary\">\r\n"); out.write( "\t <input class=\"weui_input tr\" type=\"tel\" id=\"tel\" placeholder=\"请è¾å ¥\"/>\r\n"); out.write("\t </div>\r\n"); out.write("\t </div>\r\n"); out.write("\t\t\t\t<div class=\"weui_cell bd1\">\r\n"); out.write( "\t <div class=\"weui_cell_hd\"><label class=\"weui_label\">èç³»å°å</label></div>\r\n"); out.write("\t <div class=\"weui_cell_bd weui_cell_primary\">\r\n"); out.write( "\t <input class=\"weui_input tr\" type=\"text\" id=\"addr\" placeholder=\"请è¾å ¥\"/>\r\n"); out.write("\t </div>\r\n"); out.write("\t </div>\r\n"); out.write("\t\t\t\t<div class=\"weui_btn_area\">\r\n"); out.write( "\t\t <a class=\"weui_btn weui_btn_primary\" href=\"javascript:\" id=\"showTooltips\">æ交èµæ</a>\r\n"); out.write("\t\t </div>\r\n"); out.write("\t </div>\r\n"); out.write(" \t</div>\r\n"); out.write(" </body>\r\n"); out.write(" <script type=\"text/javascript\">\r\n"); out.write(" var openid=\""); out.print(openid); out.write("\";\r\n"); out.write(" var wxid=\""); out.print(wxid); out.write("\";\r\n"); out.write(" var itemid=\""); out.print(itemid); out.write("\";\r\n"); out.write(" var memberInfo=JSON.parse(sessionStorage.getItem(\"MEMBERINFO\"));\r\n"); out.write(" var state=0;\r\n"); out.write(" var serverId=\"\";\r\n"); out.write(" var data=\"\";\r\n"); out.write(" var hasbm=false;\r\n"); out.write(" var isJD=false; // æ¤é¡¹ç®æ¯å¦å·²æ¥å\r\n"); out.write("\t\t $(function() {\r\n"); out.write("\t\t\t\tinitBind();\r\n"); out.write("\t\t\t\tgetItemInfo();\t\r\n"); out.write("\t\t\t\tgetJssdkConfig();\r\n"); out.write("\t\t\t\tsetmemberinfo();\r\n"); out.write("\t\t\t});\r\n"); out.write("\t\t //è·åä¼åä¿¡æ¯\r\n"); out.write(" \t\tfunction setmemberinfo(){\r\n"); out.write(" \t\t\t//alert(JSON.stringify(memberInfo));\r\n"); out.write(" \t\t\tif(memberInfo==null){\r\n"); out.write(" \t\t\t\tgetmemberinfo();\r\n"); out.write(" \t\t\t\treturn;\r\n"); out.write(" \t\t\t}\r\n"); out.write(" \t\t\tif(memberInfo.STATE==\"0\"){\r\n"); out.write(" \t\t\t\t$(\"#imgurl img\").attr(\"src\",memberInfo.data.HEADIMGURL);\r\n"); out.write(" \t\t\t\t$(\"#nickname\").val(memberInfo.data.NICKNAME);\r\n"); out.write(" \t\t\t}\r\n"); out.write(" \t\t if(memberInfo.STATE==\"1\"){\r\n"); out.write(" \t\t \tstate=1;\r\n"); out.write(" \t\t }\r\n"); out.write(" \t\t}\r\n"); out.write(" \t\tfunction getmemberinfo(){\r\n"); out.write(" \t\t$.ajax({\r\n"); out.write(" \t\t\turl:\""); out.print(request.getContextPath()); out.write("/wci/yw/GetMemberInfo.do\",\r\n"); out.write(" \t\t\tdata:{\"OPENID\":openid,\"WXID\":wxid},\r\n"); out.write(" \t\t\tsuccess:function(res){\r\n"); out.write( " \t\t\t\tsessionStorage.setItem(\"MEMBERINFO\",JSON.stringify(res.data));\r\n"); out.write(" \t\t\t\tmemberInfo=res.data;\r\n"); out.write(" \t\t\t\tsetmemberinfo();\r\n"); out.write( " \t\t\t\t//window.location.href=base_url+\"/\"+reurl+\"?WXID=\"+wxid+\"&OPENID=\"+openid;\r\n"); out.write(" \t\t\t}\r\n"); out.write(" \t\t});\r\n"); out.write(" \t}\r\n"); out.write("\t\t function getJssdkConfig(){\r\n"); out.write(" \t\t\twx.config({\r\n"); out.write(" \t\t\t debug: false,\r\n"); out.write(" \t\t\t appId: \""); out.print(appid); out.write("\",\r\n"); out.write(" \t\t\t timestamp: \""); out.print(timestamp); out.write("\",\r\n"); out.write(" \t\t\t nonceStr: \""); out.print(noncestr); out.write("\",\r\n"); out.write(" \t\t\t signature: \""); out.print(signature); out.write("\",\r\n"); out.write(" \t\t\t jsApiList: [\r\n"); out.write(" \t\t\t 'chooseImage',\r\n"); out.write(" \t\t\t 'uploadImage',\r\n"); out.write(" \t\t\t 'downloadImage'\r\n"); out.write(" \t\t\t ]\r\n"); out.write(" \t\t\t });\r\n"); out.write(" \t\t\t\twx.error(function(res){\r\n"); out.write(" \t\t\t\t\talert(\"æå¡å¨å¼å¸¸,请ç¨åéè¯!\");\r\n"); out.write( " \t\t\t\t // configä¿¡æ¯éªè¯å¤±è´¥ä¼æ§è¡errorå½æ°ï¼å¦ç¾åè¿æ导è´éªè¯å¤±è´¥ï¼å ·ä½é误信æ¯å¯ä»¥æå¼configçdebug模å¼æ¥çï¼ä¹å¯ä»¥å¨è¿åçresåæ°ä¸æ¥çï¼å¯¹äºSPAå¯ä»¥å¨è¿éæ´æ°ç¾åã\r\n"); out.write(" \t\t\t\t});\r\n"); out.write(" \t\t\t\twx.ready(function(){\r\n"); out.write(" \t\t\t\t\tdocument.querySelector('#imgurl').onclick = function () {\r\n"); out.write(" \t\t\t\t\t\twx.chooseImage({\r\n"); out.write(" \t\t\t\t\t\t count: 1, // é»è®¤9\r\n"); out.write( " \t\t\t\t\t\t sizeType: ['original', 'compressed'], // å¯ä»¥æå®æ¯åå¾è¿æ¯å缩å¾ï¼é»è®¤äºè é½æ\r\n"); out.write( " \t\t\t\t\t\t sourceType: ['album', 'camera'], // å¯ä»¥æå®æ¥æºæ¯ç¸åè¿æ¯ç¸æºï¼é»è®¤äºè é½æ\r\n"); out.write(" \t\t\t\t\t\t success: function (res) {\r\n"); out.write(" \t\t\t\t\t\t \t//alert(JSON.stringify(res));\r\n"); out.write(" \t\t\t\t\t\t \t$(\"#imgurl img\").attr(\"src\",res.localIds[0]);\r\n"); out.write(" \t\t\t\t\t\t wx.uploadImage({\r\n"); out.write( " \t\t\t\t\t\t localId: res.localIds[0], // éè¦ä¸ä¼ çå¾ççæ¬å°IDï¼ç±chooseImageæ¥å£è·å¾\r\n"); out.write( " \t\t\t\t\t\t isShowProgressTips: 1, // é»è®¤ä¸º1ï¼æ¾ç¤ºè¿åº¦æ示\r\n"); out.write(" \t\t\t\t\t\t success: function (res) {\r\n"); out.write( " \t\t\t\t\t\t serverId = res.serverId; // è¿åå¾ççæå¡å¨ç«¯ID\r\n"); out.write(" \t\t\t\t\t\t }\r\n"); out.write(" \t\t\t\t\t\t });\r\n"); out.write(" \t\t\t\t\t\t }\r\n"); out.write(" \t\t\t\t\t\t});\r\n"); out.write(" \t\t\t\t\t}\r\n"); out.write(" \t\t\t\t\t\r\n"); out.write(" \t\t\t\t});\r\n"); out.write(" \t\t}\r\n"); out.write("\t\t function getItemInfo(){\r\n"); out.write("\t\t \t$.ajax({\r\n"); out.write("\t\t \t\turl:\""); out.print(request.getContextPath()); out.write("/wci/yw/GetItemInfo.do\",\r\n"); out.write("\t\t \t\tdata:{\"ITEM_ID\":itemid},\r\n"); out.write("\t\t \t\tbeforeSend:function(){\r\n"); out.write("\t\t \t\t\twc.showLoadding(\"å è½½ä¸\");\r\n"); out.write("\t\t \t\t},\r\n"); out.write("\t\t \t\tsuccess:function(res){\r\n"); out.write("\t\t \t\t\t//alert(JSON.stringify(res.data));\r\n"); out.write("\t\t \t\t\tsetData(res.data);\r\n"); out.write("\t\t \t\t\tdata=res.data;\r\n"); out.write("\t\t \t\t},\r\n"); out.write("\t\t \t\tcomplete:function(){\r\n"); out.write("\t\t \t\t\twc.closeLoadding();\r\n"); out.write("\t\t \t\t},\r\n"); out.write("\t\t \t\terror:function(){\r\n"); out.write("\t\t \t\t\twc.closeLoadding();\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 function setData(data){\r\n"); out.write("\t\t \tsetCommData(data);\r\n"); out.write("\t\t \t//alert(JSON.stringify(data));\r\n"); out.write("\t\t \t// è¥æ¯åå¸äººè¿å ¥æ¤é¡µé¢\r\n"); out.write("\t\t \tif(data.ITEMINFO.OPENID==openid&&data.ITEMINFO.WXID==wxid){\r\n"); out.write("\t\t \t\tsetBMData(data);\r\n"); out.write("\t\t \t}else{ // éåå¸äººè¿å ¥\r\n"); out.write("\t\t \t\tvar html=\"\";\r\n"); out.write("\t\t \t\t$(\"#bmlist span:first\").html(data.BMLIST.length);\r\n"); out.write("\t\t \t\tfor(var i=0;i<data.BMLIST.length;i++){\r\n"); out.write("\t\t\t \t\tif(data.BMLIST[i].IS_JD==\"1\"){\r\n"); out.write("\t\t\t \t\t\tisJD=true;\r\n"); out.write("\t\t\t \t\t}\r\n"); out.write("\t\t\t \t\tif(data.BMLIST[i].OPENID==openid&&data.BMLIST[i].WXID==wxid){\r\n"); out.write("\t\t\t \t\t\thasbm=true;\r\n"); out.write("\t\t\t \t\t}\r\n"); out.write("\t\t\t \t\thtml+=getPeopleHtml2(data.BMLIST[i]);\r\n"); out.write("\t\t\t \t}\r\n"); out.write("\t\t \t\t$(\".people-list\").html(html);\r\n"); out.write("\t\t \t\tif(!hasbm&&!isJD){\r\n"); out.write("\t\t \t\t\t$(\".jie-btn\").unbind();\r\n"); out.write("\t\t\t \t $(\".jie-btn\").text(\"æ¥å\");\r\n"); out.write("\t\t\t \t $(\".jie-btn\").show();\r\n"); out.write("\t\t\t \t $(\".jie-btn\").click(BMItem);\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 function BMItem(){\r\n"); out.write("\t\t \tif(state==0){\r\n"); out.write("\t\t \t\t$(\".add\").show();\r\n"); out.write("\t\t \t\t$(\".down\").show();\r\n"); out.write("\t\t \t}else{\r\n"); out.write("\t\t \t\t$.ajax({\r\n"); out.write("\t\t\t \t\turl:\""); out.print(request.getContextPath()); out.write("/wci/yw/BMItem.do\",\r\n"); out.write("\t\t\t \t\tdata:{\"ITEM_ID\":itemid,\"OPENID\":openid,\"WXID\":wxid},\r\n"); out.write("\t\t\t \t\tbeforeSend:function(){\r\n"); out.write("\t\t\t \t\t\twc.showLoadding(\"æä½ä¸\");\r\n"); out.write("\t\t\t \t\t},\r\n"); out.write("\t\t\t \t\tsuccess:function(res){\r\n"); out.write("\t\t\t \t\t\tif(res.data==\"1\"){\r\n"); out.write("\t\t\t \t\t\t\twc.showMsg(\"æ¥åæå\",function(){\r\n"); out.write( "\t\t\t \t\t\t\t\twindow.location.href=\"./succss-baoming.jsp?OPENID=\"+openid+\"&WXID=\"+wxid+\"&ITEM_ID=\"+itemid;\r\n"); out.write("\t\t\t \t\t\t\t});\r\n"); out.write("\t\t\t \t\t\t}\r\n"); out.write("\t\t\t \t\t\t\r\n"); out.write("\t\t\t \t\t},\r\n"); out.write("\t\t\t \t\tcomplete:function(){\r\n"); out.write("\t\t\t \t\t\twc.closeLoadding();\r\n"); out.write("\t\t\t \t\t}\r\n"); out.write("\t\t\t \t\t\r\n"); out.write("\t\t\t \t});\r\n"); out.write("\t\t \t}\r\n"); out.write("\t\t \t\r\n"); out.write("\t\t }\r\n"); out.write("\t\t function setBMData(data){ //è®°è½½æ¥åå表\r\n"); out.write("\t\t \tvar html=\"\";\r\n"); out.write("\t\t $(\"#bmlist span:first\").html(data.BMLIST.length);\r\n"); out.write("\t\t //alert(JSON.stringify(data));\r\n"); out.write("\t\t \tfor(var i=0;i<data.BMLIST.length;i++){\r\n"); out.write("\t\t \t\tif(data.BMLIST[i].IS_JD==\"1\"){\r\n"); out.write("\t\t \t\t\tisJD=true;\r\n"); out.write("\t\t \t\t}\r\n"); out.write("\t\t \t\thtml+=getPeopleHtml(data.BMLIST[i]);\r\n"); out.write("\t\t \t}\r\n"); out.write("\t\t \t$(\".people-list\").html(html);\r\n"); out.write("\t\t \tif(data.BMLIST.length==0){ //没æ人æ¥åå¯ä»¥è¿è¡ä¿®æ¹\r\n"); out.write("\t\t \t\t$(\".jie-btn\").unbind();\r\n"); out.write("\t\t \t $(\".jie-btn\").text(\"ä¿®æ¹éæ±\");\r\n"); out.write("\t\t \t $(\".jie-btn\").show();\r\n"); out.write("\t\t \t $(\".jie-btn\").click(updateItem);\r\n"); out.write("\t\t \t}\r\n"); out.write("\t\t \tif(data.BMLIST.length>0&&!isJD){\r\n"); out.write("\t\t \t\t$(\".jie-btn\").unbind();\r\n"); out.write("\t\t \t $(\".jie-btn\").text(\"确认æ¥åå ¬å¸\");\r\n"); out.write("\t\t \t $(\".jie-btn\").show();\r\n"); out.write("\t\t \t $(\".jie-btn\").click(updateJDGS);\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 //确认æ¥åå ¬å¸\r\n"); out.write("\t\t \r\n"); out.write("\t\t function updateJDGS(data){\r\n"); out.write("\t\t \t\tif(checkJDGS()){\r\n"); out.write("\t\t \t\t\tsubmitJDGS();\r\n"); out.write("\t\t \t\t}\r\n"); out.write("\t\t }\r\n"); out.write("\t\t function submitJDGS(){\r\n"); out.write("\t\t \t$.ajax({\r\n"); out.write("\t \t\t\turl:\""); out.print(request.getContextPath()); out.write("/wci/yw/SetJD.do\",\r\n"); out.write("\t \t\t\tdata:{\"ITEM_ID\":itemid,\"JDGSARR\":JSON.stringify(jdgsarr)},\r\n"); out.write("\t \t\t\tbeforeSend:function(){\r\n"); out.write("\t \t\t\t\twc.showLoadding(\"æä½ä¸\");\r\n"); out.write("\t \t\t\t},\r\n"); out.write("\t \t\t\tsuccess:function(res){\r\n"); out.write("\t \t\t\t\tif(parseInt(res.data)>=1){\r\n"); out.write("\t \t\t\t\t\twc.showMsg(\"设置æå\",function(){\r\n"); out.write("\t\t \t\t\t\t\twindow.location.reload();\r\n"); out.write("\t \t\t\t\t\t});\r\n"); out.write("\t \t\t\t\t}\r\n"); out.write("\t \t\t\t},\r\n"); out.write("\t \t\t\tcomplete:function(){\r\n"); out.write("\t \t\t\t\twc.closeLoadding();\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 var jdgsarr=[];\r\n"); out.write("\t\t function checkJDGS(){\r\n"); out.write("\t\t \tif($(\".people-list>li.yes\").length==0){\r\n"); out.write("\t\t \t\twc.showDialog(\"\",\"请éæ©æ¥åå ¬å¸\");\r\n"); out.write("\t\t \t\treturn false\r\n"); out.write("\t\t \t}\r\n"); out.write("\t\t \t$(\".people-list>li.yes\").each(function(){\r\n"); out.write("\t\t \t\tvar item={};\r\n"); out.write("\t\t \t\titem.OPENID=$(this).attr(\"openid\");\r\n"); out.write("\t\t \t\titem.WXID=$(this).attr(\"wxid\");\r\n"); out.write("\t\t \t\titem.NAME=$(this).find(\"p\").html();\r\n"); out.write("\t\t \t\tjdgsarr.push(item);\r\n"); out.write("\t\t \t});\r\n"); out.write("\t\t \t//alert(JSON.stringify(jdgsarr));\r\n"); out.write("\t\t \treturn true;\r\n"); out.write("\t\t }\r\n"); out.write("\t\t function updateItem(){\r\n"); out.write("\t\t \tif(data.ITEMINFO.ITEM_TYPE==\"1\"){\r\n"); out.write( "\t\t \t\twindow.location.href=\"./project.jsp?OPENID=\"+openid+\"&WXID=\"+wxid+\"&ITEMID=\"+itemid;\r\n"); out.write("\t\t \t}\r\n"); out.write("\t\t \tif(data.ITEMINFO.ITEM_TYPE==\"2\"){\r\n"); out.write( "\t\t \t\twindow.location.href=\"./resources.jsp?OPENID=\"+openid+\"&WXID=\"+wxid+\"&ITEMID=\"+itemid;\r\n"); out.write("\t\t \t}\r\n"); out.write("\t\t }\r\n"); out.write("\t\t function getPeopleHtml(item){\r\n"); out.write( "\t\t \tvar html=\"<li class='clearfix \"+(item.IS_JD==\"1\"?'yes':'')+\"' openid='\"+item.OPENID+\"' wxid='\"+item.WXID+\"'>\"+\r\n"); out.write("\t\t\t\t\t\t\t\t\"<a class='fl clearfix'>\"+\r\n"); out.write("\t\t\t\t\t\t\t\t\"<img src='\"+item.IMGURL+\"' class='fl'>\"+\r\n"); out.write("\t\t\t\t\t\t\t\t\"<p class='fl'>\"+item.COMPANY_NAME+\"</p>\"+\r\n"); out.write("\t\t\t\t\t\t\t\"</a>\"+\r\n"); out.write("\t\t\t\t\t\t\t\"<i class='di people-list-ico fr' ></i>\"+\r\n"); out.write("\t\t\t\t\t\t\"</li>\";\r\n"); out.write("\t\t\t\t\t\treturn html;\r\n"); out.write("\t\t }\r\n"); out.write("\t\t function getPeopleHtml2(item){\r\n"); out.write( "\t\t \tvar html=\"<li class='clearfix \"+(item.IS_JD==\"1\"?'yes':'')+\"' openid='\"+item.OPENID+\"' wxid='\"+item.WXID+\"'>\"+\r\n"); out.write("\t\t\t\t\t\t\t\t\"<a class='fl clearfix'>\"+\r\n"); out.write("\t\t\t\t\t\t\t\t\"<img src='\"+item.IMGURL+\"' class='fl'>\"+\r\n"); out.write("\t\t\t\t\t\t\t\t\"<p class='fl'>\"+item.COMPANY_NAME+\"</p>\"+\r\n"); out.write("\t\t\t\t\t\t\t\"</a>\"+\r\n"); out.write( "\t\t\t\t\t\t\t\"<i class='di people-list-ico fr' style='display:\"+(item.IS_JD==\"1\"?'block':'none')+\"'></i>\"+\r\n"); out.write("\t\t\t\t\t\t\"</li>\";\r\n"); out.write("\t\t\t\t\t\treturn html;\r\n"); out.write("\t\t }\r\n"); out.write("\t\t function setCommData(data){\r\n"); out.write("\t\t \tvar item=data.ITEMINFO;\r\n"); out.write("\t\t \t$(\"header p:first span\").html(item.JSQX);\r\n"); out.write("\t\t \t$(\"header p:last\").prepend(item.COMPANY_NAME);\r\n"); out.write("\t\t \t$(\".money\").prepend(cc(item.ITEM_XMYS));\r\n"); out.write("\t\t \t$(\".starttime p:last\").html(item.ITEM_QDSJ);\r\n"); out.write("\t\t \t$(\".endtime p:last\").html(item.ITEM_WCSJ);\r\n"); out.write("\t\t \t$(\".jie-inf p:last\").html(item.ITEM_XQ);\r\n"); out.write("\t\t \t\r\n"); out.write("\t\t \tif(item.ITEM_TYPE==\"2\"){\r\n"); out.write("\t\t \t\tfor(var i=0;i<data.TYPELIST.length;i++){\r\n"); out.write( "\t\t \t\t\t$(\".inf-lei\").append(\"<li>\"+data.TYPELIST[i].ITEM_TYPE_NAME+\" \"+data.TYPELIST[i].ITEM_TYPE_NUM+\"人</li>\");\r\n"); out.write("\t\t \t\t}\r\n"); out.write("\t\t \t}\r\n"); out.write("\t\t \t\r\n"); out.write("\t\t }\r\n"); out.write("\t\t function cc(s){\r\n"); out.write("\t if(/[^0-9\\.]/.test(s)) return \"invalid value\";\r\n"); out.write("\t s=s.replace(/^(\\d*)$/,\"$1.\");\r\n"); out.write("\t s=(s+\"00\").replace(/(\\d*\\.\\d\\d)\\d*/,\"$1\");\r\n"); out.write("\t s=s.replace(\".\",\",\");\r\n"); out.write("\t var re=/(\\d)(\\d{3},)/;\r\n"); out.write("\t while(re.test(s))\r\n"); out.write("\t s=s.replace(re,\"$1,$2\");\r\n"); out.write("\t s=s.replace(/,(\\d\\d)$/,\".$1\");\r\n"); out.write("\t return s.replace(/^\\./,\"0.\");\r\n"); out.write("\t }\r\n"); out.write("\t\t $(\"#showTooltips\").click(function(){\r\n"); out.write(" \t\t\tif(memberCheck()){\r\n"); out.write(" \t\t\t\tmemberSubmit();\r\n"); out.write(" \t\t\t}\r\n"); out.write(" \t\t});\r\n"); out.write(" \t\tfunction memberSubmit(){\r\n"); out.write(" \t\t\t//alert(1);\r\n"); out.write(" \t\t\t$.ajax({\r\n"); out.write(" \t\t\t\turl:\""); out.print(request.getContextPath()); out.write("/wci/yw/MemberSubmit.do\",\r\n"); out.write( " \t\t\t\tdata:{\"OPENID\":openid,\"WXID\":wxid,\"SERVERID\":serverId,\"NICKNAME\":$(\"#nickname\").val(),\r\n"); out.write( " \t\t\t\t\t \"COMPANY_NAME\":$(\"#company_name\").val(),\"CONTACT\":$(\"#contact\").val(),\"IMGURL\":memberInfo.data.HEADIMGURL,\r\n"); out.write(" \t\t\t\t\t \"TEL\":$(\"#tel\").val(),\"ADDR\":$(\"#addr\").val()\r\n"); out.write(" \t\t\t\t },\r\n"); out.write(" \t\t\t\tbeforeSend:function(){\r\n"); out.write(" \t\t\t\t\twc.showLoadding(\"æ交ä¸.....\");\r\n"); out.write(" \t\t\t\t},\r\n"); out.write(" \t\t\t\tsuccess:function(res){\r\n"); out.write(" \t\t\t\t\tif(res.data==\"1\"){\r\n"); out.write(" \t\t\t\t\t\twc.showMsg(\"æ交æå\",function(){\r\n"); out.write(" \t\t\t\t\t\t$(\".add\").hide();\r\n"); out.write(" \t\t\t\t$(\".down\").hide();\r\n"); out.write(" \t\t\t\tmemberInfo.STATE=1;\r\n"); out.write( " \t\t\t\tsessionStorage.setItem(\"MEMBERINFO\",JSON.stringify(memberInfo));\r\n"); out.write(" \t\t\t\tstate=1;\r\n"); out.write(" \t\t\t\t\t});\r\n"); out.write(" \t\t\t\t\t}\r\n"); out.write(" \t\t\t\t\t//setTime\r\n"); out.write(" \t\t\t\t\t\r\n"); out.write(" \t\t\t\t},\r\n"); out.write(" \t\t\t\tcomplete:function(){\r\n"); out.write(" \t\t\t\t\twc.closeLoadding();\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\tfunction memberCheck(){\r\n"); out.write(" \t\t\t//wc.showDialog(\"title\",\"text\");\r\n"); out.write(" \t\t\tif($(\"#nickname\").val()==\"\"){\r\n"); out.write(" \t\t\t\twc.showDialog(\"\",\"æµç§°ä¸è½ä¸ºç©º!\");\r\n"); out.write(" \t\t\t\treturn false;\r\n"); out.write(" \t\t\t}\r\n"); out.write(" \t\t\tif($(\"#company_name\").val()==\"\"){\r\n"); out.write(" \t\t\t\twc.showDialog(\"\",\"å ¬å¸åä¸è½ä¸ºç©º!\");\r\n"); out.write(" \t\t\t\treturn false;\r\n"); out.write(" \t\t\t}\r\n"); out.write(" \t\t\tif($(\"#contact\").val()==\"\"){\r\n"); out.write(" \t\t\t\twc.showDialog(\"\",\"è系人ä¸è½ä¸ºç©º!\");\r\n"); out.write(" \t\t\t\treturn false;\r\n"); out.write(" \t\t\t}\r\n"); out.write(" \t\t\tif($(\"#tel\").val()==\"\"){\r\n"); out.write(" \t\t\t\twc.showDialog(\"\",\"èç³»çµè¯ä¸è½ä¸ºç©º!\");\r\n"); out.write(" \t\t\t\treturn false;\r\n"); out.write(" \t\t\t}\r\n"); out.write(" \t\t\tif(!$(\"#tel\").val().match(/^1[0-9]{10}$/)){\r\n"); out.write(" \t\t\t\twc.showDialog(\"\",\"èç³»çµè¯æ ¼å¼ä¸æ£ç¡®!\");\r\n"); out.write(" \t\t\t\treturn false;\r\n"); out.write(" \t\t\t}\r\n"); out.write(" \t\t\tif($(\"#addr\").val()==\"\"){\r\n"); out.write(" \t\t\t\twc.showDialog(\"\",\"èç³»å°åä¸è½ä¸ºç©º!\");\r\n"); out.write(" \t\t\t\treturn false;\r\n"); out.write(" \t\t\t}\r\n"); out.write(" \t\t\treturn true;\r\n"); out.write(" \t\t}\r\n"); out.write(" function initBind(){\r\n"); out.write(" \t//人åå表æ åµ\r\n"); out.write( " \t$(\".people-list\").delegate(\"i.people-list-ico\",\"click\",function(){\r\n"); out.write(" if(!isJD){ //没æ人æ¥å\r\n"); out.write(" \t //$(\".people-list>li\").removeClass(\"yes\");\r\n"); out.write(" $(this).parent(\"li\").toggleClass(\"yes\");\r\n"); out.write(" }\r\n"); out.write(" \t});\r\n"); out.write(" \t$(\".people-list\").delegate(\"a\",\"click\",function(){\r\n"); out.write( " \t\twindow.location.href=\"./my.jsp?OPENID=\"+$(this).parent().attr(\"openid\")+\"&WXID=\"+$(this).parent().attr(\"wxid\");\r\n"); out.write(" \t})\r\n"); out.write("\t\t\t\t/* $(\".people-list-ico\").click(function(event) {\r\n"); out.write("\t\t\t\t\t//å¤ææ¯å¦å ·æç±»å\r\n"); out.write("\t\t\t\t\tif ($(this).parent(\"li\").hasClass('yes')) {\r\n"); out.write("\t\t\t\t\t\t$(this).parent(\"li\").removeClass('yes')\r\n"); out.write("\t\t\t\t\t}else{\r\n"); out.write("\t\t\t\t\t\t$(this).parent(\"li\").addClass('yes');\r\n"); out.write("\t\t\t\t\t};\r\n"); out.write("\t\t\t\t\t//å¦æli ä»»æå ·æå°±\r\n"); out.write("\t\t\t\t\tif ($(\".people-list li\").hasClass('yes')) {\r\n"); out.write("\t\t\t\t\t\t$(\".jie-btn\").text(\"确认æ¥åå ¬å¸\")\r\n"); out.write("\t\t\t\t\t}else{\r\n"); out.write("\t\t\t\t\t\t$(\".jie-btn\").text(\"ä¿®æ¹éæ±\")\r\n"); out.write("\t\t\t\t\t};\r\n"); out.write("\t\t\t\t}); */\r\n"); out.write("\t\t\t\t$(\".down\").click(function(){\r\n"); out.write("\t\t\t\t\t$(\".down\").hide();\r\n"); out.write("\t\t\t\t\t$(\".add\").hide();\r\n"); out.write("\t\t\t\t});\r\n"); out.write(" }\r\n"); out.write("\t\t</script>\r\n"); out.write("</html>"); } catch (Throwable t) { if (!(t instanceof 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 log(t.getMessage(), t); } } finally { _jspxFactory.releasePageContext(_jspx_page_context); } }
public void _jspService(HttpServletRequest request, HttpServletResponse response) throws java.io.IOException, ServletException { 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 { 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('\n'); String path = request.getContextPath(); out.write("\n"); out.write("<!DOCTYPE HTML>\n"); out.write("<html>\n"); out.write("<head>\n"); out.write("<meta charset=\"UTF-8\">\n"); out.write( "<meta name=\"description\" content=\"soningbo搜索宁波--是一个专门为广大用户服务,用于方便的搜索到用户自己想要找的或者去的任何地址,如车站、餐厅、旅游场景、娱乐场所、公司、旅馆等地方。\">\n"); out.write("<title>搜索宁波 - So Ningbo</title>\n"); out.write("<link rel=\"stylesheet\" type=\"text/css\" href=\""); out.print(path); out.write("/css/global_test.css\" />\n"); out.write("<link rel=\"stylesheet\" id=\"cssStyle\" type=\"text/css\" href=\""); out.print(path); out.write("/css/genral_test.css\" />\n"); out.write("<script src=\""); out.print(path); out.write("/scripts/jquery-1.7.min.js\" type=\"text/javascript\"></script>\n"); out.write("<script src=\""); out.print(path); out.write("/scripts/so_ningbo_showcateg.js\" type=\"text/javascript\"></script>s\n"); out.write("<script type=\"text/javascript\">\n"); out.write("\n"); out.write("function userAgent(){\n"); out.write(" var ua = navigator.userAgent;\n"); out.write(" ua = ua.toLowerCase();\n"); out.write(" var match = /(webkit)[ \\/]([\\w.]+)/.exec(ua) ||\n"); out.write(" /(opera)(?:.*version)?[ \\/]([\\w.]+)/.exec(ua) ||\n"); out.write(" /(msie) ([\\w.]+)/.exec(ua) ||\n"); out.write(" !/compatible/.test(ua) && /(mozilla)(?:.*? rv:([\\w.]+))?/.exec(ua) ||\n"); out.write(" [];\n"); out.write(" //如果需要获取浏览器版本号:match[2]\n"); out.write(" switch(match[1]){\n"); out.write(" case \"msie\": //ie\n"); out.write("\n"); out.write(" document.getElementById(\"cssStyle\").href=\""); out.print(path); out.write("/css/ie_test.css\";\n"); out.write(" break;\n"); out.write(" case \"webkit\": //safari or chrome\n"); out.write("\t case \"opera\": //opera\n"); out.write("\t case \"mozilla\": //Firefox\n"); out.write(" document.getElementById(\"cssStyle\").href=\""); out.print(path); out.write("/css/genral_test.css\";\n"); out.write(" break;\n"); out.write(" default: \n"); out.write("\t document.getElementById(\"cssStyle\").href=\""); out.print(path); out.write("/css/ie_test.css\";\n"); out.write(" break;\n"); out.write(" }\n"); out.write("}\n"); out.write("userAgent();\n"); out.write(" </script>\n"); out.write("</head>\n"); out.write("\n"); out.write("<body><div class=\"container\">\n"); out.write("<header><div id=\"header\">\n"); out.write("<div class=\"logo\"><span>English</span></div></div></header>\n"); out.write("<div class=\"content\">\n"); out.write("<section>\n"); out.write("<div class=\"section_st\" id=\"section_st\">\n"); out.write("</div></section>\n"); out.write("<section>\n"); out.write("<div class=\"section_nd\" id=\"section_nd\">\n"); out.write("</div></section></div>\n"); out.write("<footer><div id=\"footer\">\n"); out.write("<div class=\"copyright\"><img src=\""); out.print(path); out.write("/images/nm_logo.png\" alt=\"宁波商外文化传媒\"/><br/>© 2012 宁波商外文化传媒</div>\n"); out.write( "<div class=\"message\">客服电话:0574-87200625(个人) 0574-83860743(企业) (按当地市话标准计费)<br/><span>宁波ICP证000000号</span></div>\n"); out.write( "<div class=\"report\"><a href=\"http://net.china.cn/\" target=\"_blank\"><img src=\""); out.print(path); out.write( "/images/ciirc.png\" alt=\"不良信息举报\"/><br/>不良信息举报中心</a></div></div></footer></div>\n"); out.write("</body>\n"); out.write("</html>\n"); } catch (Throwable t) { if (!(t instanceof 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); } } finally { _jspxFactory.releasePageContext(_jspx_page_context); } }
public void _jspService(HttpServletRequest request, HttpServletResponse response) throws java.io.IOException, ServletException { 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 { 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'); out.write('\n'); out.write("\r\n"); out.write("\r\n"); out.write("\r\n"); out.write("\r\n"); out.write("\r\n"); String path = request.getContextPath(); String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/"; pageContext.setAttribute("httpProtocol", request.getScheme()); out.write('\r'); out.write('\n'); if (_jspx_meth_c_005fset_005f0(_jspx_page_context)) return; out.write('\r'); out.write('\n'); if (_jspx_meth_c_005fset_005f1(_jspx_page_context)) return; out.write('\r'); out.write('\n'); if (_jspx_meth_c_005fset_005f2(_jspx_page_context)) return; out.write("\r\n"); out.write("\r\n"); out.write("\r\n"); out.write("\r\n"); out.write("<div class=\"table-list\">\r\n"); out.write("\t<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\r\n"); out.write("\t\t<thead>\r\n"); out.write("\t\t\t<tr>\r\n"); out.write("\t\t\t\t<th class=\"pdL\">归属公众号</th>\r\n"); out.write("\t\t\t\t<th>头像</th>\r\n"); out.write("\t\t\t\t<th>关注状态</th>\r\n"); out.write("\t\t\t\t<th>昵称</th>\r\n"); out.write("\t\t\t\t<th>地区</th>\r\n"); out.write("\t\t\t\t<th>姓名</th>\r\n"); out.write("\t\t\t\t<th>手机号</th>\r\n"); out.write("\t\t\t\t<th>绑定状态</th>\r\n"); out.write("\t\t\t\t<th class=\"pdR\">分组</th>\r\n"); out.write("\t\t\t\t<!-- <th>活跃度</th> -->\r\n"); out.write("\t\t\t</tr>\r\n"); out.write("\t\t</thead>\r\n"); out.write("\t\t<tbody>\r\n"); out.write("\t\t\t"); if (_jspx_meth_c_005fforEach_005f0(_jspx_page_context)) return; out.write("\t\t\t\r\n"); out.write("\t\t</tbody>\r\n"); out.write("\t</table>\r\n"); out.write("</div>\r\n"); out.write( (java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate( "${pageInfo.html}", java.lang.String.class, (PageContext) _jspx_page_context, null, false)); } catch (Throwable t) { if (!(t instanceof 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 log(t.getMessage(), t); } } finally { _jspxFactory.releasePageContext(_jspx_page_context); } }
public void _jspService(HttpServletRequest request, HttpServletResponse response) throws java.io.IOException, ServletException { 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 { 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("\r\n"); out.write("\r\n"); out.write("\r\n"); out.write("\r\n"); out.write("\r\n"); LoggedUser loggedUser = (LoggedUser) session.getAttribute(Constants.SessionKey.LOGGED_USER); out.write('\r'); out.write('\n'); out.write("\r\n"); out.write("\r\n"); out.write("\r\n"); out.write("\r\n"); out.write("<!DOCTYPE HTML>\r\n"); 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=UTF-8\">\r\n"); out.write(" <link rel=\"stylesheet\" type=\"text/css\" href=\""); out.print(request.getContextPath()); out.write("/css/default.css\">\r\n"); out.write(" <link rel=\"stylesheet\" type=\"text/css\" href=\""); out.print(request.getContextPath()); out.write("/css/validation.css\">\r\n"); out.write(" <script type=\"text/javascript\" src=\""); out.print(request.getContextPath()); out.write("/js/default.js\"></script>\r\n"); out.write(" <script type=\"text/javascript\" src=\""); out.print(request.getContextPath()); out.write("/js/jquery-1.10.2.min.js\"></script>\r\n"); out.write(" \r\n"); out.write(" <script> \r\n"); out.write("\t\t\tvar PAGING = "); out.print(Constants.PAGING); out.write(";\r\n"); out.write("\t\t</script>\r\n"); out.write(" \r\n"); out.write(" "); if (_jspx_meth_tiles_005fimportAttribute_005f0(_jspx_page_context)) return; out.write("\r\n"); out.write(" <title>"); if (_jspx_meth_spring_005fmessage_005f0(_jspx_page_context)) return; out.write(' '); out.write('|'); out.write(' '); if (_jspx_meth_spring_005fmessage_005f1(_jspx_page_context)) return; out.write("</title>\r\n"); out.write(" </head>\r\n"); out.write(" \r\n"); out.write(" <body>\r\n"); out.write(" \t<header>\r\n"); out.write(" \t\t<div id=\"titles\">\r\n"); out.write("\t\t\t\t<h1>"); if (_jspx_meth_spring_005fmessage_005f2(_jspx_page_context)) return; out.write("</h1>\r\n"); out.write("\t\t\t\t<h2>"); if (_jspx_meth_spring_005fmessage_005f3(_jspx_page_context)) return; out.write("</h2>\r\n"); out.write("\t\t\t</div>\r\n"); out.write("\t\t\t\r\n"); out.write("\t\t\t<div id=\"links\">\r\n"); out.write("\t\t\t\t"); if (_jspx_meth_c_005furl_005f0(_jspx_page_context)) return; out.write("\r\n"); out.write("\t\t\t\t"); if (_jspx_meth_c_005furl_005f1(_jspx_page_context)) return; out.write("\r\n"); out.write("\t\t\t\t<a href=\""); out.write( (java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate( "${urlLocaleEn}", java.lang.String.class, (PageContext) _jspx_page_context, null, false)); out.write("\">en</a> | <a href=\""); out.write( (java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate( "${urlLocaleCz}", java.lang.String.class, (PageContext) _jspx_page_context, null, false)); out.write("\">cz</a>\r\n"); out.write("\t\t\t\t\r\n"); out.write("\t\t\t\t<br>\r\n"); out.write("\t\t\t\t\r\n"); out.write("\t\t\t\t"); if (loggedUser != null) { out.write("\r\n"); out.write("\t\t\t\t\t<br>\r\n"); out.write("\t\t\t\t\t"); if (_jspx_meth_c_005fout_005f0(_jspx_page_context)) return; out.write("\r\n"); out.write("\t\t\t\t\t<br>\r\n"); out.write("\t\t\t\t\t"); if (_jspx_meth_c_005furl_005f2(_jspx_page_context)) return; out.write("\r\n"); out.write("\t\t\t\t\t<a href=\""); out.write( (java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate( "${urlLogout}", java.lang.String.class, (PageContext) _jspx_page_context, null, false)); out.write('"'); out.write('>'); if (_jspx_meth_spring_005fmessage_005f4(_jspx_page_context)) return; out.write("</a>\r\n"); out.write("\t\t\t\t"); } out.write("\r\n"); out.write("\t\t\t</div>\r\n"); out.write(" \t</header>\r\n"); out.write(" \t\r\n"); out.write(" \t<br class=\"clear\">\r\n"); out.write(" \t\r\n"); out.write(" \t<nav>\r\n"); out.write(" \t\t"); if (_jspx_meth_tiles_005finsertAttribute_005f0(_jspx_page_context)) return; out.write("\r\n"); out.write(" \t</nav>\r\n"); out.write(" \t\r\n"); out.write(" \t<article>\r\n"); out.write(" \t\t"); if (_jspx_meth_tiles_005finsertAttribute_005f1(_jspx_page_context)) return; out.write("\r\n"); out.write(" \t</article>\r\n"); out.write(" \t\r\n"); out.write(" \t<footer>\r\n"); out.write(" \t\t<p>Copyright 2013 © Pavel Reznicek. All rights reserved.</p>\r\n"); out.write(" \t</footer>\r\n"); out.write(" </body>\r\n"); out.write("</html>\r\n"); } catch (Throwable t) { if (!(t instanceof 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); } } finally { _jspxFactory.releasePageContext(_jspx_page_context); } }
public void _jspService(HttpServletRequest request, HttpServletResponse response) throws java.io.IOException, ServletException { 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 { 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"); String path = request.getContextPath(); String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/"; out.write("\r\n"); out.write("\r\n"); out.write("<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\">\r\n"); out.write("<html>\r\n"); out.write(" <head>\r\n"); out.write(" <base href=\""); out.print(basePath); out.write("\">\r\n"); out.write(" \r\n"); out.write(" <title>我的主页</title>\r\n"); out.write(" \r\n"); out.write("\t<meta http-equiv=\"pragma\" content=\"no-cache\">\r\n"); out.write("\t<meta http-equiv=\"cache-control\" content=\"no-cache\">\r\n"); out.write("\t<meta http-equiv=\"expires\" content=\"0\"> \r\n"); out.write("\t<meta http-equiv=\"keywords\" content=\"keyword1,keyword2,keyword3\">\r\n"); out.write("\t<meta http-equiv=\"description\" content=\"This is my page\">\r\n"); out.write("\r\n"); out.write(" </head>\r\n"); out.write(" \r\n"); out.write(" <body>\r\n"); out.write(" \t\t<div style=\"float: left;\">\r\n"); out.write(" <img src=\"images/welcome.jpg\" />\r\n"); out.write(" </div>\r\n"); out.write(" <div style=\"float: left;color: red;font-size: large;\">\r\n"); out.write(" \r\n"); out.write(" \t本次登陆时间:"); out.print( new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(session.getAttribute("logintime"))); out.write("<br/><br/>\r\n"); out.write(" \r\n"); out.write(" \t当前用户:"); out.print(((Tuserinfo) (session.getAttribute("LOGIN_USER"))).getUiusername()); out.write("<br/><br/>\r\n"); out.write(" \t\r\n"); out.write(" \t</div>\r\n"); out.write(" </body>\r\n"); out.write("</html>\r\n"); } catch (Throwable t) { if (!(t instanceof 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 log(t.getMessage(), t); } } finally { _jspxFactory.releasePageContext(_jspx_page_context); } }
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; String _value = null; try { if (_jspx_inited == false) { synchronized (this) { if (_jspx_inited == false) { _jspx_init(); _jspx_inited = true; } } } _jspxFactory = JspFactory.getDefaultFactory(); response.setContentType("text/html; charset=GBK"); pageContext = _jspxFactory.getPageContext(this, request, response, "/error.jsp", true, 8192, true); application = pageContext.getServletContext(); config = pageContext.getServletConfig(); session = pageContext.getSession(); out = pageContext.getOut(); // HTML // begin [file="/gmc/integrate.jsp";from=(0,147);to=(1,0)] out.write("\r\n"); // end // HTML // begin [file="/gmc/integrate.jsp";from=(1,57);to=(2,0)] out.write("\r\n"); // end // HTML // begin [file="/gmc/integrate.jsp";from=(2,56);to=(3,0)] out.write("\r\n"); // end // begin [file="/gmc/integrate.jsp";from=(3,0);to=(3,43)] /* ---- power:checkpower ---- */ com.kingsoft.gmsystem.web.taglib.PowerTag _jspx_th_power_checkpower_0 = new com.kingsoft.gmsystem.web.taglib.PowerTag(); _jspx_th_power_checkpower_0.setPageContext(pageContext); _jspx_th_power_checkpower_0.setParent(null); _jspx_th_power_checkpower_0.setModulecode("havelogin"); try { int _jspx_eval_power_checkpower_0 = _jspx_th_power_checkpower_0.doStartTag(); if (_jspx_eval_power_checkpower_0 == javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_BUFFERED) throw new JspTagException( "Since tag handler class com.kingsoft.gmsystem.web.taglib.PowerTag does not implement BodyTag, it can't return BodyTag.EVAL_BODY_TAG"); if (_jspx_eval_power_checkpower_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) { do { // end // begin [file="/gmc/integrate.jsp";from=(3,0);to=(3,43)] } while (_jspx_th_power_checkpower_0.doAfterBody() == javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN); } if (_jspx_th_power_checkpower_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) return; } finally { _jspx_th_power_checkpower_0.release(); } // end // HTML // begin [file="/gmc/integrate.jsp";from=(3,43);to=(10,0)] out.write( "\r\n<html>\r\n<head>\r\n<meta http-equiv=\"Content-Type\" content=\"text/html; charset=GBK\">\r\n<title>GM频道处理</title>\r\n<link href=\"../css/public.css\" rel=\"stylesheet\" type=\"text/css\">\r\n<script language=\"JavaScript\" src=\"../js/public.js\"></script>\r\n"); // end // begin [file="/gmc/integrate.jsp";from=(10,2);to=(15,0)] response.addHeader("Pragma", "no-cache"); response.addHeader("Cache-Control", "no-cache"); response.addDateHeader("Expires", -1); UserInfo userinfo = (UserInfo) session.getAttribute("userinfo"); // end // HTML // begin [file="/gmc/integrate.jsp";from=(15,2);to=(17,13)] out.write("\r\n<script language=\"Javascript\">\r\nvar AbsPath=\""); // end // begin [file="/gmc/integrate.jsp";from=(17,16);to=(17,40)] out.print(request.getContextPath()); // end // HTML // begin [file="/gmc/integrate.jsp";from=(17,42);to=(220,48)] out.write( "\";\r\n\r\n//取得系统当前日期\r\n\r\nfunction CheckEnter()\r\n{\r\n\tif(event.ctrlKey && window.event.keyCode==10){\r\n\t\t onAnswer();\r\n\t}\r\n}\r\n\r\nfunction SetSubmitData()\r\n{\r\n\t\tfrmSubmit.document.all(\"questionid\").value=document.all(\"questionid\").value;\r\n\t\tfrmSubmit.document.all(\"quiztime\").value=document.all(\"quiztime\").value;\r\n\t\tfrmSubmit.document.all(\"gateway\").value=document.all(\"selGateway\").options[document.all(\"selGateway\").selectedIndex].value;\r\n\t\tfrmSubmit.document.all(\"game_id\").value=document.all(\"game_id\").value;\r\n\t\tfrmSubmit.document.all(\"area\").value=document.all(\"area\").value;\r\n\t\tfrmSubmit.document.all(\"group\").value=document.all(\"group\").value;\r\n\t\tfrmSubmit.document.all(\"account\").value=document.all(\"account\").value;\r\n\t\tfrmSubmit.document.all(\"role\").value=document.all(\"role\").value;\r\n\t\tfrmSubmit.document.all(\"question\").value=document.all(\"question\").value;\r\n\t\tfrmSubmit.document.all(\"answer\").value=document.all(\"answer\").value;\r\n\t\tfrmSubmit.document.all(\"usercode\").value=document.all(\"usercode\").value;\r\n\t\tfrmSubmit.document.all(\"term\").value=document.all(\"term\").value;\r\n\t\tfrmSubmit.document.all(\"allquestion\").value=document.all(\"allquestion\").checked?\"1\":\"0\";\r\n\t\tfrmSubmit.document.all(\"message\").value=document.all(\"answer\").value;\r\n}\r\n\r\n/***********************************************\r\n答复问题\r\n***********************************************/\r\n\r\nfunction onAnswer()\r\n{\r\n\t\tvar strErr=\"\";\r\n\t\tif(IsEmpty(\"answer\"))\r\n\t\t{\r\n\t\t\tstrErr+=\"答复内容不能为空!\\n\";\r\n\t\t}\r\n\t\telse if(document.all(\"answer\").value.length>106)\tstrErr+=\"答复内容已超过106个字符(53个汉字),请缩短答复内容后再试!\\n\";\r\n\t\tif(strErr!=\"\")\r\n\t\t{\r\n\t\t\talert(strErr);\r\n\t\t}\r\n\t\telse\r\n\t\t{\r\n\t\t\tSetSubmitData();\r\n\t\t\tfrmSubmit.document.all(\"action\").value=\"answerquestion\";\r\n\t\t\tfrmSubmit.document.all(\"frmSubmit\").submit();\r\n\t\t\tfrmPlayerList.objOption.answer=document.all(\"answer\").value;\r\n\t\t\tSetQuestionState();\r\n\t\t}\r\n}\r\n\r\n/***********************************************\r\n删除问题\r\n***********************************************/\r\nfunction onDelete()\r\n{\r\n\t\tSetSubmitData();\r\n\t\tfrmSubmit.document.all(\"action\").value=\"deletequestion\";\r\n\t\tfrmSubmit.document.all(\"frmSubmit\").submit();\r\n\t\tfrmPlayerList.objOption.answer=\"此问题已删除!\";\r\n\t\tSetQuestionState();\r\n}\r\n\r\nfunction SetQuestionState()\r\n{\r\n\t\tfrmPlayerList.document.all(\"selPlayerList\").focus();\r\n\t\tfrmSubmit.src=AbsPath+\"/submit.jsp\";\r\n\t\tfrmPlayerList.objOption.className=\"haveanswer\";\r\n\t\tfrmPlayerList.intHaveAnswer++;\r\n\t\tdocument.all(\"lblHaveAnswer\").innerText=frmPlayerList.intHaveAnswer;\r\n\t\tdocument.all(\"answer\").disabled=true;\r\n\t\tdocument.all(\"selQuickanswer\").disabled=true;\r\n\t\tdocument.all(\"btnAnswer\").disabled=true;\r\n\t\tdocument.all(\"btnDelete\").disabled=true;\r\n\t\tif(frmPlayerList.intHaveAnswer!=frmPlayerList.intQuestion)\r\n\t\t{\r\n\t\t\tvar objSelPlayList=frmPlayerList.document.all(\"selPlayerList\");//玩家列表\r\n\t\t\tdo\r\n\t\t\t{\r\n\t\t\t \tfrmPlayerList.intCurrent++;\r\n\t\t\t\tif(frmPlayerList.intCurrent==frmPlayerList.intQuestion) frmPlayerList.intCurrent=0;\r\n\t\t\t}while(objSelPlayList.options[frmPlayerList.intCurrent].className==\"haveanswer\")\r\n\t\t\tobjSelPlayList.selectedIndex =frmPlayerList.intCurrent;\r\n\t\t\tfrmPlayerList.onSelectPlayer();\r\n\t\t}\r\n\t\telse\r\n\t\t{\r\n\t\t\tReloadPlayerList();\r\n\t\t}\r\n\t\tif(document.all(\"allquestion\").checked){\r\n\t\t\tReloadPlayerList();\r\n\t\t}\r\n\t\tdocument.all(\"allquestion\").checked=false;\r\n}\r\n\r\n/***********************************************\r\n刷新问题列表\r\n***********************************************/\r\nfunction ReloadPlayerList()\r\n{\r\n\tdocument.all(\"allquestion\").checked=false;\r\n\tfrmPlayerList.window.location.reload();\r\n}\r\n\r\n/***********************************************\r\n选择快速答复列表\r\n***********************************************/\r\nfunction onQuickanswer()\r\n{\r\n\tdocument.all(\"answer\").value=document.all(\"selQuickanswer\").value\r\n}\r\n\r\nfunction answerlog(){\r\n\twindow.open(AbsPath+\"/search/answerlog.jsp\",\"_blank\");\r\n}\r\n/**********************************\r\n执行GM操作\r\n***********************************/\r\nfunction onGMFunction()\r\n{\r\n\tvar objSel=document.all(\"selGMFunction\");\r\n\tvar strErr=\"\";\r\n\tif(objSel.value==\"\")\r\n\t{\r\n\t\tstrErr+=\"*请先选择GM操作\\n\";\r\n\t}\r\n\tif(IsEmpty(\"account\")&&IsEmpty(\"role\"))\r\n\t{\r\n\t\tstrErr+=\"*玩家帐号和角色不能同时为空\\n\";\r\n\t}\r\n\tif(strErr!=\"\")\r\n\t{\r\n\t\talert(strErr);\r\n\t}\r\n\telse\r\n\t{\r\n\t\tSetSubmitData();\r\n\t\tfrmSubmit.document.all(\"action\").value=\"quickgmfunction\";\r\n\t\tif(objSel.value==\"踢号\")\r\n\t\t{\r\n\t\t\tfrmSubmit.document.all(\"message\").value=\"卡号\";\r\n\t\t\tfrmSubmit.document.all(\"category\").value=\"R_N_CTRL\";\r\n\t\t\tfrmSubmit.document.all(\"command\").value=\"kickaccount\";\r\n\t\t}\r\n\t\telse if(objSel.value==\"踢人\")\r\n\t\t{\r\n\t\t\tfrmSubmit.document.all(\"message\").value=\"卡号\";\r\n\t\t\tfrmSubmit.document.all(\"category\").value=\"R_N_CTRL\";\r\n\t\t\tfrmSubmit.document.all(\"command\").value=\"kickrole\";\r\n\t\t}\r\n\t\telse if(objSel.value==\"禁言\")\r\n\t\t{\r\n\t\t\tSetSubmitData();\r\n\t\t\tfrmSubmit.document.all(\"message\").value=\"乱发言\";\r\n\t\t\tfrmSubmit.document.all(\"category\").value=\"R_N_CTRL\";\r\n\t\t\tfrmSubmit.document.all(\"command\").value=\"forbidsay\";\r\n\t\t}\r\n\t\telse if(objSel.value==\"冻结帐号\")\r\n\t\t{\r\n\t\t\tSetSubmitData();\r\n\t\t\tfrmSubmit.document.all(\"message\").value=\"违规\";\r\n\t\t\tfrmSubmit.document.all(\"category\").value=\"A_N_CTRL\";\r\n\t\t\tfrmSubmit.document.all(\"command\").value=\"freeze\";\r\n\t\t}\r\n\t\telse if(objSel.value==\"解除禁言\")\r\n\t\t{\r\n\t\t\tSetSubmitData();\r\n\t\t\tfrmSubmit.document.all(\"message\").value=\"改正以前违规行为\";\r\n\t\t\tfrmSubmit.document.all(\"category\").value=\"R_N_CTRL\";\r\n\t\t\tfrmSubmit.document.all(\"command\").value=\"permitsay\";\r\n\t\t}\r\n\t\telse if(objSel.value==\"解冻帐号\")\r\n\t\t{\r\n\t\t\tfrmSubmit.document.all(\"message\").value=\"改正以前违规行为\";\r\n\t\t\tfrmSubmit.document.all(\"category\").value=\"A_N_CTRL\";\r\n\t\t\tfrmSubmit.document.all(\"command\").value=\"unfreeze\";\r\n\t\t}\r\n\t\tfrmSubmit.document.all(\"frmSubmit\").submit();\r\n\t\tdocument.all(\"allquestion\").checked=false;\r\n\t}\r\n}\r\n\tfunction setQuestionType(iid){\r\n\t\tvar objSelTemp = document.all(\"selQuestionTypeTemp\");\t\t\r\n\t\tvar objOption;\r\n\t\tdocument.all(\"typeDiv\").innerHTML = \"<button name=all onclick=changeQuestionType('0','all')>全部</button>\";\r\n\t\t\r\n\t\tvar i=0;\r\n\t\tfor(i=0;i<objSelTemp.length;i++){\r\n\t\t\tobjOption=objSelTemp.options[i];\r\n\t\t\tif(objOption.fid==0){\r\n\t\t\t\tdocument.all(\"typeDiv\").innerHTML += \" <button name=\"+objOption.value+\" onclick=changeQuestionType('\"+objOption.iid+\"','\"+objOption.value+\"')>\"+objOption.text+\"</button>\";\t\t\r\n\t\t\t\t\r\n\t\t\t}\t\t\r\n\t\t}\r\n\t\t\r\n\t\t\r\n\t}\r\n\tvar preClickType = \"\";\r\n\tfunction changeQuestionType(iid,type){\r\n\t\tdocument.getElementById(\"frmPlayerList\").src=\""); // end // begin [file="/gmc/integrate.jsp";from=(220,51);to=(220,75)] out.print(request.getContextPath()); // end // HTML // begin [file="/gmc/integrate.jsp";from=(220,77);to=(263,31)] out.write( "/GMCServlet?action=playerlist&type=\"+type+\"&iid=\"+iid;\r\n\t\t//ReloadPlayerList();\r\n\t\r\n\t\twindow.open(document.all.frmPlayerList.src,'frmPlayerList','');\r\n\t\t\r\n\t\tdocument.all(\"subTypeTd\").style.display = \"none\";\r\n\t\tvar objSel=document.all(\"subType\");\r\n\t\tvar objSelTemp=document.all(\"selQuestionTypeTemp\");\r\n\t\tvar objOption;\r\n\t\tobjSel.length=0;\r\n\t\tvar i=0;\r\n\t\tvar channel = \"全部\";\r\n\t\tfrmSubmit.document.all(\"channel\").value=channel;\r\n\t\t\r\n\t\tif(preClickType!=\"\"){\r\n\t\t\t\tdocument.getElementById(preClickType).className =\"\";\r\n\t\t}\r\n\t\tdocument.getElementById(type).className =\"ClickBUTTON\";\r\n\t\tpreClickType = type;\t\r\n\t\t\t\t\t\r\n\t\tif(iid == 0){\r\n\t\t\treturn;\r\n\t\t}\r\n\t\tfor(i=0;i<objSelTemp.length;i++){\r\n\t\t\tobjOption=objSelTemp.options[i];\r\n\t\t\t\r\n\t\t\tif(objOption.iid==iid){\t\t\r\n\t\t\t\tchannel = objOption.text;\r\n\t\t\t\tfrmSubmit.document.all(\"channel\").value=channel;\r\n\t\t\t}\t\t\r\n\t\t\tif(objOption.fid==iid){\r\n\t\t\t\tobjSel.options[objSel.length]=new Option(objOption.text,objOption.value);\r\n\t\t\t}\t\t\r\n\t\t}\r\n\t\tif(objSel.length>0){\r\n\t\t\tdocument.all(\"subTypeTd\").style.display = \"\";\r\n\t\t}\r\n\t\t\r\n\t\t\r\n\t\t\r\n\t}\r\n</script>\r\n</head>\r\n<body onload=\"setQuestionType('"); // end // begin [file="/gmc/integrate.jsp";from=(263,34);to=(263,82)] out.print(Util.setNullToNull(request.getParameter("iid"))); // end // HTML // begin [file="/gmc/integrate.jsp";from=(263,84);to=(281,104)] out.write( "')\">\r\n<table width=\"100%\" height=\"100%\" border=\"0\" align=\"center\" cellspacing=\"0\">\r\n <tr>\r\n <td height=\"20\" bgcolor=\"#BBDDFD\"> 当前位置:<span class=\"title\">服务功能</span> >> <span class=\"title\">GM频道处理(基于GCD新协议)</span></td>\r\n </tr>\r\n <tr>\r\n <td align=\"center\" valign=\"top\">\r\n <table width=\"100%\" border=\"1\" cellspacing=\"0\" bordercolor=\"#000000\" class=\"tablelist\">\r\n <tbody>\r\n <tr align=\"center\" height=\"50\">\r\n <td background=\"../images/tab_bg.gif\"><div id=\"typeDiv\"></div><font color=\"#FFFFFF\">玩家问题列表(问题总数:</font><font color=\"#FF0000\">\r\n <label id=\"lblNumber\">0</label>\r\n </font><font color=\"#FFFFFF\">,已处理:</font><font color=\"#FF0000\">\r\n <label id=\"lblHaveAnswer\">0</label>\r\n </font>)</td>\r\n </tr>\r\n <tr align=\"center\">\r\n <td height=\"380\">\r\n <iframe name=\"frmPlayerList\" width=\"100%\" height=\"100%\" frameborder=0 scrolling=\"no\" src=\""); // end // begin [file="/gmc/integrate.jsp";from=(281,107);to=(281,131)] out.print(request.getContextPath()); // end // HTML // begin [file="/gmc/integrate.jsp";from=(281,133);to=(294,33)] out.write( "/GMCServlet?action=playerlist&type=all&iid=0\" marginwidth=\"0\" marginheight=\"0\">\r\n 对不起,你的浏览器不支持嵌入式框架。请升级到更高的版本。 </iframe>\r\n\t\t\t</td>\r\n </tr>\r\n <tr align=\"center\">\r\n <td background=\"../images/tab_bg.gif\"><font color=\"#FFFFFF\">问题详情</font></td>\r\n </tr>\r\n <tr>\r\n <td valign=\"top\">\r\n <table width=\"100%\" border=\"0\" cellspacing=\"0\">\r\n <tr>\r\n <td nowrap>玩家帐号<input type=\"text\" name=\"account\" value=\"\" size=\"15\"></td>\r\n <td nowrap>玩家角色<input type=\"text\" name=\"role\" value=\"\" size=\"15\"></td>\r\n <td nowrap>所属区服"); // end // begin [file="/gmc/integrate.jsp";from=(294,33);to=(294,121)] /* ---- display:display ---- */ com.kingsoft.gmsystem.web.taglib.UserTag _jspx_th_display_display_0 = new com.kingsoft.gmsystem.web.taglib.UserTag(); _jspx_th_display_display_0.setPageContext(pageContext); _jspx_th_display_display_0.setParent(null); _jspx_th_display_display_0.setDisplayCode("select_gateway_person"); _jspx_th_display_display_0.setProperty("selGateway"); _jspx_th_display_display_0.setParameter(""); try { int _jspx_eval_display_display_0 = _jspx_th_display_display_0.doStartTag(); if (_jspx_eval_display_display_0 == javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_BUFFERED) throw new JspTagException( "Since tag handler class com.kingsoft.gmsystem.web.taglib.UserTag does not implement BodyTag, it can't return BodyTag.EVAL_BODY_TAG"); if (_jspx_eval_display_display_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) { do { // end // HTML // begin [file="/gmc/integrate.jsp";from=(294,121);to=(294,131)] out.write(" "); // end // begin [file="/gmc/integrate.jsp";from=(294,131);to=(294,149)] } while (_jspx_th_display_display_0.doAfterBody() == javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN); } if (_jspx_th_display_display_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) return; } finally { _jspx_th_display_display_0.release(); } // end // HTML // begin [file="/gmc/integrate.jsp";from=(294,149);to=(298,62)] out.write( "\r\n\t\t\t\t <input type=\"hidden\" name=\"game_id\">\r\n <input type=\"hidden\" name=\"area\">\r\n <input type=\"hidden\" name=\"group\"></td>\r\n <input type=\"hidden\" name=\"usercode\" value=\""); // end // begin [file="/gmc/integrate.jsp";from=(298,65);to=(298,87)] out.print(userinfo.getUsercode()); // end // HTML // begin [file="/gmc/integrate.jsp";from=(298,89);to=(318,139)] out.write( "\">\r\n <input type=\"hidden\" name=\"questionid\"></td>\r\n <td nowrap id=\"subTypeTd\" style=\"display:none\">类型<select name=\"subType\"></select></td>\r\n <td nowrap>提问日期<input type=\"text\" name=\"quiztime\" value=\"\" readonly=\"true\"></td>\r\n </tr>\r\n <tr>\r\n <td colspan=\"6\"><textarea name=\"question\" style=\"width:100%\" rows=\"2\" readonly onMouseOver=\"this.focus()\" ></textarea></td>\r\n </tr>\r\n </table>\r\n </td>\r\n </tr>\r\n <tr>\r\n <td align=\"center\" background=\"../images/tab_bg.gif\"><font color=\"#FFFFFF\">答复内容</font></td>\r\n </tr>\r\n <tr>\r\n <td>\r\n <textarea name=\"answer\" style=\"width:100%\" rows=\"2\" disabled onKeyPress=\"CheckEnter()\"></textarea>\r\n </td>\r\n </tr>\r\n <tr>\r\n <td nowrap>快速答复<SELECT name='selQuickanswer' onclick='onQuickanswer()' style='width:90%' onmouseover='this.focus()'></SELECT>"); // end // begin [file="/gmc/integrate.jsp";from=(318,139);to=(318,219)] /* ---- display:display ---- */ com.kingsoft.gmsystem.web.taglib.UserTag _jspx_th_display_display_1 = new com.kingsoft.gmsystem.web.taglib.UserTag(); _jspx_th_display_display_1.setPageContext(pageContext); _jspx_th_display_display_1.setParent(null); _jspx_th_display_display_1.setDisplayCode("select_quickanswer"); _jspx_th_display_display_1.setProperty("selQuickanswerTemp"); try { int _jspx_eval_display_display_1 = _jspx_th_display_display_1.doStartTag(); if (_jspx_eval_display_display_1 == javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_BUFFERED) throw new JspTagException( "Since tag handler class com.kingsoft.gmsystem.web.taglib.UserTag does not implement BodyTag, it can't return BodyTag.EVAL_BODY_TAG"); if (_jspx_eval_display_display_1 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) { do { // end // HTML // begin [file="/gmc/integrate.jsp";from=(318,219);to=(319,12)] out.write("\r\n "); // end // begin [file="/gmc/integrate.jsp";from=(319,12);to=(319,30)] } while (_jspx_th_display_display_1.doAfterBody() == javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN); } if (_jspx_th_display_display_1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) return; } finally { _jspx_th_display_display_1.release(); } // end // HTML // begin [file="/gmc/integrate.jsp";from=(319,30);to=(333,5)] out.write( "\r\n\t\t\t</td>\r\n </tr>\r\n <tr>\r\n <td align=\"right\" nowrap>\r\n <table width=\"700\" border=\"0\" cellspacing=\"0\">\r\n <tr align=\"center\">\r\n <td><input type=\"checkbox\" name=\"allquestion\">\r\n 对此玩家所有问题操作</td>\r\n <td><button name=\"btnAnswer\" style=\"width:80\" onClick=\"onAnswer()\" disabled>答复问题</button></td>\r\n <td><button name=\"btnDelete\" style=\"width:80\" onClick=\"onDelete()\" disabled>删除问题</button></td>\r\n <td><button name=\"btnFresh\" style=\"width:80\" onClick=\"ReloadPlayerList()\">刷新问题列表</button><button name=\"btnanswerlog\" style=\"width:80\" onClick=\"answerlog()\">答复记录</button></td>\r\n <td>GM操作<select name=\"selGMFunction\">\r\n\t\t\t\t\t<option value=\"\">=请选择=</option>\r\n\t\t\t\t\t"); // end // begin [file="/gmc/integrate.jsp";from=(333,7);to=(333,63)] if (userinfo.getUserpower().indexOf("kickplayer") != -1) { // end // HTML // begin [file="/gmc/integrate.jsp";from=(333,65);to=(333,97)] out.write(" <option value=\"踢号\">踢号</option> "); // end // begin [file="/gmc/integrate.jsp";from=(333,99);to=(333,100)] } // end // HTML // begin [file="/gmc/integrate.jsp";from=(333,102);to=(334,5)] out.write("\r\n\t\t\t\t\t"); // end // begin [file="/gmc/integrate.jsp";from=(334,7);to=(334,63)] if (userinfo.getUserpower().indexOf("kickplayer") != -1) { // end // HTML // begin [file="/gmc/integrate.jsp";from=(334,65);to=(334,97)] out.write(" <option value=\"踢人\">踢人</option> "); // end // begin [file="/gmc/integrate.jsp";from=(334,99);to=(334,100)] } // end // HTML // begin [file="/gmc/integrate.jsp";from=(334,102);to=(335,5)] out.write("\r\n\t\t\t\t\t"); // end // begin [file="/gmc/integrate.jsp";from=(335,7);to=(335,63)] if (userinfo.getUserpower().indexOf("rolebehave") != -1) { // end // HTML // begin [file="/gmc/integrate.jsp";from=(335,65);to=(335,97)] out.write(" <option value=\"禁言\">禁言</option> "); // end // begin [file="/gmc/integrate.jsp";from=(335,99);to=(335,100)] } // end // HTML // begin [file="/gmc/integrate.jsp";from=(335,102);to=(336,5)] out.write("\r\n\t\t\t\t\t"); // end // begin [file="/gmc/integrate.jsp";from=(336,7);to=(336,65)] if (userinfo.getUserpower().indexOf("accountnctrl") != -1) { // end // HTML // begin [file="/gmc/integrate.jsp";from=(336,67);to=(336,103)] out.write(" <option value=\"冻结帐号\">冻结帐号</option> "); // end // begin [file="/gmc/integrate.jsp";from=(336,105);to=(336,106)] } // end // HTML // begin [file="/gmc/integrate.jsp";from=(336,108);to=(337,6)] out.write("\r\n\t\t\t\t\t "); // end // begin [file="/gmc/integrate.jsp";from=(337,8);to=(337,63)] if (userinfo.getUserpower().indexOf("rolebehave") != -1) { // end // HTML // begin [file="/gmc/integrate.jsp";from=(337,65);to=(337,101)] out.write(" <option value=\"解除禁言\">解除禁言</option> "); // end // begin [file="/gmc/integrate.jsp";from=(337,103);to=(337,104)] } // end // HTML // begin [file="/gmc/integrate.jsp";from=(337,106);to=(338,5)] out.write("\r\n\t\t\t\t\t"); // end // begin [file="/gmc/integrate.jsp";from=(338,7);to=(338,65)] if (userinfo.getUserpower().indexOf("accountnctrl") != -1) { // end // HTML // begin [file="/gmc/integrate.jsp";from=(338,67);to=(338,103)] out.write(" <option value=\"解冻帐号\">解冻帐号</option> "); // end // begin [file="/gmc/integrate.jsp";from=(338,105);to=(338,106)] } // end // HTML // begin [file="/gmc/integrate.jsp";from=(338,108);to=(358,18)] out.write( "\r\n </select>期限<select name=\"term\">\r\n <option value=\"0\" selected>无限</option>\r\n <option value=\"1\">1</option>\r\n <option value=\"2\">2</option>\r\n <option value=\"3\">3</option>\r\n <option value=\"4\">4</option>\r\n <option value=\"5\">5</option>\r\n <option value=\"6\">6</option>\r\n <option value=\"7\">7</option>\r\n <option value=\"10\">10</option>\r\n <option value=\"15\">15</option>\r\n <option value=\"20\">20</option>\r\n <option value=\"25\">25</option>\r\n <option value=\"30\">30</option>\r\n <option value=\"35\">35</option>\r\n <option value=\"40\">40</option>\r\n <option value=\"50\">50</option>\r\n <option value=\"60\">60</option> </select>天\r\n <button onclick=\"onGMFunction()\">确定</button></td>\r\n "); // end // begin [file="/gmc/integrate.jsp";from=(358,18);to=(358,125)] /* ---- display:display ---- */ com.kingsoft.gmsystem.web.taglib.UserTag _jspx_th_display_display_2 = new com.kingsoft.gmsystem.web.taglib.UserTag(); _jspx_th_display_display_2.setPageContext(pageContext); _jspx_th_display_display_2.setParent(null); _jspx_th_display_display_2.setDisplayCode("select_questiontype"); _jspx_th_display_display_2.setProperty("selQuestionTypeTemp"); _jspx_th_display_display_2.setParameter("display:none"); try { int _jspx_eval_display_display_2 = _jspx_th_display_display_2.doStartTag(); if (_jspx_eval_display_display_2 == javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_BUFFERED) throw new JspTagException( "Since tag handler class com.kingsoft.gmsystem.web.taglib.UserTag does not implement BodyTag, it can't return BodyTag.EVAL_BODY_TAG"); // end // begin [file="/gmc/integrate.jsp";from=(358,18);to=(358,143)] if (_jspx_th_display_display_2.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) return; } finally { _jspx_th_display_display_2.release(); } // end // HTML // begin [file="/gmc/integrate.jsp";from=(358,143);to=(376,0)] out.write( "\r\n </tr>\r\n </table>\r\n\t\t\t</td>\r\n </tr>\r\n </tbody>\r\n </table>\r\n <iframe name=\"frmSubmit\" width=\"100%\" height=\"0\" frameborder=0 scrolling=\"auto\" src=\"submit.jsp\" marginwidth=\"0\" marginheight=\"0\">\r\n 对不起,你的浏览器不支持嵌入式框架。请升级到更高的版本。 </iframe>\r\n\r\n\t</td>\r\n </tr>\r\n <tr>\r\n <td height=\"16\" align=\"center\" bgcolor=\"#BBDDFD\">Copyright © 2005 Kingsoft Corp,All Rights Reserved</td>\r\n </tr>\r\n</table>\r\n</body>\r\n</html>\r\n"); // end } catch (Throwable t) { if (out != null && out.getBufferSize() != 0) out.clearBuffer(); if (pageContext != null) pageContext.handlePageException(t); } finally { if (_jspxFactory != null) _jspxFactory.releasePageContext(pageContext); } }
public void _jspService(HttpServletRequest request, HttpServletResponse response) throws java.io.IOException, ServletException { 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 { 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'); out.write('\n'); String templateUrl = request.getScheme() + "://" + request.getHeader("host") + request.getContextPath(); request.setAttribute("url", templateUrl); String MembFamily_Id = request.getParameter("MembFamily_Id"); out.write("\r\n"); out.write("<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\">\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("<link rel=\"stylesheet\" type=\"text/css\" href=\""); out.write( (java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate( "${url}", java.lang.String.class, (PageContext) _jspx_page_context, null, false)); out.write("/css0623/style.css\" />\r\n"); out.write("<script type=\"text/javascript\" src=\""); out.write( (java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate( "${url}", java.lang.String.class, (PageContext) _jspx_page_context, null, false)); out.write("/js/jquery.js\"></script>\r\n"); out.write("<script type=\"text/javascript\" src=\""); out.write( (java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate( "${url}", java.lang.String.class, (PageContext) _jspx_page_context, null, false)); out.write("/js/jquery.validate.js\"></script>\r\n"); out.write("<script type=\"text/javascript\" src=\""); out.write( (java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate( "${url}", java.lang.String.class, (PageContext) _jspx_page_context, null, false)); out.write("/js/register.js\"></script>\r\n"); out.write("\r\n"); out.write("<script>\r\n"); out.write(" function getMembFamilyById(){\r\n"); out.write(" \t$.ajax({\r\n"); out.write("\t url : '"); out.print(templateUrl); out.write("/user/MembFamilyForReadAction?MembFamily_Id="); out.print(MembFamily_Id); out.write("',\r\n"); out.write("\t\t\ttype : 'POST',\r\n"); out.write("\t\t\tcontentType: \"application/x-www-form-urlencoded; charset=utf-8\",\r\n"); out.write("\t\t\tdataType : 'json',\r\n"); out.write("\t\t\ttimeout : 8000,\r\n"); out.write("\t\t\tcache : true,\r\n"); out.write("\t\t\terror : erryFunction, //错误执行方法 \r\n"); out.write("\t\t\tsuccess : succFunction\r\n"); out.write("\t\t//成功执行方法 \r\n"); out.write("\t\t});\r\n"); out.write("\t\tfunction erryFunction(data) {\r\n"); out.write("\t\t\talert(\"等待3秒后请刷新页面\");\r\n"); out.write("\t\t}\r\n"); out.write("\t\tfunction succFunction(data) {\r\n"); out.write("\t\t\t$(\"#FamilyName\").val(data.FamilyName);\r\n"); out.write( "\t\t\t$(\"input:radio[name='sex']\").eq(parseInt(data.sex)).attr(\"checked\",true);\r\n"); out.write("\t\t\t$(\"#age\").val(data.age);\r\n"); out.write("\t\t\t$(\"#relation\").val(data.relation);\r\n"); out.write("\t\t\t$(\"#mobile\").val(data.mobile);\r\n"); out.write("\t\t\t$(\"#telephone\").val(data.telephone);\r\n"); out.write("\t\t\t$(\"#address\").val(data.address);\r\n"); out.write("\t\t}\r\n"); out.write("\t}\r\n"); out.write("\twindow.onload = function() {\r\n"); out.write("\t\tgetMembFamilyById();\r\n"); out.write("\t};\r\n"); out.write("</script>\r\n"); out.write("</head>\r\n"); out.write("<style>\r\n"); out.write("\r\n"); out.write("</style>\r\n"); out.write("<body>\r\n"); out.write("<div id=\"page\">\r\n"); out.write("\t\r\n"); out.write( "<form id=\"newFamilyMember\" name=\"newFamilyMember\" method=\"post\" action=\"UpdateMemberFamily\">\r\n"); out.write("\t<div>\r\n"); out.write("\t\t<img src=\""); out.write( (java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate( "${url}", java.lang.String.class, (PageContext) _jspx_page_context, null, false)); out.write("/imgs/membercenter/left.png\" /> <font\r\n"); out.write("\t\t\t\tsize=\"6\"><b>更新家属信息</b>\r\n"); out.write("\t\t</font> <img\r\n"); out.write("\t\t\t\tsrc=\""); out.write( (java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate( "${url}", java.lang.String.class, (PageContext) _jspx_page_context, null, false)); out.write("/imgs/membercenter/right.png\" />\r\n"); out.write("\t</div>\r\n"); out.write("\t<br/>\r\n"); out.write("\t<table class=\"wwFormTable\" style=\"font-family: '宋体';font-size: 18px;\">\r\n"); out.write("\t\t\t<fieldset>\r\n"); out.write("\t\t\t\t<ul>\r\n"); out.write(" \t<li>\r\n"); out.write("\t\t\t\t\t\t<label for=\"FamilyName\">\r\n"); out.write( "\t\t\t\t\t\t\t<span class=\"required\" style=\"font-family: '宋体';font-size: 18px;\"><b>[患者姓名]</b></span>\r\n"); out.write("\t\t\t\t\t\t</label>\r\n"); out.write("\t\t\t\t\t\t<input id=\"FamilyName\" name=\"FamilyName\" type=\"text\">\r\n"); out.write("\t\t\t\t\t\t<label for=\"FamilyName\" class=\"error\">患者姓名不可为空</label>\r\n"); out.write("\t\t\t\t\t</li>\r\n"); out.write("\t\t\t\t\t<br/>\r\n"); out.write("\t\t\t\t\t<li>\r\n"); out.write("\t\t\t\t\t\t<label for=\"sex\">\r\n"); out.write( "\t\t\t\t\t\t\t<span class=\"required\" style=\"font-family: '宋体';font-size: 18px;\"><b>[性别]</b></span>\r\n"); out.write("\t\t\t\t\t\t</label>\r\n"); out.write( "\t\t\t\t\t\t<input name=\"sex\" type=\"radio\" value=\"male\" checked=\"checked\" >男 \r\n"); out.write("\t\t\t\t\t\t<input name=\"sex\" type=\"radio\" value=\"female\" >女\r\n"); out.write("\t\t\t\t\t</li>\r\n"); out.write("\t\t\t\t\t<br/>\r\n"); out.write("\t\t\t\t\t<li>\r\n"); out.write("\t\t\t\t\t\t<label for=\"age\">\r\n"); out.write( "\t\t\t\t\t\t\t<span class=\"required\" style=\"font-family: '宋体';font-size: 18px;\"><b>[年龄]</b></span>\r\n"); out.write("\t\t\t\t\t\t</label>\r\n"); out.write("\t\t\t\t\t\t<input id=\"age\" name=\"age\" type=\"text\">\r\n"); out.write("\t\t\t\t\t\t<label for=\"age\" class=\"error\">请填写正确的年龄</label>\r\n"); out.write("\t\t\t\t\t</li>\r\n"); out.write("\t\t\t\t\t<br/>\r\n"); out.write("\t\t\t\t\t<li>\r\n"); out.write("\t\t\t\t\t\t<label for=\"relation\">\r\n"); out.write( "\t\t\t\t\t\t\t<span class=\"relation\" style=\"font-family: '宋体';font-size: 18px;\"><b>[与患者关系]</b></span>\r\n"); out.write("\t\t\t\t\t\t</label>\r\n"); out.write("\t\t\t\t\t\t<select id=\"relation\" name=\"relation\">\r\n"); out.write("\t\t\t\t\t\t\t<option value=\"本人\" selected=\"selected\">本人</option>\r\n"); out.write("\t\t\t\t\t\t\t<option value=\"家庭成员\">家庭成员</option>\r\n"); out.write("\t\t\t\t\t\t\t<option value=\"亲戚\">亲戚</option>\r\n"); out.write("\t\t\t\t\t\t\t<option value=\"朋友\">朋友</option>\r\n"); out.write("\t\t\t\t\t\t\t<option value=\"其他\">其他</option>\r\n"); out.write("\t\t\t\t\t</select>\r\n"); out.write("\t\t\t\t\t</li>\r\n"); out.write("\t\t\t\t\t<br/>\r\n"); out.write("\t\t\t\t\t<li>\r\n"); out.write("\t\t\t\t\t\t<label for=\"mobile\">\r\n"); out.write( "\t\t\t\t\t\t\t<span class=\"mobile\" style=\"font-family: '宋体';font-size: 18px;\"><b>[手机号]</b></span>\r\n"); out.write("\t\t\t\t\t\t</label>\r\n"); out.write("\t\t\t\t\t\t<input id=\"mobile\" name=\"mobile\" type=\"text\">\r\n"); out.write("\t\t\t\t\t\t<label for=\"mobile\" class=\"error\">请填写正确的手机号</label>\r\n"); out.write("\t\t\t\t\t</li>\r\n"); out.write("\t\t\t\t\t<br/>\r\n"); out.write("\t\t\t\t\t<li>\r\n"); out.write("\t\t\t\t\t\t<label for=\"telephone\">\r\n"); out.write( "\t\t\t\t\t\t\t<span class=\"telephone\" style=\"font-family: '宋体';font-size: 18px;\"><b>[固定电话]</b></span>\r\n"); out.write("\t\t\t\t\t\t</label>\r\n"); out.write("\t\t\t\t\t\t<input id=\"telephone\" name=\"telephone\" type=\"text\">\r\n"); out.write("\t\t\t\t\t\t<label for=\"telephone\" class=\"error\">请填写正确的固定电话</label>\r\n"); out.write("\t\t\t\t\t</li>\r\n"); out.write("\t\t\t\t\t<br/>\r\n"); out.write("\t\t\t\t\t<li>\r\n"); out.write("\t\t\t\t\t\t<label for=\"address\">\r\n"); out.write( "\t\t\t\t\t\t\t<span class=\"address\" style=\"font-family: '宋体';font-size: 18px;\"><b>[家庭地址]</b></span>\r\n"); out.write("\t\t\t\t\t\t</label>\r\n"); out.write("\t\t\t\t\t\t<input id=\"address\" name=\"address\" type=\"text\">\r\n"); out.write("\t\t\t\t\t\t<label for=\"address\" class=\"error\">家庭地址不可为空</label>\r\n"); out.write("\t\t\t\t\t</li>\r\n"); out.write("\t\t\t\t</ul>\r\n"); out.write("\t\t\t</fieldset>\r\n"); out.write("\t\t\t<fieldset class=\"submit\">\r\n"); out.write("\t\t\t<input type=\"hidden\" name=\"MembFamily_Id\" value=\""); out.print(MembFamily_Id); out.write("\" >\r\n"); out.write( "\t\t\t \r\n"); out.write( "\t\t\t \r\n"); out.write( "\t\t\t \r\n"); out.write( "\t\t\t \r\n"); out.write("\t\t\t\t<input type=\"submit\" class=\"submit\" value=\"确认\" />\r\n"); out.write("\t\t\t</fieldset>\r\n"); out.write("\t\t\t<div class=\"clear\"></div>\r\n"); out.write("\t\t</table>\r\n"); out.write("</form>\r\n"); out.write("</div>\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) try { out.clearBuffer(); } catch (java.io.IOException e) { } if (_jspx_page_context != null) _jspx_page_context.handlePageException(t); } } finally { _jspxFactory.releasePageContext(_jspx_page_context); } }
public void _jspService(HttpServletRequest request, HttpServletResponse response) throws java.io.IOException, ServletException { 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 { 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("<xmp>\r\n"); out.write("\r\n"); String path = request.getContextPath(); String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/"; out.write("\r\n"); out.write("\r\n"); out.write("<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\">\r\n"); out.write("<html>\r\n"); out.write(" <head>\r\n"); out.write(" <base href=\""); out.print(basePath); out.write("\">\r\n"); out.write(" \r\n"); out.write(" <title>计算立方</title>\r\n"); out.write(" \r\n"); out.write("\t<meta http-equiv=\"pragma\" content=\"no-cache\">\r\n"); out.write("\t<meta http-equiv=\"cache-control\" content=\"no-cache\">\r\n"); out.write("\t<meta http-equiv=\"expires\" content=\"0\"> \r\n"); out.write("\t<meta http-equiv=\"keywords\" content=\"keyword1,keyword2,keyword3\">\r\n"); out.write("\t<meta http-equiv=\"description\" content=\"This is my page\">\r\n"); out.write("\t<!--\r\n"); out.write("\t<link rel=\"stylesheet\" type=\"text/css\" href=\"styles.css\">\r\n"); out.write("\t-->\r\n"); out.write("\r\n"); out.write(" </head>\r\n"); out.write(" \r\n"); out.write(" <body>\r\n"); out.write(" <h3>计算立方</h3>\r\n"); out.write("\t<div>\r\n"); out.write("\t\t<form action=\"./lab02/calculate.jsp\">\r\n"); out.write("\t \t\t<input name=\"input_number\" type=\"text\" value=\"\" size=\"13\" \r\n"); out.write("\t \t\t onkeyup=\"this.value=this.value.replace(/\\D/g,'')\" \r\n"); out.write("\t \t\t onafterpaste=\"this.value=this.value.replace(/\\D/g,'')\" /><br>\r\n"); out.write("\t \t\t<input type=\"reset\" value=\"重置\"> \r\n"); out.write("\t \t\t<input type=\"submit\" value=\"提交\">\r\n"); out.write("\t\t</form>\r\n"); out.write("\t</div><br/>\r\n"); out.write(" </body>\r\n"); out.write("</html>\r\n"); out.write("</xmp>"); } catch (Throwable t) { if (!(t instanceof 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); } } finally { _jspxFactory.releasePageContext(_jspx_page_context); } }
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"); pageContext = _jspxFactory.getPageContext(this, request, response, "../error.jsp", true, 8192, true); _jspx_page_context = pageContext; application = pageContext.getServletContext(); config = pageContext.getServletConfig(); session = pageContext.getSession(); out = pageContext.getOut(); _jspx_out = out; out.write("\n\n\n\n\n\n\n\n\n"); org.jivesoftware.admin.AdminPageBean info = null; synchronized (request) { info = (org.jivesoftware.admin.AdminPageBean) _jspx_page_context.getAttribute("info", PageContext.REQUEST_SCOPE); if (info == null) { info = new org.jivesoftware.admin.AdminPageBean(); _jspx_page_context.setAttribute("info", info, PageContext.REQUEST_SCOPE); } } out.write('\n'); out.write('\n'); org.jivesoftware.util.WebManager webManager = null; synchronized (_jspx_page_context) { webManager = (org.jivesoftware.util.WebManager) _jspx_page_context.getAttribute("webManager", PageContext.PAGE_SCOPE); if (webManager == null) { webManager = new org.jivesoftware.util.WebManager(); _jspx_page_context.setAttribute("webManager", webManager, PageContext.PAGE_SCOPE); } } out.write('\n'); webManager.init(request, response, session, application, out); out.write('\n'); out.write('\n'); // decorator:usePage com.opensymphony.module.sitemesh.taglib.decorator.UsePageTag _jspx_th_decorator_usePage_0 = (com.opensymphony.module.sitemesh.taglib.decorator.UsePageTag) _jspx_tagPool_decorator_usePage_id_nobody.get( com.opensymphony.module.sitemesh.taglib.decorator.UsePageTag.class); _jspx_th_decorator_usePage_0.setPageContext(_jspx_page_context); _jspx_th_decorator_usePage_0.setParent(null); _jspx_th_decorator_usePage_0.setId("decoratedPage"); int _jspx_eval_decorator_usePage_0 = _jspx_th_decorator_usePage_0.doStartTag(); if (_jspx_th_decorator_usePage_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { _jspx_tagPool_decorator_usePage_id_nobody.reuse(_jspx_th_decorator_usePage_0); return; } _jspx_tagPool_decorator_usePage_id_nobody.reuse(_jspx_th_decorator_usePage_0); com.opensymphony.module.sitemesh.Page decoratedPage = null; decoratedPage = (com.opensymphony.module.sitemesh.Page) _jspx_page_context.findAttribute("decoratedPage"); out.write('\n'); out.write('\n'); String path = request.getContextPath(); // Decorated pages will typically must set a pageID and optionally set a subPageID // and extraParams. Store these values as request attributes so that the tab and sidebar // handling tags can get at the data. request.setAttribute("pageID", decoratedPage.getProperty("meta.pageID")); request.setAttribute("subPageID", decoratedPage.getProperty("meta.subPageID")); request.setAttribute("extraParams", decoratedPage.getProperty("meta.extraParams")); // Message HTML can be passed in: String message = decoratedPage.getProperty("page.message"); out.write("\n\n<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0 Transitional//EN\">\n\n"); if (_jspx_meth_fmt_setBundle_0(_jspx_page_context)) return; out.write("\n<html>\n<head>\n <title>"); out.print(AdminConsole.getAppName()); out.write(' '); if (_jspx_meth_fmt_message_0(_jspx_page_context)) return; out.write(':'); out.write(' '); if (_jspx_meth_decorator_title_0(_jspx_page_context)) return; out.write( "</title>\n <meta http-equiv=\"content-type\" content=\"text/html; charset=UTF-8\">\n <link rel=\"stylesheet\" type=\"text/css\" href=\""); out.print(path); out.write( "/style/global.css\">\n <script language=\"JavaScript\" type=\"text/javascript\" src=\""); out.print(path); out.write( "/js/prototype.js\"></script>\n <script language=\"JavaScript\" type=\"text/javascript\" src=\""); out.print(path); out.write( "/js/scriptaculous.js\"></script>\n <script language=\"JavaScript\" type=\"text/javascript\" src=\""); out.print(path); out.write( "/js/cookies.js\"></script>\n <script language=\"JavaScript\" type=\"text/javascript\">\n\n </script>\n <script type=\"text/javascript\" src=\""); out.print(path); out.write( "/js/behaviour.js\"></script>\n <script type=\"text/javascript\">\n // Add a nice little rollover effect to any row in a jive-table object. This will help\n // visually link left and right columns.\n /*\n var myrules = {\n '.jive-table TBODY TR' : function(el) {\n el.onmouseover = function() {\n this.style.backgroundColor = '#ffffee';\n }\n el.onmouseout = function() {\n this.style.backgroundColor = '#ffffff';\n }\n }\n };\n Behaviour.register(myrules);\n */\n </script>\n "); if (_jspx_meth_decorator_head_0(_jspx_page_context)) return; out.write( "\n</head>\n\n<body id=\"jive-body\">\n\n<!-- BEGIN main -->\n<div id=\"main\">\n\n <div id=\"jive-header\">\n <div id=\"jive-logo\">\n <a href=\"/index.jsp\"><img src=\"/images/login_logo.gif\" alt=\"Openfire\" width=\"179\" height=\"53\" /></a>\n </div>\n <div id=\"jive-userstatus\">\n "); out.print(AdminConsole.getAppName()); out.write(' '); out.print(AdminConsole.getVersionString()); out.write("<br/>\n "); // fmt:message org.apache.taglibs.standard.tag.rt.fmt.MessageTag _jspx_th_fmt_message_1 = (org.apache.taglibs.standard.tag.rt.fmt.MessageTag) _jspx_tagPool_fmt_message_key.get( org.apache.taglibs.standard.tag.rt.fmt.MessageTag.class); _jspx_th_fmt_message_1.setPageContext(_jspx_page_context); _jspx_th_fmt_message_1.setParent(null); _jspx_th_fmt_message_1.setKey("admin.logged_in_as"); int _jspx_eval_fmt_message_1 = _jspx_th_fmt_message_1.doStartTag(); if (_jspx_eval_fmt_message_1 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) { if (_jspx_eval_fmt_message_1 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) { out = _jspx_page_context.pushBody(); _jspx_th_fmt_message_1.setBodyContent((javax.servlet.jsp.tagext.BodyContent) out); _jspx_th_fmt_message_1.doInitBody(); } do { // fmt:param org.apache.taglibs.standard.tag.rt.fmt.ParamTag _jspx_th_fmt_param_0 = (org.apache.taglibs.standard.tag.rt.fmt.ParamTag) _jspx_tagPool_fmt_param_value_nobody.get( org.apache.taglibs.standard.tag.rt.fmt.ParamTag.class); _jspx_th_fmt_param_0.setPageContext(_jspx_page_context); _jspx_th_fmt_param_0.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_fmt_message_1); _jspx_th_fmt_param_0.setValue( "<strong>" + StringUtils.escapeHTMLTags(JID.unescapeNode(webManager.getUser().getUsername())) + "</strong>"); int _jspx_eval_fmt_param_0 = _jspx_th_fmt_param_0.doStartTag(); if (_jspx_th_fmt_param_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { _jspx_tagPool_fmt_param_value_nobody.reuse(_jspx_th_fmt_param_0); return; } _jspx_tagPool_fmt_param_value_nobody.reuse(_jspx_th_fmt_param_0); int evalDoAfterBody = _jspx_th_fmt_message_1.doAfterBody(); if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN) break; } while (true); if (_jspx_eval_fmt_message_1 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) out = _jspx_page_context.popBody(); } if (_jspx_th_fmt_message_1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { _jspx_tagPool_fmt_message_key.reuse(_jspx_th_fmt_message_1); return; } _jspx_tagPool_fmt_message_key.reuse(_jspx_th_fmt_message_1); out.write(" - <a href=\""); out.print(path); out.write("/index.jsp?logout=true\">"); out.print(LocaleUtils.getLocalizedString("global.logout")); out.write( "</a>\n </div>\n <div id=\"jive-nav\">\n <div id=\"jive-nav-left\"></div>\n "); if (_jspx_meth_admin_tabs_0(_jspx_page_context)) return; out.write( "\n <div id=\"jive-nav-right\"></div>\n </div>\n <div id=\"jive-subnav\">\n "); if (_jspx_meth_admin_subnavbar_0(_jspx_page_context)) return; out.write( "\n </div>\n </div>\n\n <div id=\"jive-main\">\n <table cellpadding=\"0\" cellspacing=\"0\" border=\"0\" width=\"100%\">\n <tbody>\n <tr valign=\"top\">\n <td width=\"1%\">\n <div id=\"jive-sidebar-container\">\n <div id=\"jive-sidebar-box\">\n <div id=\"jive-sidebar\">\n "); if (_jspx_meth_admin_sidebar_0(_jspx_page_context)) return; out.write("\n <br>\n <img src=\""); out.print(path); out.write( "/images/blank.gif\" width=\"150\" height=\"1\" border=\"0\" alt=\"\">\n </div>\n </div>\n </div>\n </td>\n <td width=\"99%\" id=\"jive-content\">\n\n\n "); if (message != null) { out.write("\n\n "); out.print(message); out.write("\n\n "); } out.write("\n\n <h1>\n "); if (_jspx_meth_decorator_title_1(_jspx_page_context)) return; out.write( "\n </h1>\n\n <div id=\"jive-main-content\">\n "); if (_jspx_meth_decorator_body_0(_jspx_page_context)) return; out.write( "\n </div>\n </td>\n </tr>\n </tbody>\n </table>\n </div>\n\n</div>\n<!-- END main -->\n\n<!-- BEGIN footer -->\n\t<div id=\"jive-footer\">\n <div class=\"jive-footer-nav\">\n "); if (_jspx_meth_admin_tabs_1(_jspx_page_context)) return; out.write( "\n </div>\n <div class=\"jive-footer-copyright\">\n Built by <a href=\"http://www.jivesoftware.com\">Jive Software</a> and the <a href=\"http://www.igniterealtime.org\">IgniteRealtime.org</a> community\n </div>\n </div>\n<!-- END footer -->\n\n</body>\n</html>\n"); } 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); } }
public void _jspService(HttpServletRequest request, HttpServletResponse response) throws java.io.IOException, ServletException { JspFactory _jspxFactory = null; javax.servlet.jsp.PageContext pageContext = null; HttpSession session = null; ServletContext application = null; ServletConfig config = null; JspWriter out = null; Object page = this; JspWriter _jspx_out = null; try { _jspxFactory = JspFactory.getDefaultFactory(); response.setContentType("text/html; charset=UTF-8"); pageContext = _jspxFactory.getPageContext(this, request, response, "/error.jsp", true, 8192, true); application = pageContext.getServletContext(); config = pageContext.getServletConfig(); session = pageContext.getSession(); out = pageContext.getOut(); _jspx_out = out; out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); /** This include page ensures that the handler exists and is ready to be accessed. */ CrawlJobHandler handler = (CrawlJobHandler) application.getAttribute("handler"); Heritrix heritrix = (Heritrix) application.getAttribute("heritrix"); // If handler is empty then this is the first time this bit of code is // being run since the server came online. In that case get or create the // handler. if (handler == null) { if (Heritrix.isSingleInstance()) { heritrix = Heritrix.getSingleInstance(); handler = heritrix.getJobHandler(); application.setAttribute("heritrix", heritrix); application.setAttribute("handler", handler); } else { // TODO: // If we get here, then there are multiple heritrix instances // and we have to put up a screen allowing the user choose between. // Otherwise, there is no Heritrix instance. Thats a problem. throw new RuntimeException( "No heritrix instance (or multiple " + "to choose from and we haven't implemented this yet)"); } } // ensure controller's settingsHandler is always thread-installed // in web ui threads if (handler != null) { CrawlJob job = handler.getCurrentJob(); if (job != null) { CrawlController controller = job.getController(); if (controller != null) { controller.installThreadContextSettingsHandler(); } } } out.write("\n"); out.write("\n\n"); String title = "Help"; int tab = 6; out.write("\n\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); String currentHeritrixName = (heritrix == null) ? "No current Heritrix instance" : (heritrix.getMBeanName() == null) ? heritrix.getInstances().keySet().iterator().next().toString() : heritrix.getMBeanName().toString(); /** * An include file that handles the "look" and navigation of a web page. Include at top (where * you would normally begin the HTML code). If used, the include "foot.jsp" should be included * at the end of the HTML code. It will close any table, body and html tags left open in this * one. Any custom HTML code is thus placed between the two. * * <p>The following variables must exist prior to this file being included: * * <p>String title - Title of the web page int tab - Which to display as 'selected'. 0 - * Console 1 - Jobs 2 - Profiles 3 - Logs 4 - Reports 5 - Settings 6 - Help * * <p>SimpleHandler handler - In general this is provided by the include page 'handler.jsp' * which should be included prior to this one. * * @author Kristinn Sigurdsson */ String shortJobStatus = null; if (handler.getCurrentJob() != null) { shortJobStatus = TextUtils.getFirstWord(handler.getCurrentJob().getStatus()); } String favicon = System.getProperties().getProperty("heritrix.favicon", "h.ico"); out.write("\n"); StatisticsTracker stats = null; if (handler.getCurrentJob() != null) { // Assume that StatisticsTracker is being used. stats = (StatisticsTracker) handler.getCurrentJob().getStatisticsTracking(); } out.write("\n"); out.write("\n\n"); out.write("<html>\n "); out.write("<head>\n \t"); out.write( "<meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\"/>\n "); out.write("<title>Heritrix: "); out.print(title); out.write("</title>\n "); out.write("<link rel=\"stylesheet\" \n href=\""); out.print(request.getContextPath()); out.write("/css/heritrix.css\">\n "); out.write("<link rel=\"icon\" href=\""); out.print(request.getContextPath()); out.write("/images/"); out.print(favicon); out.write("\" type=\"image/x-icon\" />\n "); out.write("<link rel=\"shortcut icon\" href=\""); out.print(request.getContextPath()); out.write("/images/"); out.print(favicon); out.write("\" type=\"image/x-icon\" />\n "); out.write("<script src=\"/js/util.js\">\n "); out.write("</script>\n "); out.write("</head>\n\n "); out.write("<body>\n "); out.write( "<table border=\"0\" cellspacing=\"0\" cellpadding=\"0\" width=\"100%\">\n "); out.write("<tr>\n "); out.write("<td>\n "); out.write( "<table border=\"0\" cellspacing=\"0\" cellpadding=\"0\" height=\"100%\">\n "); out.write("<tr>\n "); out.write( "<td height=\"60\" width=\"155\" valign=\"top\" nowrap>\n "); out.write( "<table border=\"0\" width=\"155\" cellspacing=\"0\" cellpadding=\"0\" height=\"60\">\n "); out.write("<tr>\n "); out.write( "<td align=\"center\" height=\"40\" valign=\"bottom\">\n "); out.write("<a border=\"0\" \n href=\""); out.print(request.getContextPath()); out.write("/index.jsp\">"); out.write("<img border=\"0\" src=\""); out.print(request.getContextPath()); out.write("/images/logo.gif\" height=\"37\" width=\"145\">"); out.write("</a>\n "); out.write("</td>\n "); out.write("</tr>\n "); out.write("<tr>\n "); out.write("<td class=\"subheading\">\n "); out.print(title); out.write("\n "); out.write("</td>\n "); out.write("</tr>\n "); out.write("</table>\n "); out.write("</td>\n "); out.write( "<td width=\"5\" nowrap>\n \n "); out.write("</td>\n "); out.write("<td width=\"460\" align=\"left\" nowrap>\n "); out.write( "<table border=\"0\" cellspacing=\"0\" cellpadding=\"0\" height=\"60\">\n "); out.write("<tr>\n "); out.write("<td colspan=\"2\" nowrap>\n "); SimpleDateFormat sdf = new SimpleDateFormat("MMM. d, yyyy HH:mm:ss"); sdf.setTimeZone(java.util.TimeZone.getTimeZone("GMT")); out.write("\n "); out.write("<b>\n Status as of "); out.write("<a style=\"color: #000000\" href=\""); out.print(request.getRequestURL()); out.write("\">"); out.print(sdf.format(new java.util.Date())); out.write(" GMT"); out.write("</a>\n "); out.write( "</b>\n \n "); out.write("<span style=\"text-align:right\">\n "); out.write( "<b>\n Alerts: \n "); out.write("</b>\n "); if (heritrix.getAlertsCount() == 0) { out.write("\n "); out.write("<a style=\"color: #000000; text-decoration: none\" href=\""); out.print(request.getContextPath()); out.write("/console/alerts.jsp\">no alerts"); out.write("</a>\n "); } else if (heritrix.getNewAlertsCount() > 0) { out.write("\n "); out.write("<b>"); out.write("<a href=\""); out.print(request.getContextPath()); out.write("/console/alerts.jsp\">"); out.print(heritrix.getAlerts().size()); out.write(" ("); out.print(heritrix.getNewAlertsCount()); out.write(" new)"); out.write("</a>"); out.write("</b>\n "); } else { out.write("\n "); out.write("<a style=\"color: #000000\" href=\""); out.print(request.getContextPath()); out.write("/console/alerts.jsp\">"); out.print(heritrix.getAlertsCount()); out.write(" ("); out.print(heritrix.getNewAlertsCount()); out.write(" new)"); out.write("</a>\n "); } out.write("\n "); out.write("</span>\n "); out.write("</td>\n "); out.write("</tr>\n "); out.write("<tr>\n "); out.write("<td valign=\"top\" nowrap>\n\t\t\t\t\t\t\t\t\t\t"); out.print( handler.isRunning() ? "<span class='status'>Crawling Jobs</span>" : "<span class='status'>Holding Jobs</span>"); out.write("<i> "); out.write("</i>\n\t\t\t\t\t\t\t\t\t\t"); out.write("</td>\n\t\t\t\t\t\t\t\t\t\t"); out.write("<td valign=\"top\" align=\"right\" nowrap>\n\t\t\t\t\t\t\t\t\t\t"); if (handler.isRunning() || handler.isCrawling()) { if (handler.getCurrentJob() != null) { out.write("\n\t\t\t\t\t\t\t\t\t\t"); out.write("<span class='status'>\n\t\t\t\t\t\t\t\t\t\t"); out.print(shortJobStatus); out.write("</span> job:\n\t\t\t\t\t\t\t\t\t\t"); out.write("<i>"); out.print(handler.getCurrentJob().getJobName()); out.write("</i>\n\t\t\t\t\t\t\t\t\t\t"); } else { out.println("No job ready <a href=\""); out.println(request.getContextPath()); out.println("/jobs.jsp\" style='color: #000000'>(create new)</a>"); } } out.write("\n\t\t\t\t\t\t\t\t\t\t"); out.write("</td>\n "); out.write("</tr>\n "); out.write("<tr>\n "); out.write("<td nowrap>\n "); out.print(handler.getPendingJobs().size()); out.write( "\n jobs\n "); out.write("<a style=\"color: #000000\" href=\""); out.print(request.getContextPath()); out.write("/jobs.jsp#pending\">pending"); out.write("</a>,\n "); out.print(handler.getCompletedJobs().size()); out.write("\n "); out.write("<a style=\"color: #000000\" href=\""); out.print(request.getContextPath()); out.write("/jobs.jsp#completed\">completed"); out.write( "</a>\n \n "); out.write("</td>\n "); out.write("<td nowrap align=\"right\">\n "); if (handler.isCrawling()) { out.write("\n "); out.print((stats != null) ? stats.successfullyFetchedCount() : 0); out.write(" URIs in \n\t\t "); out.print( ArchiveUtils.formatMillisecondsToConventional( ((stats != null) ? (stats.getCrawlerTotalElapsedTime()) : 0), false)); out.write("\n\t\t ("); out.print( ArchiveUtils.doubleToString( ((stats != null) ? stats.currentProcessedDocsPerSec() : 0), 2)); out.write("/sec)\n "); } out.write("\n "); out.write("</td>\n "); out.write("</tr>\n "); out.write("</table>\n "); out.write("</td>\n "); out.write("</tr>\n "); out.write("</table>\n "); out.write("</td>\n "); out.write("<td width=\"100%\" nowrap>\n \n "); out.write("</td>\n "); out.write("</tr>\n "); out.write("<tr>\n "); out.write("<td bgcolor=\"#0000FF\" height=\"1\" colspan=\"4\">\n "); out.write("</td>\n "); out.write("</tr>\n "); out.write("<tr>\n "); out.write("<td colspan=\"4\" height=\"20\">\n "); out.write( "<table border=\"0\" cellspacing=\"0\" cellpadding=\"0\" width=\"100%\" height=\"20\">\n "); out.write("<tr>\n "); out.write("<td class=\"tab_seperator\"> "); out.write("</td>\n "); out.write("<td class=\"tab"); out.print(tab == 0 ? "_selected" : ""); out.write("\">\n "); out.write("<a href=\""); out.print(request.getContextPath()); out.write("/index.jsp\" class=\"tab_text"); out.print(tab == 0 ? "_selected" : ""); out.write("\">Console"); out.write("</a>\n "); out.write("</td>\n "); out.write("<td class=\"tab_seperator\"> "); out.write("</td>\n "); out.write("<td class=\"tab"); out.print(tab == 1 ? "_selected" : ""); out.write("\">\n "); out.write("<a href=\""); out.print(request.getContextPath()); out.write("/jobs.jsp\" class=\"tab_text"); out.print(tab == 1 ? "_selected" : ""); out.write("\">Jobs"); out.write("</a>\n "); out.write("</td>\n "); out.write("<td class=\"tab_seperator\"> "); out.write("</td>\n "); out.write("<td class=\"tab"); out.print(tab == 2 ? "_selected" : ""); out.write("\">\n "); out.write("<a href=\""); out.print(request.getContextPath()); out.write("/profiles.jsp\" class=\"tab_text"); out.print(tab == 2 ? "_selected" : ""); out.write("\">Profiles"); out.write("</a>\n "); out.write("</td>\n "); out.write("<td class=\"tab_seperator\"> "); out.write("</td>\n "); out.write("<td class=\"tab"); out.print(tab == 3 ? "_selected" : ""); out.write("\">\n "); out.write("<a href=\""); out.print(request.getContextPath()); out.write("/logs.jsp\" class=\"tab_text"); out.print(tab == 3 ? "_selected" : ""); out.write("\">Logs"); out.write("</a>\n "); out.write("</td>\n "); out.write("<td class=\"tab_seperator\"> "); out.write("</td>\n "); out.write("<td class=\"tab"); out.print(tab == 4 ? "_selected" : ""); out.write("\">\n "); out.write("<a href=\""); out.print(request.getContextPath()); out.write("/reports.jsp\" class=\"tab_text"); out.print(tab == 4 ? "_selected" : ""); out.write("\">Reports"); out.write("</a>\n "); out.write("</td>\n "); out.write("<td class=\"tab_seperator\"> "); out.write("</td>\n "); out.write("<td class=\"tab"); out.print(tab == 5 ? "_selected" : ""); out.write("\">\n "); out.write("<a href=\""); out.print(request.getContextPath()); out.write("/setup.jsp\" class=\"tab_text"); out.print(tab == 5 ? "_selected" : ""); out.write("\">Setup"); out.write("</a>\n "); out.write("</td>\n "); out.write("<td class=\"tab_seperator\"> "); out.write("</td>\n "); out.write("<td class=\"tab"); out.print(tab == 6 ? "_selected" : ""); out.write("\">\n "); out.write("<a href=\""); out.print(request.getContextPath()); out.write("/help.jsp\" class=\"tab_text"); out.print(tab == 6 ? "_selected" : ""); out.write("\">Help"); out.write("</a>\n "); out.write("</td>\n "); out.write("<td width=\"100%\">\n "); out.write("</td>\n "); out.write("</tr>\n "); out.write("</table>\n "); out.write("</td>\n "); out.write("</tr>\n "); out.write("<tr>\n "); out.write("<td bgcolor=\"#0000FF\" height=\"1\" colspan=\"4\">"); out.write("</td>\n "); out.write("</tr>\n "); out.write("</table>\n "); out.write("<!-- MAIN BODY -->\n"); out.write("\n\n"); out.write("<div class=\"margined\">\n "); out.write("<h1>Heritrix online help"); out.write("</h1>\n"); out.write("<p>\n "); out.write("<b>"); out.write("<a href=\""); out.print(request.getContextPath()); out.write("/about.jsp\">About Heritrix"); out.write("</a>"); out.write("</b>"); out.write("</br>\n Includes license and current environment information.\n"); out.write("</p>\n"); out.write("<p>\n "); out.write("<b>"); out.write("<a target=\"_blank\" \n href=\""); out.print(request.getContextPath()); out.write("/docs/articles/user_manual/index.html\">User\n Manual"); out.write("</a>"); out.write("</b>"); out.write( "<br> Covers creating, configuring, launching,\n monitoring and analysing crawl jobs. For all users.\n"); out.write("</p>\n"); out.write("<p>\n "); out.write("<b>"); out.write("<a target=\"_blank\" \n href=\""); out.print(request.getContextPath()); out.write("/docs/articles/developer_manual/index.html\">Developer Manual"); out.write("</a>"); out.write("</b>"); out.write( "<br> Covers how to write add on modules for Heritrix\n and provides in depth coverage of Heritrix's architecture. For\n advanced users.\n"); out.write("</p>\n"); out.write("<p>\n "); out.write("<b>"); out.write("<a target=\"_blank\" \n href=\""); out.print(request.getContextPath()); out.write("/docs/articles/releasenotes/index.html\">Release Notes"); out.write("</a>"); out.write("</b>"); out.write("<br>\n"); out.write("</p>\n"); out.write("<p>\n\t"); out.write("<b>"); out.write( "<a href=\"http://crawler.archive.org/issue-tracking.html\" target=\"_blank\">Issue Tracking"); out.write("</a>"); out.write("</b>"); out.write( "<br />\n\tIf you have found a bug or would like to see new features in Heritrix, check the following links:\n\t"); out.write("<ul>\n\t\t"); out.write("<li>"); out.write( "<a href=\"http://sourceforge.net/tracker/?atid=539099&group_id=73833&func=browse\" target=\"_blank\">Bugs"); out.write("</a>"); out.write("</li>\n\t\t"); out.write("<li>"); out.write( "<a href=\"http://sourceforge.net/tracker/?atid=539102&group_id=73833&func=browse\" target=\"_blank\">Feature Requests"); out.write("</a>"); out.write("</li>\n\t"); out.write("</ul>\n"); out.write("</p>\n"); out.write("<p>\n "); out.write("<b>"); out.write( "<a href=\"http://crawler.archive.org/mail-lists.html\" target=\"_blank\">Mailing Lists"); out.write("</a>"); out.write("</b>"); out.write("<br />\n For general discussion on Heritrix, use our "); out.write( "<a href=\"http://groups.yahoo.com/group/archive-crawler/\" target=\"_blank\">Crawler Discussion List"); out.write("</a>.\n"); out.write("</p>\n"); out.write("<p>\n "); out.write("<b>"); out.write("<a href=\""); out.print(request.getContextPath()); out.write("/help/regexpr.jsp\">Regular Expressions"); out.write("</a>"); out.write("</b>"); out.write( "<br />\n Information about the regular expressions used in Heritrix and a tool to double check that your regular expressions are valid and that they correctly identify the desired strings.\n"); out.write("</p>\n"); out.write("<p>\n "); out.write("<b>"); out.write("<a href=\""); out.print(request.getContextPath()); out.write("/help/codes.jsp\">URI Fetch Status Codes"); out.write("</a>"); out.write("</b>"); out.write( "<br />\n This reference details what each of the fetch status codes assigned to URIs means.\n"); out.write("</p>\n"); out.write("<hr />\n"); out.write("<font size=\"-1\">Heritrix version @VERSION@"); out.write("</font>\n"); out.write("</div>\n"); /** * An include file that handles the "look" and navigation of a web page. Wrapps up things * begun in the "head.jsp" include file. See it for more details. * * @author Kristinn Sigurdsson */ out.write("\n"); out.write("<br/>\n"); out.write("<br/>\n "); out.write( "<table border=\"0\" cellspacing=\"0\" cellpadding=\"0\" width=\"100%\">\n "); out.write("<tr>\n "); out.write("<td bgcolor=\"#0000FF\" height=\"1\" colspan=\"4\">"); out.write("</td>\n "); out.write("</tr>\n "); out.write("<tr>\n "); out.write("<td class=\"instance_name\">Identifier: "); out.print(currentHeritrixName); out.write("</td>\n "); out.write("</tr>\n "); out.write("</table>\n "); out.write("<!-- END MAIN BODY -->\n "); out.write("</body>\n"); out.write("</html>"); out.write("\n"); } catch (Throwable t) { out = _jspx_out; if (out != null && out.getBufferSize() != 0) out.clearBuffer(); if (pageContext != null) pageContext.handlePageException(t); } finally { if (_jspxFactory != null) _jspxFactory.releasePageContext(pageContext); } }
public void _jspService(HttpServletRequest request, HttpServletResponse response) throws java.io.IOException, ServletException { 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 { 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("\r\n"); out.write("\r\n"); String path = request.getContextPath(); String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/"; out.write("\r\n"); out.write("\r\n"); out.write("<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\">\r\n"); out.write("<html>\r\n"); out.write(" <head>\r\n"); out.write(" <base href=\""); out.print(basePath); out.write("\">\r\n"); out.write(" \r\n"); out.write(" <title>实收新增</title>\r\n"); out.write(" \r\n"); out.write("\t\r\n"); out.write("\t<link rel=\"stylesheet\" type=\"text/css\" href=\""); out.print(request.getContextPath()); out.write("/ecside/css/ecside_style.css\" />\r\n"); out.write("\t\r\n"); out.write("\t<script type=\"text/javascript\" src=\""); out.print(request.getContextPath()); out.write("/ecside/js/prototype_mini.js\"></script>\r\n"); out.write("\t<script type=\"text/javascript\" src=\""); out.print(request.getContextPath()); out.write("/ecside/js/ecside_msg_utf8_cn.js\"></script>\r\n"); out.write("\t<script type=\"text/javascript\" src=\""); out.print(request.getContextPath()); out.write("/ecside/js/ecside.js\"></script>\r\n"); out.write("\t<link rel=\"stylesheet\" type=\"text/css\" href=\""); out.print(path); out.write("/jquery-easyui-1.3.1/themes/default/easyui.css\">\r\n"); out.write("\t<link rel=\"stylesheet\" type=\"text/css\" href=\""); out.print(path); out.write("/jquery-easyui-1.3.1/themes/icon.css\">\r\n"); out.write("\t<link rel=\"stylesheet\" type=\"text/css\" href=\""); out.print(path); out.write("/jquery-easyui-1.3.1/demo/demo.css\">\r\n"); out.write("\t<script type=\"text/javascript\" src=\""); out.print(path); out.write("/jquery-easyui-1.3.1/jquery-1.8.0.min.js\"></script>\r\n"); out.write("\t<script type=\"text/javascript\" src=\""); out.print(path); out.write("/jquery-easyui-1.3.1/jquery.easyui.min.js\"></script>\r\n"); out.write("\t\r\n"); out.write("\r\n"); out.write(" </head>\r\n"); out.write(" <script type=\"text/javascript\">\r\n"); out.write(" \t\r\n"); out.write(" \t\r\n"); out.write(" \t\r\n"); out.write(" \tfunction initForm(){\r\n"); out.write(" \t\tvar rs = $('#result').attr('value');\r\n"); out.write(" \t\t//alert(rs);\r\n"); out.write(" \t\tif(rs=='1'){\r\n"); out.write(" \t\t\t$.messager.alert(\"提示\",\"保存成功!\");\r\n"); out.write(" \t\t\treturn;\r\n"); out.write(" \t\t}else if(rs=='0'){\r\n"); out.write(" \t\t\t$.messager.alert(\"提示\",\"保存失败!\");\r\n"); out.write(" \t\t}else if(rs=='-1'){\r\n"); out.write(" \t\t\t$.messager.alert(\"提示\",\"Excel解析失败!\");\r\n"); out.write(" \t\t}\r\n"); out.write(" \t}\r\n"); out.write(" \tfunction importRcved(){\r\n"); out.write(" \t\tvar fileName = $('#file').attr('value');\r\n"); out.write(" \t\tif(fileName==null || fileName==''){\r\n"); out.write(" \t\t\talert('请选择导入文件');\r\n"); out.write(" \t\t\treturn;\r\n"); out.write(" \t\t}\r\n"); out.write(" \t\tdocument.forms[0].submit();\r\n"); out.write(" \t}\r\n"); out.write(" \tfunction confirm(){\r\n"); out.write(" \t\tvar arrayTr = $('#ecTable_table tr');\r\n"); out.write(" \t\tif(arrayTr.length<2){\r\n"); out.write(" \t\t\talert('界面没有需要导入的记录');\r\n"); out.write(" \t\t\treturn;\r\n"); out.write(" \t\t}\r\n"); out.write(" \t\tdocument.forms[1].submit();\r\n"); out.write(" \t}\r\n"); out.write(" </script>\r\n"); out.write(" \r\n"); out.write(" <body onload=\"initForm()\" >\r\n"); out.write(" <input type=\"hidden\" id=\"result\" value=\""); out.print(request.getAttribute("result")); out.write("\">\r\n"); out.write(" <table width=\"100%\"><tr>\r\n"); out.write(" <td width=\"300px\">\r\n"); out.write(" "); if (_jspx_meth_s_005fform_005f0(_jspx_page_context)) return; out.write("\t\r\n"); out.write(" </td>\r\n"); out.write(" <td align=\"left\">\r\n"); out.write(" "); if (_jspx_meth_s_005fform_005f1(_jspx_page_context)) return; out.write("\r\n"); out.write(" \t</td> \t\r\n"); out.write(" \t</tr> \r\n"); out.write(" \t</table>\r\n"); out.write(" \t \r\n"); out.write(" \t \r\n"); out.write(" \t "); if (_jspx_meth_ec_005ftable_005f0(_jspx_page_context)) return; out.write("\r\n"); out.write(" \t \r\n"); out.write(" </body>\r\n"); out.write("</html>\r\n"); } catch (Throwable t) { if (!(t instanceof 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); } } finally { _jspxFactory.releasePageContext(_jspx_page_context); } }
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\n"); out.write("\r\n"); String path = request.getContextPath(); String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/"; out.write("\r\n"); out.write("\r\n"); response.reset(); response.setContentType("application/msexcel"); response.setHeader("Content-disposition", "inline;filename=tqgbstudent.xls"); // 定义文件名 DecimalFormat f = new DecimalFormat("#,##0.00"); HSSFWorkbook wb = new HSSFWorkbook(); HSSFSheet sheet = wb.createSheet("sheet1"); String[] id = request.getParameterValues("id"); String[] name = request.getParameterValues("name"); String[] xuehao = request.getParameterValues("xuehao"); String[] sex = request.getParameterValues("sex"); String[] sszy = request.getParameterValues("sszy"); String[] nbzy = request.getParameterValues("nbzy"); String[] sd = request.getParameterValues("sd"); String[] nbbd = request.getParameterValues("nbbd"); String[] cjpm = request.getParameterValues("cjpm"); String[] beizhu = request.getParameterValues("beizhu"); String[] tel = request.getParameterValues("tel"); // 以下以写表头 // 表头为第一行 HSSFRow row = sheet.createRow((short) 0); // 定义10列 HSSFCell cell1 = row.createCell((short) 0); HSSFCell cell2 = row.createCell((short) 1); HSSFCell cell3 = row.createCell((short) 2); HSSFCell cell4 = row.createCell((short) 3); HSSFCell cell5 = row.createCell((short) 4); HSSFCell cell6 = row.createCell((short) 5); HSSFCell cell7 = row.createCell((short) 6); HSSFCell cell8 = row.createCell((short) 7); HSSFCell cell9 = row.createCell((short) 8); HSSFCell cell10 = row.createCell((short) 9); HSSFCell cell11 = row.createCell((short) 10); cell1.setEncoding((short) 1); cell1.setCellType(1); cell2.setEncoding((short) 1); cell2.setCellType(1); cell3.setEncoding((short) 1); cell3.setCellType(1); cell4.setEncoding((short) 1); cell4.setCellType(1); cell5.setEncoding((short) 1); cell5.setCellType(0); cell6.setEncoding((short) 1); cell6.setCellType(1); cell7.setEncoding((short) 1); cell7.setCellType(1); cell8.setEncoding((short) 1); cell8.setCellType(1); cell9.setEncoding((short) 1); cell9.setCellType(1); cell10.setEncoding((short) 1); cell10.setCellType(1); cell11.setEncoding((short) 1); cell11.setCellType(1); // 定义表头的内容 cell1.setCellValue("序号"); cell2.setCellValue("姓名"); cell3.setCellValue("学号"); cell4.setCellValue("性别"); cell5.setCellValue("硕士专业"); cell6.setCellValue("拟报博士专业"); cell7.setCellValue("原硕导"); cell8.setCellValue("拟报博导"); cell9.setCellValue("学位课加权成绩排名"); cell10.setCellValue("备注"); cell11.setCellValue("联系方式"); for (int i = 0; i < name.length; i++) { // 定义数据从第二行开始 row = sheet.createRow((short) i + 1); cell1 = row.createCell((short) 0); cell2 = row.createCell((short) 1); cell3 = row.createCell((short) 2); cell4 = row.createCell((short) 3); cell5 = row.createCell((short) 4); cell6 = row.createCell((short) 5); cell7 = row.createCell((short) 6); cell8 = row.createCell((short) 7); cell9 = row.createCell((short) 8); cell10 = row.createCell((short) 9); cell11 = row.createCell((short) 10); cell1.setEncoding((short) 1); cell1.setCellType(1); cell2.setEncoding((short) 1); cell2.setCellType(1); cell3.setEncoding((short) 1); cell3.setCellType(1); cell4.setEncoding((short) 1); cell4.setCellType(1); cell5.setEncoding((short) 1); cell5.setCellType(0); cell6.setEncoding((short) 1); cell6.setCellType(1); cell7.setEncoding((short) 1); cell7.setCellType(1); cell8.setEncoding((short) 1); cell8.setCellType(1); cell9.setEncoding((short) 1); cell9.setCellType(1); cell10.setEncoding((short) 1); cell10.setCellType(1); cell11.setEncoding((short) 1); cell11.setCellType(1); // 填充内容 cell1.setCellValue(id[i]); cell2.setCellValue(name[i]); cell3.setCellValue(xuehao[i]); cell4.setCellValue(sex[i]); cell5.setCellValue(sszy[i]); cell6.setCellValue(nbzy[i]); cell7.setCellValue(sd[i]); cell8.setCellValue(nbbd[i]); cell9.setCellValue(cjpm[i]); cell10.setCellValue(beizhu[i]); cell11.setCellValue(tel[i]); } wb.write(response.getOutputStream()); response.getOutputStream().flush(); response.getOutputStream().close(); } 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); } }
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=ISO-8859-1"); 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'); String path = request.getContextPath(); String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/"; 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("<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\">\r\n"); out.write("<html>\r\n"); out.write("\t<head>\r\n"); out.write("\t\t<base href=\""); out.print(basePath); out.write("\">\r\n"); out.write("\r\n"); out.write("\t\t<title>My JSP 'hello.jsp' starting page</title>\r\n"); out.write("\r\n"); out.write("\t\t<meta http-equiv=\"pragma\" content=\"no-cache\">\r\n"); out.write("\t\t<meta http-equiv=\"cache-control\" content=\"no-cache\">\r\n"); out.write("\t\t<meta http-equiv=\"expires\" content=\"0\">\r\n"); out.write("\t\t<meta http-equiv=\"keywords\" content=\"keyword1,keyword2,keyword3\">\r\n"); out.write("\t\t<meta http-equiv=\"description\" content=\"This is my page\">\r\n"); out.write("\t\t<!--\r\n"); out.write("\t<link rel=\"stylesheet\" type=\"text/css\" href=\"styles.css\">\r\n"); out.write("\t-->\r\n"); out.write("\r\n"); out.write("\t</head>\r\n"); out.write("\r\n"); out.write("\t<body>\r\n"); out.write("\t\t"); if (_jspx_meth_c_out_0(_jspx_page_context)) return; out.write("\r\n"); out.write("\t</body>\r\n"); out.write("</html>\r\n"); } 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); } }
public void _jspService(HttpServletRequest request, HttpServletResponse response) throws java.io.IOException, ServletException { 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 { 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("\n"); out.write( "<!DOCTYPE html PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">\n"); String path = request.getContextPath(); String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/"; out.write("\n"); out.write("<html>\n"); out.write("<head>\n"); out.write("<base href=\""); out.print(basePath); out.write("\">\n"); out.write("<meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\">\n"); out.write("<title>Login</title>\n"); out.write("<meta http-equiv=\"pragma\" content=\"no-cache\">\n"); out.write("\t<meta http-equiv=\"cache-control\" content=\"no-cache\">\n"); out.write("\t<meta http-equiv=\"expires\" content=\"0\"> \n"); out.write("\t<meta http-equiv=\"keywords\" content=\"keyword1,keyword2,keyword3\">\n"); out.write("\t<meta http-equiv=\"description\" content=\"This is my page\">\n"); out.write("</head>\n"); out.write("<body>\n"); out.write("<form action=\"process_login.jsp\" method=\"post\">\n"); out.write( "\t<table align=\"center\" border=\"0\" cellpadding=\"0\" cellspacing=\"7\" width=\"234\">\n"); out.write( "\t\t<tr align=\"center\"><a href=\"register.jsp\">register to be a new member</a></tr>\n"); out.write("\t\t<tr>\n"); out.write("\t\t\t<td align=\"left\" valign=\"middle\" width=\"26\">\n"); out.write("\t\t\t\t<img src=\"css/images/jiantou3.jpg\" width=\"11\" height=\"10\">\n"); out.write("\t\t\t</td>\n"); out.write("\t\t\t<td align=\"center\" valign=\"middle\" width=\"60\">\n"); out.write("\t\t\t\t<img src=\"css/images/user.jpg\" width=\"47\" height=\"15\">\n"); out.write("\t\t\t</td>\n"); out.write("\t\t\t<td align=\"center\" valign=\"middle\" width=\"148\">\n"); out.write("\t\t\t\t<input type=\"text\" name=\"username\"/>\n"); out.write("\t\t\t</td>\n"); out.write("\t\t</tr>\n"); out.write("\t\t<tr>\n"); out.write("\t\t\t<td align=\"left\" valign=\"middle\" width=\"26\">\n"); out.write("\t\t\t\t<img src=\"css/images/jiantou3.jpg\" width=\"11\" height=\"10\">\n"); out.write("\t\t\t</td>\n"); out.write("\t\t\t<td align=\"center\" valign=\"middle\" width=\"60\">\n"); out.write("\t\t\t\t<img src=\"css/images/pass.jpg\" width=\"47\" height=\"15\">\n"); out.write("\t\t\t</td>\n"); out.write("\t\t\t<td align=\"center\" valign=\"middle\" width=\"148\">\n"); out.write("\t\t\t\t<input type=\"password\" name=\"password\"/>\n"); out.write("\t\t\t</td>\n"); out.write("\t\t</tr>\n"); out.write("\t\t<tr>\n"); out.write("\t\t\t<td align=\"left\"><input type=\"submit\" value=\"enter\"/></td>\n"); out.write("\t\t</tr>\n"); out.write("\t</table>\n"); out.write("</form>\n"); out.write("</body>\n"); out.write("</html>"); } catch (Throwable t) { if (!(t instanceof 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); } } finally { _jspxFactory.releasePageContext(_jspx_page_context); } }
public void _jspService(HttpServletRequest request, HttpServletResponse response) throws java.io.IOException, ServletException { 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 { 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'); out.write('\n'); out.write("\r\n"); out.write("\r\n"); out.write("\r\n"); out.write("\r\n"); String path = request.getContextPath(); String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path; out.write('\r'); out.write('\n'); // c:set org.apache.taglibs.standard.tag.rt.core.SetTag _jspx_th_c_005fset_005f0 = (org.apache.taglibs.standard.tag.rt.core.SetTag) _005fjspx_005ftagPool_005fc_005fset_0026_005fvar_005fvalue_005fnobody.get( org.apache.taglibs.standard.tag.rt.core.SetTag.class); _jspx_th_c_005fset_005f0.setPageContext(_jspx_page_context); _jspx_th_c_005fset_005f0.setParent(null); // /context/mytags.jsp(9,0) name = var type = java.lang.String reqTime = false required = // false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false // methodSignature = null _jspx_th_c_005fset_005f0.setVar("webRoot"); // /context/mytags.jsp(9,0) name = value type = javax.el.ValueExpression reqTime = true // required = false fragment = false deferredValue = true expectedTypeName = java.lang.Object // deferredMethod = false methodSignature = null _jspx_th_c_005fset_005f0.setValue(basePath); int _jspx_eval_c_005fset_005f0 = _jspx_th_c_005fset_005f0.doStartTag(); if (_jspx_th_c_005fset_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { _005fjspx_005ftagPool_005fc_005fset_0026_005fvar_005fvalue_005fnobody.reuse( _jspx_th_c_005fset_005f0); return; } _005fjspx_005ftagPool_005fc_005fset_0026_005fvar_005fvalue_005fnobody.reuse( _jspx_th_c_005fset_005f0); out.write("\r\n"); out.write("<div class=\"easyui-layout\" fit=\"true\">\r\n"); out.write("<div region=\"center\" style=\"padding: 1px;\">"); if (_jspx_meth_t_005fdatagrid_005f0(_jspx_page_context)) return; out.write("</div>\r\n"); out.write("</div>\r\n"); out.write("<script type=\"text/javascript\">\r\n"); out.write("function editOfficeDocument(docid) {\r\n"); out.write("\tcreatewindow(\"文档编辑\",'webOfficeController.do?newDocument&id='+docid);\r\n"); out.write("}\r\n"); out.write("</script>"); } catch (Throwable t) { if (!(t instanceof 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 log(t.getMessage(), t); } } finally { _jspxFactory.releasePageContext(_jspx_page_context); } }
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\n"); out.write("\r\n"); out.write("\r\n"); String path = request.getContextPath(); String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/"; out.write("\t\t\r\n"); out.write("\r\n"); out.write("<html>\r\n"); out.write("\t<head>\r\n"); out.write("\t\t<base href=\""); out.print(basePath); out.write("\">\r\n"); out.write("\t\t<title>左侧导航</title>\r\n"); out.write("\t\t<style type=text/css>\r\n"); out.write("\t\t\tbody {\r\n"); out.write("\t\t\t\tmargin:0px;\r\n"); out.write("\t\t\t\tbackground-color: #0080C0;\r\n"); out.write("\t\t\t}\r\n"); out.write("\t\t\ttable { border:0px; }\r\n"); out.write("\t\t\ttd { font:normal 12px 宋体; }\r\n"); out.write("\t\t\timg { vertical-align:bottom; border:0px; }\r\n"); out.write("\t\t\ta { font:normal 12px 宋体; color:#000000; text-decoration:none; }\r\n"); out.write("\t\t\ta:hover { color:#cc0000;text-decoration:underline; }\r\n"); out.write( "\t\t\t.sec_menu { border-left:1px solid white; border-right:1px solid white; border-bottom:1px solid white; overflow:hidden; background:#EAEAEA; }\r\n"); out.write("\t\t\t.menu_title {\r\n"); out.write("\t\t\t\tpadding-left: 20px;\r\n"); out.write("\t\t\t}\r\n"); out.write("\t\t</style>\r\n"); out.write("\t\t<script language=\"JavaScript\">\r\n"); out.write("\t\t\tfunction preloadImg(src)\r\n"); out.write("\t\t\t{\r\n"); out.write("\t\t\t\tvar img=new Image();\r\n"); out.write("\t\t\t\timg.src=src\r\n"); out.write("\t\t\t}\r\n"); out.write("\t\t\tpreloadImg(\"image/dh_open.gif\");\r\n"); out.write("\t\t\t\r\n"); out.write("\t\t\tvar displayBar=true;\r\n"); out.write("\t\t\tfunction switchBar(obj)\r\n"); out.write("\t\t\t{\r\n"); out.write("\t\t\t\tif (displayBar)\r\n"); out.write("\t\t\t\t{\r\n"); out.write("\t\t\t\t\tparent.frame.cols=\"0,*\";\r\n"); out.write("\t\t\t\t\tdisplayBar=false;\r\n"); out.write("\t\t\t\t\tobj.src=\"image/dh_open.gif\";\r\n"); out.write("\t\t\t\t\tobj.title=\"打开管理菜单\";\r\n"); out.write("\t\t\t\t}\r\n"); out.write("\t\t\t\telse{\r\n"); out.write("\t\t\t\t\tparent.frame.cols=\"180,*\";\r\n"); out.write("\t\t\t\t\tdisplayBar=true;\r\n"); out.write("\t\t\t\t\tobj.src=\"image/dh_close.gif\";\r\n"); out.write("\t\t\t\t\tobj.title=\"关闭管理菜单\";\r\n"); out.write("\t\t\t\t}\r\n"); out.write("\t\t\t}\r\n"); out.write("\t\t\tfunction spread(thename,img)\r\n"); out.write("\t\t\t{\r\n"); out.write("\t\t\tif(document.all[thename].style.display==\"none\")\r\n"); out.write("\t\t\t {document.all[thename].style.display=\"\";\r\n"); out.write("\t\t\t img.src=\"admin/images/up.gif\"}\r\n"); out.write("\t\t\telse\r\n"); out.write("\t\t\t {document.all[thename].style.display=\"none\";\r\n"); out.write("\t\t\t img.src=\"admin/images/down.gif\"}\r\n"); out.write("\t\t\t}\r\n"); out.write("\t</script>\r\n"); out.write("\t</head>\r\n"); out.write("\t<body>\r\n"); Teacher user = (Teacher) session.getAttribute("USER"); out.write("\r\n"); out.write("\t\t<table width=\"158\" border=\"0\" align=\"center\" cellpadding=\"0\"\r\n"); out.write("\t\t\tcellspacing=\"0\">\r\n"); out.write("\t\t\t<tr>\r\n"); out.write("\t\t\t\t<td height=\"1\"> \r\n"); out.write("\t\t\t\t\t\r\n"); out.write("\t\t\t\t</td>\r\n"); out.write("\t\t\t</tr>\r\n"); out.write("\t\t\t<tr>\r\n"); out.write( "\t\t\t\t<td height=\"25\" background=\"admin/images/dh_bg.gif\" class=\"menu_title\">\r\n"); out.write( "\t\t\t\t\t<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\r\n"); out.write("\t\t\t\t\t\t<tr>\r\n"); out.write("\t\t\t\t\t\t\t<td>\r\n"); out.write("\t\t\t\t\t\t\t\t<a href=\"admin/main.jsp\" target=\"main\"><b>管理首页</b>\r\n"); out.write("\t\t\t\t\t\t\t\t</a> |\r\n"); out.write("\t\t\t\t\t\t\t\t<a href=\"admin/logout.jsp\" target=\"_parent\"><b>退出</b>\r\n"); out.write("\t\t\t\t\t\t\t\t</a>\r\n"); out.write("\t\t\t\t\t\t\t</td>\r\n"); out.write("\t\t\t\t\t\t\t<td width=\"40\" align=\"center\">\r\n"); out.write( "\t\t\t\t\t\t\t\t<img src=\"admin/images/up.gif\" width=\"12\" height=\"12\" border=\"0\" id=\"img0\" onClick=\"javascript:spread('list0',this)\" style=\"cursor:hand\">\r\n"); out.write("\t\t\t\t\t\t\t\t\r\n"); out.write("\t\t\t\t\t\t\t</td>\r\n"); out.write("\t\t\t\t\t\t</tr>\r\n"); out.write("\t\t\t\t\t</table>\r\n"); out.write("\t\t\t\t</td>\r\n"); out.write("\t\t\t</tr>\r\n"); out.write("\t\t\t<tr>\r\n"); out.write("\t\t\t\t<td align=\"center\">\r\n"); out.write("\t\t\t\t\t<div class=\"sec_menu\" style=\"width:158\">\r\n"); out.write( "\t\t\t\t\t\t<table width=\"130\" border=\"0\" align=\"center\" cellpadding=\"0\"\r\n"); out.write("\t\t\t\t\t\t\tcellspacing=\"0\" id=\"list0\" style=\"display:\">\r\n"); out.write("\t\t\t\t\t\t\t<tr>\r\n"); out.write("\t\t\t\t\t\t\t\t<td height=\"20\">\r\n"); out.write("\t\t\t\t\t\t\t\t\t用户名:\t"); out.print(user.getTeacher()); out.write("\t\t\t\t\t\t\t\t\r\n"); out.write("\t\t\t\t\t\t\t\t</td>\r\n"); out.write("\t\t\t\t\t\t\t</tr>\r\n"); out.write("\t\t\t\t\t\t\t<tr>\r\n"); out.write("\t\t\t\t\t\t\t\t<td height=\"20\">\r\n"); out.write("\t\t\t\t\t\t\t\t\t部 门:"); out.print(user.getPart()); out.write("\t\t\t\t\t\t\t\t\t\r\n"); out.write("\t\t\t\t\t\t\t\t</td>\r\n"); out.write("\t\t\t\t\t\t\t</tr>\r\n"); out.write("\t\t\t\t\t\t\t<tr>\r\n"); out.write("\t\t\t\t\t\t\t\t<td height=\"20\">\r\n"); out.write( "\t\t\t\t\t\t\t\t\t<a href=\"admin/users/ModifyPwd.jsp\" target=\"main\">修改登录密码</a>\r\n"); out.write("\t\t\t\t\t\t\t\t</td>\r\n"); out.write("\t\t\t\t\t\t\t</tr>\r\n"); out.write("\t\t\t\t\t\t</table>\r\n"); out.write("\t\t\t\t\t</div>\r\n"); out.write("\t\t\t\t</td>\r\n"); out.write("\t\t\t</tr>\r\n"); out.write("\t\t\t<tr>\r\n"); out.write("\t\t\t\t<td height=\"1\"> \r\n"); out.write("\t\t\t\t\t\r\n"); out.write("\t\t\t\t</td>\r\n"); out.write("\t\t\t</tr>\r\n"); out.write("\t\t</table>\r\n"); out.write( "\t\t<table width=\"158\" border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\">\r\n"); out.write(" <tr>\r\n"); out.write( " <td height=\"25\" background=\"admin/images/dh_bg.gif\" class=\"menu_title\">\r\n"); out.write("\t<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\r\n"); out.write(" <tr>\r\n"); out.write( " <td style=\"cursor:hand\" onClick=\"javascript:spread('list1','img1');\">网站管理</td>\r\n"); out.write( " <td width=\"40\" align=\"center\" style=\"cursor:hand\" onClick=\"javascript:spread('list1','img1');\"><img src=\"admin/images/up.gif\" width=\"12\" height=\"12\" border=\"0\" id=\"img1\"></td>\r\n"); out.write(" </tr>\r\n"); out.write(" </table></td>\r\n"); out.write(" </tr>\r\n"); out.write(" <tr>\r\n"); out.write(" <td align=\"center\">\r\n"); out.write("\t\t<div class=\"sec_menu\" style=\"width:158\">\r\n"); out.write( "\t\t\t<table width=\"130\" border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\" id=\"list1\" style=\"display:\">\r\n"); out.write(" \t\t\t<tr>\r\n"); out.write( " \t\t\t<td height=\"20\"><a href=\"admin/news/AddNews.jsp\" target=\"main\">添加文章</a></td>\r\n"); out.write(" \t\t\t</tr>\r\n"); out.write(" \t\t\t<tr>\r\n"); out.write( " \t\t\t<td height=\"20\"><a href=\"admin/news/NewsList.jsp\" target=\"main\">文章管理</a></td>\r\n"); out.write(" \t\t\t</tr>\r\n"); out.write(" "); if (UserManage.HasRight(2, user) || UserManage.HasRight(3, user) || UserManage.HasRight(4, user) || UserManage.HasRight(6, user)) { out.write("\r\n"); out.write("\t \t\t\t<tr>\r\n"); out.write( " \t\t\t<td height=\"20\"><a href=\"admin/dailyfiles/Upload.jsp\" target=\"main\">上传常用资料</a> | <a href=\"admin/dailyfiles/FileList.jsp\" target=\"main\">管理</a></td>\r\n"); out.write(" \t\t\t</tr>\r\n"); } if (UserManage.HasRight(4, user)) { out.write("\r\n"); out.write(" \t\t\t<tr>\r\n"); out.write( " \t\t\t<td height=\"20\"><a href=\"admin/lecture/lecture_add.jsp\" target=\"main\">发布学术活动</a> | <a href=\"admin/lecture/lecture_list.jsp\" target=\"main\">管理</a></td>\r\n"); out.write(" \t\t\t</tr>\r\n"); } if (UserManage.HasRight(8, user)) { out.write("\r\n"); out.write(" \r\n"); out.write("\t\t\t\t<tr>\r\n"); out.write( " \t\t\t<td height=\"20\"><a href=\"admin/vote/AddVote.jsp\" target=\"main\">发布网站调查</a> | <a href=\"admin/vote/VoteList.jsp\" target=\"main\">管理</a></td>\r\n"); out.write(" \t\t</tr>\r\n"); } if (UserManage.HasRight(2, user) || UserManage.HasRight(3, user)) { out.write("\r\n"); out.write("\t \t\t\t<tr>\r\n"); out.write( " \t\t\t<td height=\"20\"><a href=\"admin/message/Msg_list.jsp\" target=\"main\">回复站内留言</a></td>\r\n"); out.write(" \t\t\r\n"); out.write(" \t\t</tr>\r\n"); } if (UserManage.HasRight(8, user)) { out.write("\r\n"); out.write("\r\n"); out.write("\t \t\t\t<tr>\r\n"); out.write( " \t\t\t<td height=\"20\"><a href=\"admin/classroom/ClassroomList.jsp\" target=\"main\">批复活动申请</a></td>\r\n"); out.write(" \t\t\t</tr>\r\n"); } if (user.getIsadmin() != null && user.getIsadmin() > 0) { out.write("\r\n"); out.write(" <tr>\r\n"); out.write( " <td height=\"20\"><a href=\"admin/users/UserList.jsp\" target=\"main\">用户管理</a> | <a href=\"admin/column/ClassList.jsp\" target=\"main\">栏目管理</a></td>\r\n"); out.write(" </tr>\r\n"); } out.write("\r\n"); out.write(" <!-- \r\n"); out.write(" <tr>\r\n"); out.write( " <td height=\"20\"><a href=\"admin_sys.asp\" target=\"main\">系统管理</a> | <a href=\"count/main.asp\" target=\"main\">统计系统</a></td>\r\n"); out.write(" </tr>\r\n"); out.write(" \t-->\r\n"); out.write(" </table>\r\n"); out.write("\t </div>\r\n"); out.write(" </td>\r\n"); out.write(" </tr>\r\n"); out.write("</table>\r\n"); out.write("\r\n"); out.write( "<table width=\"158\" border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\">\r\n"); out.write(" <tr>\r\n"); out.write(" <td height=\"1\"> </td>\r\n"); out.write(" </tr>\r\n"); out.write("</table>\r\n"); out.write("\r\n"); out.write( "<table width=\"158\" border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\">\r\n"); out.write(" <tr>\r\n"); out.write( " <td height=\"25\" background=\"admin/images/dh_bg.gif\" class=\"menu_title\">\r\n"); out.write("\t<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\r\n"); out.write(" <tr>\r\n"); out.write( " <td style=\"cursor:hand\" onClick=\"javascript:spread('list2','img2');\">信息库管理</td>\r\n"); out.write( " <td width=\"40\" align=\"center\" style=\"cursor:hand\" onClick=\"javascript:spread('list2','img2');\"><img src=\"admin/images/up.gif\" width=\"12\" height=\"12\" border=\"0\" id=\"img2\"></td>\r\n"); out.write(" </tr>\r\n"); out.write(" </table></td>\r\n"); out.write(" </tr>\r\n"); out.write(" <tr>\r\n"); out.write(" <td align=\"center\">\r\n"); out.write("\t<div class=sec_menu style=\"width:158\">\r\n"); out.write( "\t\t<table width=\"130\" border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\" id=\"list2\" style=\"display:\">\r\n"); if (UserManage.HasRight(9, user)) { out.write("\r\n"); out.write(" \t\t<tr>\r\n"); out.write( " \t \t\t<td height=\"20\"><a href=\"admin/leader/LeaderList.jsp\" target=\"main\">领导信息库</a></td>\r\n"); out.write(" \t \t</tr>\r\n"); } if (UserManage.HasRight(5, user)) { out.write("\r\n"); out.write(" \t\t<tr>\r\n"); out.write( " \t\t<td height=\"20\"><a href=\"admin/professor/ProfessorList.jsp\" target=\"main\">教师信息库</a></td>\r\n"); out.write(" \t</tr>\r\n"); } if (UserManage.HasRight(0, user)) { out.write("\r\n"); out.write(" \t \t<tr>\r\n"); out.write( " \t\t<td height=\"20\"><a href=\"admin/student/StudentList.jsp\" target=\"main\">学生信息库</a></td>\r\n"); out.write(" \t\t</tr>\r\n"); } if (UserManage.HasRight(0, user) || UserManage.HasRight(7, user)) { out.write("\r\n"); out.write(" \t\t<tr>\r\n"); out.write( " \t\t<td height=\"20\"><a href=\"admin/commie/CommieList.jsp\" target=\"main\">学生党员信息库</a></td>\r\n"); out.write(" \t\t</tr>\r\n"); } if (UserManage.HasRight(0, user)) { out.write("\r\n"); out.write(" \t\t<tr>\r\n"); out.write( " \t\t<td height=\"20\"><a href=\"admin/student/AidStudentList.jsp\" target=\"main\">经济困难学生信息库</a></td>\r\n"); out.write(" \t\t</tr>\r\n"); out.write(" \t\t<tr>\r\n"); out.write( " \t\t<td height=\"20\"><a href=\"admin/course/Course_List.jsp\" target=\"main\">课程信息库</a></td>\r\n"); out.write(" \t\t</tr>\r\n"); out.write(" \t\t<tr>\r\n"); out.write( " \t\t<td height=\"20\"><a href=\"admin/quality/ExpList.jsp\" target=\"main\">创新实验信息库</a></td>\r\n"); out.write(" \t\t</tr>\r\n"); } out.write("\r\n"); out.write("\t \t</table>\r\n"); out.write("\t </div>\r\n"); out.write(" </td>\r\n"); out.write(" </tr>\r\n"); out.write("</table>\r\n"); out.write("\r\n"); out.write( "<table width=\"158\" border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\">\r\n"); out.write(" <tr>\r\n"); out.write(" <td height=\"1\"> </td>\r\n"); out.write(" </tr>\r\n"); out.write("</table>\r\n"); if (UserManage.HasRight(3, user)) { out.write("\r\n"); out.write("\r\n"); out.write( "<table width=\"158\" border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\">\r\n"); out.write(" <tr>\r\n"); out.write( " <td height=\"25\" background=\"admin/images/dh_bg.gif\" class=\"menu_title\">\r\n"); out.write("\t<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\r\n"); out.write(" <tr>\r\n"); out.write( " <td style=\"cursor:hand\" onClick=\"javascript:spread('list8','img8');\">科学发展观学习</td>\r\n"); out.write( " <td width=\"40\" align=\"center\" style=\"cursor:hand\" onClick=\"javascript:spread('list8','img8');\"><img src=\"admin/images/up.gif\" width=\"12\" height=\"12\" border=\"0\" id=\"img8\"></td>\r\n"); out.write(" </tr>\r\n"); out.write(" </table></td>\r\n"); out.write(" </tr>\r\n"); out.write(" <tr>\r\n"); out.write(" <td align=\"center\">\r\n"); out.write("\t<div class=sec_menu style=\"width:158\">\r\n"); out.write( "\t\t<table width=\"130\" border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\" id=\"list8\" style=\"display:\">\t\t\t\r\n"); out.write(" \r\n"); out.write(" <tr>\r\n"); out.write( " \t\t\t<td height=\"20\"><a href=\"admin/kxfzg/AddNews.jsp\" target=\"main\">添加文章</a></td>\r\n"); out.write(" \t\t\t</tr>\r\n"); out.write(" \t\t\t<tr>\r\n"); out.write( " \t\t\t<td height=\"20\"><a href=\"admin/kxfzg/NewsList.jsp\" target=\"main\">文章管理</a></td>\r\n"); out.write(" \t\t\t</tr>\r\n"); out.write("\t \t\t\t<tr>\r\n"); out.write( " \t\t\t<td height=\"20\"><a href=\"admin/kxfzg/LookInfo.jsp\" target=\"main\">留言管理</a></td>\r\n"); out.write(" \t\t\t</tr>\r\n"); out.write("\r\n"); out.write("\t\t\t\r\n"); } // if(UserManage.HasRight(8,user)){ out.write("\r\n"); out.write("\r\n"); out.write(" </table>\r\n"); out.write("\t </div>\r\n"); out.write(" </td>\r\n"); out.write(" </tr>\r\n"); out.write("</table>\r\n"); out.write( "<table width=\"158\" border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\">\r\n"); out.write(" <tr>\r\n"); out.write(" <td height=\"1\"> </td>\r\n"); out.write(" </tr>\r\n"); out.write("</table>\r\n"); out.write("\r\n"); out.write( "<table width=\"158\" border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\">\r\n"); out.write(" <tr>\r\n"); out.write( " <td height=\"25\" background=\"admin/images/dh_bg.gif\" class=\"menu_title\">\r\n"); out.write("\t<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\r\n"); out.write(" <tr>\r\n"); out.write( " <td style=\"cursor:hand\" onClick=\"javascript:spread('list3','img3');\">推免生招生系统</td>\r\n"); out.write( " <td width=\"40\" align=\"center\" style=\"cursor:hand\" onClick=\"javascript:spread('list3','img3');\"><img src=\"admin/images/up.gif\" width=\"12\" height=\"12\" border=\"0\" id=\"img3\"></td>\r\n"); out.write(" </tr>\r\n"); out.write(" </table></td>\r\n"); out.write(" </tr>\r\n"); out.write(" <tr>\r\n"); out.write(" <td align=\"center\">\r\n"); out.write("\t<div class=sec_menu style=\"width:158\">\r\n"); out.write( "\t\t<table width=\"130\" border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\" id=\"list3\" style=\"display:\">\t\t\t\r\n"); out.write(" "); if (UserManage.HasRight(3, user)) { out.write("\r\n"); out.write("\t \t\t\t<tr>\r\n"); out.write( " \t\t\t<td height=\"20\"><a href=\"admin/tmszsxt/Open.jsp\" target=\"main\">开启</a>|<a href=\"admin/tmszsxt/Close.jsp\" target=\"main\">关闭推免生系统</a>\r\n"); out.write(" \t\t\t</tr>\r\n"); } if (UserManage.HasRight(3, user)) { out.write("\r\n"); out.write(" \r\n"); out.write("\t\t\t\t<tr>\r\n"); out.write( " \t\t\t<td height=\"20\"><a href=\"admin/tmszsxt/tmnews/TmnewsAdd.jsp\" target=\"main\">发布推免生通知</a> | <a href=\"admin/tmszsxt/tmnews/TmnewsList.jsp\" target=\"main\">管理</a></td>\r\n"); out.write(" \t\t\t</tr>\r\n"); out.write(" \t\t\t<tr>\r\n"); out.write( " \t\t\t<td height=\"20\"><a href=\"admin/tmszsxt/tmstudent/TmstudentListSq.jsp\" target=\"main\">查看推免生申请结果</a>\r\n"); out.write(" \t\t\t</tr>\r\n"); } if (UserManage.HasRight(3, user)) { out.write("\r\n"); out.write(" \r\n"); out.write("\t\t\t\t<tr>\r\n"); out.write( " \t\t\t<td height=\"20\"><a href=\"admin/tmszsxt/tmstudent/TmstudentList.jsp\" target=\"main\">添加考核通知和录取信息</a>\r\n"); out.write(" \t\t</tr>\r\n"); } if (UserManage.HasRight(3, user)) { out.write("\r\n"); out.write("\t \t\t\t<tr>\r\n"); out.write( " \t\t\t<td height=\"20\"><a href=\"admin/tmszsxt/tmstudent/TmstudentListDc.jsp\" target=\"main\">导出申请人列表</a></td>\r\n"); out.write(" \t\t\r\n"); out.write(" \t\t</tr>\r\n"); out.write("\t\t\t\t\t<tr>\r\n"); out.write( " \t\t\t<td height=\"20\"><a href=\"http://eaie.njtu.edu.cn/lwtj/adminlogin.aspx\" target=\"main\">硕士答辩论文提交系统</a></td>\r\n"); out.write(" \t\t\r\n"); out.write(" \t\t</tr>\r\n"); out.write(" \t\t<tr>\r\n"); out.write( " \t\t\t<td height=\"20\"><a href=\"http://eaie.njtu.edu.cn/bslwtj/adminlogin.aspx\" target=\"main\">博士答辩论文提交系统</a></td>\r\n"); out.write(" \t\t\r\n"); out.write(" \t\t</tr>\r\n"); out.write("\r\n"); out.write("\t\t\t\t<tr>\r\n"); out.write( " \t\t\t<td height=\"20\"><a href=\"http://eaie.bjtu.edu.cn/yanjiu/course/admin/admin_login.asp\" target=\"main\">研究生课程评价系统</a></td>\r\n"); out.write(" \t\t\r\n"); out.write(" \t\t</tr>\r\n"); out.write("\t\t\t\t<tr>\r\n"); out.write( " \t\t\t<td height=\"20\"><a href=\"http://eaie.bjtu.edu.cn/yanjiu/assistant/admin/admin_login.asp\" target=\"main\">研究生三助系统</a></td>\r\n"); out.write(" \t\t\r\n"); out.write(" \t\t</tr>\r\n"); out.write("\t\t\t\t<tr>\r\n"); out.write( " \t\t\t<td height=\"20\"><a href=\"http://eaie.bjtu.edu.cn/yanjiu/lwps/admin/admin_login.asp\" target=\"main\">研究生学位论文评审系统</a></td>\r\n"); out.write(" \t\t\r\n"); out.write(" \t\t</tr>\r\n"); out.write(" "); } out.write(" \t\t\r\n"); out.write(" \r\n"); out.write(" </table>\r\n"); out.write(" </div>\r\n"); out.write(" </td>\r\n"); out.write(" </tr>\r\n"); out.write(" </table>\r\n"); out.write(" \r\n"); out.write( " <table width=\"158\" border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\">\r\n"); out.write(" <tr>\r\n"); out.write(" <td height=\"1\"> </td>\r\n"); out.write(" </tr>\r\n"); out.write("</table>\r\n"); out.write("\r\n"); out.write( "<table width=\"158\" border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\">\r\n"); out.write(" <tr>\r\n"); out.write( " <td height=\"25\" background=\"admin/images/dh_bg.gif\" class=\"menu_title\">\r\n"); out.write("\t<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\r\n"); out.write(" <tr>\r\n"); out.write( " <td style=\"cursor:hand\" onClick=\"javascript:spread('list4','img4');\">硕博连读招生系统</td>\r\n"); out.write( " <td width=\"40\" align=\"center\" style=\"cursor:hand\" onClick=\"javascript:spread('list4','img4');\"><img src=\"admin/images/up.gif\" width=\"12\" height=\"12\" border=\"0\" id=\"img4\"></td>\r\n"); out.write(" </tr>\r\n"); out.write(" </table></td>\r\n"); out.write(" </tr>\r\n"); out.write(" <tr>\r\n"); out.write(" <td align=\"center\">\r\n"); out.write("\t<div class=sec_menu style=\"width:158\">\r\n"); out.write( "\t\t<table width=\"130\" border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\" id=\"list4\" style=\"display:\">\t\t\t\r\n"); out.write(" "); if (UserManage.HasRight(3, user)) { out.write("\r\n"); out.write(" <tr>\r\n"); out.write( " \t\t\t<td height=\"20\"><a href=\"admin/sbldxt/Sbopen.jsp\" target=\"main\">开启</a>|<a href=\"admin/sbldxt/Sbclose.jsp\" target=\"main\">关闭招生系统</a>\r\n"); out.write(" \t\t\t</tr>\r\n"); out.write("\t \t\t\t<tr>\r\n"); out.write( " \t\t\t<td height=\"20\"><a href=\"admin/sbldxt/sbldnews/SbnewsAdd.jsp\" target=\"main\">发布硕博通知</a> | <a href=\"admin/sbldxt/sbldnews/SbnewsList.jsp\" target=\"main\">管理</a></td>\r\n"); out.write(" \t\t\t</tr>\r\n"); out.write("\r\n"); out.write(" \t\t\t<tr>\r\n"); out.write( " \t\t\t<td height=\"20\"><a href=\"admin/sbldxt/sbldstudent/SbstudentListSq.jsp\" target=\"main\">查看申请结果</a>\r\n"); out.write(" \t\t\t</tr>\r\n"); out.write(" \t\t\t<tr>\r\n"); out.write( " \t\t\t<td height=\"20\"><a href=\"admin/sbldxt/sbldstudent/SbstudentListDc.jsp\" target=\"main\">导出申请列表</a>\r\n"); out.write(" \t\t\t</tr>\r\n"); out.write("\r\n"); out.write("\t\t\t\r\n"); } // if(UserManage.HasRight(8,user)){ out.write("\r\n"); out.write("\r\n"); out.write(" </table>\r\n"); out.write("\t </div>\r\n"); out.write(" </td>\r\n"); out.write(" </tr>\r\n"); out.write("</table>\r\n"); out.write("\r\n"); out.write( "<table width=\"158\" border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\">\r\n"); out.write(" <tr>\r\n"); out.write(" <td height=\"1\"> </td>\r\n"); out.write(" </tr>\r\n"); out.write("</table>\r\n"); out.write("\r\n"); out.write("\r\n"); out.write("\r\n"); out.write( "<table width=\"158\" border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\">\r\n"); out.write(" <tr>\r\n"); out.write( " <td height=\"25\" background=\"admin/images/dh_bg.gif\" class=\"menu_title\">\r\n"); out.write("\t<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\r\n"); out.write(" <tr>\r\n"); out.write( " <td style=\"cursor:hand\" onClick=\"javascript:spread('list5','img5');\">提前攻博招生系统</td>\r\n"); out.write( " <td width=\"40\" align=\"center\" style=\"cursor:hand\" onClick=\"javascript:spread('list5','img5');\"><img src=\"admin/images/up.gif\" width=\"12\" height=\"12\" border=\"0\" id=\"img3\"></td>\r\n"); out.write(" </tr>\r\n"); out.write(" </table></td>\r\n"); out.write(" </tr>\r\n"); out.write(" <tr>\r\n"); out.write(" <td align=\"center\">\r\n"); out.write("\t<div class=sec_menu style=\"width:158\">\r\n"); out.write( "\t\t<table width=\"130\" border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\" id=\"list5\" style=\"display:\">\t\t\t\r\n"); out.write(" "); if (UserManage.HasRight(3, user)) { out.write("\r\n"); out.write(" <tr>\r\n"); out.write( " \t\t\t<td height=\"20\"><a href=\"admin/tqgbxt/Tqgbopen.jsp\" target=\"main\">开启</a>|<a href=\"admin/tqgbxt/Tqgbclose.jsp\" target=\"main\">关闭招生系统</a>\r\n"); out.write(" \t\t\t</tr>\r\n"); out.write("\t \t\t\t<tr>\r\n"); out.write( " \t\t\t<td height=\"20\"><a href=\"admin/tqgbxt/tqgbnews/TqgbnewsAdd.jsp\" target=\"main\">发布硕博通知</a> | <a href=\"admin/tqgbxt/tqgbnews/TqgbnewsList.jsp\" target=\"main\">管理</a></td>\r\n"); out.write(" \t\t\t</tr>\r\n"); out.write("\r\n"); out.write(" \t\t\t<tr>\r\n"); out.write( " \t\t\t<td height=\"20\"><a href=\"admin/tqgbxt/tqgbstudent/TqgbstudentListSq.jsp\" target=\"main\">查看申请结果</a>\r\n"); out.write(" \t\t\t</tr>\r\n"); out.write(" \t\t\t<tr>\r\n"); out.write( " \t\t\t<td height=\"20\"><a href=\"admin/tqgbxt/tqgbstudent/TqgbstudentListDc.jsp\" target=\"main\">导出申请列表</a>\r\n"); out.write(" \t\t\t</tr>\r\n"); out.write("\r\n"); out.write("\t\t\t\r\n"); } // if(UserManage.HasRight(8,user)){ out.write("\r\n"); out.write("\r\n"); out.write(" </table>\r\n"); out.write("\t </div>\r\n"); out.write(" </td>\r\n"); out.write(" </tr>\r\n"); out.write("</table>\r\n"); out.write( "<table width=\"158\" border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\">\r\n"); out.write(" <tr>\r\n"); out.write(" <td height=\"1\"> </td>\r\n"); out.write(" </tr>\r\n"); out.write("</table>\r\n"); out.write("\r\n"); out.write("\r\n"); out.write("\r\n"); out.write("\r\n"); out.write( "<table width=\"158\" border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\">\r\n"); out.write(" <tr>\r\n"); out.write( " <td height=\"25\" background=\"admin/images/dh_bg.gif\" class=\"menu_title\">\r\n"); out.write("\t<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\r\n"); out.write(" <tr>\r\n"); out.write( " <td style=\"cursor:hand\" onClick=\"javascript:spread('list6','img6');\">博士生系统管理</td>\r\n"); out.write( " <td width=\"40\" align=\"center\" style=\"cursor:hand\" onClick=\"javascript:spread('list6','img6');\"><img src=\"admin/images/up.gif\" width=\"12\" height=\"12\" border=\"0\" id=\"img4\"></td>\r\n"); out.write(" </tr>\r\n"); out.write(" </table></td>\r\n"); out.write(" </tr>\r\n"); out.write(" <tr>\r\n"); out.write(" <td align=\"center\">\r\n"); out.write("\t<div class=sec_menu style=\"width:158\">\r\n"); out.write( "\t\t<table width=\"130\" border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\" id=\"list6\" style=\"display:\">\t\t\t\r\n"); out.write(" "); if (UserManage.HasRight(3, user)) { out.write("\r\n"); out.write("\t \t\t\t<tr>\r\n"); out.write( " \t\t\t<td height=\"20\"><a href=\"admin/bszsxt/bsnews/BsnewsAdd.jsp\" target=\"main\">发布博士生通知</a> | <a href=\"admin/bszsxt/bsnews/BsnewsList.jsp\" target=\"main\">管理</a></td>\r\n"); out.write(" \t\t\t</tr>\r\n"); out.write("\r\n"); out.write(" \t\t\t<tr>\r\n"); out.write( " \t\t\t<td height=\"20\"><a href=\"admin/bszsxt/bsstudent/BsstudentList.jsp\" target=\"main\">上传博士生信息</a>\r\n"); out.write(" \t\t\t</tr>\r\n"); out.write("\r\n"); out.write("\t\t\t\t<tr>\r\n"); out.write( " \t<td height=\"20\"><a href=\"admin/bszsxt/bsstudent/BsstudentListbj.jsp\" target=\"main\">编辑博士生信息</a>\r\n"); out.write(" \t\t</tr>\r\n"); } out.write("\r\n"); out.write(" \r\n"); out.write(" </table>\r\n"); out.write(" \r\n"); out.write(" </div>\r\n"); out.write(" </td>\r\n"); out.write(" </tr>\r\n"); out.write(" </table>\r\n"); out.write(" \r\n"); out.write( " <table width=\"158\" border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\">\r\n"); out.write(" <tr>\r\n"); out.write(" <td height=\"1\"> </td>\r\n"); out.write(" </tr>\r\n"); out.write("</table>\r\n"); out.write("\r\n"); out.write("\r\n"); out.write("\r\n"); out.write( "<table width=\"158\" border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\">\r\n"); out.write(" <tr>\r\n"); out.write( " <td height=\"25\" background=\"admin/images/dh_bg.gif\" class=\"menu_title\">\r\n"); out.write("\t<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\r\n"); out.write(" <tr>\r\n"); out.write( " <td style=\"cursor:hand\" onClick=\"javascript:spread('list7','img7');\">工程硕士选课系统</td>\r\n"); out.write( " <td width=\"30\" align=\"center\" style=\"cursor:hand\" onClick=\"javascript:spread('list7','img7');\"><img src=\"admin/images/up.gif\" width=\"12\" height=\"12\" border=\"0\" id=\"img5\"></td>\r\n"); out.write(" </tr>\r\n"); out.write(" </table></td>\r\n"); out.write(" </tr>\r\n"); out.write(" <tr>\r\n"); out.write(" <td align=\"center\">\r\n"); out.write("\t<div class=sec_menu style=\"width:158\">\r\n"); out.write( "\t\t<table width=\"130\" border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\" id=\"list7\" style=\"display:\">\t\t\t\r\n"); out.write(" "); if (UserManage.HasRight(3, user)) { out.write("\r\n"); out.write(" <tr>\r\n"); out.write( " \t\t\t<td height=\"20\"><a href=\"admin/gcxkxt/gcxkopen.jsp\" target=\"main\">开启</a>|<a href=\"admin/gcxkxt/gcxkclose.jsp\" target=\"main\">关闭选课系统</a>\r\n"); out.write(" \t\t\t</tr>\r\n"); out.write("\t \t\t\t<tr>\r\n"); out.write( " \t\t\t<td height=\"20\"><a href=\"admin/gcxkxt/gcxknews/gcxknewsadd.jsp\" target=\"main\">发布选课通知</a> | <a href=\"admin/gcxkxt/gcxknews/gcxknewslist.jsp\" target=\"main\">管理</a></td>\r\n"); out.write(" \t\t\t</tr>\r\n"); out.write("\r\n"); out.write(" \t\t\t<tr>\r\n"); out.write( " \t\t\t<td height=\"20\"><a href=\"admin/gcxkxt/gcxkcourse/Gcchoose.jsp\" target=\"main\">课程管理</a> | <a href=\"admin/gcxkxt/gcxkteacher/GcteacherList.jsp\" target=\"main\">教师管理</a></td>\r\n"); out.write(" \t\t\t</tr>\r\n"); out.write(" \t\t\t\r\n"); out.write(" \t\t\t<tr>\r\n"); out.write( " \t\t\t<td height=\"20\"><a href=\"admin/gcxkxt/gcxkstudent/GcstudentList.jsp\" target=\"main\">学生管理</a>|<a href=\"admin/gcxkxt/gcxkstudent/GcstudentListbj.jsp\" target=\"main\">上传学生信息</a></td>\r\n"); out.write(" \t\t\t</tr>\r\n"); out.write(" \t\t\t<tr>\r\n"); out.write( " \t\t\t<td height=\"20\"><a href=\"admin/gcxkxt/gcxkinfo/Gcchoose.jsp\" target=\"main\">选课管理</a>\r\n"); out.write(" \t\t\t</td>\r\n"); out.write(" \t\t\t</tr>\r\n"); out.write("\r\n"); out.write("\t\t\t\r\n"); } // if(UserManage.HasRight(8,user)){ out.write("\r\n"); out.write("\r\n"); out.write(" </table>\r\n"); out.write("\t </div>\r\n"); out.write(" </td>\r\n"); out.write(" </tr>\r\n"); out.write("</table>\r\n"); out.write(" \r\n"); out.write("\r\n"); out.write("\r\n"); out.write("</body>\r\n"); out.write("</html>\r\n"); } 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); } }
public void _jspService(HttpServletRequest request, HttpServletResponse response) throws java.io.IOException, ServletException { 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 { 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( "<!DOCTYPE html PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">\r\n"); out.write("<html ng-app=\"demo\">\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>map</title>\r\n"); out.write("<style rel='stylesheet'>\r\n"); out.write("#container {\r\n"); out.write("\twidth: 100%;\r\n"); out.write("\theight: 400px;\r\n"); out.write("}\r\n"); out.write("</style>\r\n"); out.write("<link rel='stylesheet'\r\n"); out.write("\thref='"); out.print(request.getContextPath()); out.write("/public/bower_components/bootstrap/dist/css/bootstrap.min.css' />\r\n"); out.write("</head>\r\n"); out.write("<body>\r\n"); out.write("\t<div class=\"container\" ng-controller=\"demoController\">\r\n"); out.write("\t\t<div class=\"page-header\">\r\n"); out.write("\t\t\t<h1>\r\n"); out.write("\t\t\t\tGeely CSP<small>高德地图Demo</small>\r\n"); out.write("\t\t\t</h1>\r\n"); out.write("\t\t</div>\r\n"); out.write("\t\t<div class=\"container-fluid\">\r\n"); out.write("\t\t\t<div class=\"row\">\r\n"); out.write("\t\t\t\t<div class=\"col-md-8\">\r\n"); out.write("\t\t\t\t\t<div class=\"input-group\">\r\n"); out.write( "\t\t\t\t\t\t<input type=\"text\" class=\"form-control\" placeholder=\"车辆ID\">\r\n"); out.write("\t\t\t\t\t\t<span class=\"input-group-btn\">\r\n"); out.write( "\t\t\t\t\t\t\t<button class=\"btn btn-default\" type=\"button\">Search</button>\r\n"); out.write("\t\t\t\t\t\t</span>\r\n"); out.write("\t\t\t\t\t</div>\r\n"); out.write("\t\t\t\t\t<hr />\r\n"); out.write("\t\t\t\t\t<div id=\"container\"></div>\r\n"); out.write("\t\t\t\t</div>\r\n"); out.write("\t\t\t\t<div class=\"col-md-4\">\r\n"); out.write("\t\t\t\t\t<div class=\"panel-group\" id=\"accordion\" role=\"tablist\"\r\n"); out.write("\t\t\t\t\t\taria-multiselectable=\"true\">\r\n"); out.write("\t\t\t\t\t\t<div class=\"panel panel-default\">\r\n"); out.write("\t\t\t\t\t\t\t<div class=\"panel-heading\" role=\"tab\" id=\"headingOne\">\r\n"); out.write("\t\t\t\t\t\t\t\t<h4 class=\"panel-title\">\r\n"); out.write("\t\t\t\t\t\t\t\t\t<a role=\"button\" data-toggle=\"collapse\"\r\n"); out.write("\t\t\t\t\t\t\t\t\t\tdata-parent=\"#accordion\" href=\"#collapseOne\"\r\n"); out.write("\t\t\t\t\t\t\t\t\t\taria-expanded=\"true\" aria-controls=\"collapseOne\">\r\n"); out.write("\t\t\t\t\t\t\t\t\t\t车辆信息 </a>\r\n"); out.write("\t\t\t\t\t\t\t\t</h4>\r\n"); out.write("\t\t\t\t\t\t\t</div>\r\n"); out.write("\t\t\t\t\t\t\t<div id=\"collapseOne\" class=\"panel-collapse collapse in\"\r\n"); out.write("\t\t\t\t\t\t\t\trole=\"tabpanel\" aria-labelledby=\"headingOne\">\r\n"); out.write( "\t\t\t\t\t\t\t\t<div class=\"panel-body\" ng-bind=\"data.info.carInfo\"></div>\r\n"); out.write("\t\t\t\t\t\t\t</div>\r\n"); out.write("\t\t\t\t\t\t</div>\r\n"); out.write("\t\t\t\t\t\t<div class=\"panel panel-default\">\r\n"); out.write("\t\t\t\t\t\t\t<div class=\"panel-heading\" role=\"tab\" id=\"headingTwo\">\r\n"); out.write("\t\t\t\t\t\t\t\t<h4 class=\"panel-title\">\r\n"); out.write( "\t\t\t\t\t\t\t\t\t<a class=\"collapsed\" role=\"button\" data-toggle=\"collapse\"\r\n"); out.write("\t\t\t\t\t\t\t\t\t\tdata-parent=\"#accordion\" href=\"#collapseTwo\"\r\n"); out.write("\t\t\t\t\t\t\t\t\t\taria-expanded=\"false\" aria-controls=\"collapseTwo\">\r\n"); out.write("\t\t\t\t\t\t\t\t\t\t街道信息 </a>\r\n"); out.write("\t\t\t\t\t\t\t\t</h4>\r\n"); out.write("\t\t\t\t\t\t\t</div>\r\n"); out.write("\t\t\t\t\t\t\t<div id=\"collapseTwo\" class=\"panel-collapse collapse\"\r\n"); out.write("\t\t\t\t\t\t\t\trole=\"tabpanel\" aria-labelledby=\"headingTwo\">\r\n"); out.write( "\t\t\t\t\t\t\t\t<div class=\"panel-body\" ng-bind=\"data.info.streetInfo\"></div>\r\n"); out.write("\t\t\t\t\t\t\t</div>\r\n"); out.write("\t\t\t\t\t\t</div>\r\n"); out.write("\t\t\t\t\t\t<div class=\"panel panel-default\">\r\n"); out.write("\t\t\t\t\t\t\t<div class=\"panel-heading\" role=\"tab\" id=\"headingThree\">\r\n"); out.write("\t\t\t\t\t\t\t\t<h4 class=\"panel-title\">\r\n"); out.write( "\t\t\t\t\t\t\t\t\t<a class=\"collapsed\" role=\"button\" data-toggle=\"collapse\"\r\n"); out.write("\t\t\t\t\t\t\t\t\t\tdata-parent=\"#accordion\" href=\"#collapseThree\"\r\n"); out.write("\t\t\t\t\t\t\t\t\t\taria-expanded=\"false\" aria-controls=\"collapseThree\">\r\n"); out.write("\t\t\t\t\t\t\t\t\t\t事故详细 </a>\r\n"); out.write("\t\t\t\t\t\t\t\t</h4>\r\n"); out.write("\t\t\t\t\t\t\t</div>\r\n"); out.write("\t\t\t\t\t\t\t<div id=\"collapseThree\" class=\"panel-collapse collapse\"\r\n"); out.write("\t\t\t\t\t\t\t\trole=\"tabpanel\" aria-labelledby=\"headingThree\">\r\n"); out.write( "\t\t\t\t\t\t\t\t<div class=\"panel-body\" ng-bind=\"data.info.accidentInfo\"></div>\r\n"); out.write("\t\t\t\t\t\t\t</div>\r\n"); out.write("\t\t\t\t\t\t</div>\r\n"); out.write("\t\t\t\t\t</div>\r\n"); out.write("\t\t\t\t</div>\r\n"); out.write("\t\t\t</div>\r\n"); out.write("\t\t</div>\r\n"); out.write("\t</div>\r\n"); out.write("\r\n"); out.write("</body>\r\n"); out.write( "<script type=\"text/javascript\" src=\"http://webapi.amap.com/maps?v=1.3&key=8624195bc8afebd5022bde7ec8306e05\"></script>\r\n"); out.write("<script type=\"text/javascript\" src=\""); out.print(request.getContextPath()); out.write("/public/bower_components/jquery/dist/jquery.min.js\"></script>\r\n"); out.write("<script type=\"text/javascript\" src=\""); out.print(request.getContextPath()); out.write("/public/bower_components/angular/angular.min.js\"></script>\r\n"); out.write("<script type=\"text/javascript\" src=\""); out.print(request.getContextPath()); out.write("/public/bower_components/bootstrap/dist/js/bootstrap.min.js\"></script>\r\n"); out.write("<script type=\"text/javascript\" src=\""); out.print(request.getContextPath()); out.write("/public/js/demo/demo.js\"></script>\r\n"); out.write("</html>"); } catch (Throwable t) { if (!(t instanceof 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); } } finally { _jspxFactory.releasePageContext(_jspx_page_context); } }
public void _jspService(HttpServletRequest request, HttpServletResponse response) throws java.io.IOException, ServletException { 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 { 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; _jspx_resourceInjector = (org.glassfish.jsp.api.ResourceInjector) application.getAttribute("com.sun.appserv.jsp.resource.injector"); out.write("\n"); out.write("\n"); out.write("<!DOCTYPE html>\n"); out.write("<html>\n"); out.write(" <head>\n"); out.write( " <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\">\n"); out.write(" <title>JSP Page</title>\n"); out.write( " <link rel=\"stylesheet\" type=\"text/css\" href=\"../Style/style.css\"/>\n"); out.write(" <style>\n"); out.write(" .border,.rain{\n"); out.write(" height: 1040px;\n"); out.write(" width: 530px\n"); out.write(" }\n"); out.write(" </style>\n"); out.write(" </head>\n"); out.write(" <body>\n"); out.write(" <div id=\"header\">\n"); out.write(" <img src=\"../Style/banner.jpg\" width=\"880px\" height=\"150px\">\n"); out.write(" </div>\n"); out.write("\n"); out.write(" <div id=\"menu\">\n"); out.write(" <ul id=\"menu\">\n"); out.write("\n"); out.write(" <li><a href=\""); out.print(request.getContextPath()); out.write("/admin/redirectInstructor.jsp\">Instructor</a> </li> \n"); out.write(" <li><a href=\""); out.print(request.getContextPath()); out.write("/admin/redirectStudent.jsp\">Student</a> </li> \n"); out.write(" <li> <a href=\""); out.print(request.getContextPath()); out.write("/admin/redirectCourse.jsp\"> Course </a> </li> \n"); out.write(" <li> <a href=\""); out.print(request.getContextPath()); out.write("/admin/redirectDepartment.jsp\"> Department </a> </li>\n"); out.write(" <li> <a href=\""); out.print(request.getContextPath()); out.write("/admin/redirectUser.jsp\"> User </a> </li>\n"); out.write(" <li> <a href=\""); out.print(request.getContextPath()); out.write("/index.jsp\"> Log Out</a> </li>\n"); out.write("\n"); out.write(" </ul> \n"); out.write(" <h1>Add Department</h1>\n"); out.write(" </div> \n"); out.write("\n"); out.write(" <div id=\"content\">\n"); out.write(" <div class=\"rain\">\n"); out.write(" <div class=\"border start\">\n"); out.write(" <form name=\"studentInsert\" action=\""); out.print(request.getContextPath()); out.write("/StudentDetailsServlet\" method=\"post\">\n"); out.write(" Student First Name: \n"); out.write(" <input type=\"text\" name=\"firstName\" required=\"\"/><br/>\n"); out.write(" Student Middle Name: \n"); out.write(" <input type=\"text\" name=\"middleName\"required=\"\"/><br/>\n"); out.write(" Student Last Name: \n"); out.write(" <input type=\"text\" name=\"lastName\"required=\"\"/><br/>\n"); out.write(" Student Gender: <br/>\n"); out.write(" Male:<input type=\"radio\" name=\"gender\" value=\"M\"/>\n"); out.write(" Female:<input type=\"radio\" name=\"gender\" value=\"F\"/>\n"); out.write(" <br/>\n"); out.write(" Date of Birth:<br/>\n"); out.write(" Date:\n"); out.write(" <select name=\"date\">\n"); out.write(" "); int i = 0; for (i = 1; i <= 31; i++) { out.write("\n"); out.write(" <option value=\""); out.print(i); out.write('"'); out.write('>'); out.print(i); out.write("</option>\n"); out.write(" "); } out.write("\n"); out.write(" </select>\n"); out.write(" Month:\n"); out.write(" <select name=\"month\">\n"); out.write(" "); String month[] = { "JAN", "FEB", "MAR", "APR", "MAY", "JUN", "JUL", "AUG", "SEP", "OCT", "NOV", "DEC" }; for (i = 0; i <= 11; i++) { out.write("\n"); out.write(" <option value=\""); out.print(month[i]); out.write('"'); out.write('>'); out.print(month[i]); out.write("</option>\n"); out.write(" "); } out.write("\n"); out.write(" </select>\n"); out.write(" Year:\n"); out.write(" <select name=\"year\">\n"); out.write(" "); int year; for (year = 1970; year <= 2014; year++) { out.write("\n"); out.write(" <option value=\""); out.print(year); out.write('"'); out.write('>'); out.print(year); out.write("</option>\n"); out.write(" "); } out.write("\n"); out.write(" </select>\n"); out.write(" <br/>\n"); out.write(" Contact Number:\n"); out.write(" <input type=\"text\" name=\"contactNumber\" required=\"\"/>\n"); out.write(" <br/>\n"); out.write(" Student Email Id:\n"); out.write(" <input type=\"email\" name=\"emailId\" required=\"\"/>\n"); out.write(" <br/>\n"); out.write(" Department:\n"); out.write(" <select name=\"department\">\n"); out.write(" <option value=\"1\">IPCT</option>\n"); out.write(" <option value=\"2\">MDEV</option>\n"); out.write(" <option value=\"3\">BMKT</option>\n"); out.write(" <option value=\"4\">HOPM</option>\n"); out.write(" <option value=\"5\">PUBH</option>\n"); out.write(" </select>\n"); out.write(" <br/>\n"); out.write(" Student Address:\n"); out.write(" <textarea name=\"address\" rows=\"4\" cols=\"20\" required=\"\">\n"); out.write(" </textarea>\n"); out.write(" <br/>\n"); out.write(" City:\n"); out.write(" <input type=\"text\" name=\"city\" required=\"\"/>\n"); out.write(" <br/>\n"); out.write(" State:\n"); out.write(" <input type=\"text\" name=\"state\" required=\"\"/>\n"); out.write(" <br/>\n"); out.write(" Pincode:\n"); out.write(" <input type=\"text\" name=\"pincode\" required=\"\"/>\n"); out.write(" <br/>\n"); out.write(" <input type=\"submit\" name=\"submit\" value=\"submit\"/>\n"); out.write(" </form>\n"); out.write(" </div>\n"); out.write(" </div>\n"); out.write(" </div>\n"); out.write(" <div id=\"footer\">\n"); out.write( " <p style=\"text-align: center\"> All Rights Reserved. Copyrights 2014 | Developed By: Banana Software Inc. </p>\n"); out.write(" </div>\n"); out.write(" </body>\n"); out.write("</html>\n"); } 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); else throw new ServletException(t); } } finally { _jspxFactory.releasePageContext(_jspx_page_context); } }