<form action="link_bad_delete.php" method="post">
<input type="hidden" name="pflag">
<input type="hidden" name="num_rows" value="<%$num_rows%>">
<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">
          View Broken Links
        </td>
      </tr>
      <%if $link%>
      <%$link%>
        <%if $pagination%>
        <tr>
          <td class="tbl_light" colspan="2" align="center">
            <%$pagination%>
          </td>
        </tr>
        <%/if%>
      <tr>
        <td class="tbl_light2" colspan="2" align="center">
          <input type="button" value="Delete Report" class="button" onclick="if(confirm('Are you sure want to delete these reports?'))  SetProcessFlag(this, 'delete_report')">
          <input type="button" value="Delete Link" class="button" onclick="if(confirm('Are you sure want to delete these links?')) SetProcessFlag(this, 'delete_link')">
          <input type="reset" value="Reset" class="button">
        </td>
      </tr>
      <%else%>
      <tr>
        <td class="tbl_light2" colspan="2">
          There's no broken link report found.
        </td>
      </tr>
      <%/if%>
    </table>
  </td>
</tr>
</table>
</form>