{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">
		<tr class="thead">
		<th width="15%" align="left">支付方式名称</th>
		<th width="50%" align="left">支付方式描述</th>
		<th width="10%" align="center">状态</th>
		<th width="10%" align="center">排序</th>
		<th width="10%" align="left">操作</th>
		</tr>
		{foreach from=$modules item=list}
		<tr>
		<td class="first-cell"><span>{$list.name|escape:html}</span></td>
		<td align="left"><span>{$list.desc}</span></td>
	     <td align="center"><img src="images/{if $list.enabled}yes{else}no{/if}.gif" onclick="listTable.toggle(this, 'toggle_enabled', {$list.pay_id})" /></td>
		<td align="center"><span onclick="listTable.edit(this,'edit_sort_order', {$list.pay_id})">{$list.pay_order|escape:html}</span></td>
		<td align="right" nowrap="true" class="operation">
		<a href="payment.php?act=edit&code={$list.pay_code}" title="编辑" class="op_edit"></a>
		</td>
		</tr>
		{/foreach}
	</table>

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