<!-- #include file="include/adovbs.inc" -->
<!-- #include file="include/dataconn.asp" -->
<!-- #include file="include/168soft_SqlIn.Asp" -->
<%
HyNumber=trim(Request("HyNumber"))

set HyMyTjRs=server.CreateObject("adodb.recordset")

	sql="SELECT Hy.ID,HyClub.HyID, HyClub.HyNumber,hy.HyParentName, HyClub.HyPassword, HyClub.HyPassword2, HyClub.HyParentNumber, HyClub.LeftNumber, HyClub.RightNumber, HyClub.IsLeaf, HyClub.AddTime, HyClub.IsApproved, HyClub.ApprovedTime, HyClub.HyTjNumber, HyClub.HyTjName, HyClub.HyBuyCount, HyClub.IsNewPeople, HyClub.HyLevel, HyClub.IsOtherField1, HyClub.IsOtherField2, HyClub.OtherIntFiled, HyClub.OtherStringFiled, HyClub.IsWuliu, HyClub.WuliuNumber, HyClub.KeyString, Hy.HyName, Hy.HySex, Hy.HyAge, Hy.HyCardNo, Hy.HyTel, Hy.HyMobile, Hy.HyMail, Hy.HyQQMSN, Hy.HyAddress, Hy.HyZipCode, Hy.HyOpenBank, Hy.HyOpenBankNo, Hy.HyOpenBankName, Hy.HyProduct, Hy.HyLocation, Hy.HyMemo FROM HyClub"
	sql =sql & "  INNER JOIN Hy ON HyClub.HyID = Hy.ID where HyClub.HyTjNumber='" & HyNumber & "' and HyClub.IsApproved=true"
HyMyTjRs.Open sql,conn	
J=HyMyTjRs.RecordCount
%>
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel="stylesheet" href="include/e1.css" type="text/css">
<script language='javascript' src='include/common.js'></script>
</head>

<body>
 <table width="90%" align="center" bgcolor="#AAAAAA" border="0" cellpadding="0" cellspacing="0" >
          <tr >
            <td>
<table width="100%" border="0" align="center" cellpadding="5" cellspacing="1" bordercolorlight="#f0f4ff" bordercolordark="#AAAAAA" ID="Table4">
        <tr class="tdTitle"> 
          <td height="30" colspan="7"><div align="center"><font size="3"><img src="Image/user.gif" width="32" height="32">直接推荐的会员</font></div></td>
        </tr>
        <tr> 
          <td width="11%" height="30" bgcolor="#FFFFFF">
<div align="center">编号</div></td>
          <td width="7%" bgcolor="#FFFFFF"> 
            <div align="center">姓名 </div></td>
          <td width="11%" bgcolor="#FFFFFF">
<div align="center">电子邮件</div></td>
          <td width="17%" bgcolor="#FFFFFF">
<div align="center">电话</div></td>
          <td width="17%" bgcolor="#FFFFFF">
<div align="center">手机</div></td>
          <td width="17%" bgcolor="#FFFFFF">
<div align="center">地址</div></td>
          <td width="20%" bgcolor="#FFFFFF">
<div align="center">邮编</div></td>
        </tr>
        <%
if j>0 then
    while (not HyMyTjRs.eof)%>
        <tr> 
          <td width="11%" height="30" bgcolor="#FFFFFF">
<div align="right"> 
              <% =HyMyTjRs("HyNumber")%>
            </div></td>
          <td width="7%" bgcolor="#FFFFFF">&nbsp; 
            <% =HyMyTjRs("HyName")%> </td>
          <td width="11%" bgcolor="#FFFFFF">&nbsp;
<% =HyMyTjRs("Hymail")%> </td>
          <td width="17%" bgcolor="#FFFFFF">&nbsp;
<% =HyMyTjRs("HyTel")%> </td>
          <td width="17%" bgcolor="#FFFFFF">&nbsp;
<% =HyMyTjRs("HyMobile")%> </td>
          <td width="17%" bgcolor="#FFFFFF">&nbsp;
<% =HyMyTjRs("Hyaddress")%> </td>
          <td width="20%" bgcolor="#FFFFFF">&nbsp;
<% =HyMyTjRs("HyZipCode")%> </td>
        </tr>
        <%
	HyMyTjRs.movenext
	wend %>
      </table>
 </td>
                </tr>
              </table>	
	<%end if%>
	<br>
<center><a href="javascript:history.back();"><strong>返回</strong></a></center>
</body>
</html>
