<%@ 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">
<html>
<head>
<META http-equiv="Content-Type" content="text/html; charset=utf-8">
<META HTTP-EQUIV="pragma" CONTENT="no-cache">
<META HTTP-EQUIV="Cache-Control" CONTENT="no-cache, must-revalidate">
<style type="text/css">
body{background:#fff;}
#wrapper_sh{ width:500px; margin:0px auto; margin-top:20px;}
.wrapper_delay table tr td{ color:#333333;color:#0066ff; font-size:12px; line-height:20px; padding:0 6px;}
.wrapper_delay table tr td span{ color:#333; font-size:14px; font-weight:bold;}
.wrapper_delay table tr td a:link{ color:#7092be; text-decoration:underline;}
.wrapper_delay table tr td a:hover{ color:#9f111; text-decoration:underline;}
.wrapper_delay table tr td a:visited{ text-decoration:underline;}
</style>
<script src="${pageContext.request.contextPath}/js/jquery.js"></script>
<script language="javascript">
//跳转到整个页面
window.frameElement && window.parent.location.replace("${pageContext.request.contextPath}/error.jsp");
function auto_jump(){
secs = $("#init_value").val()-1;
$("#init_value").val(secs);
if(secs == 0){
clearInterval(time);
if (window.opener!=null){
window.opener.location.href="${pageContext.request.contextPath}/admin/login";
window.close();
}else{
window.location.href = "${pageContext.request.contextPath}/admin/login";
}
}else{
$("#showDiv").
html("<span style='color: #000000;font-weight: bold;'>"+secs+" </span>秒后自动跳转... "+
"<a href='javascript:autojump2();'><strong>"
+"点击跳转</strong></a>");
}
}
$(function(){
$("body").append("<input type='hidden' id='init_value' value="+6+">");
time = setInterval("auto_jump()",1000);
});
function autojump2() {
if (window.opener!=null){
window.opener.location.href="${pageContext.request.contextPath}/admin/login";
window.close();
}else{
window.location.href = "${pageContext.request.contextPath}/admin/login";
}
}
</script>
</head>
<body>
<div id="wrapper_sh">
<div class="wrapper_delay">
<form name=loading>
<FONT>
<table width="500" border="0" cellspacing="0">
<tr>
<td width="127" rowspan="11" align="right"><img src="${pageContext.request.contextPath}/p_w_picpaths/delay_icon.jpg" width="116" height="86"></td>
<td width="369"><span>对不起!您访问的页面出现异常,有以下几种原因:</span></td>
</tr>
<tr>
<td height="15" style=" border-bottom:1px solid #eee;"></td>
</tr>
<tr>
<td height="10"></td>
</tr>
<tr>
<td height="25">1,没有访问该资源的权限</td>
</tr>
<tr>
<td height="6"></td>
</tr>
<tr>
<td height="25">2,操作超时</td>
</tr>
<tr>
<td height="6"></td>
</tr>
<tr>
<td height="25">3,账号在异地登陆</td>
</tr>
<tr>
<td class="delay_td"></td>
</tr>
<tr>
<td height="6"></td>
</tr>
<tr>
<td height="25">
<div id="showDiv"></div>
</td>
</tr>
</table
></form>
</div>
</div>
</body>
</html>