123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990 |
- <%@ 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");
- if(company_code==null)
- company_code = "";
- if (!myRegex(company_code)){
- company_code = "";
- }
- String css_name = "ext-all-access.css";
- 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/proform3/scripts/perform.js" %>"></script>
- <title>IoT-02型永天消防综合监控系统</title>
- </head>
- <body style="font-size:18pt;font-family:'微软雅黑', Microsoft YaHei; ">
- <div id="proform3_bg_tl" class="proform3_bg_tl"></div>
- <div id="proform3_bg_tm" class="proform_bg_tm"></div>
- <div id="proform3_bg_tr" class="proform_bg_tr"></div>
- <div id="proform3_bg_ml" class="proform3_bg_ml"></div>
- <div id="proform3_bg_mm" class="proform_bg_mm"></div>
- <div id="proform3_bg_mr" class="proform_bg_mr"></div>
- <div id="proform3_bg_bl" class="proform3_bg_bl"></div>
- <div id="proform3_bg_bm" class="proform_bg_bm"></div>
- <div id="proform3_bg_br" class="proform_bg_br"></div>
- <!--
- <div id="proform_menu_1" class="proform_menu_1" onmouseover="mouseon(this);" onmouseout="mouseoff(this);" onclick="menu_click(this);"></div>
- <div id="proform_menu_2" class="proform_menu_2" onmouseover="mouseon(this);" onmouseout="mouseoff(this);" onclick="menu_click(this);"></div>
- <div id="proform_menu_3" class="proform_menu_3" onmouseover="mouseon(this);" onmouseout="mouseoff(this);" onclick="menu_click(this);"></div>
- <div id="proform_menu_4" class="proform_menu_4" 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_springhandle" style="position:absolute;top:120px;left:100px;"></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>
|