<{include file="index/header.html"}> 
<div class="nav"><span>分销会员</span></div>
<div class="explain">
	<div class="name"><span>操作提示</span></div>
	<div class="con">
		<p>推广者佣金结算，结算为月结算，正常为7天之后方可结算，由于涉及到退货等因素，7天为合适的结算周期。</p>  
		<p>结算只能结算上一月的，不能对当月的进行结算。</p>
	</div> 
</div>
<div class="main"> 
	<table width="100%" class="ltable">
	  	<thead>
		  	<tr>
				<th width="80">编号</th> 
				<th width="100">时间</th> 
				<th width="100">账户佣金</th> 
				<th width="100">用户编号</th> 
				<th width="100">推广人</th> 
				<th width="100">结算状态</th> 
				<th width="100">操作</th> 
				<th></th>
		  	</tr>
	  	</thead>
		<tbody>
<{if $data.list}>
	<{foreach item=i from=$data.list}>
		<tr>
			<td><{$i.id}></td>  
			<td><{$i.settle_month}></td>
			<td><{$i.price}></td>
			<td><{$i.uid}></td>
			<td><{$i.nick}></td> 
			<td><{if $i.settle_status}>已结算<{else}><span style="color:#FF0000; font-weight:bold;">未结算</span><{/if}></td> 
			<td><a href="?m=distribute&a=settlement_do&id=<{$i.id}>" class="edit">编辑</a></td>
			<td></td>
	  	</tr>
	<{/foreach}>
		<{if $data.page}><tr><td colspan="8"><div class="page"><{$page}></div></td></tr><{/if}>	
<{else}>
	  	<tr>
			<td colspan="8">还没有数据</td>
	  	</tr>
<{/if}>
		</tbody> 
	</table>
</div>
<{include file="index/footer.html"}> 
