
<!--#include file="conn.asp"-->

<%

	'删除 [onlice] 表中的此用户信息
	'------------------------------------------------------------
	'Cook_UserName = Session("admin")("name")
	'if Cook_UserName<>"" then
		'activeuser="delete from [Online] " &_
			'"where lower(username)='" & Lcase(Cook_UserName) & "'"
		'Conn.Execute activeuser
	'end if


	'关闭数据库链接
	'------------------------------------------------------------
	'call objend()


		Session("UserID")="" 			'账号ID
		Session("UserName")=""			'账号
		Session("UserCode")=""			'用户级别号
		Session("WebSiteID")=""		'用户站点ID
		Session("WebTitle")=""			'网站标题
		Session("AgentID")=""			'代理商ID
%>
<boday>
<div align=center>
<center>
<table width="100%" height="100%" vAlign=middle align=center>
  <tr>
    <td align=center>

<span id=Logout style="font-size:10pt;color:#FF0000;font-family:verdana;">成功退出系统</span>
<script language="JavaScript">
	var n=5;
	function Logout() {
		document.all("Logout").innerText = "成功退出系统，稍后将自动跳转到首页(" + n + ")";
		if( n == 2 || n == 1 )
			document.all("Logout").innerText = "正在准备跳转(" + n + ")";
		if( n == 0 )
			document.all("Logout").innerText = "返回首页……";

		
		if( !n-- )
			this.location = "/";
		setTimeout( "Logout();", 1000 );
	}

	Logout();

</script>

    </td>
  </tr>
</table>
</center>
</div>
</boday>