You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

60 lines
2.0 KiB

{if $full_page}
{include file="pageheader.htm"}
{insert_scripts files="../js/utils.js,listtable.js"}
<!-- 订单搜索 -->
<!-- 退换货原因列表 -->
<form method="post" action="order.php?act=operate" name="listForm" onsubmit="return check()">
<div class="list-div" id="listDiv">
{/if}
<table width="100%" cellspacing="1" cellpadding="2" id="list-table">
<tr>
<th>退换货原因</th>
<th>是否显示</th>
<th>排序</th>
<th>操作</th>
</tr>
{foreach from=$cause_list item=cat}
<tr align="center" class="{$cat.level}" id="{$cat.level}_{$cat.cat_id}">
<td width="20%" align="left" >
{if $cat.is_leaf neq 1}
<img src="images/menu_minus.png" id="icon_{$cat.level}_{$cat.cat_id}" width="9" height="9" border="0" style="margin-left:{$cat.level}em" onclick="rowClicked(this)" />
{else}
<img src="images/menu_arrow.gif" width="9" height="9" border="0" style="margin-left:{$cat.level}em" />
{/if}
<span><a href="goods.php?act=list&cat_id={$cat.cat_id}">{$cat.cause_name}</a></span>
{if $cat.cat_image}
<img src="../{$cat.cat_image}" border="0" style="vertical-align:middle;" width="60px" height="21px">
{/if}
</td>
<td width="20%"><img src="images/{if $cat.is_show eq '1'}yes{else}no{/if}.gif" /></td>
<td width="15%" align="center"><span onclick="listTable.edit(this, 'edit_sort_order', {$cat.cat_id})">{$cat.sort_order}</span></td>
<td width="24%" align="center">
<a href="order.php?act=edit_cause&amp;c_id={$cat.cause_id}">{$lang.edit}</a> |
<a href="javascript:;" onclick="listTable.remove({$cat.cause_id}, '{$lang.drop_confirm}' , 'remove_cause')" title="{$lang.remove}">{$lang.remove}</a>
</td>
</tr>
{/foreach}
</table>
<!-- 分页 -->
{if $full_page}
</div>
</form>
{literal}
<script language="JavaScript">
onload = function()
{
// 开始检查订单
startCheckOrder();
}
var imgPlus = new Image();
imgPlus.src = "images/menu_plus.png";
</script>
{/literal}
{include file="pagefooter.htm"}
{/if}