<%@page import="com.kingdee.eas.cp.common.web.util.WebContextUtil"%>
<%@page import="com.kingdee.bos.Context"%>
<%@page import="com.kingdee.shr.ml.cache.MLCacheHelper"%>
<%@page import="com.kingdee.shr.ml.ResourceType"%>
<%@page import="java.util.Map"%>
<%@page import="java.lang.String"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<% 
	  Context ctx = 	WebContextUtil.getEasContext(request);
      Map jspMultiLan = MLCacheHelper.getResource(ctx, ResourceType.JSP, "framework.jsp");
	  String languageTag = com.kingdee.shr.ml.util.BOSConfigUtil.getOriginLocaleContextLanguage(ctx).replace("-","_");
	  String encryptDB =com.kingdee.shr.base.syssetting.web.gzh.AESUtil.encrypt(ctx.getAIS(), ctx.getContextID());
	  String encryptUser =com.kingdee.shr.base.syssetting.web.gzh.AESUtil.encrypt(com.kingdee.shr.base.syssetting.app.filter.HRFilterUtils.getCurrentUserId(ctx), ctx.getContextID());
	  String encryptContext =com.kingdee.shr.base.syssetting.web.gzh.AESUtil.encrypt(ctx.getContextID(), ctx.getContextID());
     %>
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<title>shr</title>
		<link href="/shr/styles/framework/error.css" rel="stylesheet" type="text/css"/>				
	</head>
	<body>
		<div id="div-500">
			<div id="img-500">
				<img src="/shr/images/500-5.jpg" /><img src="/shr/images/500-01.jpg" /><img src="/shr/images/500-02.jpg" /><span id="mood-info-01">oh</span><span id="mood-info-02">!</span>
			</div>
			<div id="info-500"><%=jspMultiLan.get("msg004") %></div>
			<div id="tools">
				<a href="javascript:void(null)" id="btnRefresh"><%=jspMultiLan.get("msg001") %></a>
				<a href="javascript:void(null)" id="btnClearCache"><%=jspMultiLan.get("msg002") %></a>
				<a href="javascript:void(null)" id="go-home"><%=jspMultiLan.get("msg003") %></a>
				<a href="javascript:void(null)" id="btnDownloadErrorLog"><%=jspMultiLan.get("msg005") %></a>			
			</div>
		</div>
		<script type="text/javascript" src="/shr/jslib/jquery/jquery-3.5.1.js"></script>
		<script type="text/javascript" src="/shr/scripts/i18n/customeComponentConstant_<%=languageTag%>.js"></script>
		<script type="text/javascript" src="/shr/jslib/crypto/crypto-js.js"></script>	
		<script type="text/javascript" src="/shr/scripts/framework/shr.js"></script>	
		<script type="text/javascript" src="/shr/scripts/shr/base/header.js"></script>		
		<script type="text/javascript" src="/shr/scripts/framework/error.js"></script>
		<script type="text/javascript" >
			window.systemParamForShr = {};
			window.systemParamForShr.encryptDB = "<%=encryptDB%>";
			window.systemParamForShr.encryptUser = "<%=encryptUser%>";
			window.systemParamForShr.encryptContext = "<%=encryptContext%>";
		</script>
	</body>
</html>