You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

37 lines
1.5 KiB
Plaintext

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="FriendError.aspx.cs" Inherits="DSWeb.Error.FriendError" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>错误异常</title>
<script type="text/javascript">
function redirectUrl(){
var parentObj = window.location;//alert(parentObj);
var oldUrl = parentObj.href;
var httpVal = oldUrl.substring(0,oldUrl.indexOf("//")+2);
var lastVal = oldUrl.substring(oldUrl.indexOf("//")+2,oldUrl.length);
var newUrl = httpVal+lastVal.substring(0,lastVal.indexOf("/"))+"/"+"login.aspx";
window.location.href = window.location.href;
parentObj.href = newUrl;
}
</script>
</head>
<body>
<form id="form1" runat="server">
<table style="width:100%; height:100%">
<tr>
<td height="100%" width="30%">
<div style="width:100%; text-align:right;"><img src="../images/error_notice.gif" /></div>
</td>
<td height="100%" width="70%">
<div id="dvErrorContent" style="font-size:14px; float:left;">操作异常!</div><div id="dvReSign" style="font-size:14px; float:left;"><a href="javascript:void(0)" style="text-decoration:none" onclick="redirectUrl()">重新登录</a></div>
</td>
</tr>
</table>
</form>
</body>
</html>