{% INCLUDE 'overall_header.html' %} {% EVENT search_results_header_before %}

{% if SEARCH_TITLE %}{{ SEARCH_TITLE }}{% else %}{{ SEARCH_MATCHES }}{% endif %}{% if SEARCH_WORDS %}{{ lang('COLON') }} {{ SEARCH_WORDS }}{% endif %}

{% if SEARCHED_QUERY %}

{{ lang('SEARCHED_QUERY') ~ lang('COLON') }} {{ SEARCHED_QUERY }}

{% endif %} {% if IGNORED_WORDS %}

{{ lang('IGNORED_TERMS') ~ lang('COLON') }} {{ IGNORED_WORDS }}

{% endif %} {% if PHRASE_SEARCH_DISABLED %}

{{ lang('PHRASE_SEARCH_DISABLED') }}

{% endif %} {% if SEARCH_TOPIC %} {% else %} {% endif %} {% EVENT search_results_header_after %} {% if U_MARK_ALL_READ and not S_IS_BOT %}
{{ lang('MARK_ALL_READ') }}
{% endif %} {% if loops.pagination|length or SEARCH_MATCHES or TOTAL_MATCHES or PAGE_NUMBER %}
{% if TOTAL_MATCHES > 0 %} {% endif %} {% EVENT search_results_searchbox_after %}
{% endif %} {% if S_SHOW_TOPICS %} {% if loops.searchresults|length %}
{% else %}
{{ lang('NO_SEARCH_RESULTS') }}
{% endif %} {% else %} {% for searchresults in loops.searchresults %} {% EVENT search_results_post_before %}
{% if searchresults.S_IGNORE_POST %}
{{ searchresults.L_IGNORE_POST }}
{% else %}
{% EVENT search_results_postprofile_before %}
{{ lang('POST_BY_AUTHOR') }} {% EVENT search_results_post_author_username_prepend %}{{ searchresults.POST_AUTHOR_FULL }}{% EVENT search_results_post_author_username_append %}
{{ searchresults.POST_DATE }}
{{ lang('FORUM') ~ lang('COLON') }} {{ searchresults.FORUM_TITLE }}
{{ lang('TOPIC') ~ lang('COLON') }} {{ searchresults.TOPIC_TITLE }}
{% EVENT search_results_topic_title_after %}
{{ lang('REPLIES') ~ lang('COLON') }} {{ searchresults.TOPIC_REPLIES }}
{{ lang('VIEWS') ~ lang('COLON') }} {{ searchresults.TOPIC_VIEWS }}
{% EVENT search_results_postprofile_after %}

{{ searchresults.POST_SUBJECT }}

{{ searchresults.MESSAGE }}
{% EVENT search_results_content_after %}
{% endif %} {% if not searchresults.S_IGNORE_POST %} {% endif %}
{% EVENT search_results_post_after %} {% else %}
{{ lang('NO_SEARCH_RESULTS') }}
{% endfor %} {% endif %}
{% if loops.searchresults|length and (S_SELECT_SORT_DAYS or S_SELECT_SORT_KEY) %}
{% INCLUDE 'display_options.html' %}
{% endif %}
{% INCLUDE 'jumpbox.html' %} {% INCLUDE 'overall_footer.html' %}