<form action="cat_delete.php" method="post">
<input type="hidden" name="pflag">
<input type="hidden" name="num_rows" value="<%$num_rows%>">
<input type="hidden" name="back" value="<%$back%>">
<table cellpadding="1" cellspacing="0" border="0" align="center" width="100%" class="tbl_border">
<tr>
  <td>
    <table cellpadding="4" cellspacing="0" border="0" width="100%">
      <tr>
        <td class="tbl_caption" colspan="2">
          Search Result
        </td>
      </tr>
      <%if $category%>
        <%$category%>
      <tr>
        <td class="tbl_light2" colspan="2" align="center">
          <input type="button" value="Delete Category" class="button" onclick="if(confirm('Are you sure want to delete these categories?')) SetProcessFlag(this, 'delete')">
          <input type="reset" value="Reset" class="button">
        </td>
      </tr>
      <%else%>
      <tr class="tbl_light2">
        <td colspan="2">There's no category found.</td>
      </tr>
      <%/if%>
    </table>
  </td>
</tr>
</table>
</form>