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.

69 lines
2.4 KiB

<!-- $Id: ad_position_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 ad position list -->
<div class="list-div" id="listDiv">
{/if}
<table class="table table-bordered">
<tr>
<th>編號</th>
<th>{$lang.position_name}</th>
<th>{$lang.posit_width}</th>
<th>{$lang.posit_height}</th>
<th>{$lang.position_desc}</th>
<th>{$lang.handler}</th>
</tr>
{foreach from=$position_list item=list}
<tr>
<td class="first-cell">
{$list.position_id}
</td>
<td align="left">
<span onclick="javascript:listTable.edit(this, 'edit_position_name', {$list.position_id})">{$list.position_name|escape:html}</span>
</td>
<td align="right"><span onclick="javascript:listTable.edit(this, 'edit_ad_width', {$list.position_id})">{$list.ad_width}</span></td>
<td align="right"><span onclick="javascript:listTable.edit(this, 'edit_ad_height', {$list.position_id})">{$list.ad_height}</span></td>
<td align="left"><span>{$list.position_desc|escape:html}</span></td>
<td align="center">
<a href="ads.php?act=list&pid={$list.position_id}" title="{$lang.view}{$lang.ad_content}">
<img src="images/icon_view.gif" border="0" height="21" width="21" /></a>
<a href="ad_position.php?act=edit&id={$list.position_id}" title="{$lang.edit}">
<img src="images/icon_edit.gif" border="0" height="21" width="21" /></a>
<a href="javascript:;" onclick="listTable.remove({$list.position_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="6">{$lang.no_position}</td></tr>
{/foreach}
<tr>
<td align="right" nowrap="true" colspan="6">{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()
{
// &#64138;&#53036;&#10870;鵥
startCheckOrder();
}
{/literal}
</script>
{include file="pagefooter.htm"}
{/if}