<!--#include file="head.asp"-->
<style>body{background-color: #fff;}</style>

<%
act=SafeRequest("act")
page=SafeRequest("page")
link="duihuanlist?ct="
%>




<main>
<div  class="container">
<div class="ui-lrctnei">
<%call userleft()%>
<div class="r"> 
<div class="ui-content">
                        
					
                            
<div class="neiye">


            <!-------------------------------------- 开始 -------------------------------------->									
            <div class="neibiaoti"></div>
            <div class="neibiaoti2">兑换记录</div>
           	<div class="gexian"></div>
                	<div class="neitable">
                    <form action="?page=<%=page%>" method="post" name="myform" id="myform"> 
					<table>
                        <tr class="hd">
                            <td>兑换码</td>
                            <td>兑换类别</td>
                            <td>价值</td>
                            <td>状态</td>
                            <td>使用时间</td>
                        </tr>
						<%
                        sql="select * from ayduihuan where aydhuid="&request.Cookies("aynameid")&" order by aydhid desc" 
                        rs.open sql,conn,1,1
                        rs.pagesize=50
                        pagecount=rs.pagecount 
                        if request("page")="" then 
                        page=1
                        else
                        page=int(request("page")) 
                        end if
                        if page<=0 then page=1 
                        if request("page")="" then page=1
                        if not(rs.bof and rs.eof) then
                        rs.absolutepage=page
                        do while not rs.eof%>
                  		<tr onmouseover=this.bgColor='#FAFAFA' onmouseout=this.bgColor='#ffffff'>
                            <td><%=rs("aydhhao")%></td>
                            <td>
							<% 
                            if rs("aydhlei")=1 then
                            response.Write("加急免佣金流量")
                            elseif rs("aydhlei")=2 then
                            response.Write("VIP尊贵会员")
                            elseif rs("aydhlei")=3 then
                            response.Write("短信流量")
                            elseif rs("aydhlei")=4 then
                            response.Write("内嵌代码")
                            end if
                            %>
                            </td>
                            <td>
							<%
                            if cint(rs("aydhlei"))=1 then
                            response.Write rs("aydhmj")&"元"
                            elseif rs("aydhlei")=3 then
                            response.Write rs("aydhsms")&"条"
                            end if
                            %>
                            </td>
                            <td>
							<%
                            if rs("aydhisok")=0 then
                            response.Write("<span style=color:#009933>有效</span>")
                            else
                            response.Write("已使用")
                            end if
                            %>
                            </td>
                            <td>
							<%=rs("aydhkdate")%>
                            </td>
                        </tr>
						<%
                        n=n+1
                        rs.movenext 
                        if n>=rs.pagesize then exit do  
                        loop
                        end if
                        zongshu=rs.RecordCount
                        rs.close%>

                        <tr>
                            <td colspan="5" style="text-align:left">
                            &nbsp;&nbsp;&nbsp;&nbsp;<%call pageye()%>
                            </td>
                        </tr>

                    </table>
                    </form>
            		</div>
            <!-------------------------------------- 结束 -------------------------------------->
                   


                                                                 
                   
            <div class="gexian20"></div>
            <div class="mzsmbox2" style="padding-top:20px;">
                有效兑换码可以兑换加急免佣金流量,短信流量,尊贵VIP会员,内嵌代码。<br>
                兑换码获得途径:<%=weburl%>faka
            </div>
          </div>
            
           




        <div class="clearfix"></div>



</div>








</div>
</div>
</div>
</div>
</main>


<footer>
<div class="container">
</div>
</footer>

</body>
</html>