<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<%
'****************************************************************
'**   版权所有：烈火工作室  演示网站http://www.strongfire.cn   **
'**   QQ:839225572   邮箱：strongfire2008@163.com              **
'**   非正版用户不得擅自非法修改用于商业用途！查出必究。       **
'****************************************************************
%>
<!--#include file="islogin.asp"-->
<!--#include file="Check_SqlIn.asp"-->
<!--#include file="admin_conn.asp"-->

<%

id=Request("id")

%>
<html>
<head>
<LINK href="admin_Css.css" type=text/css rel=stylesheet>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>修改信息列表</title>
<script language="JavaScript" type="text/javascript">
function check_input()  
{  
	
	if (form1.password.value==""){
		alert ("\n请填写密码！");
		document.form1.password.focus();
		return false;
	}
		return true;
}
</script>
<style type="text/css">
<!--
.STYLE1 {
	font-size: 14px;
	color: #0000FF;
	font-weight: bold;
}
.textstype {
	height: 20px;
	width: 100%;
	border-top-style: none;
	border-right-style: none;
	border-bottom-style: none;
	border-left-style: none;
}
-->
</style>
</head>


<body>
<div align="center">
  <p><br>
      <span class="STYLE1"><a href="SuperUser.asp"><font style="font-size:14px" color="#FF0000">管理员列表</font></a></span></p>
  <%

	Set rs=Server.CreateObject("ADODB.RecordSet") 
	sql="select * from admin where id="&id
	rs.Open sql,conn,1,1
  %>
  <form name="form1" method="post" onSubmit="return check_input()" action="SuperUser.asp?act=modify">
  <input name="id" type="hidden" value="<%=id%>">
  <table width="200" border=0 align=center cellspacing=1 class="list1">
    <tr>
      <th colspan="2" ><div align="center">修改密码</div>        
        <div align="center"></div></th>
    </tr>
   
    <tr>
      <td width="60" ><div align="center">用户名：</div></td>
      <td width="137" >
        <div align="left"><%=rs("user")%></div></td>
    </tr>
    <tr>
      <td ><div align="center">新密码：</div></td>
      <td >
        <div align="center">
          <input name="password" type="password" class="textstype" id="password" size="18">
          </div></td>
    </tr>
    <tr>
      <td colspan="2" ><div align="center">
        <label>
        <input type="submit" name="Submit" value="提交">
        </label>
        <label>
         &nbsp;
         <input type="reset" name="Submit2" value="重置">
        </label>
      </div>        <div align="center"></div></td>
    </tr>
  </table>
  </form>
<%
rs.close
set rs=nothing
conn.close
set conn=nothing
%>
  <p>&nbsp;</p>
  <p><br>
  </p>
</div>
</body>

</html>
