<!--#Include File="Connection.Asp"-->
<!--#Include File="JaClog.Asp"-->
<!--#Include File="../JaInc/Ja_MD5.Asp"-->
<%
Dim adminID,Rs
Dim rsID,na
adminID = Trim(Request.QueryString("adminID"))
Set Rs = Conn.Execute("Select ID,JaAdmin From [JaAdmin] Where ID="&adminID&" ")
If Not Rs.Eof Then
rsID = Rs(0)
na = Rs(1)
End if
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>无标题文档</title>
<link href="JaImg/css.css" rel="stylesheet" type="text/css">
</head>
<script>
function CheckJaUser() {
         if (document.form1.na.value=="")
           {
           alert("登陆名不能为空!");
           document.form1.na.focus();
           return false;
           }
         if (document.form1.pass.value=="")
           {
            alert("旧密码不能为空!");
            document.form1.pass.focus();
            return false;
           }
}
</script>
<body>
<form action="AdminEdit2.asp?adminID=<%=rsID%>" method="post" id="form1" name="form1" onSubmit="return CheckJaUser();">
  <table width="100%" height="25" border="0" cellpadding="0" cellspacing="0" class="itemhead">
  <tr>
    <td valign="bottom" bgcolor="#BCDBFE" class="itemheadtd"><table width="238" height="18" border="0" cellpadding="0" cellspacing="0">
        <tr>
            <td width="238" class="item">管理员管理</td>
        </tr>
    </table></td>
  </tr>
</table>

  <table width="100%" border="0" align="center" cellpadding="3" cellspacing="0" bgcolor="#FFFFFF" style="margin-bottom:1px">
    <tr> 
      <td height="28" bgcolor="#ACD2FD" style="padding-left:10px"><strong> 编辑管理员 
        (<a href="javascript:history.go(-1)">返回管理员列表</a>)</strong> </td>
    </tr>
  </table>
	  
  <table width="100%" border="0" align="center" cellpadding="3" cellspacing="1" bgcolor="#164481">
    <tr bgcolor="#DAEBFE"> 
      <td width="413" align="center" bgcolor="#DAEBFE">&nbsp;</td>
      <td width="573" align="center" bgcolor="#DAEBFE">&nbsp;</td>
    </tr>
    <tr bgcolor="#FFFFFF"> 
      <td align="center"><div align="right">登陆名：</div></td>
      <td align="center"> <div align="left"> 
          <input name="na" type="text" id="na" value="<%=na%>" size="20" maxlength="20">
        </div></td>
    </tr>
    <tr bgcolor="#FFFFFF"> 
      <td align="center"><div align="right">旧密码：</div></td>
      <td align="center"><div align="left"> 
          <input name="pass" type="password" id="pass" size="20" maxlength="20">
        </div></td>
    </tr>
    <tr bgcolor="#FFFFFF">
      <td align="center"><div align="right">新密码：</div></td>
      <td align="center"><div align="left">
          <input name="chpass" type="text" id="chpass" size="20" maxlength="20">
        </div></td>
    </tr>
    <tr bgcolor="#FFFFFF"> 
      <td align="center">&nbsp;</td>
      <td height="30" align="center"> <div align="left"> 
          <input type="submit" name="Submit" value="提交">
          <input type="reset" name="Submit2" value="重置">
        </div></td>
    </tr>
  </table>
      </form>
</body>
</html>
