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.
 
 
 
 

72 lines
2.6 KiB

<!-- $Id: agency_list.htm 14216 2008-03-10 02:27:21Z testyang $ -->
{if $full_page}
{include file="pageheader.htm"}
{insert_scripts files="../js/utils.js,listtable.js"}
<form method="post" action="" name="listForm" onsubmit="return confirm(batch_drop_confirm);">
<div class="list-div" id="listDiv">
{/if}
<table cellpadding="3" cellspacing="1">
<tr>
<th> <input onclick='listTable.selectAll(this, "checkboxes")' type="checkbox" />
<a href="javascript:listTable.sort('percent_id'); ">{$lang.record_id}</a>{$sort_percent_id} </th>
<th><a href="javascript:listTable.sort('percent_value'); ">{$lang.percent_value}</a>{$sort_percent_value}</th>
<th>排序</th>
<th>添加时间</th>
<th>{$lang.handler}</th>
</tr>
{foreach from=$percent_list item=percent}
<tr>
<td><input type="checkbox" name="checkboxes[]" value="{$percent.percent_id}" />
{$percent.percent_id}</td>
<td align="center" class="first-cell">
<span onclick="javascript:listTable.edit(this, 'edit_percent_value', {$percent.percent_id})">{$percent.percent_value} </span>%</td>
<td align="center" class="first-cell">
<span onclick="javascript:listTable.edit(this, 'edit_sort_order', {$percent.percent_id})"><font style="font-weight:normal; color:#192e32; font-size:12px;">{$percent.sort_order}</font> </span></td>
<td align="center">{$percent.add_time}</td>
<td align="center">
<a href="merchants_percent.php?act=edit&id={$percent.percent_id}" title="{$lang.edit}">{$lang.edit}</a> |
<a href="javascript:void(0);" onclick="listTable.remove({$percent.percent_id}, '{$lang.drop_confirm}')" title="{$lang.remove}">{$lang.remove}</a> </td>
</tr>
{foreachelse}
<tr><td class="no-records" colspan="5">{$lang.no_records}</td></tr>
{/foreach}
</table>
<table id="page-table" cellspacing="0">
<tr>
<td>
<input name="remove" type="submit" id="btnSubmit" value="{$lang.drop}" class="button" disabled="true" />
<input name="act" type="hidden" value="batch" />
</td>
<td align="right" nowrap="true">
{include file="page.htm"}
</td>
</tr>
</table>
{if $full_page}
</div>
</form>
<script type="text/javascript" language="javascript">
<!--
listTable.recordCount = {$record_count};
listTable.pageCount = {$page_count};
{foreach from=$filter item=item key=key}
listTable.filter.{$key} = '{$item}';
{/foreach}
{literal}
onload = function()
{
// 开始检查订单
startCheckOrder();
}
{/literal}
//-->
</script>
{include file="pagefooter.htm"}
{/if}