<table width="100%" class="topmenu">
	<tr><td>
		<a href="bill.php"{?if ''==$Saxue.request.status?} class="on"{?/if?}><em>全部提现</em></a><span>|</span>
		<a href="bill.php?status=1"{?if '1'==$Saxue.request.status?} class="on"{?/if?}><em>已支付</em></a><span>|</span>
		<a href="bill.php?status=0"{?if '0'==$Saxue.request.status?} class="on"{?/if?}><em>待支付</em></a><span>|</span>
		<a href="bill.php?status=2"{?if '2'==$Saxue.request.status?} class="on"{?/if?}><em>未支付</em></a>
	</td></tr>
</table>
<form name="frmsearch" method="post">
<input name="page" id="page" type="hidden" value="1">
<input name="pagesize" id="pagesize" type="hidden" value="{?$Saxue.request.pagesize?}">
<table class="sgrid" width="100%" align="center">
    <tr>
        <td>
			会员ID：&nbsp;
			<input type="text" name="uid" id="uid" class="text" value="{?$Saxue.request.uid?}"/>&nbsp;&nbsp;
			<input type="submit" name="btnsearch" class="button" value="搜 索">
        </td>
    </tr>
</table>
</form>
<br />
<form method="post" name="frmpost">
<input name="jumpurl" type="hidden" value="{?$saxue_thisurl?}">
<table class="grid" width="100%" align="center">
	<tr class="head">
		<td><input type="checkbox" id="checkall" name="checkall" value="checkall" onclick="javascript: for (var i=0;i<this.form.elements.length;i++){ if (this.form.elements[i].name != 'checkkall') this.form.elements[i].checked = form.checkall.checked; }"></td>
		<td>UID</td>
		<td>提现金额</td>
		<td>申请日期</td>
		<td>支付状态</td>
		<td>支付日期</td>
		<td>支付帐号</td>
		<td>操作</td>
	</tr>
	{?section name=i loop=$rows?}
	<tr class="rowbg">
		<td><input type="checkbox" name="ids[]" value="{?$rows[i].id?}"/></td>
		<td class="blue"><a href="javascript:viewuser({?$rows[i].uid?})">{?$rows[i].uid?}</a></td>
		<td>{?$rows[i].amount?}</td>
		<td>{?$rows[i].applytime|date:"Y-m-d H:i"?}</td>
		<td>{?if $rows[i].status==1?}<span class="green">已支付</span>{?elseif $rows[i].status==2?}<span class="red">未支付</span>{?else?}待支付{?/if?}</td>
		<td>{?if $rows[i].status==1?}{?$rows[i].paytime|date:'Y-m-d H:i'?}{?else?}-{?/if?}</td>
		<td>{?$rows[i].account?}</td>
		<td>
			<a href="?action=delete&ids[]={?$rows[i].id?}" onclick="return confirm('你确定要删除此条支付记录吗？')">{?function saxue_geticon:'del':'删除记录'?}</a>
			{?if $rows[i].status==0?}<a href="javascript:doDialog('{?$saxue_url?}/member/admin/bill_hand.php?id={?$rows[i].id?}','支付处理','450','300')">{?function saxue_geticon:'money':'支付处理'?}</a>
			{?else?}<a href="javascript:doDialog('{?$saxue_url?}/member/admin/bill_hand.php?id={?$rows[i].id?}','支付详细','450','300')">{?function saxue_geticon:'look':'支付详细'?}</a>{?/if?}
		</td>
	</tr>
	{?/section?}
	<tr>
		<td colspan="12" class="foot">
			<select name="action" id="batchaction">
				<option value="">请选择批量操作</option>
				<option value="delete">删除记录</option>
			</select>&nbsp;
			<input type="button" value="批量操作" class="button" onclick="batchctrl();">
		</td>
	</tr>
</table>
</form>
<table width="100%"><tr><td width="100%">
	<div class="fl pages">
		<ul>
			<li><span class="fl">每页显示:</span></li>
			<li{?if $Saxue.request.pagesize==10?} class="selected"{?/if?}><a href="javascript:void(0)" onclick="setPage(10)">10</a></li>
			<li{?if $Saxue.request.pagesize==30?} class="selected"{?/if?}><a href="javascript:void(0)" onclick="setPage(30)">30</a></li>
			<li{?if $Saxue.request.pagesize==50?} class="selected"{?/if?}><a href="javascript:void(0)" onclick="setPage(50)">50</a></li>
			<li{?if $Saxue.request.pagesize==100?} class="selected"{?/if?}><a href="javascript:void(0)" onclick="setPage(100)">100</a></li>
		</ul>
	</div>
	<div class="fr pages">{?$url_jumppage?}</div>
</td></tr></table>