📄 addusernew.asp
字号:
<!--#include file="conn.asp"--><!--#include file="admin_is.ini"-->
<%
if trim(request("ccc22"))="add" then %>
<%vname=request("name")
vpass=request("pass")
vdizhi=request("wwdizhi")
vdianhua=request("dianhua")
voicq=request("oicq")
vemail=request("email")
vshengri=request("shengri")
vcun=request("cun")
vdaili=request("daili")
set rs=server.createobject("adodb.recordset")
sql="SELECT * from use where id="&request("id")&""
rs.open sql,conn,1,3
rs("name")=vname
rs("pass")=vpass
rs("dianhua")=vdianhua
rs("shengri")=vshengri
rs("dizhi")=vdizhi
rs("oicq")=voicq
rs("email")=vemail
rs("daili")=vdaili
rs("cun")=vcun
rs.update
rs.close
Response.Write "<script Language=Javascript>alert('修改完毕');location.href = 'adduser.asp';</script>"
response.end
end if %>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="../style.css" rel="stylesheet" type="text/css">
<table width="80%" border="1" cellspacing="0" cellpadding="1" bordercolor="#336699" align="center">
<tr>
<td>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td background="../images/back_3.gif" rowspan="2">
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="12v">
<tr>
<td class="12v" >
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" id="AutoNumber3" height="96" width="100%">
<tr>
<td>
<table width="100%" border="0" align="center" cellpadding="1" cellspacing="1" bgcolor="#FFFFFF" height="128">
<tr>
<td height="20" bgcolor="#FFFFFF">
<div align="center"></div>
</td>
</tr>
<tr>
<td height="177" valign="top" bgcolor="#E8F1FF"><%
set rs=server.createobject("adodb.recordset")
sql="SELECT * from use where id="&request("id")&""
rs.open sql,conn,1,3
%> <br>
<form name="form1" method="post" action="addusernew.asp?ccc22=add">
<table width="100%" border="0" cellspacing="0" cellpadding="0" height="175">
<tr>
<td width="26%">用户名:</td>
<td width="74%">
<input style="BACKGROUND-COLOR: #ffffff; BORDER-BOTTOM: black 1px solid; BORDER-LEFT: black 1px solid; BORDER-RIGHT: black 1px solid; BORDER-TOP: black 1px solid; FONT-SIZE: 9pt; HEIGHT: 19px;"type="text" name="name" value="<%=rs("name")%>">
* ID
<input style="BACKGROUND-COLOR: #ffffff; BORDER-BOTTOM: black 1px solid; BORDER-LEFT: black 1px solid; BORDER-RIGHT: black 1px solid; BORDER-TOP: black 1px solid; FONT-SIZE: 9pt; HEIGHT: 19px;"type="text" name="id" value="<%=rs("id")%>">
</td>
</tr>
<tr>
<td width="26%">密码:</td>
<td width="74%">
<input style="BACKGROUND-COLOR: #ffffff; BORDER-BOTTOM: black 1px solid; BORDER-LEFT: black 1px solid; BORDER-RIGHT: black 1px solid; BORDER-TOP: black 1px solid; FONT-SIZE: 9pt; HEIGHT: 19px;"type="text" name="pass" value="<%=rs("pass")%>">
* </td>
</tr>
<tr>
<td width="26%">现金:</td>
<td width="74%">
<input style="BACKGROUND-COLOR: #ffffff; BORDER-BOTTOM: black 1px solid; BORDER-LEFT: black 1px solid; BORDER-RIGHT: black 1px solid; BORDER-TOP: black 1px solid; FONT-SIZE: 9pt; HEIGHT: 19px;"type="text" name="cun" value="<%=rs("cun")%>">
* 代理:
<input style="BACKGROUND-COLOR: #ffffff; BORDER-BOTTOM: black 1px solid; BORDER-LEFT: black 1px solid; BORDER-RIGHT: black 1px solid; BORDER-TOP: black 1px solid; FONT-SIZE: 9pt; HEIGHT: 19px;"type="text" name="daili" value="<%=rs("daili")%>">
</td>
</tr>
<tr>
<td width="26%">OICQ:</td>
<td width="74%">
<input style="BACKGROUND-COLOR: #ffffff; BORDER-BOTTOM: black 1px solid; BORDER-LEFT: black 1px solid; BORDER-RIGHT: black 1px solid; BORDER-TOP: black 1px solid; FONT-SIZE: 9pt; HEIGHT: 19px;"type="text" name="oicq" value="<%=rs("oicq")%>">
* </td>
</tr>
<tr>
<td width="26%">E-MAIL:</td>
<td width="74%">
<input style="BACKGROUND-COLOR: #ffffff; BORDER-BOTTOM: black 1px solid; BORDER-LEFT: black 1px solid; BORDER-RIGHT: black 1px solid; BORDER-TOP: black 1px solid; FONT-SIZE: 9pt; HEIGHT: 19px;"type="text" name="email" value="<%=rs("email")%>">
* </td>
</tr>
<tr>
<td width="26%">联系电话:</td>
<td width="74%">
<input style="BACKGROUND-COLOR: #ffffff; BORDER-BOTTOM: black 1px solid; BORDER-LEFT: black 1px solid; BORDER-RIGHT: black 1px solid; BORDER-TOP: black 1px solid; FONT-SIZE: 9pt; HEIGHT: 19px;"type="text" name="dianhua" value="<%=rs("dianhua")%>">
* </td>
</tr>
<tr>
<td width="26%">联系地址:</td>
<td width="74%">
<input style="BACKGROUND-COLOR: #ffffff; BORDER-BOTTOM: black 1px solid; BORDER-LEFT: black 1px solid; BORDER-RIGHT: black 1px solid; BORDER-TOP: black 1px solid; FONT-SIZE: 9pt; HEIGHT: 19px;"type="text" name="wwdizhi" size="50" value="<%=rs("dizhi")%>">
* </td>
</tr>
<tr>
<td width="26%" height="16">出生年月:</td>
<td width="74%" height="16">
<input style="BACKGROUND-COLOR: #ffffff; BORDER-BOTTOM: black 1px solid; BORDER-LEFT: black 1px solid; BORDER-RIGHT: black 1px solid; BORDER-TOP: black 1px solid; FONT-SIZE: 9pt; HEIGHT: 19px;"type="text" name="shengri" value="<%=rs("shengri")%>">
* (格式1111/01/01)</td>
</tr>
<tr>
<td width="26%" height="16"> </td>
<td width="74%" height="16">
<input type="submit" name="Submit" value="确定">
</td>
</tr>
</table>
</form>
</td>
</tr>
<tr>
<td height="106" valign="top" bgcolor="#E8F1FF">
<div align="right"> </div>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
<br>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -