regindex.jsp
资源名称:shop.rar [点击查看]
上传用户:yatiankong
上传日期:2014-05-16
资源大小:5604k
文件大小:12k
源码类别:
Applet
开发平台:
Java
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
- <%@ page contentType="text/html; charset=gb2312" language="java" import="java.sql.*,java.net.*" errorPage="" %>
- <HTML><HEAD><TITLE>-会员注册-</TITLE>
- <META http-equiv=Content-Type content="text/html; charset=gb2312">
- <LINK href="image/buyok_shop.css" type=text/css rel=stylesheet>
- <LINK href="image/main.css" type=text/css rel=stylesheet>
- <LINK href="image/buyok_shop.css" type=text/css rel=stylesheet>
- <STYLE type=text/css>BODY {
- MARGIN: 0px
- }
- .STYLE1 {
- COLOR: #ff3300
- }
- .STYLE2 {
- COLOR: #ff0000
- }
- </STYLE>
- <script language="javascript">
- function mycheck(register_common){
- if((register_common.name.value=="")||(register_common.name.value.length<5)||(register_common.name.value.length>21)||(register_common.name.value.indexOf(" ")>-1))
- {
- alert("登录账号没有输入或格式不对");
- register_common.name.focus();
- return false;
- }
- if ((register_common.password.value=="")||(register_common.password.value.length<5)||(register_common.password.value.length>20))
- {
- alert("密码没有输入或格式不对!");
- register_common.password.focus();
- return false;
- }
- if (register_common.password2.value == "")
- {
- alert("确认密码没有输入!");
- register_common.password2.focus();
- return false;
- }
- if (register_common.password.value!=register_common.password2.value)
- { alert("两次输入密码不一样!");
- register_common.password.focus();
- return false;
- }
- if(register_common.email.value=="")
- {
- alert("请填写邮箱!");
- register_common.email.focus();
- return false;
- }
- if (register_common.email.value!="")
- { if((register_common.email.value.length < 5)||(register_common.email.value.indexOf("@")<1) || (register_common.email.value.indexOf(".")<1) || (register_common.email.value.charAt(register_common.email.value.length-1)=="."))
- {
- alert("请填写正确的E-mail地址以便联系!格式为:username@host.name");
- register_common.email.focus();
- return false;
- }
- }
- if(register_common.userName.value=="")
- {
- alert("请填写真实姓名!");
- register_common.userName.focus();
- return false;
- }
- if(register_common.address.value=="")
- {
- alert("请填写联系地址!");
- register_common.address.focus();
- return false;
- }
- if(register_common.mobile.value=="")
- {
- alert("请填写邮编!");
- register_common.mobile.focus();
- return false;
- } if(register_common.telephone.value=="")
- {
- alert("请填写联系电话!");
- register_common.telephone.focus();
- return false;
- }
- if(register_common.brief.value=="")
- {
- alert("请输入注册说明");
- register_common.brief.focus();
- return false;
- }
- }
- </script>
- <META name=KEYWords
- contect="网上书城,网上购书,书,买书,卖书,购书,网上书店,广东,东莞,永正,购书中心,文学,经济,工商,计算机,电脑,教育,音像,电子,医药卫生,建筑工业,艺术,法律,历史,外语,儿童,动漫,小说">
- <META name=DEscription contect="广东省东莞永正购书中心,全国第七大民营书城,东莞最大的民营书城,网上购书中心">
- <META content="MSHTML 6.00.2900.2769" name=GENERATOR></HEAD>
- <BODY>
- <TABLE class=grayline cellSpacing=0 cellPadding=0 width=760 align=center
- bgColor=#ffffff border=0>
- <TBODY>
- <TR>
- <TD width=760>
- <TABLE class=4l borderColor=#ebebeb cellSpacing=0 cellPadding=0
- width="100%" align=center border=0>
- <TBODY>
- <TR>
- <TD>
- <TABLE cellSpacing=0 cellPadding=0 width="100%" align=center
- border=0>
- <TBODY>
- <TR>
- <TD colSpan=2 height=13></TD>
- </TR>
- <TR>
- <TD width=260>
- <DIV align=center><IMG height=45
- src="image/logo.gif" width=200></DIV></TD>
- <TD align=right width=500>
- <TABLE cellSpacing=0 cellPadding=0 width=500 align=right
- border=0>
- <TBODY>
- <TR>
- <TD align=right width=22><IMG height=67
- src="image/top_1.gif" width=7></TD>
- <TD align=right width=82><A onfocus=this.blur()
- href="default.jsp"><IMG
- height=67 src="image/home.gif" width=82
- border=0></A></TD>
- <TD align=right width=74><A onfocus=this.blur()
- href="newbook.jsp?pageNum=1"><IMG
- height=67 src="image/newbook.gif"
- width=74 border=0></A></TD>
- <TD align=right width=79><A onfocus=this.blur()
- href="tuibook.jsp?pageNum=1"><IMG
- height=67 src="image/jptj.gif" width=79
- border=0></A></TD>
- <TD align=right width=75><A onfocus=this.blur()
- href="upload_show.jsp"><IMG
- height=67 src="image/tejia.gif"
- width=75 border=0></A></TD>
- <TD align=right width=78><a onFocus=this.blur()
- href="messagebox/indexme.jsp"><img
- height=67 src="image/guest.gif"
- width=78 border=0></a></TD>
- <TD align=right width=90><A onfocus=this.blur()
- href="contactus.jsp"><IMG
- height=67 src="image/link_wo.gif"
- width=90
- border=0></A></TD>
- </TR>
- </TBODY>
- </TABLE></TD>
- </TR>
- </TBODY>
- </TABLE></TD>
- </TR>
- </TBODY>
- </TABLE></TD>
- </TR>
- </TBODY>
- </TABLE>
- <CENTER>
- <TABLE width=760 border=0 cellpadding=3 cellspacing=1 align=center bgcolor=#FFFFFF height=300 class="grayline">
- <tr>
- <td width="760" height=30>当前位置:<a href=default.jsp>首页</a> > 会员注册</td>
- </tr>
- <tr>
- <td height="1" background="image/small/bgline.gif"></td>
- </tr>
- <tr>
- <td align="center">
- <table width="620" border="1" cellpadding="2" cellspacing="0" bordercolor="#F4F6FC" bordercolorlight="#F4F6FC" bordercolordark="#FFFFFF" height="381">
- <form name="ADDUser" method="POST" action="register_check_comm.jsp" onSubmit="return mycheck(ADDUser)">
- <tr>
- <td colspan="2" bgcolor="#F4F6FC" height="25"> <img src=image/gl.gif width="13" height="14" border=0><font color=red>必填资料</font></td>
- </tr>
- <tr>
- <td width="265" align="left" height="26"><b> 登录帐号(最少4位,最多16位):</b><br>
- 可使用数字、字母、中文,禁用特殊符号</td>
- <td width="341" height="26"><input name="name" type="text" size="25" maxlength="16" style="BORDER-RIGHT: #CCCCCF 1px solid; BORDER-TOP: #CCCCCF 1px solid; FONT -SIZE: 10pt; BORDER-LEFT: #CCCCCF 1px solid; COLOR: #666666; BORDER-BOTTOM: #CCCCCF 1px solid; FONT-FAMILY: verdana">
- </td>
- </tr>
- <tr>
- <td align="left" height="24" width="265"><b> 密码(最少6位,最多16位):<br>
- </b>请输入数字或大、小写字母作为密码</td>
- <td height="24" width="341">
- <input name="password" type="password" size="25" maxlength="16" style="BORDER-RIGHT: #CCCCCF 1px solid; BORDER-TOP: #CCCCCF 1px solid; FONT -SIZE: 10pt; BORDER-LEFT: #CCCCCF 1px solid; COLOR: #666666; BORDER-BOTTOM: #CCCCCF 1px solid; FONT-FAMILY: verdana">
- </td>
- </tr>
- <tr>
- <td align="left" height="24" width="265"><b> 重复密码:<br>
- </b>请再输一遍确认</td>
- <td height="24" width="341"><input name="password2" type="password" size="25" maxlength="16" style="BORDER-RIGHT: #CCCCCF 1px solid; BORDER-TOP: #CCCCCF 1px solid; FONT -SIZE: 10pt; BORDER-LEFT: #CCCCCF 1px solid; COLOR: #666666; BORDER-BOTTOM: #CCCCCF 1px solid; FONT-FAMILY: verdana">
- </td>
- </tr>
- <tr>
- <td align="left" height="24" width="265"><b> 电子邮箱:<br>
- </b> 请输入有效的邮件地址</td>
- <td height="24" width="341"><input name="email" type="text" size="25" maxlength="50" style="BORDER-RIGHT: #CCCCCF 1px solid; BORDER-TOP: #CCCCCF 1px solid; FONT -SIZE: 10pt; BORDER-LEFT: #CCCCCF 1px solid; COLOR: #666666; BORDER-BOTTOM: #CCCCCF 1px solid; FONT-FAMILY: verdana">
- </td>
- </tr>
- <tr>
- <td width="265" align="left" height="24"><b> 真实姓名:<br>
- </b> 收货人真实姓名,请准确填写</td>
- <td width="341" height="24"><input name="userName" type="text" size="25" maxlength="20" style="BORDER-RIGHT: #CCCCCF 1px solid; BORDER-TOP: #CCCCCF 1px solid; FONT -SIZE: 10pt; BORDER-LEFT: #CCCCCF 1px solid; COLOR: #666666; BORDER-BOTTOM: #CCCCCF 1px solid; FONT-FAMILY: verdana">
- </td>
- </tr>
- <tr>
- <td align="left" height="24" width="265"><b> 联系地址:<br>
- </b> 收货人通信地址,请准确填写</td>
- <td height="24" width="341"><input name="address" type="text" value="" size="25" maxlength="50" style="BORDER-RIGHT: #CCCCCF 1px solid; BORDER-TOP: #CCCCCF 1px solid; FONT -SIZE: 10pt; BORDER-LEFT: #CCCCCF 1px solid; COLOR: #666666; BORDER-BOTTOM: #CCCCCF 1px solid; FONT-FAMILY: verdana">
- </td>
- </tr>
- <tr>
- <td align="left" height="24" width="265"><b> 邮政编码:<br>
- </b> 收货人邮政编码</td>
- <td height="24" width="341"><input name="mobile" type="text" value="" size="25" maxlength="8" style="BORDER-RIGHT: #CCCCCF 1px solid; BORDER-TOP: #CCCCCF 1px solid; FONT -SIZE: 10pt; BORDER-LEFT: #CCCCCF 1px solid; COLOR: #666666; BORDER-BOTTOM: #CCCCCF 1px solid; FONT-FAMILY: verdana">
- </td>
- </tr>
- <tr>
- <td align="left" height="24" width="265"><b> 联系电话:<br>
- </b> 留下您的联系电话,以备不时之需</td>
- <td height="24" width="341"><input name="telephone" type="text" id="Phone" style="BORDER-RIGHT: #CCCCCF 1px solid; BORDER-TOP: #CCCCCF 1px solid; FONT -SIZE: 10pt; BORDER-LEFT: #CCCCCF 1px solid; COLOR: #666666; BORDER-BOTTOM: #CCCCCF 1px solid; FONT-FAMILY: verdana" value="" size="25" maxlength="20">
- </td>
- </tr>
- <tr>
- <td align="left" height="26" width="265"><b> 性 别:</b><br>
- 请选择您的性别</td>
- <td height="26" width="341">
- <input name="sex" type="radio" value="先生" checked>
- <img src=image/boy.gif width="23" height="21" border=0>先生
- <input type="radio" name="sex" value="小姐">
- <img src=image/girl.gif width="23" height="21" border=0>女士</td>
- </tr>
- <tr>
- <td align="left" height="80" width="265"><b> 其它说明:</b><br>
- 您的其它备忘说明、要求等</td>
- <td height="80" width="341"><textarea name="brief" cols="40" rows="4" class="txtBoxStyle2" id="jieshao"></textarea></td>
- </tr>
- <tr>
- <td align=center colspan=2 height="54">
- <input type="hidden" name="adduser" value="true">
- <input type=submit value="我填好了,现在注册" name="ok">
-
- <input type=reset value="不行,还是重写吧" name="Reset"></td>
- </tr>
- </form>
- </table></TD>
- </TR>
- <tr>
- <td height=20></td>
- </tr>
- </table>
- <%@ include file ="foot.jsp"%>
- </CENTER>
- </BODY></HTML>