
	<?
	require 'templates/'.$tfold.'/header.php';?>
	</td>

  </tr>
  <tr><td>
<table cellpadding="0" cellspacing="0" width=100% border="0" class="ft2">
<th class="ct" height="30" colspan="6" ><font size="2"><b><div align="left">
Advanced Search
</div> </b></font> </th>
<form name=adv_form action="easysearch.php" method="post">
<tr><td align="left"><table cellpadding="0" cellspacing="0" width=700>
<tr>
                  <td><? echo "$lang_492" ?></td>
<?php
    $sql="select * from site_categories where category_head_id=0";
	$res=mysql_query($sql);
?>
      <td><select name="category_id" style="width:100;">
	 <option value="all">All categories</option>
          <?php
		    while($row2=mysql_fetch_array($res))
		   {
		 ?>
          <option value="<?php echo $row2['category_id'];?>"><?php echo $row2['category_name']; ?></option>
          <?php 
		    } ?>
        </select></td></tr>
<tr><td>Keyword</td><td><input type="text" name="k_word" size="10" style="width:150;">&nbsp;<select name="item_status">
<option value="1"><? echo "$lang_41" ?></option>
<option value="2"><? echo "$lang_42" ?></option>
</select>
</td></tr>
<tr><td colspan="2"><font size="2"><b><? echo "$lang_43" ?></b></font><br><hr>
</td><td>&nbsp;</td></tr>
<tr><td><? echo "$lang_617" ?>&nbsp; <?= $cur; ?>&nbsp; <input type="text" name="m_cur" size=5> &nbsp;&nbsp;</td>
<td><? echo "$lang_618" ?>&nbsp; <?= $cur; ?>&nbsp; <input type="text" name="max_cur" size=5></td></tr>
 <tr>
                  <td colspan="2"> <font size="2"><b><? echo "$lang_487" ?></b></font><br>
                    <hr></td><td>&nbsp;</td></tr>

<tr><td colspan="2"><select name="seller"><option value="include"><? echo "$lang_485" ?></option>
<option value="exclude"><? echo "$lang_486" ?></option></select>&nbsp;&nbsp;&nbsp;&nbsp;
<input type="text" name="seller_name" size=20></td></tr>
  <input type="hidden" value="advanced" name=mode>
<tr><td align="center" colspan="2"><input class="submit_button" type="submit" value="Search" class="buttonsearch"> </td><td>&nbsp;</td></tr>
</form>
</table></td></tr>