<{include file="index/header.html"}> 
<div class="nav"><span>用户提现</span></div>
<div class="explain">
	<div class="name"><span>操作提示</span></div>
	<div class="con">
		<p>提现为手动提现，用户申请提现，平台审核通过并支付，确认支付即可。</p> 
		<p>无法支付或者支付出现错误，予以驳回，直至通过为止。</p>
	</div> 
</div>
<div class="filter"> 
	<a href="?m=bill&a=withdraw" class="<{if $smarty.get.pay_status==''}>option_ch<{else}>option<{/if}>">全部</a>
	<a href="?m=bill&a=withdraw&pay_status=0" class="<{if $smarty.get.pay_status=='0'}>option_ch<{else}>option<{/if}>">申请提现</a>
	<a href="?m=bill&a=withdraw&pay_status=1" class="<{if $smarty.get.pay_status=='1'}>option_ch<{else}>option<{/if}>">支付成功</a>
	<a href="?m=bill&a=withdraw&pay_status=2" class="<{if $smarty.get.pay_status=='2'}>option_ch<{else}>option<{/if}>">支付驳回</a>
</div> 
<div class="main"> 
	<table class="ltable">
	  	<thead>
		  	<tr>
				<th width="80">编号</th>
				<th width="60">类型</th>
				<th width="150">申请账户</th>
				<th width="100">提现金额</th> 
				<th width="110">操作</th>
				<th width="80">支付状态</td> 
				<th width="120">支付时间</th>
				<th width="120">申请时间</th> 
				<th></th>
		  	</tr>
	  	</thead>
		<tbody>
		<{if $data.list}>
			<{foreach item=i from=$data.list}>
				<tr>
					<td><{$i.id}></td> 
					<td><{if $i.spid == '0'}>用户<{else}><span style="color:#FF0000; font-weight:bold;">商户</span><{/if}></td>
					<td><{$i.username}></td>
					<td><{$i.price}></td>  
					<td><a href="?m=bill&a=withdraw_do&id=<{$i.id}>" class="edit">结算操作</a></td>
					<td>
						<{if $i.pay_status == '1'}>
							支付成功
						<{elseif $i.pay_status == '2'}>
							<span style="color:#D7D217; font-weight:bold;">支付驳回</span>
						<{else}>
							<span style="color:#FF0000; font-weight:bold;">申请支付</span>
						<{/if}>
					</td>
					<td><{if $i.pay_status == '1'}><{$i.pay_time}><{else}>/<{/if}></td>
					<td><{$i.addtime}></td> 
					<td></td>
				</tr>
			<{/foreach}>
		<{else}>
	  		<tr><td colspan="9">还没有数据</td></tr>
		<{/if}>
		</tbody> 
	</table> 
	<{if $data.page}><div class="page"><{$data.page}></div><{/if}>
</div>
<{include file="index/footer.html"}>