W
williamguo188
Unregistered / Unconfirmed
GUEST, unregistred user!
<html>
<head>
<meta http-equiv="Content-Type"
content="text/html;
charset=big5">
<title>check件</title>
</head>
<body>
<script language="VBScript"
>
sub check()
if frm1.password1.value=empty then
msgbox "怀蠟腔躇鎢ㄐㄐ"
focusto(2)
exit sub
end if
if frm1.password1.value<>frm1.password2.value then
msgbox "蠟謗棒怀腔躇鎢祥淏ㄐㄐ"
focusto(3)
exit sub
end if
if frm1.email.value=empty then
msgbox "怀蠟腔萇赽蚘璃,眕晞扂蠅睿蠟薊炵ㄐ"
focusto(4)
exit sub
end if
if instr(frm1.email.value,"@"=0 then
msgbox "斕腔萇赽蚘璃祥勤韃 羶衄 @ "
focusto(4)
exit sub
end if
if instr(frm1.email.value,"."=0 then
msgbox "斕腔萇赽蚘璃祥勤韃 羶衄 . "
focusto(8)
exit sub
end if
frm1.submit
end sub
sub focusto(x)
document.frm1.elements(x).focus()
end sub
</script>
<table width="300"
border="1"
align="center">
<tr><td>用戶註冊系統,歡迎註冊成會員!</td></tr>
<tr><td>
<form name="frm1"
method="post"
action="reg1.asp">
<table width="300"
border="0"
align="center">
<tr><td width="100">用戶名:</td><td><input name="name"
type="text"
id="name"
size="20"><font color="#FF0000">*</font></td></tr>
<tr><td width="100">輸入密碼:</td><td><input name="password"
type="password"
id="password"
size="20"></td></tr>
<tr><td width="100">確認密碼:</td><td><input name="password1"
type="password"
id="password1"
size="20"></td></tr>
<tr><td width="100">電子郵件:</td><td><input name="email"
type="text"
id="email"
size="20"></td></tr>
<tr><td width="100">msn/qq:</td><td><input name="qq"
type="text"
id="qq"
size="20"></td></tr>
<tr><td width="100"><input name="submit"
type="submit"
size="10"></td><td><input name="reset"
type="reset"
size="10"></td></tr>
</table>
</form>
</td></tr>
</table>
</body>
</html>
請高手指點密精!
<head>
<meta http-equiv="Content-Type"
content="text/html;
charset=big5">
<title>check件</title>
</head>
<body>
<script language="VBScript"
>
sub check()
if frm1.password1.value=empty then
msgbox "怀蠟腔躇鎢ㄐㄐ"
focusto(2)
exit sub
end if
if frm1.password1.value<>frm1.password2.value then
msgbox "蠟謗棒怀腔躇鎢祥淏ㄐㄐ"
focusto(3)
exit sub
end if
if frm1.email.value=empty then
msgbox "怀蠟腔萇赽蚘璃,眕晞扂蠅睿蠟薊炵ㄐ"
focusto(4)
exit sub
end if
if instr(frm1.email.value,"@"=0 then
msgbox "斕腔萇赽蚘璃祥勤韃 羶衄 @ "
focusto(4)
exit sub
end if
if instr(frm1.email.value,"."=0 then
msgbox "斕腔萇赽蚘璃祥勤韃 羶衄 . "
focusto(8)
exit sub
end if
frm1.submit
end sub
sub focusto(x)
document.frm1.elements(x).focus()
end sub
</script>
<table width="300"
border="1"
align="center">
<tr><td>用戶註冊系統,歡迎註冊成會員!</td></tr>
<tr><td>
<form name="frm1"
method="post"
action="reg1.asp">
<table width="300"
border="0"
align="center">
<tr><td width="100">用戶名:</td><td><input name="name"
type="text"
id="name"
size="20"><font color="#FF0000">*</font></td></tr>
<tr><td width="100">輸入密碼:</td><td><input name="password"
type="password"
id="password"
size="20"></td></tr>
<tr><td width="100">確認密碼:</td><td><input name="password1"
type="password"
id="password1"
size="20"></td></tr>
<tr><td width="100">電子郵件:</td><td><input name="email"
type="text"
id="email"
size="20"></td></tr>
<tr><td width="100">msn/qq:</td><td><input name="qq"
type="text"
id="qq"
size="20"></td></tr>
<tr><td width="100"><input name="submit"
type="submit"
size="10"></td><td><input name="reset"
type="reset"
size="10"></td></tr>
</table>
</form>
</td></tr>
</table>
</body>
</html>
請高手指點密精!