<!--#include file="conn.asp" -->
<!--#include file="inc/config.asp" -->
<!--#include file="inc/mail_inc.asp" -->
<!--#include file="inc/py.asp" -->
<!--#include file="inc/md5.asp" -->
<!--#include file="inc/gl1.asp" -->
<% 
call gl(Trim(request.Form("userid")))
 
userid=Trim(Request.Form("userid"))
if userid=empty then
Response.Write("请不要在外面提交资料．．非法提交...<br>请<a href=default.asp>返回>></a>")
Response.end 
end if
sql="select * from user where userid='"&userid&"'"
rs.open sql,conn,2,3
if not rs.eof then
Response.Write("请不要重复刷新本页．．．<br>有任何问题请和我们联系：QQ:"&page_qq&" 请<a href=default.asp>返回>></a>")
Response.end 
end if
rs.addnew
rs("userid")=userid
rs("password")=md5(Trim(Request.Form("password1")))
rs("name")=Trim(Request.Form("name"))
rs("province")=Trim(Request.Form("province"))
rs("address")=Trim(Request.Form("address"))
rs("email")=Trim(Request.Form("email"))
rs("qq")=Trim(Request.Form("qq"))
rs("tel")=Trim(Request.Form("tel"))
if Trim(Request.Form("ename"))="" then 
rs("ename")=py(Trim(Request.Form("name")))
else
rs("ename")=Trim(Request.Form("ename"))
end if
rs("biz")=Trim(Request.Form("biz"))
rs("zip")=Trim(Request.Form("zip"))
if Trim(Request.Form("eaddress"))="" then 
rs("eaddress")=py(Trim(Request.Form("address")))
else
rs("eaddress")=Trim(Request.Form("eaddress"))
end if
rs("cz")=Trim(Request.Form("cz"))
rs("sf")=1
rs("unit")=Trim(Request.Form("unit"))
rs("eunit")=Trim(Request.Form("eunit"))
rs.update
rs.close

  if page_jmail then
  call SendMail(request("email"),"恭喜您你在本站用户注册成功!!",page_mail_body)
  end if

 %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title><%=page_title%>用户注册成功..</title>
<link href="css.css" rel="stylesheet" type="text/css">
</head>


<body leftmargin="3" topmargin="2" bgcolor="#C0C0C0">

<!--#include file="head.asp" -->
<table width="778" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td bgcolor="#FFFFFF" width="776"><p>&nbsp;</p>
      <table width="60%" border="0" align="center" cellpadding="0" cellspacing="0">
        <tr> 
          <td width="68%"><div align="right">　</div></td>
          <td width="32%"></td>
        </tr>
        <tr> 
          <td colspan="2"><p align="center"><font color="#FF0000">恭喜！恭喜！！你已经注册成功！！！</font></p>
            <p align="center">您的用户名是：<strong><font color="#FF0000"><%= userid %></font></strong> 您的密码：<strong><font color="#FF0000"><%= Trim(Request.Form("password1")) %></font></strong></p> 
            <p align="center">&nbsp;</p>
            <p align="center">请记好您的用户名和密码．这将是您在本站的唯一标志,请保存好您的密码．．</p>
            <p align="center">&nbsp;<font color="#FF0000">我想立即登陆管理中心订购产品开通服务！！！</font></p>
            <table width="313" border="0" align="center" cellpadding="0" cellspacing="0">
              <tr>
                <td width="430">
                  <form name="form2" method="post" action="login.asp">
                    <table width="331" height="110" border="0" align="center" cellpadding="2" cellspacing="2">
                      <tr>
                        <td width="65">&nbsp;</td>
                        <td width="248">&nbsp;</td>
                      </tr>
                      <tr>
                        <td width="65">用户名：</td>
                        <td width="248"><input name="userid" type="text" id="userid" size="15"></td>
                      </tr>
                      <tr>
                        <td width="65">密　码：</td>
                        <td width="248"><input name="password" type="password" id="password" size="15"></td>
                      </tr>
                      <tr>
                        <td width="65">&nbsp;</td>
                        <td width="248"><input type="submit" name="Submit2" value="登 录"> 
                          <input type="button" name="Submit3" value="重 来"></td>
                      </tr>
                    </table>
                  </form>
                </td>
              </tr>
            </table>
            <p align="center">如果要修改您的资料请登录到管理中心进行更改...</p>
            </td>
        </tr>
      </table>
 
      </td>
  </tr>
</table>
<!--#include file="top.asp" -->

</body>
</html>
























