{if $full_page}
{include file="page_header.htm"}
{insert_scripts files="../js/utils.js,listtable.js"}
<form method="post" action="" name="listForm">
<div class="list-div" id="listDiv">
{/if}

<table width="100%" cellspacing="0" cellpadding="0" class="list-table" style="border-top:1px #d6dfe7 solid;">
	<tr class="thead">
	<th align="left"  width="50%">分组名称</th>
	<th width="40%">折扣百分比</th>
	<th width="10%" align="left">操作</th>
	</tr>
	{foreach from=$customer_group_list item=list}
	<tr>
	<td class="first-cell"><span onclick="listTable.edit(this, 'edit_name', {$list.customer_group_id})">{$list.name|escape:html}</span></td>
	<td align="center"><span onclick="listTable.edit(this, 'edit_discount', {$list.customer_group_id})">{$list.discount}</span></td>
	<td align="right" nowrap="true" class="operation">
	<a href="customer_group.php?act=edit&id={$list.customer_group_id}" title="编辑" class="op_edit"></a>
	<a href="javascript:;" onclick="listTable.remove({$list.customer_group_id}, '您确认要删除吗?')" title="删除" class="op_del"></a>
	</td>
	</tr>
	{foreachelse}
	<tr><td class="no-records" colspan="15">暂无分组信息</td></tr>
	{/foreach}
</table>

{if $full_page}
</div>
</form>
{insert_scripts files="tab.js"}
{include file="page_footer.htm"}
{/if}