<{include file="index/header.html"}>
<div class="nav"><span>分销比例</span></div>  
<div class="explain">
	<div class="name"><span>操作提示</span></div>
	<div class="con">
		<p>产品分销只针对人推广人模式，如A->B->C层级，交易成功，程序自动结算。</p>
		<p>商家设定的佣金，由平台自由分配，佣金总和为100%，切勿超出100%。</p> 
	</div> 
</div> 
<div class="filter">
	<a href="?m=distribute&a=rate_edit" class="add">添加分销</a> 
</div>
<div class="main"> 
	<table class="ltable">
		<thead>
			<tr>
				<th width="60">编号</th> 
				<th width="150">分类名称</th>
				<th width="100">佣金比例</th>
				<th width="100">排序</th>
				<th width="120">操作</th> 
				<th></th>
			</tr>
		</thead>
		<tbody>
		<{if $data}> 
			<{foreach item=i from=$data}>
				<tr>
					<td><{$i.id}></td> 
					<td><{$i.name}></td> 
					<td><{$i.commission_rate}> %</td> 
					<td><{$i.px}></td> 
					<td>
						<a href="?m=distribute&a=rate_edit&id=<{$i.id}>" class="edit">编辑</a> 
						<a href="?m=distribute&a=rate_del&id=<{$i.id}>" class="del">删除</a>
					</td> 
					<td></td>
				</tr>
			<{/foreach}>
		<{else}>
			<tr><td colspan="6">还没有数据，赶快添加吧！</td></tr>
		<{/if}>
		</tbody>
	</table> 
</div>
<{include file="index/footer.html"}> 