<script type="text/javascript">
<!--
function go_gadget_advanced(){
	window.location = "{$this->ipsclass->js_base_url}act=Search&mode=adv&f={$this->ipsclass->input['f']}";
}
function win_pop(){
	window.open("{$this->ipsclass->js_base_url}act=Search&CODE=explain","WIN","width=400,height=300,resizable=yes,scrollbars=yes"); 
}
-->
</script>
<form action="{$this->ipsclass->base_url}act=Search&amp;CODE=simpleresults&amp;mode=simple" method="post" name="sForm">
$hidden_fields
	<div class="borderwrap">
		<div class="maintitle"  align="center">{$this->ipsclass->lang['search_options']}</div>
		<div class="subtitle" align="center">{$this->ipsclass->lang['key_search']}</div>
		<div class="tablepad" align="center">
			<input type="text" maxlength="100" size="40" id="keywords" name="keywords" /><br />
			<label for="keywords">{$this->ipsclass->lang['keysearch_text']}</label> <!--IBF.BOOLEAN_EXPLAIN-->
		</div>
		<div class="subtitle" align="center">{$this->ipsclass->lang['search_where']}</div>
		<div class="tablepad" align="center">
			{$forums}<br /><br />
			<b>{$this->ipsclass->lang['sf_show_me']}</b>
			<input type="radio" name="sortby" value="relevant" id="sortby_one" class="radiobutton" />
			<label for="sortby_one">{$this->ipsclass->lang['sf_most_r_f']}</label>&nbsp;
			<input type="radio" name="sortby" value="date" id="sortby_two" checked="checked" class="radiobutton" />
			<label for="sortby_two">{$this->ipsclass->lang['sf_most_date']}</label>
		</div>
		<div class="formbuttonrow" align="center">
			<input class='button' type="submit" value="{$this->ipsclass->lang['do_search']}" />&nbsp;
			<input class='button' type="button" value="{$this->ipsclass->lang['so_more_opts']}" onclick="go_gadget_advanced()" />
		</div>
	</div>
</form>