📄 register_member.asp
字号:
<!--#include file="../Common/Inc_DatConn.asp"-->
<!--#include file="../Common/Inc_Function.asp"-->
<!--#include file="../Common/Inc_Config.asp"-->
<%
'┌─ 风云ASP在线 ────────────────────────┐
'│ │
'│ 作者:赵振波. http://www.fyasp.com │
'│ │
'│ Q Q:176189168 │
'│ │
'│ Email:fy96@163.com │
'│ │
'│ 程序定做,系统开发,网站制作,提供高质量的网络产品、技术和服务!│
'│ │
'│【版权声明】 │
'│ │
'│ 本程序版权归坐看风云所有,未经授权擅自修改、复制或散布本程序│
'│ │
'│的部分或全部,将承受严厉的民事和刑事处罚,对已知的违反者将给予法 │
'│ │
'│律范围内的全面制裁。对非法使用此程序所造成的一切后果本人概不负责!│
'│ │
'└─────────────────── http://www.fyasp.com ──┘
%>
<html>
<head>
<title><% = strSiteName%></title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta content="交友, 征友, 速配, 约会, 聊天, 征婚, 婚介, 爱情, 友情, 友谊, 朋友, 伙伴, 情人, 伴侣, 同性, 异性, 女人, 男士, 女士, 男孩, 女孩, 帅哥, 美女, 单身, 独身, 性感, 浪漫, 激情, 手机交友, 手机, 短信, 彩信, 铃声, 图片, 照片, 靓照, 贴图, 语音, 视频, 搜索, 文章, 商城" name="KEYWORDS">
<link href="../Common/Style.css" type="text/css" rel="stylesheet">
</head>
<body bgColor="#ffffff" leftMargin="0" topMargin="0" marginheight="0" marginwidth="0">
<!--#include file="Top.asp"-->
<table align="center" border="0" width="760" cellspacing="0" cellpadding="0">
<tr>
<td width="100%" align="center"><img height="14" src="<% = strImageUrl%>pic_top_01.gif" width="760" border="0"></td>
</tr>
</table>
<div align="center">
<center>
<table cellSpacing="0" cellPadding="0" width="760" border="0">
<tbody>
<tr>
<td vAlign="top" width="1" background="<% = strImageUrl%>space_01.gif"><img height="1" src="<% = strImageUrl%>space_01.gif" width="1" border="0"></td>
<td vAlign="top" width="10"><img height="1" src="<% = strImageUrl%>space.gif" width="10" border="0"></td>
<td vAlign="top" width="580" align="center">
<table height="103" cellSpacing="0" cellPadding="0" width="580" border="0">
<tbody>
<tr>
<td vAlign="top" height="3"></td>
<tr>
<td vAlign="top" height="100"><img src="<% = strImageUrl%>ad_01.gif" width="580" height="100" alt="一号广告位"></td>
</tr>
</tbody>
</table>
<table height="73" cellSpacing="0" cellPadding="0" width="580" border="0">
<tbody>
<tr>
<td vAlign="center" background="<% = strImageUrl%>bg_quick_search_01.gif" height="63" align="center"><!--#include file="../Common/Inc_Search.asp"--></td>
</tr>
<tr>
<td vAlign="top" height="10"></td>
</tr>
</tbody>
</table>
<table border="0" width="100%" cellspacing="0" cellpadding="0" height="25">
<tr>
<td width="100%" height="30"> 您的位置:<a href="<% = strSysUrl%>index.asp" class="links">首 页</a> ->> <a href="index.asp" class="links">会员注册</a> ->> 第二步</td>
</tr>
</table>
<table border="0" width="100%" cellspacing="0" cellpadding="0" background="<% = strImageUrl%>002.gif" height="25">
<tr>
<td width="100%" align="center"><font color="#FFFFFF"><b>会 员 帐 号 设 定</b></font></td>
</tr>
</table>
<%
if UCase(Request.Form("Oper")) = "REGMEMBER" then
Dim strMember
Dim rdsMember
Dim sqlMember
Dim strMembers
Dim intMemberType
strMember = Request.Form("Member")
intMemberType = Request.Form("MemberType")
set rdsMember = Server.CreateObject("ADODB.Recordset")
sqlMember = "Select * From Dat_Member Where Member = '"& strMember &"'"
rdsMember.Open sqlMember,Conn
if not rdsMember.EOF then
Response.Write"<SCRIPT language=JavaScript>alert('此会员帐号已被他人注册,请重新注册!');"
Response.Write"window.location.href='Javascript:history.back()'</SCRIPT>"
else
Session("strMembers") = strMember
Session("intMemberType") = intMemberType
if intMemberType = 1 then
Response.Redirect "Register_Info.asp"
else
Response.Redirect "Register_Info2.asp"
end if
end if
rdsMember.Close
set rdsMember = nothing
else
%>
<table borderColor="#111111" cellSpacing="0" cellPadding="0" width="100%" bordercolordark="#FFFFFF" borderColorLight="#3986CE" border="1">
<tr>
<td vAlign="top" width="100%">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td valign="top" width="100%" align="center">
<br>
<script language="javascript">
//检验表单的合法性
function CheckIfEnglish(String)
{
var Letters = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890_";
var i;
var c;
for( i = 0; i < String.length; i ++ )
{
c = String.charAt( i );
if (Letters.indexOf( c ) < 0)
return false;
}
return true;
}
function RegMemberForm() {
if (document.RegMember.Member.value == "") {
alert("\请设定一个会员帐号,以便登陆本站!");
document.RegMember.Member.focus();
}
else if (!CheckIfEnglish(document.RegMember.Member.value)) {
alert("\输入的会员帐号不符合规范!");
document.RegMember.Member.focus();
}
else if ((document.RegMember.Member.value).length<4) {
alert("\会员帐号至少4位!");
document.RegMember.Member.focus();
}
else {
return true;
}
return false;
}
</script>
<table border="0" width="90%" cellspacing="1" cellpadding="0">
<form method="post" action="Register_Member.asp" name="RegMember" OnSubmit="return RegMemberForm()">
<input type="hidden" name="Oper" value="RegMember">
<tr>
<td width="14%" height="25" bgcolor="#B5D7D6" align="right">帐 号:</td>
<td width="86%" height="25" bgcolor="#E7EFEF"> <input type="text" name="Member" size="15" maxlength="15" class="face"> [帐号4--15位,可由字母、数字、下划线组成。例:Hi_59163</td>
</tr>
<tr>
<td width="14%" height="25" bgcolor="#B5D7D6" align="right">会员类型:</td>
<td width="86%" height="25" bgcolor="#E7EFEF"> <input type="radio" name="MemberType" value="1" checked> 个人会员 <input type="radio" name="MemberType" value="2"> 企业会员</td>
</tr>
<tr>
<td height="30" bgcolor="#B5D7D6" align="right"></td>
<td height="30" bgcolor="#E7EFEF"> <input type="submit" name="Submit" value="下一步" class="button"></td>
</tr>
</form>
</table>
<br>
</td>
</tr>
</table>
</td>
</tr>
</table>
<%end if%>
</td>
<td vAlign="top" width="10"><img height="1" src="<% = strImageUrl%>space.gif" width="10" border="0"></td>
<td vAlign="top" width="1" background="<% = strImageUrl%>space_01.gif"><img height="1" src="<% = strImageUrl%>space_01.gif" width="1" border="0"></td>
<td class="bg01" vAlign="top" width="157">
<div align="center">
<center>
<table borderColor="#111111" height="176" cellSpacing="0" cellPadding="0" width="157" border="0">
<tbody>
<tr>
<td vAlign="top" height="35"><img height="35" src="<% = strImageUrl%>pic_520_passport_01.gif" width="157" border="0"></td>
</tr>
<tr>
<td vAlign="top" background="<% = strImageUrl%>pic_520_passport_02.gif" bgColor="#ffffff" height="120" align="center"><!--#include file="../Common/Inc_Login.asp"--></td>
</tr>
<tr>
<td vAlign="top" height="21"><img height="21" src="<% = strImageUrl%>pic_520_passport_03.gif" width="157" border="0"></td></tr></tbody></table></center></div>
<div align="center">
<center>
<table borderColor="#111111" cellSpacing="0" cellPadding="0" width="157" border="0">
<tbody>
<tr>
<td vAlign="center" background="<% = strImageUrl%>space_01.gif" height="25" width="155"> <img src="<% = strImageUrl%>arrow_02.gif" border="0"> <b><font color="#FFFFFF">信息分类</font></b></td></tr>
<tr>
<td height="8" width="155"></td></tr>
<tr>
<td width="155" align="center" valign="top"><!--#INCLUDE FILE="../Common/Inc_Catalog.asp"--></td>
</tr>
<tr>
<td height="8" width="155" colspan="2"></td></tr></tbody></table></center></div>
<div align="center">
<center>
<table borderColor="#111111" cellSpacing="0" cellPadding="0" width="157" border="0">
<tbody>
<tr>
<td vAlign="center" background="<% = strImageUrl%>space_01.gif" height="25"> <img src="<% = strImageUrl%>arrow_02.gif" border="0"> <b><font color="#FFFFFF">合作伙伴</font></b></td></tr>
<tr>
<td height="8"></td>
</tr>
<tr>
<td width="155" align="center" valign="top"><!--#INCLUDE FILE="../Common/Inc_Cooperate.asp"--></td>
</tr>
<tr>
<td height="8"></td>
</tr>
</tbody>
</table>
</center>
</div>
<div align="center">
<center>
<table borderColor="#111111" cellSpacing="0" cellPadding="0" width="157" border="0">
<tbody>
<tr>
<td vAlign="center" background="<% = strImageUrl%>space_01.gif" height="25"> <img src="<% = strImageUrl%>arrow_02.gif" border="0"> <b><font color="#FFFFFF">友情链接</font></b></td></tr>
<tr>
<td height="8"></td>
</tr>
<tr>
<td width="155" align="center" valign="top"><!--#INCLUDE FILE="../Common/Inc_Link.asp"--></td>
</tr>
<tr>
<td height="8"></td>
</tr>
</tbody>
</table>
</center>
</div>
</td>
<td vAlign="top" width="1" background="<% = strImageUrl%>space_01.gif"><img height="1" src="<% = strImageUrl%>space_01.gif" width="1" border="0"></td></tr>
<tr>
<td vAlign="top" width="760" colSpan="7" height="14"><img height="14" src="<% = strImageUrl%>pic_bottom_01.gif" width="760" border="0"></td></tr></tbody></table></div>
<!--#include file="../End.asp"-->
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -