<!--#include virtual="/show/userhead.asp"-->
<!--#include file="subleft.asp"-->
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />

<title><%=webname%>-财务详情</title>

<br>
<DIV id=main2> 
<%
id=SafeRequest("id")
c=SafeRequest("c")
cid=SafeRequest("cid")

if c<>"" then
sql="select * from aycaiwu where aycailiushui='"&c&"' and aycaiwuuser="&clng(request.Cookies("aynameid"))&"" 
elseif id<>"" then 
sql="select * from aycaiwu where aycaiwudingdan='"&id&"' and aycaiwuuser="&clng(request.Cookies("aynameid"))&"" 
elseif cid<>"" then
sql="select * from aycaiwu where aycaiwuid="&cid&" and aycaiwuuser="&clng(request.Cookies("aynameid"))&"" 
end if
 

rs.open sql,conn,1,1
if rs.bof and rs.eof then
call PopErr("未找到订单")
end if

%>



<%call webleft()%>
<DIV id=main_right>
<DIV id=main_right_content>

<H2><SPAN>财务详情</SPAN></H2>
<DIV class=main3>
  <table width="99%" border="0" align="center" cellpadding="0" cellspacing="0" class="table_style_a1">

       <tr>
        <th width="160" align="center" class="border_right border_bottom" >财务流水号：
        <td width="250" align="center" class="border_right border_bottom" style="font-size: 14px; color: #FF0000; font-weight: bold" >
		<%if trim(rs("aycailiushui"))<>"" then
		response.Write rs("aycailiushui") 
			if cint(rs("isalipayfz"))=1 then 
			response.Write("<span style=color: '#FF6600'>[分]</span>")
			end if
		else
		response.Write trim(rs("aycaiwudingdan"))
		end if
		%>		</td>
        
        <th width="160" align="center" class="border_right border_bottom">
		<%
		if not isnull(rs("aycaiwuzhifu")) and cint(rs("aycaiwuleibie"))=3 then
		response.Write("财务状态：")
		else
		response.Write("订单号：")
		end if
		%>
		
        <td width="250" align="center" class=" border_bottom">
		<%
		if not isnull(rs("aycaiwuzhifu")) and cint(rs("aycaiwuleibie"))=3 then
		if cint(rs("aycaiwuzt"))=0 then response.Write("未处理")
		if cint(rs("aycaiwuzt"))=1 then response.Write("交易成功")
		if cint(rs("aycaiwuzt"))=2 then response.Write("交易失败")
		else
			if trim(rs("aycaiwudingdan"))<>"" then
            response.Write rs("aycaiwudingdan")
			else
			response.Write("-")
            end if
		end if%></td>                
       </tr>
	  <tr onmouseover=this.bgColor='#D2FFFF' onmouseout=this.bgColor='#ffffff'>
        <th align="center" class="border_right border_bottom">付款交易号：
        <td align="center" class="border_right border_bottom">
		<%
		if trim(rs("aycaiwuptjy"))<>"" then
		response.Write rs("aycaiwuptjy")
		else
		response.Write("-")
		end if
		%></td>
        <th align="center" class="border_right border_bottom">交易方向：
        <td align="center" class=" border_bottom"><%
		if cint(rs("aycaiwuleibie"))=0 then response.Write("入款")
		if cint(rs("aycaiwuleibie"))=1 then response.Write("系统结算")
		if cint(rs("aycaiwuleibie"))=2 then response.Write("支出")
		if cint(rs("aycaiwuleibie"))=3 then response.Write("充值")
		if cint(rs("aycaiwuleibie"))=9 then response.Write("手动提现")
		if cint(rs("aycaiwuleibie"))=11 then response.Write("冻结")
		%></td>
        </tr>
	  <tr onmouseover=this.bgColor='#D2FFFF' onmouseout=this.bgColor='#ffffff'>
	    <th align="center" class="border_right border_bottom">发生金额：      
	    <td align="center" class="border_right border_bottom" style="color: #FF0000; font-weight: bold"><%=Formatnumber(rs("aycaiwujine"),3,true,-1,0)%>元</td>
	    <th align="center" class="border_right border_bottom">提现状态：
	    <td align="center" class=" border_bottom">
		<%
		if cint(rs("aycaiwuleibie"))=1 or cint(rs("aycaiwuleibie"))=9 then
		if cint(rs("aycaiwutxcl"))=0 then response.Write("未处理")
		if cint(rs("aycaiwutxcl"))=1 then response.Write("已处理")
		if cint(rs("aycaiwutxcl"))=2 then response.Write("申请中")
		else
		response.Write("-")
		end if
		%>		</td>
	  </tr>
	  <tr onmouseover=this.bgColor='#D2FFFF' onmouseout=this.bgColor='#ffffff'>
	    <th align="center" class="border_right border_bottom">支付方式：      
	    <td align="center" class="border_right border_bottom" >
		<%
		if rs("aycaiwuzhifu")<>"" then
		if cint(rs("aycaiwuzhifu"))=0 then response.Write("网银")
		if cint(rs("aycaiwuzhifu"))=1 then response.Write("充值卡")
		if cint(rs("aycaiwuzhifu"))=2 then response.Write("支付宝")
		if cint(rs("aycaiwuzhifu"))=3 then response.Write("财付通")
		if cint(rs("aycaiwuzhifu"))=4 then response.Write("快捷")
		if cint(rs("aycaiwuzhifu"))=99 then response.Write("账户余额")
		else
		response.Write("-")
		end if
		%>		</td>
	    <th align="center" class="border_right border_bottom">支付通道代码：
	    <td align="center" class=" border_bottom">
		<%
		if trim(rs("aycaiwupid"))<>"" then
		response.Write rs("aycaiwupid")
		else
		response.Write("-")
		end if
		%>		</td>
	  </tr>
	  <tr onmouseover=this.bgColor='#D2FFFF' onmouseout=this.bgColor='#ffffff'>
	    <th align="center" class="border_right border_bottom">发生时间：
	    <td align="center" class="border_right border_bottom"><%=rs("aycaiwudate")%></td>
	    <th align="center" class="border_right border_bottom">-
	    <td align="center" class=" border_bottom">-</td>
	  </tr>
	  <%

%>
	  
	  
    </table>
</DIV>
<%rs.close%>

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

<br>

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


