?? edit_pass.asp
字號:
<!--#include file="IP_report.asp"-->
<!--#include file="check_admin.asp"-->
<!--#include file="conn_admin.asp"-->
<%
act=request("act")
if act="save" then
set rs=server.createobject("adodb.recordset")
sql="select * from UserInfo where id=1"
rs.open sql,conn,1,3
rs("user")=request("name")
rs("pwd")=request("password")
rs.update
rs.close
set rs=nothing
conn.close
set conn=nothing
response.write("<script>alert('OK!用戶名和密碼修改成功\n\n');location='Edit_Pass.asp'</script>")
response.end
end if
%>
<meta http-equiv="Content-Language" content="zh-cn">
<center><!--#include file="index_admin.asp"-->
<table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="760" id="AutoNumber1">
<FORM name=form1 action=Edit_Pass.asp?act=save method=post>
<tr>
<td align="center">Name : <input name="name" id="username" size="16" value="" style="width:123px;height:23px ">
->填入新的用戶名</td>
</tr>
<tr>
<td align="center">Pwd : <input name="password" type="password" size="16" maxlength="32" style="width:123px;height:23px ">
->填入新的密碼 </td>
</tr>
<tr>
<td align="center"><input name=".save" type="submit" value="修 改" style="background:#ff9933; width:120; height:24; color:#ffffff; border-width: 1px;"></td>
</tr>
</form>
</table>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -