<html>
<body bgcolor="#ffffff">

<table border="1" cellpadding="0" cellspacing="0"><tr><td>
	<table bgColor="#ffffff" border="0" cellPadding="3" cellSpacing="3" width="500" valign="top">
	  <tr>
		<td align="left" bgColor="navy"><b><font color="#ffffff" size="2" face="Tahoma,Arial,Helvetica">
Validate <%unless update%>Links<%else%>Changes<%endunless%>
		</font></b></td>
	  </tr>
	  <tr>
		<td>
		  <p align="center"><b><font color="#000000" size="2" face="Tahoma,Arial,Helvetica">
Validate <%unless update%>Links<%else%>Changes<%endunless%>
		  </font></b></p>
		  <p><font size="2" face="Tahoma,Arial,Helvetica">
<%navbar%>
		  </font></p>
          </td>
	  </tr>
	</table>
	</td></tr>
</table>

<p><font size="2" face="Tahoma,Arial,Helvetica">
  <form action="<%if is_admin%>admin.cgi<%else%><%db_cgi_url%>/browser.cgi<%endif%>">
    <input type="hidden" name="category_id" value="<%category_id%>">
    <input type="hidden" name="action" value="<%unless update%>link_validate_list<%else%>link_validate_changes_list<%endif%>">
    <input type="hidden" name="set-cookie" value="1" />
    <%if mh%><input type="hidden" name="mh" value="<%mh%>"><%endif%>
    <%if category_id != 0%><input type="checkbox" name="only_this_category"<%if only_this_category%> checked<%endif%>> Only show links from this category and <%endif%>Sort links by
    <select name="cookie-link_validate<%if update%>_changes<%endif%>_sb">
      <option value="Add_Date"<%if sb eq 'Add_Date'%> selected<%endif%>>Add Date</option>
      <option value="LinkOwner"<%if sb eq 'LinkOwner'%> selected<%endif%>>Link Owner</option>
      <option value="ID"<%if sb eq 'ID'%> selected<%endif%>>Link ID</option>
      <option value="Title"<%if sb eq 'Title'%> selected<%endif%>>Link Title</option>
      <option value="URL"<%if sb eq 'URL'%> selected<%endif%>>Link URL</option>
    </select>
    <select name="cookie-link_validate<%if update%>_changes<%endif%>_so">
      <option value="DESC"<%if so eq 'DESC'%> selected<%endif%>>Descending</option>
      <option value="ASC"<%if so eq 'ASC'%> selected<%endif%>>Ascending</option>
    </select>
    <input type="submit" value="Sort Links">
  </form>
</font></p>

<%if toolbar%>
	<p><font size="2" face="Tahoma,Arial,Helvetica">Pages: <%toolbar%></font></p>
<%endif%>
<%if links%>
	<table border=1 cellpadding=3 cellspacing=0>
		<tr><td colspan=6><font size="2" face="Tahoma,Arial,Helvetica">There are <b><%count%></b> <%unless update%>links<%else%>changes<%endunless%> waiting to be validated<%if config.payment.enabled%> (titles coloured <font color="red">red</font> are links still awaiting payment or have expired)<%endif%>.</font></td></tr>
		<%links%>
	</table>
<%else%>
	<p><font size="2" face="Tahoma,Arial,Helvetica">There are no <%unless update%>links<%else%>changes<%endunless%> waiting to be validated.</font></p>
<%endif%>
<%if toolbar%>
	<p><font size="2" face="Tahoma,Arial,Helvetica">Pages: <%toolbar%></font></p>
<%endif%>

</body>
</html>
