{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 width="10%" align="left">姓名</th>
	<th width="15%" align="left">手机</th>
	<th width="45%" align="left">地址</th>
	<th width="10%">是否默认</th>
	<th width="10%">排序</th>
	<th width="10%" align="left">操作</th>
	</tr>
	{foreach from=$customer_address_list item=list}
	<tr>
	<td class="first-cell">{$list.name|escape:html}</td>
	<td align="left"><span>{$list.mobile}</span></td>
	<td align="left"><span>{$list.province_name}{$list.city_name}{$list.district_name}{$list.address}</span></td>
	<td align="center"><img src="images/{if $list.is_default}yes{else}no{/if}.gif" onclick="listTable.toggle(this, 'toggle_default', {$list.address_id})" /></td>
	<td align="center"><span onclick="listTable.edit(this, 'edit_sort_order', {$list.address_id})">{$list.sort_order}</span></td>
	<td align="right" nowrap="true" class="operation">
	<a href="customer_address.php?act=edit&id={$list.address_id}{$strpass}" title="编辑" class="op_edit"></a>
	<a href="javascript:;" onclick="listTable.remove({$list.address_id}, '您确认要删除吗?', 'remove{$strpass}')" 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}