?? register_info.asp
字號:
<!--#include file="../Common/Inc_DatConn.asp"-->
<!--#include file="../Common/Inc_Function.asp"-->
<!--#include file="../Common/Inc_Config.asp"-->
<%
'┌─ 風(fēng)云ASP在線 ────────────────────────┐
'│ │
'│ 作者:趙振波. http://www.fyasp.com │
'│ │
'│ Q Q:176189168 │
'│ │
'│ Email:fy96@163.com │
'│ │
'│ 程序定做,系統(tǒng)開發(fā),網(wǎng)站制作,提供高質(zhì)量的網(wǎng)絡(luò)產(chǎn)品、技術(shù)和服務(wù)!│
'│ │
'│【版權(quán)聲明】 │
'│ │
'│ 本程序版權(quán)歸坐看風(fēng)云所有,未經(jīng)授權(quán)擅自修改、復(fù)制或散布本程序│
'│ │
'│的部分或全部,將承受嚴(yán)厲的民事和刑事處罰,對已知的違反者將給予法 │
'│ │
'│律范圍內(nèi)的全面制裁。對非法使用此程序所造成的一切后果本人概不負(fù)責(zé)!│
'│ │
'└─────────────────── 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="分類,供求信息,北方供求,整站出售,免費源碼,交友, 征友, 風(fēng)云在線, 約會, 聊天, 征婚, 婚介, 愛情, 友情, 友誼, 朋友, 伙伴, 情人, 伴侶, 同性, 異性, 女人, 男士, 女士, 男孩, 女孩, 帥哥, 美女, 單身, 獨身, 性感, 浪漫, 激情, 手機(jī)交友, 手機(jī), 短信, 彩信, 鈴聲, 圖片, 照片, 靚照, 貼圖, 語音, 視頻, 搜索, 文章, 商城" name="keywords">
<link href="../Common/Style.css" type="text/css" rel="stylesheet">
</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("\請正確填寫企業(yè)名稱!");
document.RegUser.CompanyName.focus();
}
else if (document.RegUser.ContactMan.value == "") {
alert("\請正確填寫企業(yè)聯(lián)系人!");
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("\請正確填寫聯(lián)系地址!");
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="1">
<input type="hidden" name="mb" value="1">
<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">網(wǎng)店名稱:</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">網(wǎng)店圖片:</td>
<td height="25" bgcolor="#E7EFEF"> <input name="pic" type="file" class="face"> 無圖請留空,文件不大于<font color="#FF0000"><%=reguppic/1024%></font>K</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="RealName" class="face" maxlength="30"> <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="password" name="Password" class="face" maxlength="10"> <font color="#FF0000">**</font> [至少4位,最長10位]</td>
</tr>
<tr>
<td height="25" bgcolor="#B5D7D6" align="right">密碼確認(rèn):</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">騰訊QQ:</td>
<td height="25" bgcolor="#E7EFEF"> <input onmouseover="this.focus()" onfocus="this.select()" type="text" name="qq" class="face"></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="Tel" class="face" maxlength="13"></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="Fax" class="face" maxlength="13"></td>
</tr>
<tr>
<td height="25" bgcolor="#B5D7D6" align="right">網(wǎng)
址:</td>
<td height="25" bgcolor="#E7EFEF"> <input onmouseover="this.focus()" onfocus="this.select()" type="text" name="Homepage" class="face" maxlength="50"></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="Email" class="face" maxlength="30"> <font color="#FF0000">**</font> [請認(rèn)真填寫,找回密碼將用到]</td>
</tr>
<tr>
<td height="25" bgcolor="#B5D7D6" align="right">聯(lián)系地址:</td>
<td height="25" bgcolor="#E7EFEF"> <input onmouseover="this.focus()" onfocus="this.select()" type="text" name="Add" size="40" class="face" maxlength="50"> <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="Postalcode" class="face" maxlength="6" onKeyUp="this.value=this.value.replace(/\D/gi,'')"></td>
</tr>
<tr>
<td height="30" bgcolor="#B5D7D6" align="right" valign="top">公 告
板:</td>
<td height="30" bgcolor="#E7EFEF"> <textarea onmouseover="this.focus()" onfocus="this.select()" class="face" rows="7" name="gg" cols="64"></textarea></td>
</tr>
<tr>
<td height="30" bgcolor="#B5D7D6" align="right" valign="top"><br>
簡介:</td>
<td height="30" bgcolor="#E7EFEF"> <textarea onmouseover="this.focus()" onfocus="this.select()" class="face" rows="10" name="js" cols="64"></textarea></td>
</tr>
<tr>
<td height="30" bgcolor="#B5D7D6" align="right"></td>
<td height="30" bgcolor="#E7EFEF"> <input type="submit" name="Submit" value="完成注冊" class="button"> <input type="reset" name="Reset" value="重新填寫" class="button"></td>
</tr>
</form>
</table>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</table>
<table height="6" cellSpacing="0" cellPadding="0" width="132" border="0">
<tr>
<td></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table></div>
<!--開始-->
<div align="center">
<table border="0" style="border-collapse: collapse" width="760">
<tr>
<td background="../hy/img/2005_soft_mainbg.gif" height="7"></td>
</tr> </table>
</div>
<!--結(jié)束--><%end if%>
<!--#include file="../end.asp"-->
</body>
</html>
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -