📄 userreg.asp
字号:
<%
else
%>
</div></td>
</tr>
<tr>
<td><div align="center"><font class=en><b>新用户注册</b></font></div></td>
</tr>
<tr>
<td>
<div align="center">
<table width=516 border=0 cellpadding=2 cellspacing=4 bordercolor="#FFFFFF" class="border" style="border-collapse: collapse">
<FORM name='UserReg' action='UserRegPost.asp' method='post'>
<TR class="tdbg" >
<TD width="43%"><b>用户名:</b><BR>
不能超过14个字符(7个汉字)</TD>
<TD width="57%"> <INPUT maxLength=14 size=30 name=UserName>
<font color="#FF0000">*</font> <input name="Check" type="button" id="Check" value="检查用户名" onClick="checkreg();"></TD>
</TR>
<TR class="tdbg" >
<TD width="43%"><B>密码(至少6位):</B><BR>
请输入密码,区分大小写。 请不要使用任何类似 '*'、' ' 或 HTML 字符 </TD>
<TD width="57%"> <INPUT type=password maxLength=12 size=30 name=Password>
<font color="#FF0000">*</font> </TD>
</TR>
<TR class="tdbg" >
<TD width="43%"><strong>确认密码(至少6位):</strong><BR>
请再输一遍确认</TD>
<TD width="57%"> <INPUT type=password maxLength=12 size=30 name=PwdConfirm>
<font color="#FF0000">*</font> </TD>
</TR>
<TR class="tdbg" >
<TD width="43%"><strong>密码问题:</strong><BR>
忘记密码的提示问题</TD>
<TD width="57%"> <input type=text maxlength=50 size=30 name="Question">
<font color="#FF0000">*</font> </TD>
</TR>
<TR class="tdbg" >
<TD width="43%"><strong>问题答案:</strong><BR>
忘记密码的提示问题答案,用于取回密码</TD>
<TD width="57%"> <INPUT type=text maxLength=20 size=30 name="Answer">
<font color="#FF0000">*</font> </TD>
</TR>
<TR class="tdbg" >
<TD width="43%"><strong>性别:</strong><BR>
请选择您的性别</TD>
<TD width="57%"> <INPUT type=radio CHECKED value="1" name=sex>
男 <INPUT type=radio value="0" name=sex>
女</TD>
</TR>
<TR class="tdbg" >
<TD width="43%"><strong>Email地址:</strong><BR>
请输入有效的邮件地址,这将使您能用到网站中的所有功能</TD>
<TD width="57%"> <INPUT maxLength=50 size=30 name=Email>
<font color="#FF0000">*</font></TD>
</TR>
<TR class="tdbg" >
<TD width="43%"><strong>主页:</strong><BR>
您的网站地址</TD>
<TD width="57%"> <INPUT maxLength=100 size=30 name=homepage value="http://"></TD>
</TR>
<TR class="tdbg" >
<TD width="43%"><strong>QQ号码:</strong><br>
请输入你的QQ号码,以便站长和你联系</TD>
<TD width="57%"> <INPUT maxLength=20 size=30 name=QQ></TD>
</TR>
<TR class="tdbg" >
<TD width="43%"><strong>MSN:</strong><br>
请输入你的MSN帐号,以便站长和你联系</TD>
<TD width="57%"> <INPUT maxLength=50 size=30 name=msn></TD>
</TR>
<TR align="center" class="tdbg" >
<TD height="30" colspan="2"> <input type=submit value=" 注 册 " name=Submit2>
<input name=Reset type=reset id="Reset" value=" 清 除 ">
</TD>
</TR>
</form>
<form name='reg' action='checkreg.asp' method='post' target='CheckReg'>
<input type='hidden' name='username' value=''>
</form>
</TABLE>
</div></td>
</tr>
<tr>
<td Class="tdbg_left2"><div align="center">
<script language=javascript>
function checkreg()
{
if (document.UserReg.UserName.value=="")
{
alert("请输入用户名!");
document.UserReg.UserName.focus();
return false;
}
else
{
document.reg.username.value=document.UserReg.UserName.value;
var popupWin = window.open('CheckReg.asp', 'CheckReg', 'scrollbars=no,width=340,height=200');
document.reg.submit();
}
}
</script>
<%end if%>
</div></td>
</tr>
<tr>
<td height="18"> </td>
</tr>
</table>
</div></td>
<td width="22" height="654" BACKGROUND="bg.gif"></td>
</tr>
<tr VALIGN="MIDDLE"><td height="35" colspan="4"><DIV ALIGN="CENTER">
<TABLE WIDTH="100%" BORDER="0" CELLSPACING="0" CELLPADDING="0">
<TR>
<TD HEIGHT="35" BACKGROUND="footbg.gif"> </TD>
</TR>
</TABLE>
</DIV></td></tr><tr VALIGN="TOP"><td height="4" colspan="4" BORDERCOLOR="1"><TABLE WIDTH="100%" BORDER="0" CELLSPACING="0" CELLPADDING="0" HEIGHT="76"><TR><TD WIDTH="54%" VALIGN="TOP" HEIGHT="2"><iframe frameborder=0 name=tong scrolling=no src="http://www.3niao.com/home/online/index.asp"
width=15 HEIGHT=15>层</iframe></TD><TD WIDTH="46%" ROWSPAN="2"><DIV ALIGN="RIGHT"><IMG SRC="images/foot.gif" WIDTH="280" HEIGHT="80"></DIV></TD></TR><TR><TD WIDTH="54%" VALIGN="TOP" BACKGROUND="footgb1.gif" HEIGHT="53"> </TD></TR></TABLE></td></tr>
</table></center></div>
</body>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -