<form method=post name="s_form">
<table>
<tr>
   <td>School category:</td>
   <td>	
	<select name="s_school_category_id">
	{html_options values=$s_school_category_ids selected=$s_school_category_id output=$s_school_category_names}
        </select>
   </td>
   <td>
   </td>
</tr>
<tr>
   <td>Topic category:</td>
   <td>	
	<select name="s_topic_category_id">
	{html_options values=$s_topic_category_ids selected=$s_topic_category_id output=$s_topic_category_names}
        </select>
   </td>
   <td>
   </td>
</tr>
<tr>
   <td colspan=4> 
	   <table>
	   <tr>
	   <td>from date:</td>
	   <td>	
	    {html_select_date prefix="s_dt_from_" time=$s_dt_from start_year=$minYear end_year=$maxYear}
	   </td>
	   <td>to date:</td>
	   <td>	
	    {html_select_date prefix="s_dt_to_" time=$s_dt_to start_year=$minYear end_year=$maxYear}
	   </td>
	   </tr>
	   </table>
   </td>
</tr>
<tr>
   <td colspan=4> 
	<input type="text" size=40 name="s_text" value="{$s_text}"> 
        <input type="submit" value="Search">
        <input type="button" name="Reset filter" value="Reset filter" onClick="document.location.href='./index.php?r_filter';"></td>
   </td>
</tr>


</table>
</form>