<!-- #include file="conn.asp"-->
<!--//#include file="top.inc"-->
<%
imagewidth=150 '大图的宽度
imageheight=150 '大图的高度
dim sortNum_row '每行显示的分类个数
sortNum_row=8
session("oldUrl")="./"
%>
<script language=Javascript>
<!--
function onChange(i){
childSort=document.all("child" + i);
//theTd=document.all("td" + i);
	if(childSort.style.display=="none"){
//		theTd.bgcolor="#ffffff";
		childSort.style.display="";}
	else{
//		theTd.bgcolor="#000000";
		childSort.style.display="none";}
}

//-->
</script>
<HTML><HEAD>
<title>您的注册信息</title>
<LINK 
href="images/FONT.CSS" type=text/css rel=stylesheet>
<META content="Microsoft FrontPage 4.0" name=GENERATOR>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel="stylesheet" href="css.css" type="text/css">
</HEAD>
<BODY text=#000000 bottomMargin=0 vLink=#000000 aLink=#000000 link=#000000 leftMargin=0 topMargin=0 
rightMargin=0 marginheight="0" marginwidth="0">
<div align="center">
  <center>
  </center>
</div>
<DIV align=center> 
  <TABLE width="760" border=0 align="center" cellPadding=0 cellSpacing=0 bgcolor="#999999">
    <TBODY>
      <TR> 
        <TD width="754" height="270" align=middle vAlign=top bgcolor="#FFFFFF"> 
          <TABLE width="730" border=0 align="center" cellPadding=0 cellSpacing=0>
            <TBODY>
              <TR> 
                <TD width="730" align=right vAlign=top> <DIV align=right> 
                    <TABLE width="100%">
                      <TBODY>
                        <TR> 
                          <TD> <div align="center"> 
                              <center>
                                <TABLE cellSpacing=0 cellPadding=0 width="100%" border="0">
                                  <TBODY>
                                    <TR> 
                                      <TD bgColor=#FFFFFF> 
                                        <%
if Request("memberID")="" then
%>
                                        <script language=Javascript>
	<!--
	alert("用户名不能为空");
	window.history.go(-1);
	//-->
	                            </script> 
                                        <%
	response.End
end if
sql="select id from member  where memberID='"&Request("memberID")&"'"
set rs=conn.execute (sql)
if not rs.eof then
%>
                                        <script language=Javascript>
	<!--
	alert("该用户名已存在，请重新选择用户名");
	window.history.go(-1);
	//-->
	                            </script> 
                                        <%
	response.End
end if
if Request("password1")<>Request("password2") then%>
                                        <script language=Javascript>
	<!--
	alert("密码、确认密码不同");
	window.history.go(-1);
	//-->
	                            </script> 
                                        <%
	response.End
end if
       Set cmdTemp = Server.CreateObject("ADODB.Command")
       Set InsertCursor = Server.CreateObject("ADODB.Recordset")
       cmdTemp.CommandText = "SELECT top 1 * FROM member order by id desc"
       cmdTemp.CommandType = 1
       Set cmdTemp.ActiveConnection = conn
       InsertCursor.Open cmdTemp, , 1, 3
       InsertCursor.addnew 
       InsertCursor("memberID") =Request("memberID")	   
       InsertCursor("name") =Request("name")
       InsertCursor("sex") =Request("sex")
       InsertCursor("password") =Request("password1")
       InsertCursor("question") =Request("question")
       InsertCursor("answer") =Request("answer")
       InsertCursor("email") =Request("email")
       InsertCursor("phone") =Request("phone")
       InsertCursor("address") =Request("address")
       InsertCursor("code") =Request("code")
       InsertCursor.Update
       InsertCursor.close
	   conn.close
       set InsertCursor=nothing
       set conn=nothing
%>
                                </table>
                              </center>
                            </div>
                    </table>
                    <TABLE 
                  width="95%" border=1 align="center" cellPadding=0 cellSpacing=0 bordercolor="#626D78" borderColorLight=#626D78 borderColorDark=#ffffff>
                      <tbody>
                        <tr> 
                          <td height="26" colspan=2> <p align="center"><b>您的注册信息</b></p></td>
                        </tr>
                        <tr> 
                          <td width=84 align="right" nowrap bgcolor="#EEEEEE"> 
                            <div align="right">会员帐号：</div></td>
                          <td width="361"><%=Request("memberID")%> 　</td>
                        </tr>
                        <tr> 
                          <td width=84 align="right" nowrap bgcolor="#EEEEEE"> 
                            <div align="right">您的姓名：</div></td>
                          <td width="361"><%=Request("name")%> 　</td>
                        </tr>
                        <tr> 
                          <td width=84 align="right" nowrap bgcolor="#EEEEEE"> 
                            <div align="right"><font color="#000000">您的性别：</font></div></td>
                          <td width="361"><%=Request("sex")%>　 </td>
                        </tr>
                        <tr> 
                          <td width=84 align="right" nowrap bgcolor="#EEEEEE"> 
                            <div align="right">会员密码：</div></td>
                          <td width="361">(保密)</td>
                        </tr>
                        <tr> 
                          <td width=84 align="right" nowrap bgcolor="#EEEEEE"> 
                            <div align="right">密码提问：</div></td>
                          <td width="361"><%=Request("question")%> 　</td>
                        </tr>
                        <tr> 
                          <td width=84 align="right" nowrap bgcolor="#EEEEEE"> 
                            <div align="right">密码答案：</div></td>
                          <td width="361"><%=Request("answer")%> 　</td>
                        </tr>
                        <tr> 
                          <td width=84 align="right" nowrap bgcolor="#EEEEEE"> 
                            <div align="right">电子邮件：</div></td>
                          <td width="361"><%=Request("email")%> 　</td>
                        </tr>
                        <tr> 
                          <td width=84 align="right" nowrap bgcolor="#EEEEEE"> 
                            <div align="right">常用电话：</div></td>
                          <td width="361"><%=Request("phone")%> 　</td>
                        </tr>
                        <tr> 
                          <td width=84 align="right" nowrap bgcolor="#EEEEEE"> 
                            <div align="right">收货地址：</div></td>
                          <td width="361"><%=Request("address")%> 　</td>
                        </tr>
                        <tr> 
                          <td width=84 align="right" nowrap bgcolor="#EEEEEE"> 
                            <div align="right">邮政编码：</div></td>
                          <td width="361"><%=Request("code")%> 　</td>
                        </tr>
                        <tr> 
                          <td colspan="2" align="right" nowrap> <div align="center">请记住您的帐号和密码，进入首页重新登录，再发布信息或者订购汽车，我们会及时与您联系！ 
                            </div></td>
                        </tr>
                        <tr> 
                          <td height="26" colspan="2" align="right" nowrap bgcolor="#f7f7f7"> 
                            <div align="center"> 
                              <input type="button" value="马上登陆用户 " name="B4" onClick="window.location.href='index.asp';" style="border: 1px solid #7D85A2; background-color: #f7f7f7; font-size:9pt">
                            </div></td>
                        </tr>
                      </tbody>
                    </table>
                    <TABLE cellSpacing=0 cellPadding=0 width="98%" border=0>
                      <TBODY>
                      </TBODY>
                    </TABLE>
                  </DIV></TD>
              </TR>
            </TBODY>
          </TABLE>
          <table width="20" height="36" border="0" cellpadding="0" cellspacing="0">
            <tr>
              <td>&nbsp;</td>
            </tr>
          </table></TD>
      </TR>
    </TBODY>
  </TABLE>
</DIV>
<!-- #include file="foot.inc"--></BODY></HTML>