<!--#include file="WebConfig/Conn.asp"-->
<!--#include file="WebConfig/LoginYN.asp"-->
<html xmlns:v>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<link type="text/css" rel="stylesheet" href="Css/BackStyle.css" />
<title></title>
<script language="javascript" src="Js/Nor.js"></script>
<script language="javascript" src="Js/checkAdmin.js"></script>
</head>
<%
	If Request.QueryString("Id")<>"" Then
		Id=Request.QueryString("Id")
		Set rsNews=Server.CreateObject("ADODB.RecordSet")
		rsNews.Open "Select Admin,PassWord from Admin where Id="&Id,conn,1,1
		If Not rsNews.Eof Then
			Nc=rsNews("Admin")
			Ti=rsNews("PassWord")
		End If
		rsNews.Close
		Set rsNews=Nothing
	End If
%>
<body onLoad="<%if Id<>"" Then Response.Write("LoadContent();") End if%>">
<div id="BackBg">
	<v:RoundRect id="BackCo" strokeColor="#7EB977" arcsize=".01" Filled="T">
		<div id="BackDocTitle" class="B cW"><% If Id="" Then Response.Write"添加" Else Response.Write"修改" End If%>系统管理员 | Add the Administrator of System</div>
		<form id="myform" name="myform" method="post" action="DoSave/saveAdmin.asp">
		<div id="BackDoZone">
			<div id="BackAdmin">
				<p>管理员名称<input name="Id" type="hidden" value="<%=Id%>" /><input class="mLs" name="Admin" onFocus="clearSpan('AdminErr');" type="text" value="<%=Nc%>" /><span id="AdminErr">*</span></p>
				<p>管理员密码<input class="mLs" name="Pwd" onFocus="clearSpan('PwdErr');"  type="password" value="<%=Ti%>" /><span id="PwdErr">*</span></p>
			</div>
		</div>
		<div id="BackBn"><p id="Bn"><input type="button" value="<% If Id="" Then Response.Write"添加" Else Response.Write"修改" End If%>信息" onClick="ckAdmin('myform');" /><input type="reset" value="清空内容" /></p></div>
		</form>
	</v:roundrect>
</div>
</body>
</html>
