Размер файла: 1.59Kb
<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>
<label for=s_school_only>From this category only:</td><td> <input type="checkbox" id="s_school_only" name="s_school_only" style="border-width:0px" value="1" {if $s_school_only}checked{/if}></label>
</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>
<label for=s_topic_only>From this category only:</td><td> <input type="checkbox" id="s_topic_only" name="s_topic_only" style="border-width:0px" value="1" {if $s_topic_only}checked{/if} ></label>
</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>