
<script type="text/javascript">
<!--
function go_gadget_simple()
{
	window.location = "{$ibforums->js_base_url}act=Search&mode=simple&f={$ibforums->input['f']}";
}
function win_pop()
{
    window.open('{$ibforums->js_base_url}act=Search&CODE=explain','WIN','width=400,height=300,resizable=yes,scrollbars=yes'); 
}
-->
</script>
<!-- Borderline skin by InvisionSkins.com - copyright 2003 Goof Muilwijk [Roadkill71] -->
<form action="{$ibforums->base_url}act=Search&amp;CODE=01" method="post" name='sForm'>
$hidden_fields
<div class='border'>
<div class='tableborder'>
<div style='float: right;padding:3px;'><{CAT_IMG}></div>
<div class='maintitle' align='left'><{CAT_IMG}>&nbsp;{$ibforums->lang['search_form']}</div>
<div class='titlemedium'>{$ibforums->lang['keywords_title']}</div>
<table cellpadding='3' cellspacing='0' border='0' width='100%' class='content'>
  <tr>
    <td width='50%'>{$ibforums->lang['key_search']}</td>
    <td width='50%' style='border-left: 1px solid #adc8e4;'>{$ibforums->lang['mem_search']}</td>
  </tr>
  <tr>
    <td><input type='text' maxlength='100' size='40' name='keywords' id="keywords" class='forminput' /><br /><br /><label for="keywords">{$ibforums->lang['keysearch_text']}</label> <!--IBF.BOOLEAN_EXPLAIN--></td>
    <td style='border-left: 1px solid #adc8e4;'><input type='text' maxlength='100' size='50' name='namesearch' class='forminput' /><br /><br /><input type='checkbox' name='exactname' id='matchexact' value='1' class="checkbox" /><label for="matchexact">{$ibforums->lang['match_name_ex']}</label></td>
  </tr>
</table>
<div class='titlemedium'>{$ibforums->lang['search_options']}</div>
<table cellpadding='3' cellspacing='0' border='0' width='100%' class='content'>
  <tr>
    <td width='50%'>{$ibforums->lang['search_where']}</td>
    <td width='50%' style='border-left: 1px solid #adc8e4;'>{$ibforums->lang['search_refine']}</td>
  </tr>
  <tr>
    <td>$forums<br /><input type='checkbox' name='searchsubs' value='1' id="searchsubs" checked="checked" />&nbsp;<label for="searchsubs">{$ibforums->lang['search_in_subs']}</label></td>
    <td style='border-left: 1px solid #adc8e4;'>
      <table cellspacing='3' cellpadding='0' width='100%' align='center' border='0'>
      <tr>
      <td valign='top'> <fieldset class="search">
       <legend><strong>{$ibforums->lang['search_from']}</strong></legend>
			 <select name='prune' class='forminput'>
			 <option value='1'>{$ibforums->lang['today']}</option>
			 <option value='7'>{$ibforums->lang['this_week']}</option>
			 <option value='30' selected="selected">{$ibforums->lang['this_month']}</option>
			 <option value='60'>{$ibforums->lang['this_60']}</option>
			 <option value='90'>{$ibforums->lang['this_90']}</option>
			 <option value='180'>{$ibforums->lang['this_180']}</option>
			 <option value='365'>{$ibforums->lang['this_year']}</option>
			 <option value='0'>{$ibforums->lang['ever']}</option>
			 </select>
			 <br />
			 <input type='radio' name='prune_type' id="prune_older" value='older' class='radiobutton' />&nbsp;<label for="prune_older">{$ibforums->lang['older']}</label>
			 <br />
			 <input type='radio' name='prune_type' id="prune_newer" value='newer' class='radiobutton' checked="checked" />&nbsp;<label for="prune_newer">{$ibforums->lang['newer']}</label>
		   </fieldset>
      </td>
      <td valign='top'>
       <fieldset class="search">
		   <legend><strong>{$ibforums->lang['sort_results']}</strong></legend>
			 <select name='sort_key' class='forminput'>
			 <option value='last_post'>{$ibforums->lang['last_date']}</option>
			 <option value='posts'>{$ibforums->lang['number_topics']}</option>
			 <option value='starter_name'>{$ibforums->lang['poster_name']}</option>
			 <option value='forum_id'>{$ibforums->lang['forum_name']}</option>
			 </select>
			 <br /><input type='radio' name='sort_order' id="sort_desc" class="radiobutton" value='desc' checked="checked" /><label for="sort_desc">{$ibforums->lang['descending']}</label>
			 <br /><input type='radio' name='sort_order' id="sort_asc" class="radiobutton" value='asc' /><label for="sort_asc">{$ibforums->lang['ascending']}</label>
		   </fieldset>
      </td>
      </tr>
      <tr>
      <td nowrap="nowrap">
		   <fieldset class="search">
		   <legend><strong>{$ibforums->lang['search_where']}</strong></legend>
		   <input type='radio' name='search_in' class="radiobutton" id="search_in_posts" value='posts' checked="checked" /><label for="search_in_posts">{$ibforums->lang['in_posts']}</label>
		   <br />
		   <input type='radio' name='search_in' class="radiobutton" id="search_in_titles" value='titles' /><label for="search_in_titles">{$ibforums->lang['in_topics']}</label>
		   </fieldset>
      </td>
      <td>
		   <fieldset class="search">
		   <legend><strong>{$ibforums->lang['result_type']}</strong></legend>
		   <input type='radio' name='result_type' class="radiobutton" value='topics' id="result_topics" checked="checked" /><label for="result_topics">{$ibforums->lang['results_topics']}</label>
		   <br />
		   <input type='radio' name='result_type' class="radiobutton" value='posts' id="result_posts" /><label for="result_posts">{$ibforums->lang['results_post']}</label>
		   </fieldset>
      </td>
      </tr>
      </table>
    </td>
  </tr>
</table>
<div class='titlemedium' style='text-align: center;'><input type='submit' value='{$ibforums->lang['do_search']}' class='forminput' /><!--IBF.SIMPLE_BUTTON--></div>
</div>
</div>
</form>
