<!--#Include File="Connection.Asp"-->
 
<!--#Include File="JaInc/Ja_MD5.Asp"-->
<%
Dim JaZ,C,flyN,B,cur
Set JaZ = new q_zone
B = JaZ.JaKillStr(Request.QueryString("JaUid"))
If B="" Then
B= "2"
End If
C=Split(JaZ.GetHeadElement("*",B,"JaFaceSet",""),"<><><>")
flyN = split(Trim(C(2)),"|")
If Cint(Trim(C(1)))<>0 Then
cur = "CURSOR:url('cur/"&C(1)&".ani');"
Else
cur = ""
End If 
%>

<%
Dim JaCheckID,JaUID,JaSheng,JaSHi
Dim Jauserna,Japwd,Jazonena,Jainter,Jamemo
Dim Jayue,Janian,Jari,Jasex,Jaxue,Jaxin,JaAge
Dim JaBorn
Dim JaUser
Dim JaInSQL
Set JaUser = new q_zone
Jauserna = JaUser.JaKillStr(Request.Form("Jauserna"))
Japwd = MD5(Request.Form("Japwd"),"long")
Jazonena = Trim(Request.Form("Jazone"))
Jainter = Trim(Request.Form("Jainter"))

Janian = Trim(Request.Form("Janian"))

Jayue = Trim(Request.Form("Jayue"))
Jari = Trim(Request.Form("Jari"))
JaAge = Cint(year(date())) - Cint(Janian)
JaBorn = Janian & "-" & Jayue & "-" & Jari

Jasex = Trim(Request.Form("Jasex"))
Jaxue = Trim(Request.Form("Jaxue"))
Jaxin = Trim(Request.Form("Jaxin"))
Jamemo = Trim(Request.Form("content"))
JaSheng=trim(request.Form("province"))
JaShi=trim(request.Form("city"))
JaYou=trim(request.Form("JaYou"))
Dim ch
Set ch = Conn.Execute("Select * From [JaUser] Where JaUname='"&Jauserna&"' ")
If ch.Eof Then
JaUID = Trim(JaUser.JaUserID())
JaCheckID = JaUser.JaUserAdd(JaUID,Jauserna,Japwd,Jazonena,JaAge,JaBorn,Jasex,Jainter,Jaxue,Jaxin,Jamemo,JaSheng,JaShi,JaYou)
JaUser.JaInsert "OnLine","(logintime,jauname,jauid) values(getdate(),'"&SESSION("LoginUserName")&"',"&JaUid&")"
JaUser.JaInsert "JaClass","(JaUid,JaSun,JaBuy,JaWat)VALUES('"&JaUID&"',0,0,0)"
JaInSQL = "(JaBgSet,JaCursorSet,JaFlySet,JaCss,JaUid,JaStyle,JaSet) Values(472,0,'0',2,'"& JaUID &"','sky',0)"
JaUser.JaInsert "JaFaceSet",JaInSQL
Else
Response.Write "<script language=javascript>alert('该用户已存在,请重新填写!');"
Response.Write "window.document.location.href='javascript:history.go(-1)';</script>"
End if
%>
<html>
<head>
<META HTTP-EQUIV="PRAGMA" CONTENT="NO-CACHE">
<meta http-equiv=refresh content="1; url=index.asp?jauid=<%=JaUID%>">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>myzone-互动-个性交友-在线聊天-装扮小屋</title>
<link type="text/css" rel="stylesheet" href="Style/<%=Trim(C(5))%>/css.css">
</head>
<script>
function showleft(th)
{
if (th.style.display == "none")
{
eval("th.style.display=\"\";");
document.getElementById("sc").src="Style/<%=Trim(C(5))%>/bt_mline_on.gif"
}
else
{
eval("th.style.display=\"none\";");
document.getElementById("sc").src="Style/<%=Trim(C(5))%>/bt_mline_off.gif"
}
}
</script>
<body leftmargin="2" topmargin="2" style="background-color:transparent;<%=cur%>" text="#cccccc" link="#cccccc" vlink="#cccccc" alink="#cccccc">
<table width="615" border="0" cellspacing="0" cellpadding="0">
  <tr> 
    <td width="7" align="left" >
<div align="right"><img src="Style/<%=Trim(C(5))%>/t_t_l.gif" width="7"></div></td>
    <td width="599" background="Style/<%=Trim(C(5))%>/t_t_m.gif"><font color="#6699CC" size="2"><strong> 
      </strong></font> 
	 <%if Trim(C(5))="sky" Then%> 
      <table width="98%" border="0" align="center" cellpadding="0" cellspacing="0" style="cursor: hand;">
        <tr> 
          <td width="2%"><img src="Style/<%=Trim(C(5))%>/icon_01.gif"></td>
          <td width="88%"><strong class="datet">注   册</strong></td>
          <td width="10%"><img src="Style/<%=Trim(C(5))%>/more.gif"></td>
        </tr>
      </table>
<%End If%>	  
    </td>
    <td width="7" align="right" > 
      <div align="left"><img src="Style/<%=Trim(C(5))%>/t_t_r.gif" width="7" border="0"></div></td>
  </tr>
  <tr> 
    <td background="Style/<%=Trim(C(5))%>/t_m_l.gif">&nbsp;</td>
    <td width="599" rowspan="2"> <div align="center">
		 <%if Trim(C(5))="plady" Then%> 
      <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" style="cursor: hand;">
        <tr> 
          <td width="2%"><img src="Style/<%=Trim(C(5))%>/icon_01.gif"></td>
          <td width="88%"><strong class="datet">注   册</strong></td>
          <td width="10%"><img src="Style/<%=Trim(C(5))%>/more.gif"></td>
        </tr>
      </table>
        <%End If%>
        <table width="100%"  border="0" cellspacing="0" cellpadding="0"  style="word-break:break-all ;word-wrap: break-all;">
          <tr align="center"> 
            <td colspan="2"><table width="99%" height="16"  border="0" cellpadding="0" cellspacing="0">
                <tr> 
                  <td width="599" height="10" background="Style/<%=Trim(C(5))%>/titleback.gif">&nbsp;</td>
                </tr>
              </table>
              
            </td>
          </tr>
        </table>
		<br>
          <table width="90%" border="0" cellspacing="0" cellpadding="0">
            <tr> 
              <td class="title3"><b>·新用户注册</b> </td>
            </tr>
          </table>
          <table width="90%" border="0" cellspacing="1" cellpadding="0" class="out">
            <tr> 
              <td width="50%"> <table border="0" cellspacing="1" cellpadding="2" width="100%">
                <tr> 
                  <td class="backf" width="30%">你的登陆号码是：<%=JaUID%></td>
                </tr>
              </table></tr>
          </table>
        <br>
      </div></td>
    <td width="7" background="Style/<%=Trim(C(5))%>/t_m_r.gif"> 
      <div align="left"></div></td>
  </tr>
  <tr> 
    <td background="Style/<%=Trim(C(5))%>/t_m_l.gif"></td>
    <td background="Style/<%=Trim(C(5))%>/t_m_r.gif">
<div align="left"></div></td>
  </tr>
  <tr> 
    <td height="7"><img src="Style/<%=Trim(C(5))%>/t_d_l.gif" width="7" height="7"></td>
    <td width="599" height="7" background="Style/<%=Trim(C(5))%>/t_d_m.gif"></td>
    <td height="7"><img src="Style/<%=Trim(C(5))%>/t_d_r.gif" width="7" height="7"></td>
  </tr>
</table>
</body>
</html>
