<!-- $Id: facility_list.htm 17019 2010-01-29 10:10:34Z liuhui $ -->
{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 width="100%" cellspacing="1" cellpadding="2" id="list-table">
  <tr>
    <th>字串名稱</th>
    <th>是否有效</th>
    <th>排序</th>
    <th>{$lang.handler}</th>
  </tr>
  {foreach from=$search_list item=search}
  <tr align="center">
    <td align="left" class="first-cell" >
      <span>{$search.name}</span>
    </td>
    <td width="10%"><img src="images/{if $search.enable eq '1'}yes{else}no{/if}.gif" onclick="listTable.toggle(this, 'toggle_enable', {$search.id})" /></td>
    <td width="10%" align="right"><span onclick="listTable.edit(this, 'edit_sort_order', {$search.id})">{$search.sort_order}</span></td>
    <td width="24%" align="center">
      <a href="search.php?act=edit&id={$search.id}">編輯</a> |
      <a href="javascript:;" onclick="listTable.remove({$search.id}, '確認刪除')" title="刪除">移除</a>
    </td>
  </tr>
  {/foreach}
</table>
{if $full_page}
</div>
</form>

{literal}
<script language="JavaScript">
<!--

onload = function()
{

}

//-->
</script>
{/literal}

{include file="pagefooter.htm"}
{/if}