<!--#include file="Const.Asp"-->
<!--#include file="error.ini"-->
<%PageName="admin_UserModify"%>
<%
 dim rs
 dim sql
 set rs=server.createobject("adodb.recordset")
 sql="select * from ylmv_user where Username='"&Replace(request("Username"), "'", "''")&"'"
 rs.open sql,conn,1,3
if rs.eof then
	errmsg="<br>操作错误！请联系管理员"
	call error()
	Response.end
else
	Username=rs("Username")
	Password=rs("Password")
	Sex=rs("Sex")
	Email=rs("Email")
	Dianhua=rs("Dianhua")
	Name=rs("Name")
	Gonggao=rs("Gonggao")
	Logo=rs("Logo")
	Web=rs("Web")
	loginip=rs("loginip")
	Qq=rs("Qq")
	logindate=rs("logindate")
rs.close
end if
%>
<!--#include file="Top.Asp"-->
<link href="Images/Admin_Style.Css" rel="stylesheet" type="text/css">
<div align="center">
<table border="0" width="100%" cellspacing="1" cellpadding="1">
  <tr>
    <td align=center valign=top>
      <table width="100%" border="0" align="center" cellpadding="2" cellspacing="1" class="border">
        <form method="POST" action="Admin_User_Err.asp?id=<%=id%>" id=form2 name=form2>
          <tr class="title">
            <td width="100%" height="20" colspan=2 align=center><font color="#FFFFFF">修 改 用 户 资 料</font></td>
          </tr>
          <tr>
            <td class=tdbg width="30%" height="20" align="right">用户ID：</td>
            <td class=tdbg width="70%"><input class=input  type="text" name="username" value="<%=Username%>" size="20"></td>
          </tr>
          <tr>
            <td class=tdbg width="30%" height="20" align="right" valign="top">密码：</td>
            <td class=tdbg width="70%"><input class=input  type="password" name="password" value="<%=Password%>" size="20"></td>
          </tr>
          <tr>
            <td class=tdbg width="30%" height="20" align="right">性别：</td>
            <td class=tdbg width="70%"><input class=input  type="text" name="Sex" value="<%=Sex%>" size="20"></td>
            </td>
          </tr>
          <tr>
            <td class=tdbg width="30%" height="20" align="right">E-mail：</td>
            <td class=tdbg width="70%"><input class=input  type="text" name="Email" value="<%=Email%>" size="20"></td>
          </tr>
          <tr>
            <td class=tdbg width="30%" height="20" align="right">站长姓名：</td>
            <td class=tdbg width="70%"><input class=input  type="text" name="Name" value="<%=Name%>" size="20"></td>
          </tr>

          <tr>
            <td class=tdbg width="30%" height="20" align="right">网站名称：</td>
            <td class=tdbg width="70%"><input class=input  type="text" name="Web" value="<%=Web%>" size="20"></td>
          </tr>
          <tr>
            <td class=tdbg width="30%" height="20" align="right">联系电话：</td>
            <td class=tdbg width="70%"><input class=input  type="text" name="Dianhua" value="<%=Dianhua%>" size="20"></td>
          </tr>
          <tr>
            <td class=tdbg width="30%" height="20" align="right">网站公告：</td>
            <td class=tdbg width="70%"><input class=input  type="text" name="Gonggao" value="<%=Gonggao%>" size="20"></td>
          </tr>
          <tr>
            <td class=tdbg width="30%" height="20" align="right">网站Logo：</td>
            <td class=tdbg width="70%"><input class=input  type="text" name="Logo" value="<%=Logo%>" size="20"></td>
          </tr>
          <tr>
            <td class=tdbg width="30%" height="20" align="right">QQ号码：</td>
            <td class=tdbg width="70%"><input class=input  type="text" name="Qq" value="<%=Qq%>" size="20"></td>
          </tr>
           <tr>
            <td class=tdbg width="30%" height="20" align="right">最后登陆：</td>
            <td class=tdbg width="70%"><%=logindate%></td>
          </tr>
          <tr>
            <td class=tdbg width="30%" height="20" align="right">最后 I P：</td>
            <td class=tdbg width="70%"><%=loginip%></td>
          </tr>
          <tr align="center">
            <td class=tdbg colspan=2>
              <input class=input  type="hidden" value="edit" name="act"> 
              <input class=input  type="submit" value=" 修 改 " name="cmdok2">&nbsp; 
              <input class=input  type="reset" value=" 清 除 " name="cmdcance2l">
            </td>
          </tr>
        </form>
      </table>
    </td>
  </tr>
</table>
</div>
<%
set rs=nothing
conn.close
set conn=nothing
%></body></html>