<{include file="file:admin_header.html"}>
<form name="<{$dirname}>_policy_itemsortform" id="<{$dirname}>_policy_itemsortform" action="policy_itemsort.php" method="post">
<div style="text-align:right; margin-bottom: 15px;">
  <input class="formButton" type="button" onclick="this.form.action='policy_itemsort.php?op=edit&amp;mode=1';submit();return false;" value="<{$smarty.const._AM_XOONIPS_LABEL_ADD}>"/>
</div>
<table width="100%" cellspacing="1" class="outer">
<tbody>
  <tr>
    <th style="width: 80%; text-align: center;"><{$smarty.const._AM_XOONIPS_POLICY_ITEMSORT_ITEM}></th>
    <th style="width: 8%; text-align: center;"><{$smarty.const._AM_XOONIPS_LABEL_ACTION}></th>
  </tr>
  <{foreach item=itemsort_item from=$itemsort_list}>
  <tr class= "<{cycle values='odd,even'}>">
    <td style="width: 80%; text-align: left;"><{$itemsort_item.title|xoops_escape}></td>
    <td style="width: 8%; text-align: center;">
      <a href="policy_itemsort.php?op=edit&amp;mode=1&amp;sort_id=<{$itemsort_item.sort_id}>"><img src="../images/icon_modify.png" alt="<{$smarty.const._AM_XOONIPS_LABEL_MODIFY}>" title="<{$smarty.const._AM_XOONIPS_LABEL_MODIFY}>"/></a>&nbsp;
      <a href="policy_itemsort.php?op=edit&amp;mode=2&amp;sort_id=<{$itemsort_item.sort_id}>"><img src="../images/icon_delete.png" alt="<{$smarty.const._AM_XOONIPS_LABEL_DELETE}>" title="<{$smarty.const._AM_XOONIPS_LABEL_DELETE}>"/></a>
    </td>
  </tr>
  <{/foreach}>
  <{if count($itemsort_list)==0}>
  <tr><td class="odd" colspan="2" style="text-align: center;"><span style="color: red; font-weight: bold;"><{$smarty.const._AM_XOONIPS_POLICY_ITEMSORT_LIST_EMPTY}></span></td></tr>
  <{/if}>
</tbody>
</table>
</form>
<{include file="file:admin_footer.html"}>
