📄 reg.asp
字号:
}
if ((document.form2.pageurl.value)==""){
window.alert ('主页网址必须填写!');
document.form2.pageurl.focus();
return false;
}
var check_length = document.form2.quickstyle.length;
var i_count=0
for(var i=0;i<check_length;i++){
if (document.form2.quickstyle(i).checked){
i_count=i_count+1;
}
}
if(i_count==0){
window.alert("请选择一种基本样式!");
return false;
}
if (((document.form2.quickstyle(0).checked)||(document.form2.quickstyle(1).checked)||(document.form2.quickstyle(2).checked))&&(form2.tjopen.options[form2.tjopen.selectedIndex].value)==""){
window.alert ('请选择是否公开统计!');
document.form2.tjopen.focus();
return false;
}
if ((document.form2.checkcode.value)==""){
window.alert ('请输入四位数的验证码!');
document.form2.checkcode.focus();
return false;
}
if (document.form2.agreeprotocol.checked==false){
window.alert("同意协议才能注册用户!");
return false;
}
return true;
}
function isValidEmail(s)
{
var reg1 = new RegExp('^[a-zA-Z0-9][a-zA-Z0-9@._-]{3,}[a-zA-Z]$');
var reg2 = new RegExp('[@.]{2}');
if (s.search(reg1) == -1
|| s.indexOf('@') == -1
|| s.lastIndexOf('.') < s.lastIndexOf('@')
|| s.lastIndexOf('@') != s.indexOf('@')
|| s.search(reg2) != -1)
return false;
return true;
}
</script>
</HEAD>
<BODY leftMargin=0 topMargin=0 marginheight="0" marginwidth="0" onload=ashow_0();>
<TABLE cellSpacing=0 cellPadding=0 width=760 align=center border=0>
<TBODY>
<TR>
<TD bgColor=#000000 colSpan=3><IMG height=1
src="QQCF_Pic/spacer.gif" width=1></TD></TR>
<TR>
<TD width=1 bgColor=#000000><IMG height=1
src="QQCF_Pic\spacer.gif"
width=1></TD>
<TD bgColor=#ce3300 height=10><IMG height=1
src="QQCF_Pic\spacer.gif"
width=1></TD>
<TD width=1 bgColor=#000000><IMG height=1
src="QQCF_Pic\spacer.gif"
width=1></TD></TR></TBODY></TABLE>
<TABLE cellSpacing=0 cellPadding=0 width=760 align=center bgColor=#ffffff
border=0>
<TBODY>
<TR>
<TD width=1 bgColor=#000000 height=12><IMG height=1
src="QQCF_Pic\spacer.gif"
width=1></TD>
<TD width=10 bgColor=#ce3000><IMG height=1
src="QQCF_Pic\spacer.gif"
width=1></TD>
<TD><IMG height=1
src="QQCF_Pic\spacer.gif"
width=1></TD>
<TD width=40><IMG height=12 src="QQCF_Pic/ok3-3_r2_c15.gif"
width=40></TD>
<TD width=200 bgColor=#ce3000><IMG height=1
src="QQCF_Pic\spacer.gif"
width=1></TD>
<TD width=1 bgColor=#000000><IMG height=1
src="QQCF_Pic\spacer.gif"
width=1></TD></TR></TBODY></TABLE>
<TABLE cellSpacing=0 cellPadding=0 width=760 align=center bgColor=#ffffff
border=0>
<TBODY>
<TR>
<TD width=1 bgColor=#000000><IMG height=1
src="QQCF_Pic\spacer.gif"
width=1></TD>
<TD width=10 bgColor=#ce3000><IMG height=1
src="QQCF_Pic\spacer.gif"
width=1></TD>
<TD width=14><IMG height=1
src="QQCF_Pic\spacer.gif"
width=1></TD>
<TD><a href="http://www.qqcf.com" target="_blank"><IMG src="<%=RsSet("LogoUrl")%>" width="480" height="60" border="0"></a></TD>
<TD width=10 bgColor=#ce3000><IMG height=1
src="QQCF_Pic\spacer.gif"
width=1></TD>
<TD width=1 bgColor=#000000><IMG height=1
src="QQCF_Pic\spacer.gif"
width=1></TD>
</TR>
</TBODY>
</TABLE>
<TABLE height=6 cellSpacing=0 cellPadding=0 width=760 align=center
bgColor=#ffffff border=0>
<TBODY>
<TR>
<TD width=1 bgColor=#000000><IMG height=1
src="QQCF_Pic\spacer.gif"
width=1></TD>
<TD width=10 bgColor=#ce3000><IMG height=1
src="QQCF_Pic\spacer.gif"
width=1></TD>
<TD><IMG height=1
src="QQCF_Pic\spacer.gif"
width=1></TD>
<TD width=10 bgColor=#ce3000><IMG height=1
src="QQCF_Pic\spacer.gif"
width=1></TD>
<TD width=1 bgColor=#000000><IMG height=1
src="QQCF_Pic\spacer.gif"
width=1></TD></TR></TBODY></TABLE>
<TABLE height=28 cellSpacing=0 cellPadding=0 width=760 align=center border=0>
<TBODY>
<TR>
<TD width=1 bgColor=#000000 height=12><IMG height=1
src="QQCF_Pic\spacer.gif"
width=1></TD>
<TD width=10 bgColor=#ce3000><IMG height=1
src="QQCF_Pic\spacer.gif"
width=1></TD>
<TD background=QQCF_Pic/ok3-1_r7_c2.jpg> </TD>
<TD width=10 bgColor=#ce3000><IMG height=1
src="QQCF_Pic\spacer.gif"
width=1></TD>
<TD width=1 bgColor=#000000><IMG height=1
src="QQCF_Pic\spacer.gif"
width=1></TD></TR></TBODY></TABLE>
<TABLE height=12 cellSpacing=0 cellPadding=0 width=760 align=center
bgColor=#ffffff border=0>
<TBODY>
<TR>
<TD width=1 bgColor=#000000><IMG height=1
src="QQCF_Pic\spacer.gif"
width=1></TD>
<TD width=10 bgColor=#ce3000><IMG height=1
src="QQCF_Pic\spacer.gif"
width=1></TD>
<TD><IMG height=1
src="QQCF_Pic\spacer.gif"
width=1>
<%If Request("Action")="" Then%>
<%If RsSet("RegeditState")=-1 Then%>
<SCRIPT>
function ashow_0(){
a_1.style.display = "none";
a_2.style.display = "none";
a_3.style.display = "none";
a_4.style.display = "none";
a_5.style.display = "none";
a_6.style.display = "none";
b_1.style.display = "none";
}
function ashow_1(){
a_1.style.display = "";
a_2.style.display = "none";
a_3.style.display = "none";
a_4.style.display = "none";
a_5.style.display = "none";
a_6.style.display = "none";
b_1.style.display = "";
}
function ashow_2(){
a_1.style.display = "none";
a_2.style.display = "";
a_3.style.display = "none";
a_4.style.display = "none";
a_5.style.display = "none";
a_6.style.display = "none";
b_1.style.display = "";
}
function ashow_3(){
a_1.style.display = "none";
a_2.style.display = "none";
a_3.style.display = "";
a_4.style.display = "none";
a_5.style.display = "none";
a_6.style.display = "none";
b_1.style.display = "";
}
function ashow_4(){
a_1.style.display = "none";
a_2.style.display = "none";
a_3.style.display = "none";
a_4.style.display = "";
a_5.style.display = "none";
a_6.style.display = "none";
b_1.style.display = "none";
}
function ashow_5(){
a_1.style.display = "none";
a_2.style.display = "none";
a_3.style.display = "none";
a_4.style.display = "none";
a_5.style.display = "";
a_6.style.display = "none";
b_1.style.display = "none";
}
function ashow_6(){
a_1.style.display = "none";
a_2.style.display = "none";
a_3.style.display = "none";
a_4.style.display = "none";
a_5.style.display = "none";
a_6.style.display = "";
b_1.style.display = "none";
}
</script>
<table width="720" border="0" align="center" cellpadding="3" cellspacing="1" bordercolor="D6DFF5" bgcolor="D6DFF5">
<form method="POST" action="?Action=regsave" name="form2" onsubmit="return regedit()">
<tr>
<td height="20" colspan="2" ><div align="center"><strong>请 填 写 申
请 的 帐 号 资 料(带*为必填项)</strong></div></td>
</tr>
<tr align="center" bgcolor="#FFFFFF">
<td width="150" align="left" bordercolor="#33CCCC"><div align="right">用户名:</div></td>
<td width="654" align="left" ><input type="text" name="user_name" size="15" >
<a href="javascript:checkssn('<%=HttpPath(3)%>');">[测试用户名是否可用]</a>
<font size="2"> <font color="#0000FF">*</font></font><font color="#0000FF">(只能为小写英文字母,数字和下线线)</font></td>
</tr>
<tr align="center" bgcolor="#FFFFFF">
<td height="24" align="left" bordercolor="#33CCCC"><div align="right">密 码:</div></td>
<td align="left" ><font size="2">
<input name="password" type="password" id="password" size="15">
<font color="#0000FF">*</font></font></td>
</tr>
<tr align="center" bgcolor="#FFFFFF">
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -