?? reg.asp
字號:
<!--#include file="conn.asp" -->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<TITLE><%=page_name%> – <%=page_title%></TITLE>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<LINK
href="images/style.css" type=text/css rel=stylesheet>
<STYLE type=text/css>
BODY {
FONT-SIZE: 12px; MARGIN: 0px; FONT-FAMILY: "Verdana"; BACKGROUND-COLOR: #ffffff
}
INPUT {
BORDER-TOP-WIDTH: 1px; PADDING-RIGHT: 1px; PADDING-LEFT: 1px; BORDER-LEFT-WIDTH: 1px; FONT-SIZE: 9pt; BORDER-LEFT-COLOR: #cccccc; BORDER-BOTTOM-WIDTH: 1px; BORDER-BOTTOM-COLOR: #cccccc; PADDING-BOTTOM: 1px; BORDER-TOP-COLOR: #cccccc; PADDING-TOP: 1px; HEIGHT: 20px; BORDER-RIGHT-WIDTH: 1px; BORDER-RIGHT-COLOR: #cccccc
}
</STYLE>
<SCRIPT language=javascript src="images/js_checkform.js"
type=text/javascript></SCRIPT>
<SCRIPT language=javascript>
function changeform()
{
if (document.add_cust.Status[0].checked)
{
document.getElementById('Ext').style.display = 'block';
document.add_cust.Vocation[0].selected = true;
document.add_cust.Vocation[0].text = "請選擇";
document.add_cust.Vocation.disabled = false;
document.add_cust.Employee[0].selected = true;
document.add_cust.Employee[0].text = "請選擇";
document.add_cust.Employee.disabled = false;
document.add_cust.Trade[0].selected = true;
document.add_cust.Trade[0].text = "請選擇";
document.add_cust.Trade.disabled = false;
document.add_cust.Fund.value = "";
document.add_cust.Fund.disabled = false;
document.add_cust.Range.value = "";
document.add_cust.Range.disabled = false;
document.add_cust.Introduce.value = "";
document.add_cust.Introduce.disabled = false;
document.add_cust.Status.value = "企業(yè)";
}
else
{
document.getElementById('Ext').style.display = 'none';
document.add_cust.Vocation[0].selected = true;
document.add_cust.Vocation[0].text = "不用選";
document.add_cust.Vocation.disabled = true;
document.add_cust.Employee[0].selected = true;
document.add_cust.Employee[0].text = "不用選";
document.add_cust.Employee.disabled = true;
document.add_cust.Trade[0].selected = true;
document.add_cust.Trade[0].text = "不用選";
document.add_cust.Trade.disabled = true;
document.add_cust.Fund.value = "";
document.add_cust.Fund.disabled = true;
document.add_cust.Range.value = "不用填";
document.add_cust.Range.disabled = true;
document.add_cust.Introduce.value = "不用填";
document.add_cust.Introduce.disabled = true;
document.add_cust.Status.value = "個人";
}
}
function changeProvince()
{
document.add_cust.Province.value=document.add_cust.AProvince.value.substring(0,document.add_cust.AProvince.value.indexOf("|"));
document.add_cust.EProvince.value=document.add_cust.AProvince.value.substring(document.add_cust.AProvince.value.indexOf("|")+1,document.add_cust.AProvince.value.length);
}
function Check()
{
if (document.add_cust.UserName.value == "")
{
alert("公司名稱(中文)或者個人姓名不能為空,要填寫!");
document.add_cust.UserName.focus();
return false;
}
if (document.add_cust.EUserName.value == "")
{
alert("公司名稱(英文)或者個人姓名不能為空,要填寫!");
document.add_cust.EUserName.focus();
return false;
}
if (document.add_cust.UserPSW1.value.length < 5 || document.add_cust.UserPSW1.value.length > 16)
{
alert("密碼為5-16位 a-z,A-Z,0-9 的字母數(shù)字組合!");
document.add_cust.UserPSW1.focus();
return false;
}
if (document.add_cust.UserPSW2.value != document.add_cust.UserPSW1.value)
{
alert("請確認您兩次輸入的密碼是一樣的。");
document.add_cust.UserPSW2.focus();
return false;
}
if (document.add_cust.Email.value.indexOf("@") == -1 )
{
alert("請?zhí)顚懻_的電子郵件地址!");
document.add_cust.Email.focus();
return false;
}
if (document.add_cust.UserQuestion.value == "")
{
alert("密碼問題不能為空,請?zhí)顚懀?quot;);
document.add_cust.UserQuestion.focus();
return false;
}
if (document.add_cust.UserAnswer.value == "")
{
alert("密碼答案不能為空,請?zhí)顚懀?quot;);
document.add_cust.UserAnswer.focus();
return false;
}
if (document.add_cust.Country.value == "")
{
alert("國家中文名不能為空,請?zhí)顚懀?quot;);
document.add_cust.Country.focus();
return false;
}
if (document.add_cust.ECountry.value == "")
{
alert("國家英文名不能為空,請?zhí)顚懀?quot;);
document.add_cust.ECountry.focus();
return false;
}
if (document.add_cust.Province.value == "")
{
alert("省份中文名不能為空,請?zhí)顚懀?quot;);
document.add_cust.Province.focus();
return false;
}
if (document.add_cust.EProvince.value == "")
{
alert("省份英文名不能為空,請?zhí)顚懀?quot;);
document.add_cust.EProvince.focus();
return false;
}
if (document.add_cust.City.value == "")
{
alert("城市中文名不能為空,請?zhí)顚懀?quot;);
document.add_cust.City.focus();
return false;
}
if (document.add_cust.City.value == "")
{
alert("城市英文名不能為空,請?zhí)顚懀?quot;);
document.add_cust.ECity.focus();
return false;
}
if (document.add_cust.Addr.value == "")
{
alert("地址中文不能為空,請?zhí)顚懀?quot;);
document.add_cust.Addr.focus();
return false;
}
if (document.add_cust.EAddr.value == "")
{
alert("地址英文不能為空,請?zhí)顚懀?quot;);
document.add_cust.EAddr.focus();
return false;
}
if (document.add_cust.PostCode.value == "")
{
alert("郵政編碼不能為空,請?zhí)顚懀?quot;);
document.add_cust.PostCode.focus();
return false;
}
if (document.add_cust.Tel.value == "")
{
alert("電話號碼不能為空,請?zhí)顚懀?quot;);
document.add_cust.Tel.focus();
return false;
}
if (document.add_cust.Status.value =="企業(yè)") {
if (document.add_cust.Vocation.value == "0")
{
alert("請選擇所屬行業(yè)!");
document.add_cust.Vocation.focus();
return false;
}
if (document.add_cust.Employee.value == "0")
{
alert("請選擇公司的規(guī)模!");
document.add_cust.Employee.focus();
return false;
}
if (document.add_cust.Trade.value == "0")
{
alert("請選擇公司的類型!");
document.add_cust.Trade.focus();
return false;
}
if (document.add_cust.Fund.value == "")
{
alert("請?zhí)顚懝镜淖再Y金!");
document.add_cust.Fund.focus();
return false;
}
if (document.add_cust.Range.value == "")
{
alert("請?zhí)顚懝镜闹鳡I業(yè)務(wù)!");
document.add_cust.Range.focus();
return false;
}
if (document.add_cust.Introduce.value == "")
{
alert("請選擇公司的介紹!");
document.add_cust.Introduce.focus();
return false;
}
if (document.add_cust.Fund.value != "")
{
if (!CheckInteger(add_cust.Fund,"注冊資金")) return false;
}
}
return true;
}
</SCRIPT>
<META content="MSHTML 6.00.2800.1106" name=GENERATOR>
</HEAD>
<% userid=Trim(Request.QueryString("u")) %>
<BODY leftMargin=0 background="images/bg.jpg" topMargin=0 marginheight="0" marginwidth="0">
<DIV align=left>
<!--#include file="head.asp" -->
<TABLE height=1 cellSpacing=0 cellPadding=0 width=760 align=center border=0>
<TBODY>
<TR>
<TD width=760 height=1><DIV align=center><IMG height=117 src="images/userreg.gif" width=760
border=0></DIV></TD>
</TR>
</TBODY>
</TABLE>
<TABLE height=528 cellSpacing=0 cellPadding=0 width=760 align=center border=0>
<TBODY>
<TR>
<TD width="100%" bgColor=#999999 colSpan=3 height=1><IMG
src="images/blank_2.gif" border=0></TD>
</TR>
<TR>
<TD vAlign=top width=136 background=images/bg_l.gif height=545><TABLE height=122 cellSpacing=0 cellPadding=0 width="100%" border=0>
<TBODY>
<TR>
<TD vAlign=top width="100%" height=104><P align=center><IMG height=85 src="images/ureg.gif" width=134> </P></TD>
</TR>
<TR>
<TD width="100%" height=18></TD>
</TR>
</TBODY>
</TABLE></TD>
<TD vAlign=top width=592 bgColor=#ffffff height=545><TABLE height=73 cellSpacing=0 cellPadding=0 width="100%" border=0>
<TBODY>
<TR>
<TD width="100%" height=30><P style="MARGIN-LEFT: 20px">您的位置: <A
href="index.asp">首頁</A> > 用戶注冊 </P></TD>
</TR>
<TR>
<TD width="100%" height=31><br>
<% if Trim(Request.QueryString("w"))="1" then %>
<p align="center"><font color="#FF0000">對不起 !!您所注冊的用戶已經(jīng)存在...</font></p>
<% else
if Trim(Request.QueryString("w"))="2" then %>
<p align="center"><font color="#FF0000">對不起 !! 用戶名必須在 <strong>3-20</strong> 之間....</font></p>
<% end if
end if %>
<form name="form2" method="post" action="reg_2.asp">
<div align="center">請輸入你的賬號:
<input name="userid" type="text" id="userid" value="<%=userid%>">
<input type="submit" name="Submit2" value="下一步">
(3-20 位) </div>
</form></TD>
</TR>
</TBODY>
</TABLE>
<br>
<table width="82%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td><font color="#FF0000">注意</font>:這里的賬號是你在本站的唯一標志,賬號中不能包含有," ";空格;長度為 3-20位</td>
</tr>
</table></TD>
<TD width=32 background=images/bg_r.gif
height=545> </TD>
</TR>
</TBODY>
</TABLE>
</DIV>
<TABLE cellSpacing=0 cellPadding=0 width=760 align=center border=0>
<TBODY>
<TR>
<TD bgColor=#999999><IMG height=1 src="images/spacer.gif"
width=1></TD>
</TR>
</TBODY>
</TABLE>
<!--#include file="foot.asp" -->
<%conn.close
set conn= nothing
%>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -