| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889 | <%@ page import="java.util.regex.Pattern" %><%@ page import="java.util.regex.Matcher" %><%@ page language="java" contentType="text/html; charset=UTF-8"		 pageEncoding="UTF-8"%><%@ page session="true" %><%    String path = request.getContextPath();    String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";    String baseUrl = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+"/";    String t = String.valueOf(System.currentTimeMillis());    String company_code = request.getParameter("company_code");    String theme = request.getParameter("theme");    String css_name = "ext-all-access.css";	if(company_code==null)		company_code = "";	if (!myRegex(company_code)){		company_code = "";	}    if(theme!=null){    	if(theme.equals("gray"))    		css_name = "ext-all-gray.css";    	else if(theme.equals("access"))    		css_name = "ext-all-access.css";    	else if(theme.equals("neptune"))    		css_name = "ext-neptune.css";    	else if(theme.equals("default"))    		css_name = "ext-all.css";    	else if(theme.equals("scoped"))    		css_name = "ext-all-scoped";    	else if(theme.equals("ie"))    		css_name = "ext-ie.css";    	else if(theme.equals("sandbox"))    		css_name = "ext-sandbox.css";    	else if(theme.equals("standard"))    		css_name = "ext-standard.css";		else {			theme = "";		}    }else    	theme = "";%><%!	public boolean myRegex (String str){		Pattern pattern = Pattern.compile("^[0-9]*$");		Matcher matcher = pattern.matcher(str);		return matcher.matches();	}%><!DOCTYPE html><html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><link type="text/css" rel="stylesheet" href="<%=basePath+"res/extjs/resources/css/"+css_name+"?t="+t %>"/><link type="text/css" rel="stylesheet" href="<%=basePath+"res/img/myImages.css?t="+t %>"/><script type="text/javascript" src ="<%=basePath+"res/extjs/ext-all.js" %>"></script><script type="text/javascript" src ="<%=basePath+"res/extjs/locale/ext-lang-zh_CN.js" %>"></script><script type="text/javascript" src="<%=basePath+"res/jquery/jquery-3.3.1.min.js" %>"></script><script type="text/javascript" src ="<%=basePath+"view/proform2/scripts/perform.js" %>"></script><title>IoT-02型永天消防综合监控系统</title></head><body style="font-size:18pt;font-family:'微软雅黑', Microsoft YaHei; "><div id="proform2_bg_tl" class="proform2_bg_tl"></div><div id="proform_bg_tm" class="proform_bg_tm"></div><div id="proform_bg_tr" class="proform_bg_tr"></div><div id="proform_bg_ml" class="proform_bg_ml"></div><div id="proform_bg_mm" class="proform_bg_mm"></div><div id="proform_bg_mr" class="proform_bg_mr"></div><div id="proform_bg_bl" class="proform_bg_bl"></div><div id="proform_bg_bm" class="proform_bg_bm"></div><div id="proform_bg_br" class="proform_bg_br"></div><div id="proform2_menu_1" class="proform2_menu_1" onmouseover="mouseon(this);" onmouseout="mouseoff(this);" onclick="menu_click(this);"></div><div id="proform2_menu_2" class="proform2_menu_2" onmouseover="mouseon(this);" onmouseout="mouseoff(this);" onclick="menu_click(this);"></div><div id="proform2_menu_3" class="proform2_menu_3" onmouseover="mouseon(this);" onmouseout="mouseoff(this);" onclick="menu_click(this);"></div><div id="proform2_menu_4" class="proform2_menu_4" onmouseover="mouseon(this);" onmouseout="mouseoff(this);" onclick="menu_click(this);"></div><div id="proform2_menu_5" class="proform2_menu_5" onmouseover="mouseon(this);" onmouseout="mouseoff(this);" onclick="menu_click(this);"></div><!-- <div id="proform_fliter_btn" class="proform_fliter_btn" onmouseover="mouseon(this);" onmouseout="mouseoff(this);" onclick="menu_click(this);"></div><div id="proform_modify_btn" class="proform_modify_btn" onmouseover="mouseon(this);" onmouseout="mouseoff(this);" onclick="menu_click(this);"></div><div id="proform_delete_btn" class="proform_delete_btn" onmouseover="mouseon(this);" onmouseout="mouseoff(this);" onclick="menu_click(this);"></div><div id="proform_append_btn" class="proform_append_btn" onmouseover="mouseon(this);" onmouseout="mouseoff(this);" onclick="menu_click(this);"></div> --><div id="main_page" style="position:absolute;top:120px;left:360px;"></div><input type="hidden" id="theme" name="theme" value="<%=theme %>"/><input type="hidden" id="basePath" name="basePath" value="<%=basePath %>"/><input type="hidden" id="V_LOGINNAME" name="V_LOGINNAME" value=""/><input type="hidden" id="V_PASSWORD" name="V_PASSWORD" value=""/><input type="hidden" id="company_code" name="company_code" value="<%=company_code %>"/></body></html>
 |