<!-- $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>排序</th>
    <th>{$lang.handler}</th>
  </tr>
  {foreach from=$fac_list item=fac}
  <tr align="center">
    <td align="left" class="first-cell" >
      <span>{$fac.name}</span>
    </td>
    <td width="10%">
    {if $fac.image}
      <img src="../{$fac.image}" border="0" style="vertical-align:middle;" width="25px" height="25px">
    {/if}
	</td>
    <td width="10%"><img src="images/{if $fac.is_show eq '1'}yes{else}no{/if}.gif" onclick="listTable.toggle(this, 'toggle_is_show', {$fac.id})" /></td>
    <td width="10%" align="right"><span onclick="listTable.edit(this, 'edit_sort_order', {$fac.id})">{$fac.sort_order}</span></td>
    <td width="24%" align="center">
      <a href="facility.php?act=edit&id={$fac.id}">編輯</a> |
      <a href="javascript:;" onclick="listTable.remove({$fac.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}