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.
 
 
 
 

121 lines
3.9 KiB

{if $full_page}
<!-- $Id: users_list.htm 17053 2010-03-15 06:50:26Z sxc_shop $ -->
{include file="pageheader.htm"}
{insert_scripts files="../js/utils.js,listtable.js"}
<div class="form-div">
<form action="javascript:searchUser()" name="searchForm">
<input type="text" name="keyword" /> <input type="submit" value="{$lang.button_search}" />
</form>
</div>
<form method="POST" action="" name="listForm" onsubmit="return confirm_bath()">
<!-- start users list -->
<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('id'); ">{$lang.record_id}</a>{$sort_user_id}
</th>
<th>{$lang.steps_process_title}</th>
<th>{$lang.steps_process}</th>
<th>{$lang.steps_sort}</th>
<th>{$lang.handler}</th>
<tr>
{foreach from=$process_list item=process}
<tr>
<td><input type="checkbox" name="checkboxes[]" value="{$process.id}" />{$process.id}</td>
<td class="first-cell" align="center" width="30%">{$process.process_title}</td>
<td align="center">
{if $process.process_steps eq 1}
入驻须知
{elseif $process.process_steps eq 2}
公司信息认证
{elseif $process.process_steps eq 3}
店铺信息认证
{else}
步骤流程为空
{/if}
</td>
<td align="center">
{$process.steps_sort}
</td>
<td align="center">
<a href="merchants_steps.php?act=title_list&id={$process.id}" title="{$lang.view_order}"><img src="images/icon_view.gif" border="0" height="21" width="21" /></a>
<a href="merchants_steps.php?act=edit&id={$process.id}" title="{$lang.edit}"><img src="images/icon_edit.gif" border="0" height="21" width="21" /></a>
<a href="javascript:confirm_redirect('{$lang.remove_confirm_process}', 'merchants_steps.php?act=remove&id={$process.id}')" title="{$lang.remove}"><img src="images/icon_drop.gif" border="0" height="21" width="21" /></a>
</td>
</tr>
{foreachelse}
<tr><td class="no-records" colspan="10">{$lang.no_records}</td></tr>
{/foreach}
<tr>
<td colspan="2">
<input type="hidden" name="act" value="batch_remove" />
<input type="submit" id="btnSubmit" value="{$lang.button_remove}" disabled="true" class="button" /></td>
<td align="right" nowrap="true" colspan="8">
{include file="page.htm"}
</td>
</tr>
</table>
{if $full_page}
</div>
<!-- end users list -->
</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()
{
document.forms['searchForm'].elements['keyword'].focus();
// 开始检查订单
startCheckOrder();
}
/**
* 搜索用户
*/
function searchUser()
{
listTable.filter['keywords'] = Utils.trim(document.forms['searchForm'].elements['keyword'].value);
listTable.filter['rank'] = document.forms['searchForm'].elements['user_rank'].value;
listTable.filter['pay_points_gt'] = Utils.trim(document.forms['searchForm'].elements['pay_points_gt'].value);
listTable.filter['pay_points_lt'] = Utils.trim(document.forms['searchForm'].elements['pay_points_lt'].value);
listTable.filter['page'] = 1;
listTable.loadList();
}
function confirm_bath()
{
userItems = document.getElementsByName('checkboxes[]');
cfm = '{$lang.list_remove_confirm}';
for (i=0; userItems[i]; i++)
{
if (userItems[i].checked && userItems[i].notice == 1)
{
cfm = '{$lang.list_still_accounts}' + '{$lang.list_remove_confirm}';
break;
}
}
return confirm(cfm);
}
//-->
</script>
{/literal}
{include file="pagefooter.htm"}
{/if}