<%@ Language=VBScript%>
<!-- #include file="../links.asp" -->
<!-- #include file="../dsn.asp" -->
<%
Response.Buffer=false
Response.Expires=0
%>
<%
set cn=Server.CreateObject ("ADODB.Connection")
set rs=Server.CreateObject ("ADODB.Recordset")
cn.Open mycnstr
sqltext="select * from adminuser where enable=1 and username='"+session("adminusername")+"'"
rs.Open sqltext,cn,1,1
if not rs.EOF then
	adminqx=trim(rs("adminqx"))
end if
rs.Close 
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<style type=text/css>
<!--
body{
	font-size: 12px; color: #000; font-family: 宋体;
	scrollbar-face-color:#626e84;scrollbar-highlight-color:#626e84;
	scrollbar-arrow-color:#fefefe;scrollbar-track-color:#efefef;
	scrollbar-shadow-color:#626e84;scrollbar-darkshadow-color:#626e84;
	scrollbar-base-color:#626e84
	}
td,p,input,select,body {font-size:12px;}

.t1 {font:12px 宋体;color=000000} 
.t2 {font:12px 宋体;color:ffffff} 
.t3 {font:12px 宋体;color:#ffffff} 
.t5 {font:12px 宋体;color:ff6600} 
.t7 {font:12px 宋体;color:FFFF00} 
.t6 {font:12px 宋体;color:ffffff;text-decoration:none;}

.bt1 {font:14px 宋体;color=000000} 
.bt2 {font:14px 宋体;color:ffffff} 
.bt3 {font:14px 宋体;color:efefef} 

A:link {color: #000077}
A:visited {color: #000077}
A:hover {color: #ff0000}

A.r1:link {font:12px;text-decoration:none;color: #000000}
A.r1:visited {font-size:12px;text-decoration:none;color: #000000}
A.r1:hover {font-size:12px;text-decoration:underline;color: #ff6600}
-->
</style>
</HEAD>
<BODY leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" bgcolor="#002473">
<table width="100%" height="26" border="0" cellspacing="0" cellpadding="0">
	<tr>
		<td>
	<td align=right>
		<table>
		<tr>
			<td>
				<table height=22 id=xx2 width="90" cellpadding="0" cellspacing="0" onMouseOver="xz2(xx2)" onMouseOut="xz1(xx2)">
					<tr align="center"> 
						<td class=t3 style="cursor:hand;" bgcolor="#002473" bordercolorlight="#000000" bordercolordark="#002473" width=80>
							<a href="adminuser_myedit.asp" TARGET="main"><img src="admin-button-wzgl.gif" border=0 align=left><font class=t6>修改密码</a></a>
						</td>
					</tr>
				</table>
			</td>
			<td>
				<table height=22 id=xx1 width="90" cellpadding="0" cellspacing="0" onMouseOver="xz2(xx1)" onMouseOut="xz1(xx1)">
					<tr align="center"> 
						<td class=t3 style="cursor:hand;" bgcolor="#002473" bordercolorlight="#000000" bordercolordark="#002473" width=80>
							<a href="./login.asp" target="_top"><img src="admin-button-qygl.gif" border=0 align=left border=0><font class=t6>换名登陆</a></a>
						</td>
					</tr>
				</table>
			</td>
			<td>
				<table height=22 id=xx3 width="90" cellpadding="0" cellspacing="0" onMouseOver="xz2(xx3)" onMouseOut="xz1(xx3)">
					<tr align="center"> 
						<td class=t3 style="cursor:hand;" bgcolor="#002473" bordercolorlight="#000000" bordercolordark="#002473" width=80>
							<a href="<%=linkmain1%>" TARGET="_blank"><img src="admin-button-wzgl.gif" border=0 align=left><font class=t6>回到首页</a></a>
						</td>
					</tr>
				</table>
			</td>
			<td>
				<table height=22 id=xx4 width="90" cellpadding="0" cellspacing="0" onMouseOver="xz2(xx4)" onMouseOut="xz1(xx4)">
					<tr align="center"> 
						<td class=t3 onclick="logout()" style="cursor:hand;" bgcolor="#002473" bordercolordark="#ffffff" width=80>
							<img src="admin-button-exit.gif" border=0 align=left>退出系统
						</td>
					</tr>
				</table>
			</td>
		 </tr>		

		</table>
	</td>
	<td width="2">&nbsp;</td>
	</tr>	
</table>
<table width="100%" height="2" border="0" cellspacing="0" cellpadding="0">
	<tr bgcolor="#000000"><td>&nbsp;</td></tr>
</table>		
</body>
</html>
<script language=javascript>

	//init();
	function init()
	{
		var mycolor="dfdfdf"
		var i
		var objname
		for(i=1;i<=4;i++)
		{
			objname="xx"+i
			document.all(objname).style.borderWidth='1'
			document.all(objname).style.borderStyle='ridge'

			document.all(objname).style.borderTopColor=mycolor
			document.all(objname).style.borderLeftColor=mycolor
			document.all(objname).style.borderRightColor=mycolor
			document.all(objname).style.borderBottomColor=mycolor
		}	
	}

	function xz1(objname)
		{
		var mycolor="cccccc"
		objname.style.borderWidth='0'
		
		objname.style.borderStyle='ridge'
		objname.style.borderTopColor=mycolor
		objname.style.borderLeftColor=mycolor
		objname.style.borderRightColor=mycolor
		objname.style.borderBottomColor=mycolor
		}
		
	function xz2(objname)
		{
		var mycolor="ffffff"
		objname.style.borderWidth='1'
		objname.style.borderStyle='outset'
		objname.style.borderTopColor=mycolor
		objname.style.borderLeftColor=mycolor
		objname.style.borderRightColor=mycolor
		objname.style.borderBottomColor=mycolor
		
		//document.all.yy2.style.Color='red'

		}	
</script>
<script language=vbscript>
		sub logout()
			a=msgbox ("你真的要注销吗？",vbyesno)
			if a=6 then
					window.top.navigate "<%=linklogout%>"
			end if
		end sub
</script>
