<!--#include virtual="/show/userhead.asp"-->

<script>document.getElementById('o_9').setAttribute("class", "ed"); document.getElementById("t_9").style.display="";document.getElementById('s_9_2').setAttribute("class", "ed4");</script>

<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />


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



<title><%=webname%>-兑换-兑换记录</title>
<br>
<DIV id=main2> 
<DIV style="PADDING-LEFT:0px">
<DIV id=main_right_content>

<H2><SPAN>兑换-兑换记录</SPAN></H2>
<DIV class=main4>




<br>
                    <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>

<br>

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

</DIV></DIV>
<DIV class=clear></DIV></DIV>
</DIV>

<br>

	<!--#include virtual="/show/foot.asp"-->


