<form action="review_validate.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">
          Validate Reviews
        </td>
      </tr>
      <%if $review%>
      <tr>
        <td class="tbl_light2" colspan="2">
          <input type="button" name="select_all_1" value="Select All" class="button" onclick="ToggleSelect(this)">
        </td>
      </tr>
      <%$review%>
        <%if $pagination%>
        <tr>
          <td class="tbl_light" colspan="2" align="center">
            <%$pagination%>
          </td>
        </tr>
        <%/if%>
      <tr>
        <td class="tbl_light2" colspan="2" align="center">
          <div align="left">
          <input type="button" name="select_all_2" value="Select All" class="button" onclick="ToggleSelect(this)">
          </div>
          <input type="button" value="Approve" class="button" onclick="if(confirm('Are you sure want to approve these reviews?')) SetProcessFlag(this, 'approve')">
          <input type="button" value="Reject" class="button" onclick="if(confirm('Are you sure want to reject these reviews?')) SetProcessFlag(this, 'reject')">
          <input type="reset" value="Reset" class="button">
        </td>
      </tr>
      <%else%>
      <tr>
        <td class="tbl_light2" colspan="2">
          You have no awaiting review to validate.
        </td>
      </tr>
      <%/if%>
    </table>
  </td>
</tr>
</table>
</form>