<!--#include file="include/nowshop.asp" -->
<!--#include file="md5.asp"-->

<html>
<head>
<title>用户登录</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<LINK href="images/css.css" type=text/css rel=stylesheet>
<LINK href="list/newhead.css" type=text/css rel=stylesheet>
<script language="JavaScript">
function JM_sh(ob){
if (ob.style.display=="none"){ob.style.display=""}else{ob.style.display="none"};
}

function fucPWDchk(str) 
{ 
var strSource ="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"; 
var ch; 
var i; 
var temp; 

for (i=0;i<=(str.length-1);i++) 
{ 

ch = str.charAt(i); 
temp = strSource.indexOf(ch); 
if (temp==-1) 
{ 
return 0; 
} 
} 
if (strSource.indexOf(ch)==-1) 
{ 
return 0; 
} 
else 
{ 
return 1; 
} 
} 
function jtrim(str) 
{ while (str.charAt(0)==" ") 
{str=str.substr(1);} 
while (str.charAt(str.length-1)==" ") 
{str=str.substr(0,str.length-1);} 
return(str); 
} 

//判断表单输入正误
function Checkreg()
{
	if (document.ADDUser.UserId.value.length < 4 || document.ADDUser.UserId.value.length >16) {
		alert("提示：请输入用户名，有效长度为4-16位");
		document.ADDUser.UserId.focus();
		return false;
	}
	if (document.ADDUser.pw1.value.length <6 || document.ADDUser.pw1.value.length >16) {
		alert("提示：请输入密码，最少6位，最长16位。");
		document.ADDUser.pw1.focus();
		return false;
	}
	if (!fucPWDchk(document.ADDUser.pw1.value)){
		alert("提示：只能使用纯数字和大、小写字母作为密码");
		document.ADDUser.pw1.focus();
		return false;
		}
	if (document.ADDUser.pw1.value != document.ADDUser.pw2.value) {
		alert("提示：您两次输入的密码不一样，请检查后重新输入");
		document.ADDUser.pw2.focus();
		return false;
	}
	if (document.ADDUser.Usermail.value.length <10 || document.ADDUser.Usermail.value.length >=100) {
		alert("提示：请输入有效的电子邮箱");
		document.ADDUser.Usermail.focus();
		return false;
	}
	if (document.ADDUser.Usermail.value.length > 0 && !document.ADDUser.Usermail.value.match( /^.+@.+$/ ) ) {
	    alert("提示：请输入有效的电子信箱");
		document.ADDUser.Usermail.focus();
		return false;
	}
}
</script>

</head>

<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<center>
  <!--#include file="top.asp"-->
  <TABLE cellSpacing=0 cellPadding=0 width=768 align=center border=0>
    <TBODY>
      <TR> 
        <TD><IMG height=48 src="order/gouwuche/800buy_car_step.gif" width=160></TD>
        <TD background=order/denglu/800buy_car_bg.gif><IMG height=48 
      src="order/denglu/800buy_car_step1.gif" width=153></TD>
        <TD background=order/denglu/800buy_car_bg.gif><IMG height=48 
      src="order/denglu/800buy_car_step9.gif" width=153></TD>
        <TD background=order/denglu/800buy_car_bg.gif><IMG height=48 
      src="order/denglu/800buy_car_step10.gif" width=154></TD>
        <TD><IMG height=48 src="order/denglu/800buy_car_step4.gif" 
  width=108></TD>
      </TR>
    </TBODY>
  </TABLE>
  <TABLE cellSpacing=0 cellPadding=0 width=768 align=center border=0>
    <TBODY>
      <TR> 
        <TD height=10></TD>
      </TR>
    </TBODY>
  </TABLE>
  <TABLE cellSpacing=0 cellPadding=0 width=714 align=center border=0>
    <TBODY>
      <TR> 
        <TD> <TABLE cellSpacing=0 cellPadding=0 width=714 align=center bgColor=#e9e9e9 
      border=0>
            <TBODY>
              <TR> 
                <TD vAlign=top>&nbsp;</TD>
                <TD vAlign=top><IMG height=32 
            src="order/denglu/800buy_login_font.gif" width=464></TD>
                <TD width=89><IMG height=60 
            src="order/denglu/800buy_login_arrow.gif" 
      width=63></TD>
              </TR>
            </TBODY>
          </TABLE></TD>
      </TR>
      <TR> 
        <TD> <TABLE cellSpacing=0 cellPadding=0 width=714 align=center bgColor=#e9e9e9 
      border=0>
            <TBODY>
              <TR> 
                <TD> <TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
                    <TBODY>
                      <TR> 
                        <TD width=74>&nbsp;</TD>
                        <TD>&nbsp; </TD>
                      </TR>
                      <TR> 
                        <TD>&nbsp;</TD>
                        <TD> <FORM method="post" name="loginbox" action="login1.asp">
                            <TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
                              <TBODY>
                                <TR> 
                                  <TD width=80 height=25>用　 户　名：</TD>
                                  <TD width=150><INPUT class=buttonface size=18 
                        name="userid"> </TD>
                                  <TD>&nbsp;</TD>
                                  <TD>&nbsp;</TD>
                                </TR>
                                <TR> 
                                  <TD height=32>密　　　 码：</TD>
                                  <TD><INPUT class=buttonface type=password name="password">
								    <input type="hidden" name="login" value="ok">
								    <input type="hidden" name="cook" value="0">
