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.

63 lines
2.1 KiB

3 years ago
<!-- $Id: vote_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">
<!-- start vote list -->
<div class="list-div" id="listDiv">
{/if}
<table cellpadding="0" cellspacing="0">
<tr>
<th>{$lang.vote_name}</th>
<th>{$lang.begin_date}</th>
<th>{$lang.end_date}</th>
<th>{$lang.vote_count}</th>
<th>{$lang.handler}</th>
</tr>
{foreach from=$list item=list}
<tr>
<td class="first-cell">
<span onclick="javascript:listTable.edit(this, 'edit_vote_name', {$list.vote_id})">{$list.vote_name|escape:html}</span>
</td>
<td align="center"><span>{$list.begin_date}</span></td>
<td align="center"><span>{$list.end_date}</span></td>
<td align="right"><span>{$list.vote_count}</span></td>
<td align="center">
<a href="vote.php?act=option&id={$list.vote_id}" title="{$lang.vote_option}"><img src="images/icon_view.gif" border="0" height="21" width="21" /></a>&nbsp;
<a href="vote.php?act=edit&id={$list.vote_id}" title="{$lang.edit}"><img src="images/icon_edit.gif" border="0" height="21" width="21" /></a>&nbsp;
<a href="javascript:;" onclick="listTable.remove({$list.vote_id}, '{$lang.drop_confirm}')" 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_vote_name}</td></tr>
{/foreach}
<tr>
<td align="right" nowrap="true" colspan="10">{include file="page.htm"}</td>
</tr>
</table>
{if $full_page}
</div>
<!-- end ad_position 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()
{
// 开始检查订单
startCheckOrder();
}
{/literal}
</script>
{include file="pagefooter.htm"}
{/if}