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.4 KiB

{if $full_page}
{include file="pageheader.htm"}
{insert_scripts files="../js/utils.js,listtable.js"}
<script type="text/javascript" src="../js/calendar.php?lang={$cfg_lang}"></script>
<link href="../js/calendar/calendar.css" rel="stylesheet" type="text/css" />
<form method="post" action="{if $seller_id}users_card.php?act=initialization&seller_id={$seller_id}{else}users_card.php?act=initialization{/if}" name="listForm">
<div id="listDiv" class="list-div">
<div id="listDiv">
{/if}
<table>
<tr>
<th>编号</th>
<th>店铺</th>
<th>域名</th>
<th>启用状态</th>
<th>有效期</th>
<!--{if $ru_id eq 0}-->
<th>操作</th>
<!--{/if}-->
</tr>
{foreach from=$card_list item=card_list name=card_name}
<tr>
<td align="center">{$card_list.id}</td>
<td align="center" style="color:red">{$card_list.shop_name}</td>
<td align="center" >{$card_list.domain_name}</td>
<td align="center" ><img src="images/{if $card_list.is_enable eq 1}yes{else}no{/if}.gif" onclick="listTable.toggle(this, 'is_enable', {$card_list.id})" style="cursor:pointer;"/></td>
<td align="center" >{$card_list.validity_time}</td>
<!--{if $ru_id eq 0}-->
<td align="center">
<a href="seller_domain.php?act=edit&id={$card_list.id}" title="编辑">编辑</a>
</td>
<!--{/if}-->
</tr>
{/foreach}
</table>
<!-- 分页 -->
<table id="page-table" cellspacing="0">
<tr>
<td align="right" nowrap="true">
{include file="page.htm"}
</td>
</tr>
</table>
{if $full_page}
</div>
</div>
</form>
<script type="text/javascript">
//分页js赋值
listTable.recordCount = {$record_count};
listTable.pageCount = {$page_count};
{foreach from = $filter item = item key = key}
listTable.filter.{$key} = '{$item}';
{/foreach}
</script>
{include file="pagefooter.htm"}
{/if}