<div class="borderwrap">
<script type="text/javascript" src='jscripts/ipb_xhr_findnames.js'></script>
<form action='{$this->ipsclass->base_url}' method='post' id='searchform'>
<input type='hidden' name='automodule' value='downloads' />
<input type='hidden' name='req' value='search' />
<input type='hidden' name='code' value='do_search' />
<div class="catheadmid"><div class="catheadleft"><div class="catheadright"><div class="catheadtext">{$this->ipsclass->lang['search_formheader']}</div>
</div></div></div>
<table class='ipbtable' cellspacing="1" style="clear: left;">
 <tr>
  <td colspan='2' class='bg1' align='center'>
   <div style='width:100%;' align='center' class='borderwrap'>
    <table cellpadding='0' cellspacing='0' width='100%' class='darkrow3'>
     <tr>
      <td width='20%' align='right'><strong>{$this->ipsclass->lang['search_keywords']}</strong></td>
      <td align='left'><input name='search_keywords' type='text' size='50' value='{$this->ipsclass->input['search_keywords']}' /> </td>
     </tr>
    </table>
   </div>
  </td>
 </tr>
 <tr>
  <td colspan='2' class='bg1' align='center'>
   <div style='width:100%;' align='center' class='borderwrap'>
    <table cellpadding='0' cellspacing='0' width='100%' class='darkrow3'>
     <tr>
      <td width='20%' align='right' valign='top'><strong>{$this->ipsclass->lang['search_category']}</strong><div class='forumdesc'>{$this->ipsclass->lang['search_cat_extra']}</div></td>
      <td align='left'><select name='search_cat[]' multiple='multiple' size='4'>{$cat_options}</select></td>
     </tr>
    </table>
   </div>
  </td>
 </tr>
 <tr>
  <td colspan='2' class='bg1' align='center'>
   <div style='width:100%;' align='center' class='borderwrap'>
    <table cellpadding='0' cellspacing='0' width='100%' class='darkrow3'>
     <tr>
      <td width='20%' align='right'><strong>{$this->ipsclass->lang['search_author']}</strong></td>
      <td align='left'><input type='text' name='search_author' id='search_author' size='50' value='{$this->ipsclass->input['search_author']}' autocomplete='off' />
<div id='ipb-get-members' style='border:1px solid #000; background:#FFF; padding:2px;position:absolute;width:310px;display:none;z-index:1'></div></td>
     </tr>
    </table>
   </div>
  </td>
 </tr>
 <tr>
  <td colspan='2' class='bg1' align='center'>
   <div style='width:100%;' align='center' class='borderwrap'>
    <table cellpadding='0' cellspacing='0' width='100%' class='darkrow3'>
     <tr>
      <td colspan='2' align='left'><strong>{$this->ipsclass->lang['search_date_a']}</strong>&nbsp;&nbsp;<input type='text' name='search_date_1' size='10' value='{$this->ipsclass->input['search_date_1']}' />&nbsp;&nbsp;<strong>{$this->ipsclass->lang['search_date_b']}</strong>&nbsp;&nbsp;<input type='text' name='search_date_2' size='10' value='{$this->ipsclass->input['search_date_2']}' /></td>
     </tr>
    </table>
   </div>
  </td>
 </tr>
 <tr>
  <td colspan='2' class='bg1' align='center'>
   <div style='width:100%;' align='center' class='borderwrap'>
    <table cellpadding='0' cellspacing='0' width='100%' class='darkrow3'>
     <tr>
      <td colspan='2' align='center'><select name='search_andor'><option value='AND'{$andor['and']}>{$this->ipsclass->lang['search_matchall']}</option><option value='OR'{$andor['or']}>{$this->ipsclass->lang['search_matchany']}</option></select>&nbsp;&nbsp;<strong>{$this->ipsclass->lang['search_sortby']}</strong>&nbsp;<select name='sort_key'>{$sortkey}</select>&nbsp;<strong>{$this->ipsclass->lang['search_sortorder']}</strong>&nbsp;<select name='sort_by'>{$sortby}</select>&nbsp;<strong>{$this->ipsclass->lang['search_sortorder2']}&nbsp;{$this->ipsclass->lang['search_limitresults']}</strong>&nbsp;<select name='num'>{$limit}</select>&nbsp;<strong>{$this->ipsclass->lang['search_limitresults2']}</strong></td>
     </tr>
    </table>
   </div>
  </td>
 </tr>
 <tr>
  <td colspan='2' class='formbuttonrow' align='center'><input type='submit' value='{$this->ipsclass->lang['search_dosearch']}' /></td>
 </tr>
</table>
</form>
<script type="text/javascript">
// INIT find names
init_js( 'searchform', 'search_author', 'get-member-names');
// Run main loop
setTimeout( 'main_loop()', 10 );
</script>
</div>