<{import file="index/header.html" title="我的账户"}>
<{include file="account/tab.html"}> 
<style type="text/css">
label input{ margin:23px 5px 0 0; float:left;}
.mymn{ width:100%; padding:10px 0 20px 0; float:left; }
.mymn .l{ width:200px; float:left; }
.mymn span{ font-size:14px; float:left; width:100%; }
.mymn p{ width:100%; font-size:32px; color:#3D4557; font-weight:bold; float:left; } 
</style>
<div class="lbox">
	<div class="mymn">
		<{uqcms m="user" v="row" c="get_one:"|cat:$smarty.session.user.uid}>
		<div class="l">
			<span>可用余额</span>
			<p><{$row.price}></p>
		</div>
	</div> 
	<{uqcms m="account" v="data" c="bill:page=smarty.get.page&page_size=20"}>
	<table class="ltable">
		<thead>
			<tr> 
				<th width="123">时间</th> 
				<th>商品名</th>
				<th width="100">金额</th> 
				<th width="100">状态</th>  
			</tr>
		</thead> 
		<tbody>
		<{if $data.list}>
			<{foreach item=i from=$data.list}>		 
				<tr>
					<td><{$i.addtime}></td>  
					<td><{$i.name}></td>  
					<td><span style="color:#666666; "><{$i.price}></span></td> 
					<td>
						<{if $i.status == '1'}>
							成功
						<{else}>
							<span style="color:#999999;">未支付</span>
						<{/if}>
					</td> 
				</tr>
			<{/foreach}>
		<{else}>
			<tr><td colspan="4" class="btm"><div class="nomsg"><i></i><span>暂无交易</span></div></td></tr>	
		<{/if}>	
		</tbody>
	</table> 
	<{if $data.page}><div class="page"><{$data.page}></div><{/if}>
</div>
<{include file="index/footer.html"}>