{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}
{foreach from=$language item=list name=language}

<table width="100%" cellspacing="0" cellpadding="0" class="list-table" {if $smarty.foreach.language.index>0} style="display:none;border-top:1px #d6dfe7 solid;"{else}style="border-top:1px #d6dfe7 solid;"{/if} id="language_{$list.language_id}-table">
	<tr class="thead">
	<th align="left"  width="50%">名称</th>
	<th width="40%">排序</th>
	<th width="10%" align="left">操作</th>
	</tr>
	{foreach from=$brand_list item=brand}
		{if $list.language_id == $brand.language_id}
			<tr>
			<td class="first-cell">{$brand.brand_name|escape:html}</td>
			<td align="center"><span onclick="listTable.edit(this, 'edit_sort_order', {$brand.brand_id})">{$brand.sort_order}</span></td>
			<td align="right" nowrap="true" class="operation">
			<a href="brand.php?act=edit&id={$brand.brand_id}" title="编辑" class="op_edit"></a>
			<a href="javascript:;" onclick="listTable.remove({$brand.brand_id}, '您确认要删除吗?')" title="删除" class="op_del"></a>
			</td>
			</tr>
		{/if}
	{foreachelse}
	<tr><td class="no-records" colspan="15">暂无品牌信息</td></tr>
	{/foreach}
</table>
{/foreach}

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