</TD>
                                  <TD width=160><INPUT type=image height=33 width=104 
                        src="order/denglu/800buy_login_button.gif" 
                      name="images"></TD>
                                  <TD><A 
                        href="getpsw.asp">忘记密码</A></TD>
                                </TR>
                              </TBODY>
                            </TABLE>
                          </FORM></TD>
                      </TR>
                      <TR> 
                        <TD>&nbsp;</TD>
                        <TD>&nbsp;</TD>
                      </TR>
                    </TBODY>
                  </TABLE></TD>
              </TR>
            </TBODY>
          </TABLE></TD>
      </TR>
    </TBODY>
  </TABLE>
  <TABLE cellSpacing=0 cellPadding=0 width=714 border=0>
    <TBODY>
      <TR> 
        <TD align=right background=order/denglu/800buy_login_bg.gif 
      height=34><IMG height=34 src="order/denglu/800buy_login_pic.gif" 
    width=75></TD>
      </TR>
    </TBODY>
  </TABLE>
  <TABLE cellSpacing=0 cellPadding=0 width=714 bgColor=#e9e9e9 border=0>
      <TBODY>
        <TR> 
          <TD> <TABLE cellSpacing=0 cellPadding=0 width=714 align=center bgColor=#e9e9e9 
      border=0>
              <TBODY>
                <TR> 
                  <TD vAlign=top width=65>&nbsp;</TD>
                  <TD vAlign=top width=194 height=20>&nbsp;</TD>
                  <TD vAlign=top width=455>&nbsp;</TD>
                </TR>
                <TR> 
                  <TD width=72>&nbsp;</TD>
                  <TD>如果您想省去注册的麻烦，请点击</TD>
                  <TD vAlign=top><A href="payment.asp"><IMG height=33 
            src="order/denglu/800buy_kstd.gif" width=104 
        border=0></A></TD>
                </TR>
              </TBODY>
            </TABLE></TD>
        </TR>
      <DIV style="DISPLAY: none">
        <INPUT type=hidden value=OP name=Location>
        <INPUT 
  type=hidden value=1 name=cus_type>
        <INPUT type=hidden maxLength=16 size=12 
  value=" " name=cus_name>
        <INPUT tabIndex=8 type=hidden CHECKED value=M 
  name=cus_gender>
        <INPUT type=hidden value=1 name=cus_id_type>
        <INPUT 
  type=hidden maxLength=18 name=cus_identity>
        <INPUT type=hidden maxLength=25 
  size=12 name=cus_tele_no>
        <INPUT type=hidden value=O name=cus_tele_type>
        <INPUT tabIndex=4 type=hidden maxLength=40 name=cus_pswd_question>
        <INPUT 
  tabIndex=5 type=hidden maxLength=30 size=12 name=cus_answer>
        <INPUT 
  type=hidden value=2 name=cus_country>
        <INPUT value=1 name=cus_province>
        <INPUT 
  value=48 name=cus_city>
        <INPUT tabIndex=25 maxLength=50 size=28 
  name=cus_address>
        <INPUT maxLength=6 name=cus_zip_code>
        <INPUT 
  class=smallInput size=18 value=1140381249 name=cus_cust_id2>
        <INPUT 
  class=smallInput type=password size=18 value=3424568 name=cus_passwd2>
        <INPUT 
  class=smallInput type=password size=18 value=3424568 name=cus_passwd1>
        <INPUT 
  class=smallInput size=22 name=cus_email>
      </DIV>
    <TR> 
      <TD><IMG height=25 src="order/denglu/800buy_login_font2.gif" 
  width=468></TD>
    </TR>
    <TR> 
      <TD> 
	<form name="ADDUser" method="POST" action="reg_save1.asp" onSubmit="return Checkreg();">
	  <TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
          <TBODY>
            <TR> 
              <TD width=72>&nbsp;</TD>
              <TD>
                  <TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
                    <TBODY>
                      <TR> 
                        <TD width=60 height=25>用 户 名： </TD>
                        <TD width=150><INPUT class=buttonface size=15 
                  name=UserId> </TD>
                        <TD>4—16位，可使用数字、字母、中文，禁用特殊符号</TD>
                      </TR>
                      <TR> 
                        <TD height=25>密　　码：</TD>
                        <TD><INPUT class=buttonface type=password size=15 
                  name=pw1></TD>
                        <TD>6—16位，请输入数字或大、小写字母作为密码</TD>
                      </TR>
                      <TR> 
                        <TD height=25>确认密码： </TD>
                        <TD><INPUT class=buttonface type=password size=15 
                  name=pw2></TD>
                        <TD>请再输一遍确认</TD>
                      </TR>
                      <TR> 
                        <TD height=25>Email： </TD>
                        <TD><INPUT class=buttonface size=15 name=Usermail></TD>
                        <TD>&nbsp;</TD>
                      </TR>
                    </TBODY>
                  </TABLE>
                  <TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
                    <TBODY>
                      <TR> 
                        <TD> <TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
                            <TBODY>
                              <TR> 
                                <TD height=25>请您填写有效E-mail地址，订单确认信、购物券</TD>
                              </TR>
                              <TR> 
                                <TD height=25>等重要邮件需发送到这个E-mail地址</TD>
                              </TR>
                            </TBODY>
                          </TABLE></TD>
                        <TD width=200><INPUT name="image2" type=image 
                  src="order/denglu/800buy_login_button.gif" width=104 height=33></TD>
                      </TR>
                    </TBODY>
                  </TABLE>
                </TD>
              <TD width=135><IMG height=201 
            src="order/denglu/800buy_login_pic2.gif" 
      width=135></TD>
            </TR>
          </TBODY>
        </TABLE>
		</form>
		</TD>
    </TR>
    <TR> 
      <TD>&nbsp;</TD>
    </TR>
  </TABLE>
  <TABLE cellSpacing=0 cellPadding=0 width=714 align=center bgColor=#e9e9e9 
border=0>
    <TBODY>
      <TR> 
        <TD>&nbsp;</TD>
        <TD>&nbsp;</TD>
        <TD>&nbsp;</TD>
        <TD>&nbsp;</TD>
      </TR>
      <!--<tr> 
      <td width="120">&nbsp;</td>
      <td align="center"><img src="http://image.800buy.com.cn/new800/shopping/800buy_login_tel.gif" width="177" height="23"></td>
      <td align="right"><img src="http://image.800buy.com.cn/new800/shopping/800buy_login_tel2.gif" width="207" height="23"></td>
      <td width="133">&nbsp;</td>
    </tr>
    <tr> 
      <td>&nbsp;</td>
      <td>&nbsp;</td>
      <td>&nbsp;</td>
      <td align="right"><img src="http://image.800buy.com.cn/new800/shopping/800buy_login_dot.gif" width="35" height="19"></td>
    </tr>-->
    </TBODY>
  </TABLE>
    <!--#include file="down.asp"-->
</center>
</body>
</html>
