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

<%
'call iszizhu()
act=SafeRequest("act")
cact=SafeRequest("cact")
page=SafeRequest("page")
link="log?ct="

if cact="cha" then
link="log?cact=cha"


end if


%>



<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="gexian20"></div>     
						<div class="neitable">
                        <table>

           		  		<tr class="hd">
                            <td>套餐ID</td> 
                            <td>套餐名称</td>
                            <td>套餐价格</td>
                            <td>是否为包年</td>
                            <td>包年支付费率</td>
                            <td>套餐总流量/年</td>
                            <td>剩余流量</td>
                            <td>已用流量</td>
                            <td>折合费率</td>
                            <td>购买时间</td>
                            <td>套餐状态</td>
                        </tr>
						<%
                        sql="select * from aytaocanlog where aytcuid="&request.Cookies("aynameid")&" order by aytcid asc" 
                        rs.open sql,conn,1,1
                        if not(rs.bof and rs.eof) then
                        do while not rs.eof%>
           		  		<tr onmouseover=this.bgColor='#FAFAFA' onmouseout=this.bgColor='#ffffff'>
                            <td><%=rs("aytcid")%></td> 
                            <td><%=rs("aytcname")%></td>
                            <td><%=rs("aytcjin")%>元</td>
                            <td>
							<%
                            if cint(rs("aytcisyear"))=0 then response.Write"否"
                            if cint(rs("aytcisyear"))=1 then response.Write"是"
                            %>
                            </td>
                            <td>
							<%
                            if cint(rs("aytcisyear"))=0 then
                            response.Write"-"
                            else
                            response.Write Formatnumber(rs("aytcyearf"),2,true,-1,0)&"%"
                            end if
                            %>
                            </td>
                            <td>
							<%
                            if cint(rs("aytcisyear"))=0 then
                            response.Write rs("aytczong")&"元"
                            else
                            response.Write "-"
                            end if
                            %>
                            </td>
                            <td>
							<%
                            if cint(rs("aytcisyear"))=0 then
                            response.Write Formatnumber(rs("aytcsheng"),2,true,-1,0)&"元"
                            else
                            response.Write "-"
                            end if
                            %>
                            </td>
                            <td>
							<%
                            if cint(rs("aytcisyear"))=0 then
                            shengyu=ccur(rs("aytczong"))-ccur(rs("aytcsheng"))
                            response.Write Formatnumber(shengyu,2,true,-1,0)&"元"
                            else
                            response.Write "-"
                            end if
                            %>
                            </td>
                            <td>
							<%
                            if cint(rs("aytcisyear"))=0 then
                            zhehe=rs("aytcjin")/rs("aytczong")*100
                            response.Write Formatnumber(zhehe,2,true,-1,0)&"%"
                            else
                            response.Write "-"
                            end if
                            %>
                            </td>
                            <td><%=rs("aytcbuyd")%></td>
                            <td>
							<%
                            if cint(rs("aytczt"))=0 then response.Write "正常"
                            if cint(rs("aytczt"))=1 then response.Write "关闭"
                            if cint(rs("aytczt"))=2 then response.Write "待生效"
                            %>
                            </td>
                        </tr>
						<%
                        rs.movenext  
                        loop
                        else%>
    					  <tr>
                            <td colspan="11" align="center">还未购买套餐,<a href="taocanbuy">点击购买</a></td>
                          </tr>
                    <%end if
                    rs.close%>
                    </table>
                    </div>

                   
            <div class="gexian20"></div>
            <div class="mzsmbox2" style="padding-top:20px;">
            流量套餐：(未上架) <br>
            说明：购买流量套餐 在套餐金额总流量内的交易 不在收取手续费。<br>
            例如购买套餐后发生100元的交易，商户会直接入账100元。直到套餐流量用完或到期。<br>
            <br>
            
            包年套餐：<br>
			说明：购买包年套餐后，交易手续费按照套餐的手续费计算。<br>
            例如包年套餐的手续费为1.8%，发生100元的交易，商户会入账98.2元。<br>
            可以参考自己的交易额,选择更为合适的套餐。
            </div>


            <!-------------------------------------- 结束 -------------------------------------->
                   
     
                   
   
            
          
            
           

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



</div>








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


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

</body>
</html>