<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">
Search Links
		</font></b></td>
	  </tr>
	  <tr>
		<td>
		  <p align="center"><b><font color="#000000" size="2" face="Tahoma,Arial,Helvetica">
Search Links
		  </font></b></p>
		  <p><font size="2" face="Tahoma,Arial,Helvetica">
<%navbar%>
		  </font></p>
          </td>
	  </tr>
	</table>
	</td></tr>
</table>

<font color="red" size="2" face="Tahoma,Arial,Helvetica"><%error%></font>
<p>
<form <%enctype%>action="<%if is_admin%>admin.cgi<%else%><%db_cgi_url%>/browser.cgi<%endif%>" method="POST" onSubmit="parent.CAN_UPDATE = 1;">
	<input type="hidden" name="action" value="link_search_results">
	<%form%>

	<br>
	<table border=1 cellpadding=0 cellspacing=0><tr><td align=center>
		<table border=0 width=500><tr><td align=left><font face="Tahoma,Arial,Helvetica" size="2">
        <input type=checkbox name="in_category" value="<%category_id%>"> Search only within this category</font></td></tr></table>
	</td></tr></table>
    <input type=hidden name="category_id" value="<%category_id%>">
<br>

   <table border=1 cellpadding=0 cellspacing=0><tr><td>
    <table border=0 width=500>
        <tr>
            <td><font face='Tahoma,Arial,Helvetica' size='2' color='#000000'>Maximum Hits:</font></td>
            <td><input type="text" name="mh" size="3" value="25"></td>
            <td><font face='Tahoma,Arial,Helvetica' size='2' color='#000000'>Match Any: </font></td>
            <td><input type="checkbox" name="ma"></td>
        </tr>
        <tr>
            <td><font face='Tahoma,Arial,Helvetica' size='2' color='#000000'>Keyword Search:</font></td>
            <td colspan=3><input type="text" name="keyword" value=""></td>
        </tr>
        <tr>
            <td><font face='Tahoma,Arial,Helvetica' size='2' color='#000000'>Indexed Search:</font></td>
            <td colspan=3><input type="text" name="query" value=""></td>
        </tr>
        <tr>
            <td><font face='Tahoma,Arial,Helvetica' size='2' color='#000000'>Sort By:</font></td>
            <td><font face='Tahoma,Arial,Helvetica' size='2' color='#000000'><select  name="sb"><option value="">---</option><option value="ID">ID</option><option value="Title">Title</option><option value="URL">URL</option><option value="LinkOwner">LinkOwner</option><option value="Add_Date">Add Date</option><option value="Mod_Date">Mod Date</option><option value="Description">Description</option><option value="Contact_Name">Contact Name</option><option value="Contact_Email">Contact Email</option><option value="Hits">Hits</option><option value="isNew">isNew</option><option value="isChanged">isChanged</option><option value="isPopular">isPopular</option><option value="isValidated">isValidated</option><option value="Rating">Rating</option><option value="Votes">Votes</option><option value="Status">Status</option><option value="Date_Checked">Date Checked</option><option value="Timestmp">Timestamp</option></select>
</td>
            <td><font face='Tahoma,Arial,Helvetica' size='2' color='#000000'>Using:</font></td>
            <td><font face='Tahoma,Arial,Helvetica' size='2' color='#000000'><select  name="so"><option value="">---</option><option value="DESC">Descending</option><option value="ASC">Ascending</option></select>
</td>
        </tr>
        <tr>
            <td><font face='Tahoma,Arial,Helvetica' size='2' color='#000000'>Display Records:</font></td>
            <td><font face='Tahoma,Arial,Helvetica' size='2' color='#000000'><select  name="dr"><option value="">---</option><option value="">As Elements</option><option value="rows">As Rows</option></select>
</td>
        </tr>
        
    </table>
</td></tr>
</table>
 
    <br>
	<table border=1 cellpadding=0 cellspacing=0><tr><td align=center>
		<table border=0 width=500><tr><td align=center><center><font face="Tahoma,Arial,Helvetica" size="2"><input type=submit value="Search"></font></center></td></tr></table>
	</td></tr></table>

</form>
</p>

</body>
</html>
