<div class="searchbox clearfix">
  <form action="<%GForum::SEO::url()%>">
    <div class="row">
        <%hidden_form~%>
        <%~set search_url = GForum::SEO::url(params => "do=search")%>
        <%if forum_id%><%set search_url .= ";search_form=forum_$forum_id"%><%endif%>
        <input type="hidden" name="do" value="search_results" />
        <input type="hidden" name="sb" value="post_time" />
        <select name="search_forum">
            <%~if forum_id%><option value="forum_<%forum_id%>">This forum</option><%endif%>
            <%if cat_id%><option value="cat_<%cat_id%>">This category</option><%endif%>
            <option value="all">All forums</option>
            <option value="<%search_url%>">Advanced Search</option>
        </select> 
        <select name="search_type" class="search-filter">
          <option value="AND">All words</option>
          <option value="OR">Any words</option>
          <option value="PHRASE">Whole phrase</option>
        </select>
        <input type="text" name="search_string" value="" class="txt" placeholder="Search keyword..." />
        <input type="submit" name="search" value="" class="btn sprite-search-btn" />
    </div>
  </form>
  <div class="botbox"></div>
</div>
<%include include_hot_topics.html%>
