📄 register_info2.asp
字号:
<!--#include file="../Common/Inc_DatConn.asp"-->
<!--#include file="../Common/Inc_Function.asp"-->
<%
'┌─ 风云ASP在线 ────────────────────────┐
'│ │
'│ 作者:赵振波. http://www.fyasp.com │
'│ │
'│ Q Q:176189168 │
'│ │
'│ Email:fy96@163.com │
'│ │
'│ 程序定做,系统开发,网站制作,提供高质量的网络产品、技术和服务!│
'│ │
'│【版权声明】 │
'│ │
'│ 本程序版权归坐看风云所有,未经授权擅自修改、复制或散布本程序│
'│ │
'│的部分或全部,将承受严厉的民事和刑事处罚,对已知的违反者将给予法 │
'│ │
'│律范围内的全面制裁。对非法使用此程序所造成的一切后果本人概不负责!│
'│ │
'└─────────────────── http://www.fyasp.com ──┘
strMember =changechr(request.Form("Member"))
set rdsMember = Server.CreateObject("ADODB.Recordset")
sqlMember = "Select * From Dat_Member Where Member = '"& strMember &"'"
rdsMember.Open sqlMember,Conn,1,3
if not rdsMember.EOF then
Response.Write"<SCRIPT language=JavaScript>alert('此会员帐号已被他人注册,请选用其它用户名注册!');"
Response.Write"window.location.href='Javascript:history.back()'</SCRIPT>"
else
%>
<html>
<head>
<meta http-equiv="Content-Language" content="zh-cn">
<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">
<SCRIPT language=JavaScript src="../common/inc_DateSelect.htm" type=text/JavaScript></SCRIPT>
<script language="javascript">
<!--
function IsDigit(){
return ((event.keyCode >= 48) && (event.keyCode <= 57));
}
// -->
</script><%
set rss=server.createobject("adodb.recordset")
sqls = "select * from hySmallClass order by sj desc"
rss.open sqls,conn,1,1
%>
<script language = "JavaScript">
var onecount;
subcat = new Array();
<%
count = 0
do while not rss.eof
%>
subcat[<%=count%>] = new Array("<%= trim(rss("id"))%>","<%=trim(rss("dl"))%>","<%= trim(rss("smallclassname"))%>");
<%
count = count + 1
rss.movenext
loop
rss.close
%>
onecount=<%=count%>;
function changelocation(locationid)
{
document.RegUser.SmallClassName.length = 1;
var locationid=locationid;
var i;
for (i=0;i < onecount; i++)
{
if (subcat[i][1] == locationid)
{
document.RegUser.SmallClassName.options[document.RegUser.SmallClassName.length] = new Option(subcat[i][2], subcat[i][0]);
}
}
}
</script>
</head>
<body leftMargin="0" topMargin="0" marginheight="0" marginwidth="0">
<!--#include file="../Top.asp"-->
<div align="center">
<table cellSpacing="0" cellPadding="0" width="760" border="0">
<tr vAlign="top">
<td width="170" bgcolor="#F3F5F5">
<!--#include file="left.asp"-->
</td>
<td>
<table cellSpacing="0" cellPadding="0" width="100%" border="0">
<tr vAlign="top">
<td>
<table cellSpacing="0" cellPadding="0" border="0">
<tr>
<td width="587" height="32" align="center">
<img border="0" src="../images/title.gif" width="586" height="34"></td>
</tr>
</table>
<table cellSpacing="1" cellPadding="0" width="586" bgColor="#a8d70c" border="0">
<tr>
<td bgColor="#ffffff">
<table cellSpacing="0" cellPadding="0" width="100%" bordercolordark="#FFFFFF" borderColorLight="#3986CE" border="0">
<tbody>
<tr>
<td vAlign="top" width="100%" align="center">
<script language="javascript">
//检查email的合法性
function checkemail(inputstr){
if(inputstr.indexOf('@') != -1 && inputstr.indexOf('.')!= -1)
return true;
else
return false;
}
//检验表单的合法性
function FeedBack() {
if (document.RegUser.CompanyName.value == "") {
alert("\请正确填写企业名称!");
document.RegUser.CompanyName.focus();
}
else if (document.RegUser.ContactMan.value == "") {
alert("\请正确填写企业联系人!");
document.RegUser.ContactMan.focus();
}
else if (document.RegUser.Password.value == "") {
alert("\密码不能为空!");
document.RegUser.Password.focus();
}
else if ((document.RegUser.Password.value).length<4) {
alert("\密码至少4位!");
document.RegUser.Password.focus();
}
else if (document.RegUser.PasswordTwo.value != document.RegUser.Password.value ) {
alert("\两次输入的密码不相同!");
document.RegUser.PasswordTwo.focus();
}
else if (document.RegUser.Email.value == "") {
alert("\E-Mail 不能为空!");
document.RegUser.Email.focus();
}
else if (document.RegUser.Email.value == "" || !checkemail(document.RegUser.Email.value)) {
alert("\E-Mail 填写错误!");
document.RegUser.Email.focus();
}
else if (document.RegUser.Add.value == "") {
alert("\请正确填写联系地址!");
document.RegUser.Add.focus();
}
else {
return true;
}
return false;
}
</script><table border="0" width="90%" cellspacing="1" cellpadding="0">
<form method="post" action="Register_save.asp" name="RegUser" OnSubmit="return FeedBack()" enctype="multipart/form-data">
<input type="hidden" name="Member" value="<%=Session("strMembers")%>">
<input type="hidden" name="sip" value="<% = GetIp()%>">
<input type="hidden" name="sMemberType" value="2">
<tr>
<td width="20%" height="25" bgcolor="#B5D7D6" align="right">帐
号:</td>
<td width="80%" height="25" bgcolor="#E7EFEF"> <font color="#FF0000"><% = Session("strMembers")%></font></td>
</tr>
<tr>
<td height="25" bgcolor="#B5D7D6" align="right">会员类型:</td>
<td height="25" bgcolor="#E7EFEF"> 企业会员</td>
</tr>
<tr>
<td height="25" bgcolor="#B5D7D6" align="right">密
码:</td>
<td height="25" bgcolor="#E7EFEF"> <input onmouseover="this.focus()" onfocus="this.select()" type="password" name="Password" class="face" maxlength="10"> <font color="#FF0000">**</font> [至少4位,最长10位]</td>
</tr>
<tr>
<td height="25" bgcolor="#B5D7D6" align="right">密码确认:</td>
<td height="25" bgcolor="#E7EFEF"> <input onmouseover="this.focus()" onfocus="this.select()" type="password" name="PasswordTwo" class="face" maxlength="10"> <font color="#FF0000">**</font></td>
</tr>
<tr>
<td height="25" bgcolor="#B5D7D6" align="right">单位名称:</td>
<td height="25" bgcolor="#E7EFEF"> <input onmouseover="this.focus()" onfocus="this.select()" type="text" name="CompanyName" class="face" maxlength="100" size="40"> <font color="#FF0000">**</font></td>
</tr>
<tr>
<td height="25" bgcolor="#B5D7D6" align="right">单位图片:</td>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -