⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 zc2.jsp~4~

📁 JAVA实验图形 =各种 的 JAVA简单代码 出初学者必备!!!!!!!!!
💻 JSP~4~
字号:
<%@page contentType="text/html; charset=gb2312"%><head><meta http-equiv="Content-Type" content="text/html; charset=gb2312" /><link href="2.css" rel="stylesheet" type="text/css" /><title>教材中心-会员注册-第二步</title><SCRIPT LANGUAGE="JavaScript"><!--function checks(){   if(checkspace(document.userinfo.username.value)) {	document.userinfo.username.focus();    alert("请填写会员帐号,谢谢!")	return false;  }   if(checkspace(document.userinfo.userzhenshiname.value)) {	document.userinfo.userzhenshiname.focus();    alert("请填写联系人真实姓名,谢谢!");	return false;  }    if(checkspace(document.userinfo.memberpassword.value) || document.userinfo.memberpassword.value.length < 6) {	document.userinfo.memberpassword.focus();    alert("密码长度不能小于6,请重新输入!");	return false;  }    if(document.userinfo.memberpassword.value != document.userinfo.memberpassword2.value) {	document.userinfo.memberpassword.focus();	document.userinfo.memberpassword.value = '';	document.userinfo.memberpassword2.value = '';    alert("两次输入的密码不同,请重新输入!");	return false;  }       if(checkspace(document.userinfo.yidongtel.value)) {	document.userinfo.yidongtel.focus();    alert("请输入您的住宅电话以便联系!");	return false;  }}function checkspace(checkstr) {  var str = '';  for(i = 0; i < checkstr.length; i++) {    str = str + ' ';  }  return (str == checkstr);}	function regInput(obj, reg, inputStr)	{		var docSel	= document.selection.createRange()		if (docSel.parentElement().tagName != "INPUT")	return false		oSel = docSel.duplicate()		oSel.text = ""		var srcRange	= obj.createTextRange()		oSel.setEndPoint("StartToStart", srcRange)		var str = oSel.text + inputStr + srcRange.text.substr(oSel.text.length)		return reg.test(str)	}//--></script></head><body><TABLE cellSpacing=0 cellPadding=0 width=750 align=center border=0>  <TBODY>    <TR>      <TD width=210 rowSpan=2><IMG height=65      alt=教材系统 src="123.jpg" width=194 border=0></TD>      <TD align=center width=16 rowSpan=2><IMG height=36      src="shuxian.gif" width=1></TD>      <TD height=38 align="center" vAlign=bottom><table width="90%" height="19" border="0" cellpadding="0" cellspacing="0">            <tr>              <td width="5" height="15" ></td>              <td height="19" align="center" valign="bottom" bgcolor="#F2F2F2">&nbsp;</td>              <td width="5"></td>            </tr>          </table></TD>    </TR>    <TR>      <TD  align=center height=37>会员注册</TD>    </TR>  </TBODY></TABLE><TABLE cellSpacing=0 cellPadding=0 width=750 align=center border=0>  <FORM name=userinfo onSubmit="checks()" action=h3.htmmethod=post><TBODY>  <TR>    <TD vAlign=top align=center width=187>      <TABLE cellSpacing=0 cellPadding=0 width=187 border=0>        <TBODY>        <TR>          <TD><IMG height=65            src="left1.gif" width=187 alt="教材购销管理"></TD></TR>        <TR>          <TD><IMG height=103            src="left_t1.gif"width=187 alt="教材购销管理"></TD></TR>        <TR>          <TD><IMG height=107            src="left_t2_s.gif"        width=187 alt="教材购销管理"></TD></TR>        <TR>          <TD><IMG height=107            src="left_t3.gif"width=187 alt="教材购销管理"></TD></TR>        </TBODY></TABLE><SPAN ><BR>不注册会员亦可在本站正常购物</SPAN></TD>    <TD vAlign=top align=right>      <TABLE cellSpacing=0 cellPadding=0 width=558 border=0>        <TBODY>        <TR>          <TD><IMG height=52 src="2_1.gif"            width=50 alt="教材购销管理"></TD>          <TD><IMG height=52 src="2_2.gif"            width=152 alt="教材购销管理"></TD>          <TD><IMG height=52 src="2_3.gif"            width=356 alt="教材购销管理"></TD></TR></TBODY></TABLE>      <TABLE cellSpacing=0 cellPadding=0 width=558 border=0>        <TBODY>        <TR>          <TD width=1 bgColor=#c9c9c9></TD>          <TD vAlign=top width=556 bgColor=#ececec>            <TABLE cellSpacing=0 cellPadding=0 width=556 border=0>              <TBODY>              <TR>                <TD height=35 align="left">  ·以下属于<B                style="COLOR: #ff0000">必填</B>内容,请您认真填写</TD>              </TR></TBODY></TABLE>            <TABLE cellSpacing=0 cellPadding=0 width=536 align=center              border=0><TBODY>              <TR>                <TD width=1 bgColor=#c6d6e3></TD>                <TD align=center bgColor=#ffffff>                  <TABLE cellSpacing=0 cellPadding=0 width=534 bgColor=#ffffff                  border=0>                    <TBODY>                    <TR>                      <TD align=right width="17%" height=30>会员帐号:</TD>                      <TD width="37%" align="left"><input name=username id=username size="30" maxlength="30" onblur="login_1.className='tip_off'" onfocus="hidekeyboard=true;login_1.className='tip_on'" ><a href=# onClick="javascript:window.open('reg2jiance.asp','','width=300,height=100,toolbar=no, status=no, menubar=no, resizable=yes,scrollbars=yes');return false;"><img src=reg1.jpg width=168 height=22 /></a></TD>                      <TD width="46%" align="left">                       作为与您的重要联系渠道,您将来使用此用户名登录本站。                       </TD></TR>                    <TR align="left">                      <TD height=8 colSpan=3></TD>                    </TR>                    <TR align="left">                      <TD height=1 colSpan=3 bgColor=#bfcedc></TD>                    </TR>                    <TR align="left">                      <TD height=8 colSpan=3></TD>                    </TR>                    <TR>                      <TD align=right height=30>联 系 人:</TD>                      <TD align="left"><label>                        <input name="userzhenshiname" id="userzhenshiname"                        onfocus="hidekeyboard=true;login_6.className='tip_on'" onblur="login_6.className='tip_off'"                        maxlength="10" />                      </label></TD>                      <TD align="left">请留下您的真实姓名,方便我们与您联系。</TD></TR>                    <TR>                      <TD align=right width="17%" height=30>密码:</TD>                      <TD width="37%" align="left"><INPUT                        onblur="login_2.className='tip_off'"                        onfocus="hidekeyboard=true;login_2.className='tip_on'"                        type=password maxLength=15 size=25                      name=memberpassword></TD>                      <TD width="46%" align="left">                       长度为6—15个字母、数字、下划线。                   </TD></TR>                    <TR>                      <TD align=right width="17%" height=30>重复密码:</TD>                      <TD width="37%" align="left"><INPUT                        onblur="login_3.className='tip_off'"                        onfocus="hidekeyboard=true;login_3.className='tip_on'"                        type=password maxLength=15 size=25                      name=memberpassword2></TD>                      <TD width="46%" align="left">                       请再输一次密码。 </TD></TR>                    <TR align="left">                      <TD height=8 colSpan=3></TD>                    </TR>                    <TR align="left">                      <TD height=1 colSpan=3 bgColor=#bfcedc></TD>                    </TR>                    <TR align="left">                      <TD height=8 colSpan=3></TD>                    </TR>                    <TR>                      <TD align=right width="17%" height=30>密码提示问题:</TD>                      <TD width="37%" align="left"><INPUT name=quesion id="quesion"                        onfocus="hidekeyboard=true;login_4.className='tip_on'"                        onblur="login_4.className='tip_off'" size=25                        maxLength=25></TD>                      <TD width="46%" align="left">                        如果您忘记密码,系统会提出此问题。</TD></TR>                    <TR>                      <TD align=right width="17%" height=30>密码提示答案:</TD>                      <TD width="37%" align="left"><INPUT onblur="login_5.className='tip_off'" onfocus="hidekeyboard=true;login_5.className='tip_on'" maxLength=25 size=25 name=answer></TD>                      <TD width="46%" align="left">                       当忘记密码时,系统会根据您在这里设定的提示问题和答案帮助您重新设置密码。</TD></TR>                    <TR align="left">                      <TD height=8 colSpan=3></TD>                    </TR>                    <TR align="left">                      <TD height=1 colSpan=3 bgColor=#bfcedc></TD>                    </TR>                    <TR align="left">                      <TD height=8 colSpan=3></TD>                    </TR>                    <TR bgColor=#ffffff>                      <TD align=right height=30>常用电话:</TD>                      <TD align="left"><INPUT id=text5 onBlur="login_7.className='tip_off'"                        onfocus="hidekeyboard=true;login_7.className='tip_on'"                        maxLength=30 name=yidongtel></TD>                      <TD align="left">                      请填写能随时联系到您的电话,最好是手机。</TD></TR>                    <TR align="left">                      <TD height=8 colSpan=3></TD>                    </TR>                    <TR align="left">                      <TD height=1 colSpan=3 bgColor=#bfcedc></TD>                    </TR>                    <TR align="left">                      <TD height=8 colSpan=3></TD>                    </TR>                    <TR align="left" bgColor=#ffffff>                      <TD width="17%" align=right>E_mail: </TD>                      <TD colSpan=2><input name="useremail" type="text" id="useremail"></TD></TR>                    <TR align="left">                      <TD height=8 colSpan=3></TD>                    </TR>                    <TR align="left">                      <TD height=1 colSpan=3 bgColor=#bfcedc></TD>                    </TR>                    <TR align="left">                      <TD height=12 colSpan=3></TD>                    </TR></TBODY></TABLE><INPUT  id=tijiao type=submit value=填写完毕 name=tijiao onClick="return checks();">                  &nbsp;&nbsp; <INPUT  id=button2 type=reset value=写错了,重填 name=reset>                 </TD>                <TD width=1 bgColor=#c6d6e3></TD></TR></TBODY></TABLE>    </TD></TR></TBODY></FORM></TABLE></body></html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -