{#include file="sys/admin_header.htm"#}
<script type="text/javascript" src="js/jquery.userinfotip-min.js"></script>
<script type="text/javascript">
$(document).ready(function()
{
	//点击批量取消	
	$("#ButDelOrder").click(function(){
		if (confirm('你确定要取消吗？'))
		{
			$("form[name=form1]").submit()
		}
	});
		
});
</script>
<div class="admin_main_nr_dbox">
<div class="pagetit">
	<div class="ptit"> {#$pageheader#}</div>
  <div class="clear"></div>
</div>
  <div class="seltpye_x">
		<div class="left">完成状态</div>	
		<div class="right">
			<a href="{#"state:"|qishi_parse_url#}" {#if $smarty.get.state==""#}class="select"{#/if#}>不限</a>
			<a href="{#"state:2"|qishi_parse_url#}" {#if $smarty.get.state=="2"#}class="select"{#/if#}>已完成</a>
			<a href="{#"state:1"|qishi_parse_url#}" {#if $smarty.get.state=="1"#}class="select"{#/if#}>待付款</a>
			<div class="clear"></div>
		</div>
		<div class="clear"></div>
  </div>
    <div class="seltpye_x">
		<div class="left">付款方式</div>	
		<div class="right">
			<a href="{#"typename:"|qishi_parse_url#}" {#if $smarty.get.typename==""#}class="select"{#/if#}>不限</a>
			{#foreach from=$payment_list item=list#}
			<a href="{#"typename:"|cat:$list.typename|qishi_parse_url#}" {#if $smarty.get.typename==$list.typename#}class="select"{#/if#}
			{#if $list.typename!='alipay' && $list.typename!='tenpay'#}style="display:none"{#/if#}>{#$list.byname#}</a>
			{#/foreach#}
			<div class="clear"></div>
		</div>
		<div class="clear"></div>
  </div>
  <div class="seltpye_x">
		<div class="left">添加时间</div>	
		<div class="right">
		<a href="{#"settr:"|qishi_parse_url#}" {#if $smarty.get.settr==""#}class="select"{#/if#}>不限</a>
		<a href="{#"settr:3"|qishi_parse_url#}" {#if $smarty.get.settr=="3"#}class="select"{#/if#}>三天内</a>
		<a href="{#"settr:7"|qishi_parse_url#}" {#if $smarty.get.settr=="7"#}class="select"{#/if#}>一周内</a>
		<a href="{#"settr:30"|qishi_parse_url#}" {#if $smarty.get.settr=="30"#}class="select"{#/if#}>一月内</a>
		<a href="{#"settr:180"|qishi_parse_url#}" {#if $smarty.get.settr=="180"#}class="select"{#/if#}>半年内</a>
		<a href="{#"settr:360"|qishi_parse_url#}" {#if $smarty.get.settr=="360"#}class="select"{#/if#}>一年内</a>
		<div class="clear"></div>
		</div>
		<div class="clear"></div>
  </div>
  <form id="form1" name="form1" method="post" action="?act=order_del">
  {#$inputtoken#}
  <table width="100%" border="0" cellpadding="0" cellspacing="0"  id="list" class="link_lan">
    <tr>
      <td align="center" class="admin_list_tit admin_list_first">申请状态</td>
	  <td align="center" class="admin_list_tit">提现状态</td>
	  <td align="center" class="admin_list_tit">提现金额</td>
	  <td align="center" class="admin_list_tit">申请会员</td>
	  <td align="center" class="admin_list_tit">申请时间</td>
	  <td align="center" class="admin_list_tit">支付方式</td>
	  <td align="center" class="admin_list_tit">支付帐号</td>
	  <td align="center" class="admin_list_tit">真实姓名</td>
	  <td align="center" class="admin_list_tit">操作</td>
    </tr>
	{#foreach from=$orderlist item=list#}
      <tr>
      <td align="center" class="admin_list admin_list_first">	 
	  {#if $list.state=="1"#}
	  <span style="color: #FF6600">待付款...</span>
	  {#/if#}
	  {#if $list.state=="2"#}
		<span style="color: #009900;">已完成</span>
	  {#/if#}
	   </td>
	    <td align="center" class="admin_list">{#$list.oid#}</td>
        <td align="center" class="admin_list">￥<span class="vtip" title="当前帐号可用余额：￥{#$list.user_account.available_funds#}<br>当前帐号冻结资金：￥{#$list.user_account.blocked_funds#}"><strong>{#$list.extract_money#}</strong>元</span></td>         
		<td align="center" class="admin_list">
		{#if $list.username#}
		{#$list.username#}
		{#else#}
		未填写企业资料
		{#/if#}
		</td>
		<td align="center" class="admin_list">{#$list.addtime|date_format:"%Y-%m-%d"#}</td>    
        <td align="center" class="admin_list">{#$list.payment_name#}</td> 
        <td align="center" class="admin_list">{#$list.extract_pay_account#}</td>
        <td align="center" class="admin_list">{#$list.extract_pay_uname#}</td>   
        <td align="center" class="admin_list">
		{#if $list.state==2#}<a href="?act=account_withdrawal_show&id={#$list.id#}">查看</a>{#/if#}
		{#if $list.state==1#}
		<a href="?act=account_withdrawal_set&id={#$list.id#}">设置</a>{#/if#}
		&nbsp;
		<a href="?act=management&id={#$list.uid#}"  target="_blank" class="userinfo"  id="{#$list.uid#}">管理</a>
		</td>
      </tr>
      {#/foreach#}
  </table>
	{#if !$orderlist#}
	<div class="admin_list_no_info">没有任何信息！</div>
	{#/if#}
  </form>
	
<div class="page link_bk">{#$page#}</div>
</div>
{#include file="sys/admin_footer.htm"#}
</body>
</html>