?? register_2.asp
字號(hào):
<html>
<head>
<title>東莞農(nóng)產(chǎn)品信息網(wǎng)----------會(huì) 員 注 冊(cè)</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<style type="text/css">
<!--
td { font-family: "宋體", "serif"; font-size: 9pt}
a:link { font-size: 9pt; color: #003399; text-decoration: underline}
a:hover { font-size: 9pt; color: #FF9900; text-decoration: underline}
a:visited { font-size: 9pt; text-decoration: underline}
.unnamed1 { font-family: "宋體", "serif"; font-size: 10.5pt}
-->
</style>
</head>
<body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" vlink="#003399" alink="#CCCCCC">
<div align="right"> </div>
<table width="770" border="0" cellpadding="0" align="center" bgcolor="#900000" cellspacing="1">
<tr valign="top" bgcolor="#FFFCEC">
<td width="161" bgcolor="#FFFADB">
<div align="center"><font color="#00702F" > <br>
請(qǐng)認(rèn)真填寫你的會(huì)員資料<br>
(帶</font><font color=#ff0000>*</font><font color="#00702F" >號(hào)為必填字資料)
</font></div>
</td>
<td width="604" bgcolor="#ffffec">
<form action=Register_3.asp method=post name="frmRegister">
<table border=0 cellspacing=1 height=183 width="100%" cellpadding="0">
<tbody> <tr>
<td align=right height=25 width="21%">會(huì)員級(jí)別:</td>
<td height=25 width="79%">
<select name=txtClass size=1>
<option value="普通會(huì)員">普通會(huì)員</option>
<option value="vip會(huì)員">vip會(huì)員</option>
</select>
<font color=#ff0000>*</font></td>
</tr>
<tr>
<td align=right height=18 width="21%">會(huì)員賬號(hào):</td>
<td height=18 width="79%">
<input name=txtId maxLength=15 size=15>
<font color=#ff0000>*</font><font color="#009999">1-15 字符,只允許數(shù)字和英文字母,建議采用英文縮寫.</font></td>
</tr>
<tr>
<td align=right height=18 width="21%">密碼:</td>
<td height=18 width="79%">
<input type="password" name=txtPass maxLength=10 size=15>
<font color=#ff0000>*</font><font color="#009999"><span class=tips_reg style="FONT-SIZE: 9pt">1--10 字符,只允許數(shù)字和英文字母</span>.</font></td>
</tr>
<tr>
<td align=right height=18 width="21%">確認(rèn)密碼:</td>
<td height=18 width="79%">
<input type="Password" name=txtRepass maxLength=10 size=15>
<font color=#ff0000>*</font></td>
</tr>
<tr>
<td align=right height=18 width="21%">自設(shè)問題:</td>
<td height=18 width="79%">
<input name=txtQuestion maxLength=20 size=30 value="">
<font color=#ff0000>*</font><font color="#000000"><font color="#009999">在您忘記了密碼,需要找回密碼的時(shí)候,會(huì)問您這個(gè)問題。比如,這樣的問題“我的生日是幾月幾日?”</font></font></td>
</tr>
<tr>
<td align=right height=18 width="21%">自設(shè)答案:</td>
<td height=18 width="79%">
<input name=txtAnswer maxLength=20 size=30 value="">
<font color=#ff0000>*<span class=tips_reg style="FONT-SIZE: 9pt"><font color="#009999">您的自設(shè)問題的答案。比如,您的答案是“六月三號(hào)”</font><font color="#009999">.請(qǐng)牢記您的答案.</font></span></font></td>
</tr>
<tr>
<td align=right height=25 width="21%">主營(yíng)類別:</td>
<td height=25 width="79%">
<select name=txtCat size=1>
<option value="蛋品">蛋品</option>
<option value="調(diào)味品類">調(diào)味品類</option>
<option value="土特產(chǎn)類">土特產(chǎn)類</option>
<option value="糧油類">糧油類</option>
<option value="豆及豆制品類">豆及豆制品類</option>
<option value="茶葉類">茶葉類</option>
<option value="藥材海味類">藥材海味類</option>
<option value="蔬菜類">蔬菜類</option>
<option value="水果類">水果類</option>
<option value="凍品類">凍品類</option>
<option value="其他類">其他類</option>
<option value="副食類">副食類</option>
</select>
<font color=#ff0000>*</font></td>
</tr>
<tr>
<td align=right height=18 width="21%">公司名稱:</td>
<td height=18 width="79%">
<input name=txtCompany maxLength=50 size=30>
<font color=#ff0000>*</font></td>
</tr>
<tr>
<td align=right height=18 width="21%">公司網(wǎng)頁:</td>
<td height=18 width="79%">
<input name=txtUrl maxLength=50 size=30>
</td>
</tr>
<tr>
<td align=right height=18 width="21%">聯(lián)系人:</td>
<td height=18 width="79%">
<input name=txtContect maxLength=20 size=15>
<font color=#ff0000>*</font></td>
</tr>
<tr>
<td align=right height=18 width="21%">聯(lián)系電話:</td>
<td height=18 width="79%">
<input name=txtTel maxLength=50 size=30>
</td>
</tr>
<tr>
<td align=right height=18 width="21%">傳真號(hào)碼:</td>
<td height=18 width="79%">
<input name=txtFax maxLength=50 size=30>
</td>
</tr>
<tr>
<td align=right height=18 width="21%">電子郵箱:</td>
<td height=18 width="79%">
<input name=txtEmail maxLength=50 size=30 value="">
<font color=#ff0000>*</font></td>
</tr>
<tr>
<td align=right height=25 width="21%">省份:</td>
<td height=25 width="79%">
<select name=txtProv size=1>
<OPTION VALUE="廣東" selected> 廣東 </option>
<OPTION VALUE="安徽"> 安徽 </option>
<OPTION VALUE="北京"> 北京 </option>
<OPTION VALUE="福建"> 福建 </option>
<OPTION VALUE="甘肅"> 甘肅 </option>
<OPTION VALUE="廣西"> 廣西 </option>
<OPTION VALUE="貴州"> 貴州 </option>
<OPTION VALUE="海南"> 海南 </option>
<OPTION VALUE="河北"> 河北 </option>
<OPTION VALUE="河南"> 河南 </option>
<OPTION VALUE="黑龍江"> 黑龍江 </option>
<OPTION VALUE="湖北"> 湖北 </option>
<OPTION VALUE="湖南"> 湖南 </option>
<OPTION VALUE="吉林"> 吉林 </option>
<OPTION VALUE="江蘇"> 江蘇 </option>
<OPTION VALUE="江西"> 江西 </option>
<OPTION VALUE="遼寧"> 遼寧 </option>
<OPTION VALUE="內(nèi)蒙古"> 內(nèi)蒙古 </option>
<OPTION VALUE="寧夏"> 寧夏 </option>
<OPTION VALUE="青海"> 青海 </option>
<OPTION VALUE="山東"> 山東 </option>
<OPTION VALUE="山西"> 山西 </option>
<OPTION VALUE="陜西"> 陜西 </option>
<OPTION VALUE="上海"> 上海 </option>
<OPTION VALUE="四川"> 四川 </option>
<OPTION VALUE="天津"> 天津 </option>
<OPTION VALUE="新疆"> 新疆 </option>
<OPTION VALUE="西藏"> 西藏 </option>
<OPTION VALUE="云南"> 云南 </option>
<OPTION VALUE="浙江"> 浙江 </option>
<OPTION VALUE="重慶"> 重慶 </option>
</select>
<font color=#ff0000>*</font></td>
</tr>
<tr>
<td align=right height=18 width="21%">城市:</td>
<td height=18 width="79%">
<input name=txtCity maxLength=20 size=15 value="東莞">
<font color=#ff0000>*</font></td>
</tr>
<tr>
<td align=right height=18 width="21%">郵政編碼:</td>
<td height=18 width="79%">
<input name=txtPost maxLength=8 size=15 value="">
<font color=#ff0000>*</font></td>
</tr>
<tr>
<td align=right height=18 width="21%">詳細(xì)地址:</td>
<td height=18 width="79%">
<input name=txtAddress maxLength=50 size=50 value="">
<font color=#ff0000>*</font></td>
</tr>
<tr>
<td align=right height=18 width="21%">簡(jiǎn)短描述:</td>
<td height=18 width="79%">
<textarea cols=49 name=txtDesc rows=8></textarea><font color=#ff0000>*</font>
</td>
</tr>
<tr>
<td align=right height=18 width="21%"></td>
<td height=18 width="79%">
<input name="cmdOK" type="button" value=提交資料> <input name="cmdReset" type="reset" value=重置資料>
</td>
</tr>
</tbody>
</table>
</form>
</td>
</tr>
</table>
</body>
</html>
<SCRIPT language=VBScript>
'提交資料時(shí)檢測(cè)必填字段
sub cmdOK_OnClick
if frmRegister.txtId.value="" then
alert "提示: 請(qǐng)輸入會(huì)員代碼!"
frmRegister.txtId.focus
else
if frmRegister.txtPass.value="" then
alert "提示: 請(qǐng)輸入密碼!"
frmRegister.txtPass.focus
else
if frmRegister.txtRepass.value<>frmRegister.txtPass.value then
alert "提示: 兩次密碼不相符,請(qǐng)重新確認(rèn)密碼!"
frmRegister.txtRepass.focus
else
if frmRegister.txtQuestion.value="" then
alert "提示: 請(qǐng)?jiān)O(shè)置問題,以便以后提取密碼!"
frmRegister.txtQuestion.focus
else
if frmRegister.txtAnswer.value="" then
alert "提示: 請(qǐng)?jiān)O(shè)置答案,以便以后提取密碼!"
frmRegister.txtAnswer.focus
else
if frmRegister.txtCompany.value="" then
alert "提示: 請(qǐng)輸入公司名稱!"
frmRegister.txtCompany.focus
else
if frmRegister.txtContect.value="" then
alert "提示: 請(qǐng)輸入聯(lián)系人姓名!"
frmRegister.txtContect.focus
else
if frmRegister.txtEmail.value="" then
alert "提示: 請(qǐng)輸入你的聯(lián)系郵箱!"
frmRegister.txtEmail.focus
else
if instr(1,frmRegister.txtEmail.value,"@")<2 then
alert "提示; 你的聯(lián)系郵箱不對(duì)!"
frmRegister.txtEmail.focus
else
if trim(mid(frmRegister.txtEmail.value,instr(1,frmRegister.txtEmail.value,"@")+1,1))="" or trim(mid(frmRegister.txtEmail.value,instr(1,frmRegister.txtEmail.value,"@")+1,1))="." then
alert "提示: 你的聯(lián)系郵箱不對(duì)!"
frmRegister.txtEmail.focus
else
if frmRegister.txtCity.value="" then
alert "請(qǐng)輸入你所在城市"
frmRegister.txtCity.focus
else
if frmRegister.txtPost.value="" then
alert "提示: 輸入郵政編碼!"
frmRegister.txtPost.focus
else
if frmRegister.txtAddress.value="" then
alert "提示: 請(qǐng)輸入你的詳細(xì)地址!"
frmRegister.txtAddress.focus
else
if frmRegister.txtDesc.value="" then
alert "提示: 請(qǐng)簡(jiǎn)單介紹你公司情況!"
frmRegister.txtDesc.focus
else
if confirm("確定提交你的資料嗎?") then
call frmRegister.submit()
end if
end if
end if
end if
end if
end if
end if
end if
end if
end if
end if
end if
end if
end if
end if
end sub
</SCRIPT>
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -