📄 editreg.asp
字号:
<!--#include file="conn.asp"-->
<!--#include file="session.asp"-->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<LINK href="style.css" rel=stylesheet>
<title>会员/代理注册</title>
</head>
<script language="VBScript">
<!--
Sub Checkdata()
If reg1.d_pass.value = empty then
Window.Alert"填写密码没有填写"
Exit Sub
end if
If len(reg1.d_pass.value)>15 then
Window.Alert"填写密码的字符超过15个"
Exit Sub
end if
If reg1.d_pass2.value = empty then
Window.Alert"重复密码没有填写"
Exit Sub
end if
If reg1.d_pass.value<>reg1.d_pass2.value then
Window.Alert"“填写密码”与“重复密码”不一样"
Exit Sub
end if
If reg1.d_question.value = empty then
Window.Alert"密码问题没有填写"
Exit Sub
end if
If reg1.d_answer.value = empty then
Window.Alert"密码答案没有填写"
Exit Sub
end if
If reg1.d_mail.value = empty then
Window.Alert"邮箱地址没有填写"
Exit Sub
end if
If reg1.d_name.value = empty then
Window.Alert"真实姓名没有填写"
Exit Sub
end if
If reg1.d_tel.value = empty then
Window.Alert"联系电话没有填写"
Exit Sub
end if
If reg1.d_tex.value = empty then
Window.Alert"联系地址没有填写"
Exit Sub
end if
If reg1.d_oicq.value = empty then
Window.Alert"OICQ没有填写"
Exit Sub
end if
reg1.submit
end sub
-->
</script>
<body>
<div align="center">
<center>
<table border="0" cellpadding="0" cellspacing="0" width="758">
<tr>
<td><!--#include file="head.asp"--></td>
</tr>
</table>
</center>
</div>
<%
Set rs1 = Server.CreateObject("ADODB.Recordset")
sql="select * from duser where d_webname='"&session("d_webname")&"'"
rs1.open sql,conn,3,3
%>
<div align="center">
<center>
<table border="0" cellpadding="0" cellspacing="0" width="758">
<tr>
<td width="191" valign="top"><!--#include file="left.asp"--></td> <td width="565" valign="top"> <table border="0" cellpadding="0" cellspacing="0" width="100%" height="1" BGCOLOR="#FFFFFF">
<tr> <td width="100%" background="pic/line_gb.gif" height="1"></td></tr> <tr>
<td width="100%" height="14" valign="top"><form method="post" action="EDITsave.asp?d_webname=<%=session("d_webname")%>" name="reg1">
<table border="0" cellpadding="0" cellspacing="0" width="100%" height="247"> <tr>
<td width="100%" colspan="3" height="22"> <p align="center">...:::以下信息必须填写完整、正确、<font color="#FF0000">*</font>为必须填写:::...</td></tr>
<tr> <td width="100%" height="14" colspan="3"> <table border="0" cellpadding="0" cellspacing="1" width="200" height="21">
<tr> <td bgcolor="#FFFFFF" width="99" height="19"> <p align="center"><b><FONT COLOR="#ff3399">简要信息</FONT></b></td><td width="99" height="19"> </td></tr>
</table></td></tr> <tr> <td width="19%" height="27" align="center">用 户 名:</td><td width="30%" height="27"><font color="#FF0000"><%=rs1("d_webname")%></font></td><td width="51%" height="27"><font color="#FF0000">*</font>不能修改</td></tr>
<tr> <td width="19%" height="27" align="center">密 码:</td><td width="30%" height="27"><input name="d_pass" size="20" style="border: 1 solid #000000" value="<%=rs1("d_pass")%>"></td><td width="51%" height="27"><font color="#FF0000">*</font>尽量复杂,不要超过15个字符</td></tr>
<tr> <td width="19%" height="27" align="center">重复密码:</td><td width="30%" height="27"><input name="d_pass2" size="20" style="border: 1 solid #000000" value="<%=rs1("d_pass2")%>"></td><td width="51%" height="27"><font color="#FF0000">*</font>重复密码</td></tr>
<tr> <td width="19%" height="27" align="center">密码问题:</td><td width="30%" height="27"><input name="d_question" size="20" style="border: 1 solid #000000" value="<%=rs1("d_question")%>"></td><td width="51%" height="27"><font color="#FF0000">*</font>忘记密码的问题</td></tr>
<tr> <td width="19%" height="27" align="center">密码答案:</td><td width="30%" height="27"><input name="d_answer" size="20" style="border: 1 solid #000000" value="<%=rs1("d_answer")%>"></td><td width="51%" height="27"><font color="#FF0000">*</font>忘记密码的答案</td></tr>
<tr> <td width="19%" height="14" align="center">邮件地址:</td><td width="30%" height="14"><input type="text" name="d_mail" size="20" style="border: 1 solid #000000" value="<%=rs1("d_mail")%>"></td><td width="51%" height="14"><font color="#FF0000">*</font>最重要的联系方式,填写最常用的邮箱</td></tr>
<tr> <td width="100%" height="14" colspan="3"> <table border="0" cellpadding="0" cellspacing="1" width="200" height="21">
<tr> <td bgcolor="#FFFFFF" width="99" height="18"> <p align="center"><b><FONT COLOR="#ff3399">完整信息</FONT></b></td><td width="99" height="18"> </td></tr>
</table></td></tr> <tr> <td width="19%" height="14" align="center">真实姓名:</td><td width="30%" height="14"><input type="text" name="d_name" size="20" style="border: 1 solid #000000" value="<%=rs1("d_name")%>"></td><td width="51%" height="14"><font color="#FF0000">*</font>付款的有效证明</td></tr>
<tr> <td width="19%" height="14" align="center">联系电话:</td><td width="30%" height="14"><input type="text" name="d_tel" size="20" style="border: 1 solid #000000" value="<%=rs1("d_tel")%>"></td><td width="51%" height="14"><font color="#FF0000">*</font>可以是住宅电话、手机、公司电话</td></tr>
<tr> <td width="19%" height="5" align="center">联系地址:</td><td width="30%" height="5"><input type="text" name="d_tex" size="20" style="border: 1 solid #000000" value="<%=rs1("d_tex")%>"></td><td width="51%" height="5"><font color="#FF0000">*</font>住宅地址或者是公司地址</td></tr>
<tr> <td width="19%" height="5"> <p align="center"><b>O I C Q:</b></td><td width="30%" height="5"><input type="text" name="d_oicq" size="20" style="border: 1 solid #000000" value="<%=rs1("d_oicq")%>"></td><td width="51%" height="5"> 有则填写,无不需更改。方便与我们联系</td></tr> </center>
<tr> <td width="100%" height="31" colspan="3">
<input type="button" value="确认提交" name="B1" ONCLICK="Checkdata"> <input type="reset" value="全部重写" name="B2"><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR></td></tr>
</table></form></td></tr> </table><%rs1.Close
set rs1=Nothing
conn.Close
set conn=Nothing%> </td></tr> </table> </div> <div align="center"> <center> <table border="0" cellpadding="0" cellspacing="0" width="758">
<tr> <td><!--#include file="end.asp"--></td>
</tr>
</table>
</center>
</div>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -