?? register1.asp
字號:
<!--#include file="info.asp"-->
<html>
<head>
<meta http-equiv="Content-Language" content="zh-cn">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel="stylesheet" href="css.css" type="text/css">
<title><%=webname%> - 用戶注冊</title>
</head>
<body>
<!--#include file="top.asp"-->
<div align="center">
<table border="0" width="760" cellspacing="0" cellpadding="0" id="table1" height="421">
<tr>
<td style="border-left: 1px solid #0086DF; border-right: 1px solid #0086DF" width="760" valign="top" bgcolor="#FEFBF4">
<div align="center">
<table border="0" width="705" cellspacing="0" cellpadding="0" id="table2" height="377">
<tr>
<td height="86" width="214">
<img border="0" src="images/regtop.gif"></td>
<td height="86" width="237"> </td>
<td height="86" width="128">
<img border="0" src="images/regtop1.gif"></td>
<td height="86" width="58"> </td>
</tr>
<tr>
<td width="705" colspan="4" valign="top">
<script language=javascript>
function test()
{
if (document.form1.name.value==""){
alert("請輸入用戶名!")
document.form1.name.focus();
return false
}
if (document.form1.pwd.value==""){
alert("請輸入密碼!");
document.form1.pwd.focus();
return false
}
if (document.form1.pwd.value!=document.form1.pwd1.value){
alert("兩次密碼輸入不一致!");
document.form1.pwd.focus();
return false
}
if (document.form1.question.value==""){
alert("請輸入密碼問題!")
document.form1.question.focus();
return false
}
if (document.form1.answer.value==""){
alert("請輸入密碼答案!")
document.form1.answer.focus();
return false
}
if (document.form1.email.value==""){
alert("請輸入郵件!")
document.form1.email.focus();
return false
}
if (document.form1.user.value=="0"){
alert("請選擇會(huì)員類別!");
document.form1.user.focus();
return false
}
if (document.form1.code.value==""){
alert("請輸入驗(yàn)證碼!")
document.form1.code.focus();
return false
}
return true
}
function reset_form()
{
document.form1.name.value="";
document.form1.pwd.value="";
document.form1.userr.value="";
document.form1.name.focus;
}
</script>
<form name="form1" method="POST" action="regdata.asp" onsubmit="return test()">
<div align="center">
<table border="0" width="599" cellspacing="0" cellpadding="0" id="table3" height="206">
<tr>
<td width="292" height="30" colspan="3">
<b>√填寫基本信息:</b></td>
<td width="307" height="30"> </td>
</tr>
<tr>
<td width="70" height="30">用 戶 名:</td>
<td width="222" height="30" colspan="2">
<input type="text" name="name" size="25" style="border-style: solid; border-width: 1px; padding-left: 4px; padding-right: 4px; padding-top: 1px; padding-bottom: 1px"></td>
<td width="307" height="30">
6-20個(gè)字符,只能輸入(a-z),(A-Z),(0-9)</td>
</tr>
<tr>
<td width="70" height="30">密
碼:</td>
<td width="222" height="30" colspan="2">
<input type="password" name="pwd" size="25" style="border-style: solid; border-width: 1px; padding-left: 4px; padding-right: 4px; padding-top: 1px; padding-bottom: 1px"></td>
<td width="307" height="30"> </td>
</tr>
<tr>
<td width="70" height="30">密碼確認(rèn):</td>
<td width="222" height="30" colspan="2">
<input type="password" name="pwd1" size="25" style="border-style: solid; border-width: 1px; padding-left: 4px; padding-right: 4px; padding-top: 1px; padding-bottom: 1px"></td>
<td width="307" height="30"> </td>
</tr>
<tr>
<td width="70" height="30">密碼問題:</td>
<td width="222" height="30" colspan="2">
<input type="text" name="question" size="25" style="border-style: solid; border-width: 1px; padding-left: 4px; padding-right: 4px; padding-top: 1px; padding-bottom: 1px"></td>
<td width="307" height="30">忘記密碼的提示問題</td>
</tr>
<tr>
<td width="70" height="30">密碼答案:</td>
<td width="222" height="30" colspan="2">
<input type="text" name="answer" size="25" style="border-style: solid; border-width: 1px; padding-left: 4px; padding-right: 4px; padding-top: 1px; padding-bottom: 1px"></td>
<td width="307" height="30">
忘記密碼的提示問題答案,用于取回論壇密碼</td>
</tr>
<tr>
<td width="70" height="30">電子郵件:</td>
<td width="222" height="30" colspan="2">
<input type="text" name="email" size="25" style="border-style: solid; border-width: 1px; padding-left: 4px; padding-right: 4px; padding-top: 1px; padding-bottom: 1px"></td>
<td width="307" height="30"> </td>
</tr>
<tr>
<td width="70" height="30">用戶類別:</td>
<td width="222" height="30" colspan="2">
<select size="1" name="user">
<option selected value="0">--請選擇會(huì)員類別--
</option>
<option value="1">個(gè)人用戶</option>
<option value="2">企業(yè)用戶</option>
</select></td>
<td width="307" height="30"> </td>
</tr>
<tr>
<td width="70" height="30">驗(yàn) 證 嗎:</td>
<td width="51" height="30">
<input type="text" name="code" size="4" style="border-style: solid; border-width: 1px; padding-left: 4px; padding-right: 4px; padding-top: 1px; padding-bottom: 1px"></td>
<td width="171" height="30"><%call getcode()%></td>
<td width="307" height="30">
點(diǎn)擊驗(yàn)證碼圖片可刷新驗(yàn)證碼</td>
</tr>
<tr>
<td width="70" height="30"> </td>
<td width="222" height="30" colspan="2">
<input type="submit" value="提交" name="B1"></td>
<td width="307" height="30"> </td>
</tr>
</table>
</div>
</form>
</td>
</tr>
</table>
</div>
</td>
</tr>
</table>
</div>
<!--#include file="base.asp"-->
</body>
</html>
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -