{# begin {templatelocation} #}

<form action="{site_url}/search.php" method="get" id="advsearchform" class="compact">

  <div class="user_basic">
    <p class="form_message">{search_intro}</p>

    <dl class="form_block">
      <dt><label for="advsearchform-query">{lang_keywords}</label></dt>
      <dd>
        <input type="text" maxlength="35" value="{query}" name="query" id="advsearchform-query" class="uk-input size3"{xhtml}>
        <select name="keyType" title="{lang_keytype}" id="advsearchform-keyType" class="uk-select uk-width-auto">
          <option value="phrase" {key_phrase_selected}>{lang_exact_phrase}</option>
          <option value="all" {key_all_selected}>{lang_all_words}</option>
          <option value="any" {key_any_selected}>{lang_any_word}</option>
        </select>
        <label><input type="checkbox" value="true" name="title" class="uk-checkbox"{title_checked}{xhtml}>{lang_titles}</label>
      </dd>

      <dt><label for="advsearchform-datestart">{lang_date}</label></dt>
      <dd>
        <input type="text" maxlength="10" name="datestart" value="{datestart}" id="advsearchform-datestart" class="uk-input size2"{xhtml}> <span class="loose">{lang_to}</span> <input type="text" maxlength="10" name="dateend" value="{dateend}" id="advsearchform-dateend" class="uk-input size2"{xhtml}>
      </dd>
      <dd class="description">{date_format}</dd>

      <dt><label for="advsearchform-topic">{lang_topic}</label></dt>
      <dd>
        <select name="topic" id="advsearchform-topic" class="uk-select uk-width-auto">
          {topic_option_list}
        </select>
      </dd>

      <dt><label for="advsearchform-type">{lang_type}</label></dt>
      <dd>
        <select name="type" id="advsearchform-type" class="uk-select uk-width-auto">
          {plugin_types}
        </select>
      </dd>

      {author_form_element}

      <dt><label for="advsearchform-results">{lang_results}</label></dt>
      <dd>
        <select name="results" id="advsearchform-results" class="uk-select uk-width-auto">
          {search_limits}
        </select>
        {lang_per_page}
      </dd>
    </dl>

    <div class="submit">
      <input type="hidden" name="mode" value="search"{xhtml}>
      <button type="submit" value="{lang_search}" class="uk-button uk-button-primary">{lang_search}</button>
    </div>
  </div>
</form>

<!-- BEGIN author_form_element -->
    <dt><label for="advsearchform-author">{lang_authors}</label></dt>
    <dd>
      <select name="author" id="advsearchform-author" class="uk-select uk-width-auto">
        <option selected="selected" value="0">{lang_all}</option>
        {author_option_list}
      </select>
    </dd>
<!-- END author_form_element -->

<!-- BEGIN author_form_element_disabled -->
    <input type="hidden" name="author" value="0"{XHTML}>
<!-- END author_form_element_disabled -->

{# end {templatelocation} #}
