<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>

<!--#include file="Connections/conn_news.asp" -->
<!--#include file="yns_config.asp" -->
<!--#include file="yns_chklogin.asp" -->
<% chk_user_login(3) %>
<%
Dim rsu__MMColParam
rsu__MMColParam = "1"
If (Request.QueryString("u_id") <> "") Then
  rsu__MMColParam = Request.QueryString("u_id")
End If
%>
<%
Dim rsu
Dim rsu_numRows

Set rsu = Server.CreateObject("ADODB.Recordset")
rsu.ActiveConnection = MM_conn_news_STRING
rsu.Source = "SELECT * FROM t_user WHERE u_id = " + Replace(rsu__MMColParam, "'", "''") + ""
rsu.CursorType = 0
rsu.CursorLocation = 2
rsu.LockType = 1
rsu.Open()

rsu_numRows = 0
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>湖南百润医药有限公司-------康曼德www.hnicp.com</title>
<link href="style/css.css" rel="stylesheet" type="text/css">
</head>

<body>


<table width="94%" border="1" cellpadding="4" cellspacing="0" class="table-line">
  <form action="yns_uupdata_save.asp" method="post" name="form1">
    <tr class="td-title-color"> 
      <td height="25" colspan="2" nowrap>更新管理员资料</td>
    </tr>
    <tr class="td-body-color"> 
      <td width="30%" height="25" align="center" nowrap>管理员名称:</td>
      <td height="25"> <input name="textfield" type="text" value="<%=(rsu.Fields.Item("u_name").Value)%>" readonly>
        不能修改 
        <input type="hidden" name="u_level" class="px12" id="select" value="3"></td>
    </tr>
    <tr class="td-body-color"> 
      <td height="25" align="center" nowrap>旧密码:</td>
      <td height="25"> <input name="u_pass1" type="password" id="u_pass1" style="font-family: 宋体; font-size: 9pt" size="20"></td>
    </tr>
    <tr class="td-body-color"> 
      <td height="25" align="center" nowrap>新密码:</td>
      <td height="25"> <input name="u_pass2" type="password" id="u_pass2" style="font-family: 宋体; font-size: 9pt" size="20"></td>
    </tr>
    <tr class="td-body-color"> 
      <td width="30%" height="25" align="center" nowrap>确认密码:</td>
      <td height="25"> <input name="u_pass3" type="password" id="u_pass3" style="font-family: 宋体; font-size: 9pt" size="20"> 
      </td>
    </tr>
    <tr class="td-body-color"> 
      <td height="25" align="center" nowrap>&nbsp; </td>
      <td height="25" nowrap> <input name="submit" type="submit" value="修改资料"> 
        <input name="u_id" type="hidden" id="u_id" value="<%=(rsu.Fields.Item("u_id").Value)%>"> 
      </td>
    </tr>
  </form>
</table>

<p>&nbsp;</p>
</body>
</html>
<%
rsu.Close()
Set rsu = Nothing
%>