Location: PHPKode > projects > Esvon Personals > esvon-personals/tpl/search_adv.htm
<!-- TITLE: Advanced Search -->

<p class=pagetitle>Advanced Search</p>


<form name=frm>

<script language="JavaScript">
<!--

function ReloadCat(){
  var hwJsCats = new Array(##hwJsCats##);
  hwReloadCat('index.php?page=search','##cid##',hwJsCats);
}

//-->
</script>

<input type=hidden name=page value="search">
<input type=hidden name=s_res value="GO">

<table border="0" cellspacing="0" cellpadding=2 width="100%">

<tr>
  <td align=right width="20%"><b>Category&nbsp;</td>
  <td width="80%">##cat_path##</td>
</tr>

<!-- TPL_INSERT : b_Regions -->
<!-- TPL_CELL : def -->

##hw_region##

<!-- /TPL_CELL : def -->
<!-- /TPL_INSERT : b_Regions -->

<tr>
<td align=right><b>{Item} Number&nbsp;</td>
<td>
<input name=adid size=10></td>
</tr>

<tr>
<td align=right nowrap><b>Find Keywords&nbsp;</td>
<td>
<input name=q size=30 maxsize=60>

<!-- all/exact full text search works on MySQL 4.0.2 or later -->
<!--select name=stype class=txt8>
  <option value="any">Any words
  <option value="all">All words
  <option value="exact">Exact Phrase
</select-->

</td>
</tr>

<!-- TPL_INSERT : row -->
<!-- TPL_CELL : def -->
<tr>
  <td align=right><b>##f_title##&nbsp;</td>
  <td>##input##</td>
</tr>
<!-- /TPL_CELL : def -->
<!-- /TPL_INSERT : row -->

<tr>
  <td align=right><b>{Items} with photos only&nbsp;</td>
  <td><input type="checkbox" name="w_img" value=1></td>
</tr>

<tr>
  <td align=right><b>Timeframe&nbsp;</td>
  <td>

<select name="hw_timeframe">
	<option value="">All {items}
	<option value=1>{Items} from the last 24 hours
	<option value=3>{Items} from the last 3 days
	<option value=7>{Items} from the last 7 days
	<option value=30>{Items} from the last 30 days
</select>

</td>
</tr>

<!-- Extra Modules Area -->

<!-- IF ##Mod_Zip_Search## == "1" -->
<tr>
  <td align=right><b>Zip Search&nbsp;</td>
  <td>

<select name="hw_zip_r">
<option value="10">10 mi.
<option value="25">25 mi.
<option value="50">50 mi.
<option value="75">75 mi.
<option value="100">100 mi.
</select> from the
<input type=text name="hw_zip" size=6> zip code

</td>
</tr>
<!-- ENDIF -->

<!-- TPL_INSERT : b_Avail_Search -->
<!-- TPL_CELL : def -->

<tr>
  <td colspan=2><hr size=1 /></td>
</tr>
<tr>
  <td align=right><font color=000000><b><u>Availability</td><td>&nbsp;</td>
</tr>
<tr>
<td align=right><b>Start date</td>
<td>
<SELECT name=hw_av_start_d>
<OPTION value="">
##hw_av_start_d##
</SELECT>
<SELECT name=hw_av_start_ym>
<OPTION value="">
##hw_av_start_ym##
</SELECT>
</td>
</tr>
<tr>
<td align=right><b>No. nights</td>
<td>
<select name=hw_av_nights>
<OPTION value="">
##hw_av_nights##
</select>
</td>
</tr>
<tr>
  <td colspan=2><hr size=1 /></td>
</tr>

<!-- /TPL_CELL : def -->
<!-- /TPL_INSERT : b_Avail_Search -->

<!-- /Extra Modules Area -->

<tr>
  <td align=right><b>Sort By Which Field?&nbsp;</td>
  <td>

<select name="s_by">
<option value="">
<option value="link_id">{Item} ID
<option value="hits">Hits
<option value="hw_added">Date Added
<option value="hw_updated">Last Updated

<!-- TPL_INSERT : s_by -->
<!-- TPL_CELL : row -->
<option value="##f_v##">##f_t##
<!-- /TPL_CELL : row -->
<!-- /TPL_INSERT : s_by -->

</select>

</td>
</tr>

<tr>
  <td align=right><b>Reverse Sort?&nbsp;</td>
  <td><input type=checkbox name=a_d value="desc"></td>
</tr>

<tr>
  <td align=right><b>Display results as&nbsp;</td>
  <td>

<select name="hw_layout">
	<option value="">List View
	<option value="matrix">Picture View
</select>

</td>
</tr>


<tr>
  <td align=right><b>Results per page&nbsp;</td>
  <td>

<select name="hw_num">
<option value=10>10
<option value=20>20
<option value=30>30
<option value=40>40
<option value=50>50
<option value=100>100
</select>

</td>
</tr>

<tr>
   <td>&nbsp;</td>
   <td><input type=submit value="Search" class="button"></td>
</tr>

</table>

</form>

Return current item: Esvon Personals