📄 register.jsp
字号:
<%@ page contentType="text/html; charset=gb2312" %>
<HTML><HEAD><TITLE>register</TITLE>
<META http-equiv=Content-Type content="text/html; charset=gb2312"><LINK
href="../registerImage.files/css.css" type=text/css rel=stylesheet>
<STYLE>TD {
FONT-SIZE: 9pt; COLOR: #353535; LINE-HEIGHT: 120%
}
BODY {
FONT-SIZE: 9pt; LINE-HEIGHT: 120%
}
A:link {
COLOR: #000000; TEXT-DECORATION: none
}
A:visited {
COLOR: #000000; TEXT-DECORATION: none
}
A:active {
COLOR: #000000; TEXT-DECORATION: none
}
A:hover {
RIGHT: 0px; COLOR: #336699; POSITION: relative; TOP: 1px; TEXT-DECORATION: none
}
.style1 {
COLOR: #353535
}
.style3 {
COLOR: #666666
}
</STYLE>
<SCRIPT language=JavaScript>
function IsDigit()
{
return ((event.keyCode >= 48) && (event.keyCode <= 57));
}
</SCRIPT>
<SCRIPT language=JavaScript>
function checkuserinfo()
{
if(checkspace(document.userinfo.usersName.value)) {
document.userinfo.usersName.focus();
alert("对不起,请填写用户名!");
return false;
}
if(checkspace(document.userinfo.usersTrueName.value)) {
document.userinfo.usersTrueName.focus();
alert("对不起,请填写真实姓名!");
return false;
}
if(checkspace(document.userinfo.usersAddress.value)) {
document.userinfo.usersAddress.focus();
alert("对不起,请填写您的通讯地址!");
return false;
}
if(checkspace(document.userinfo.usersPhone.value)) {
document.userinfo.usersPhone.focus();
alert("对不起,请填写您的联系电话!");
return false;
}
if(checkspace(document.userinfo.usersPass.value) || document.userinfo.usersPass.value.length < 6 || document.userinfo.usersPass.value.length >20) {
document.userinfo.usersPass.focus();
alert("密码长度不能不能这空,在6位到20位之间,请重新输入!");
return false;
}
if(document.userinfo.usersPass.value != document.userinfo.usersRepass.value) {
document.userinfo.usersPass.focus();
document.userinfo.usersPass.value = '';
document.userinfo.usersRepass.value = '';
alert("两次输入的密码不同,请重新输入!");
return false;
}
if(document.userinfo.usersE_mail.value.length!=0)
{
if (document.userinfo.usersE_mail.value.charAt(0)=="." ||
document.userinfo.usersE_mail.value.charAt(0)=="@"||
document.userinfo.usersE_mail.value.indexOf('@', 0) == -1 ||
document.userinfo.usersE_mail.value.indexOf('.', 0) == -1 ||
document.userinfo.usersE_mail.value.lastIndexOf("@")==document.userinfo.usersE_mail.value.length-1 ||
document.userinfo.usersE_mail.value.lastIndexOf(".")==document.userinfo.usersE_mail.value.length-1)
{
alert("Email地址格式不正确!");
document.userinfo.usersE_mail.focus();
return false;
}
}
else
{
alert("Email不能为空!");
document.userinfo.usersE_mail.focus();
return false;
}
}
function checkspace(checkstr) {
var str = '';
for(i = 0; i < checkstr.length; i++) {
str = str + ' ';
}
return (str == checkstr);
}
</SCRIPT>
<META content="MSHTML 6.00.2900.2802" name=GENERATOR></HEAD>
<BODY
onmouseover="window.status=' 如果您喜欢本站,别忘了把本站介绍给您的好友哦!:)';return true"
leftMargin=0 topMargin=0 marginheight="0" marginwidth="0">
<SCRIPT language=JavaScript type=text/JavaScript>
<!--
function MM_preloadImages() { //v3.0
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
//-->
</SCRIPT>
<STYLE type=text/css>A:link {
FONT-SIZE: 9pt; TEXT-DECORATION: none
}
UNKNOWN {
FONT-SIZE: 9pt; COLOR: #f51424
}
UNKNOWN {
COLOR: #000000
}
UNKNOWN {
FONT-SIZE: 9pt; COLOR: #000000
}
UNKNOWN {
FONT-FAMILY: Arial, Helvetica, sans-serif
}
</STYLE>
<SCRIPT language=JavaScript type=text/JavaScript>
<!--
function MM_reloadPage(init) { //reloads the window if Nav4 resized
if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
//-->
</SCRIPT>
<TABLE cellSpacing=0 cellPadding=0 width=812 align=center bgColor=#ffffff
border=0>
<TBODY>
<TR>
<TD><IMG height=1 alt="" src="../registerImage.files/spacer.gif" width=38
border=0></TD>
<TD><IMG height=1 alt="" src="../registerImage.files/spacer.gif" width=63
border=0></TD>
<TD><IMG height=1 alt="" src="../registerImage.files/spacer.gif" width=59
border=0></TD>
<TD><IMG height=1 alt="" src="../registerImage.files/spacer.gif" width=56
border=0></TD>
<TD><IMG height=1 alt="" src="../registerImage.files/spacer.gif" width=62
border=0></TD>
<TD><IMG height=1 alt="" src="../registerImage.files/spacer.gif" width=16
border=0></TD>
<TD><IMG height=1 alt="" src="../registerImage.files/spacer.gif" width=44
border=0></TD>
<TD><IMG height=1 alt="" src="../registerImage.files/spacer.gif" width=77
border=0></TD>
<TD><IMG height=1 alt="" src="../registerImage.files/spacer.gif" width=82
border=0></TD>
<TD><IMG height=1 alt="" src="../registerImage.files/spacer.gif" width=77
border=0></TD>
<TD><IMG height=1 alt="" src="../registerImage.files/spacer.gif" width=80
border=0></TD>
<TD><IMG height=1 alt="" src="../registerImage.files/spacer.gif" width=72
border=0></TD>
<TD><IMG height=1 alt="" src="../registerImage.files/spacer.gif" width=34
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -