<?php

use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;

/* search_results.html */
class __TwigTemplate_fb42423b7deabc2a01dced61f979f73cad93c0f357f972e86a4f1375003ffbc1 extends \Twig\Template
{
    public function __construct(Environment $env)
    {
        parent::__construct($env);

        $this->parent = false;

        $this->blocks = [
        ];
    }

    protected function doDisplay(array $context, array $blocks = [])
    {
        // line 1
        $location = "overall_header.html";
        $namespace = false;
        if (strpos($location, '@') === 0) {
            $namespace = substr($location, 1, strpos($location, '/') - 1);
            $previous_look_up_order = $this->env->getNamespaceLookUpOrder();
            $this->env->setNamespaceLookUpOrder(array($namespace, '__main__'));
        }
        $this->loadTemplate("overall_header.html", "search_results.html", 1)->display($context);
        if ($namespace) {
            $this->env->setNamespaceLookUpOrder($previous_look_up_order);
        }
        // line 2
        echo "<div class=\"side-segment\"><h3>";
        if (($context["SEARCH_TITLE"] ?? null)) {
            echo ($context["SEARCH_TITLE"] ?? null);
        } else {
            echo ($context["SEARCH_MATCHES"] ?? null);
        }
        if (($context["SEARCH_WORDS"] ?? null)) {
            echo "&#58;&nbsp;<a href=\"";
            echo ($context["U_SEARCH_WORDS"] ?? null);
            echo "\">";
            echo ($context["SEARCH_WORDS"] ?? null);
            echo "</a>";
        }
        echo "</h3></div>
";
        // line 3
        if (($context["SEARCHED_QUERY"] ?? null)) {
            echo "<p>";
            echo $this->env->getExtension('phpbb\template\twig\extension')->lang("SEARCHED_QUERY");
            echo $this->env->getExtension('phpbb\template\twig\extension')->lang("COLON");
            echo "&nbsp;<strong>";
            echo ($context["SEARCHED_QUERY"] ?? null);
            echo "</strong></p>";
        }
        // line 4
        if (($context["IGNORED_WORDS"] ?? null)) {
            echo "<p>";
            echo $this->env->getExtension('phpbb\template\twig\extension')->lang("IGNORED_TERMS");
            echo $this->env->getExtension('phpbb\template\twig\extension')->lang("COLON");
            echo "&nbsp;<span class=\"badge badge-important\">";
            echo ($context["IGNORED_WORDS"] ?? null);
            echo "</span></p>";
        }
        // line 5
        if (($context["PHRASE_SEARCH_DISABLED"] ?? null)) {
            echo "<p><strong>";
            echo $this->env->getExtension('phpbb\template\twig\extension')->lang("PHRASE_SEARCH_DISABLED");
            echo "</strong></p>";
        }
        // line 6
        echo "
";
        // line 7
        if (($context["SEARCH_TOPIC"] ?? null)) {
            // line 8
            echo "\t<p><i class=\"fa fa-chevron-left\"></i>&nbsp;<a href=\"";
            echo ($context["U_SEARCH_TOPIC"] ?? null);
            echo "\">";
            echo $this->env->getExtension('phpbb\template\twig\extension')->lang("RETURN_TO");
            echo $this->env->getExtension('phpbb\template\twig\extension')->lang("COLON");
            echo "&nbsp;";
            echo ($context["SEARCH_TOPIC"] ?? null);
            echo "</a></p>
";
        } else {
            // line 10
            echo "\t<p><i class=\"fa fa-chevron-left\"></i>&nbsp;<a href=\"";
            echo ($context["U_SEARCH"] ?? null);
            echo "\" title=\"";
            echo $this->env->getExtension('phpbb\template\twig\extension')->lang("SEARCH_ADV");
            echo "\">";
            echo $this->env->getExtension('phpbb\template\twig\extension')->lang("GO_TO_SEARCH_ADV");
            echo "</a></p>
";
        }
        // line 12
        echo "
";
        // line 13
        // line 14
        echo "
";
        // line 15
        if ((((twig_length_filter($this->env, $this->getAttribute(($context["loops"] ?? null), "pagination", [])) || ($context["SEARCH_MATCHES"] ?? null)) || ($context["TOTAL_MATCHES"] ?? null)) || ($context["PAGE_NUMBER"] ?? null))) {
            // line 16
            echo " <div class=\"row\">
\t<div class=\"col-md-4 col-xs-7\">
\t\t";
            // line 18
            if ((($context["TOTAL_MATCHES"] ?? null) > 0)) {
                // line 19
                echo "\t\t<div class=\"pull-left\">
\t\t  <form method=\"post\" action=\"";
                // line 20
                echo ($context["S_SEARCH_ACTION"] ?? null);
                echo "\">
\t\t   <fieldset>
\t\t\t<div class=\"input-group input-group-sm input-icon left\">
\t\t\t  <i class=\"fa fa-search\"></i>
\t\t\t  <input type=\"text\" class=\"form-control\" name=\"add_keywords\" id=\"add_keywords\" placeholder=\"";
                // line 24
                echo $this->env->getExtension('phpbb\template\twig\extension')->lang("SEARCH_IN_RESULTS");
                echo "\">
\t\t\t  <div class=\"input-group-btn\">
\t\t\t\t<button class=\"btn btn-default\" type=\"submit\" value=\"";
                // line 26
                echo $this->env->getExtension('phpbb\template\twig\extension')->lang("SEARCH");
                echo "\">";
                echo $this->env->getExtension('phpbb\template\twig\extension')->lang("SEARCH");
                echo "</button>
\t\t\t  </div>
\t\t\t</div>
\t\t   </fieldset>\t
\t\t  </form>
\t\t</div>
\t\t";
            }
            // line 33
            echo "\t</div>
\t
\t<div class=\"col-md-8\">
\t\t<div class=\"pull-right\">
\t\t <ul class=\"pagination pagination-sm hidden-xs\">
\t\t\t <li class=\"active\"><a>";
            // line 38
            echo ($context["SEARCH_MATCHES"] ?? null);
            echo "</a></li>
\t\t\t";
            // line 39
            if (twig_length_filter($this->env, $this->getAttribute(($context["loops"] ?? null), "pagination", []))) {
                // line 40
                echo "\t\t\t\t";
                $location = "pagination.html";
                $namespace = false;
                if (strpos($location, '@') === 0) {
                    $namespace = substr($location, 1, strpos($location, '/') - 1);
                    $previous_look_up_order = $this->env->getNamespaceLookUpOrder();
                    $this->env->setNamespaceLookUpOrder(array($namespace, '__main__'));
                }
                $this->loadTemplate("pagination.html", "search_results.html", 40)->display($context);
                if ($namespace) {
                    $this->env->setNamespaceLookUpOrder($previous_look_up_order);
                }
                // line 41
                echo "\t\t\t";
            } else {
                // line 42
                echo "\t\t\t\t<li class=\"active\"><a>";
                echo ($context["PAGE_NUMBER"] ?? null);
                echo "</a></li>\t
\t\t\t";
            }
            // line 44
            echo "\t\t\t";
            if (($context["U_MARK_ALL_READ"] ?? null)) {
                // line 45
                echo "\t\t\t\t<li><a href=\"";
                echo ($context["U_MARK_ALL_READ"] ?? null);
                echo "\" class=\"mark-read\">";
                echo $this->env->getExtension('phpbb\template\twig\extension')->lang("MARK_ALL_READ");
                echo "</a></li>
\t\t\t";
            }
            // line 47
            echo "\t\t </ul>
\t\t
\t\t<div class=\"visible-xs\"> 
\t\t\t  <div class=\"clearfix\"> 
\t\t\t\t<ul class=\"pagination pagination-sm\">
\t\t\t\t <li><a class=\"pagination-trigger\" data-placement=\"top\">";
            // line 52
            echo ($context["PAGE_NUMBER"] ?? null);
            echo "</a></li>
\t\t\t\t <li class=\"active\"><a>";
            // line 53
            echo ($context["SEARCH_MATCHES"] ?? null);
            echo "</a></li>
\t\t\t\t</ul>
\t\t\t</div>
\t\t</div>
\t   </div>
   </div>
 </div>
";
        }
        // line 61
        echo "
";
        // line 62
        if (($context["S_SHOW_TOPICS"] ?? null)) {
            // line 63
            echo "\t";
            if (twig_length_filter($this->env, $this->getAttribute(($context["loops"] ?? null), "searchresults", []))) {
                // line 64
                echo "\t<div class=\"panel panel-forum\">
\t<div class=\"panel-heading\">
\t <i class=\"fa fa-bolt\"></i>&nbsp;";
                // line 66
                echo $this->env->getExtension('phpbb\template\twig\extension')->lang("TOPICS");
                echo "
\t</div>
\t<div class=\"panel-inner\">
    <table class=\"footable table table-striped table-primary table-hover\">
\t<thead>
\t\t<tr>
\t\t\t<th data-class=\"expand\">";
                // line 72
                echo $this->env->getExtension('phpbb\template\twig\extension')->lang("TITLE");
                echo "</th>
\t\t\t<th class=\"large110\" data-hide=\"phone\">";
                // line 73
                echo $this->env->getExtension('phpbb\template\twig\extension')->lang("TOPICS_POSTS_STATISTICS");
                echo "</th>
\t\t\t<th class=\"large21\" data-hide=\"phone\">";
                // line 74
                echo $this->env->getExtension('phpbb\template\twig\extension')->lang("LAST_POST");
                echo "</th>
\t\t</tr>
\t</thead>\t\t
\t<tbody>
\t";
                // line 78
                ob_start();
                echo $this->env->getExtension('phpbb\template\twig\extension')->lang("VIEW_TOPIC_LOCKED");
                $value = ('' === $value = ob_get_clean()) ? '' : new \Twig_Markup($value, $this->env->getCharset());
                $context['definition']->set('VAR', $value);
                // line 79
                echo "\t\t";
                $context['_parent'] = $context;
                $context['_seq'] = twig_ensure_traversable($this->getAttribute(($context["loops"] ?? null), "searchresults", []));
                foreach ($context['_seq'] as $context["_key"] => $context["searchresults"]) {
                    // line 80
                    echo "\t\t";
                    // line 81
                    echo "\t\t<tr id=\"topic-";
                    echo $this->getAttribute($context["searchresults"], "TOPIC_ID", []);
                    echo "\">
\t\t\t<td>
\t\t\t";
                    // line 83
                    if (($this->getAttribute($context["searchresults"], "TOPIC_ICON_IMG", []) && ($context["S_TOPIC_ICONS"] ?? null))) {
                        echo "<i class=\"topic-icon\" style=\"background-image: url(";
                        echo ($context["T_ICONS_PATH"] ?? null);
                        echo $this->getAttribute($context["searchresults"], "TOPIC_ICON_IMG", []);
                        echo "); background-repeat: no-repeat;\" title=\"";
                        echo $this->getAttribute($context["searchresults"], "TOPIC_ICON_IMG_ALT", []);
                        echo "\"></i>";
                    }
                    // line 84
                    echo "\t\t\t<span class=\"icon-wrapper\">
\t\t\t\t<i class=\"row-icon-font icon-moon-default2";
                    // line 85
                    if (($this->getAttribute($context["searchresults"], "S_TOPIC_TYPE", []) == 2)) {
                        echo " icon-moon-voice2";
                    } elseif (($this->getAttribute($context["searchresults"], "S_TOPIC_TYPE", []) == 3)) {
                        echo " icon-moon-podcast2";
                    } elseif (($this->getAttribute($context["searchresults"], "S_TOPIC_TYPE", []) == 1)) {
                        echo " icon-moon-pushpin2";
                    } elseif ($this->getAttribute($context["searchresults"], "S_HAS_POLL", [])) {
                        echo " icon-moon-poll";
                    }
                    if ($this->getAttribute($context["searchresults"], "S_UNREAD_TOPIC", [])) {
                        echo " forum-unread";
                    } else {
                        echo " forum-read";
                    }
                    echo "\" title=\"";
                    echo $this->getAttribute($context["searchresults"], "TOPIC_FOLDER_IMG_ALT", []);
                    echo "\"></i>
\t\t\t</span>
\t\t\t\t<i class=\"row-icon-font-mini";
                    // line 87
                    if (($this->getAttribute($context["searchresults"], "TOPIC_TYPE", []) == $this->getAttribute(($context["definition"] ?? null), "VAR", []))) {
                        echo " fa fa-lock forumview-lock";
                    }
                    echo "\" title=\"";
                    echo $this->getAttribute($context["searchresults"], "TOPIC_ICON_IMG_ALT", []);
                    echo "\"></i>
\t\t\t<span class=\"desc-wrapper\">\t
\t\t\t";
                    // line 89
                    // line 90
                    echo "\t\t\t\t";
                    if (($this->getAttribute($context["searchresults"], "S_UNREAD_TOPIC", []) &&  !($context["S_IS_BOT"] ?? null))) {
                        echo "<a href=\"";
                        echo $this->getAttribute($context["searchresults"], "U_NEWEST_POST", []);
                        echo "\" title=\"";
                        echo $this->env->getExtension('phpbb\template\twig\extension')->lang("VIEW_FIRST_UNREAD");
                        echo "\"><i class=\"fa fa-asterisk\"></i></a>";
                    }
                    // line 91
                    echo "\t\t\t\t<a href=\"";
                    echo $this->getAttribute($context["searchresults"], "U_VIEW_TOPIC", []);
                    echo "\" class=\"topictitle\">";
                    echo $this->getAttribute($context["searchresults"], "TOPIC_TITLE", []);
                    echo "</a> ";
                    if ($this->getAttribute($context["searchresults"], "ATTACH_ICON_IMG", [])) {
                        echo "<i class=\"fa fa-paperclip fa-flip-horizontal\" title=\"";
                        echo $this->env->getExtension('phpbb\template\twig\extension')->lang("ATTACH_FORUM");
                        echo "\"></i>";
                    }
                    // line 92
                    echo "\t\t\t\t";
                    if (($this->getAttribute($context["searchresults"], "S_TOPIC_UNAPPROVED", []) || $this->getAttribute($context["searchresults"], "S_POSTS_UNAPPROVED", []))) {
                        echo "<a href=\"";
                        echo $this->getAttribute($context["searchresults"], "U_MCP_QUEUE", []);
                        echo "\" title=\"";
                        echo $this->env->getExtension('phpbb\template\twig\extension')->lang("TOPICS_ROW_NOT_APPROVED");
                        echo "\"><i class=\"fa fa-question-circle\"></i></a>";
                    }
                    // line 93
                    echo "\t\t\t\t";
                    if ($this->getAttribute($context["searchresults"], "S_TOPIC_DELETED", [])) {
                        echo "<a href=\"";
                        echo $this->getAttribute($context["searchresults"], "U_MCP_QUEUE", []);
                        echo "\" title=\"";
                        echo $this->env->getExtension('phpbb\template\twig\extension')->lang("TOPIC_DELETED");
                        echo "\"><i class=\"fa fa-trash-o text-danger\"></i></a>";
                    }
                    // line 94
                    echo "\t\t\t\t";
                    if ($this->getAttribute($context["searchresults"], "S_TOPIC_REPORTED", [])) {
                        echo "<a href=\"";
                        echo $this->getAttribute($context["searchresults"], "U_MCP_REPORT", []);
                        echo "\" title=\"";
                        echo $this->env->getExtension('phpbb\template\twig\extension')->lang("TOPICS_ROW_REPORTED");
                        echo "\"><i class=\"fa fa-exclamation-circle text-danger\"></i></a>";
                    }
                    echo "<br />
\t\t\t\t
\t\t\t\t";
                    // line 96
                    if (twig_length_filter($this->env, $this->getAttribute($context["searchresults"], "pagination", []))) {
                        // line 97
                        echo "\t\t\t\t    <ul class=\"pagination pagination-forum pagination-xs pull-right hidden-sm hidden-xs\">
\t\t\t\t\t\t";
                        // line 98
                        $context['_parent'] = $context;
                        $context['_seq'] = twig_ensure_traversable($this->getAttribute($context["searchresults"], "pagination", []));
                        foreach ($context['_seq'] as $context["_key"] => $context["pagination"]) {
                            // line 99
                            echo "\t\t\t\t\t\t ";
                            if ($this->getAttribute($context["pagination"], "S_IS_PREV", [])) {
                                // line 100
                                echo "\t\t\t\t\t\t ";
                            } elseif ($this->getAttribute($context["pagination"], "S_IS_CURRENT", [])) {
                                echo "<li class=\"active\">";
                                echo $this->getAttribute($context["pagination"], "PAGE_NUMBER", []);
                                echo "</li>
\t\t\t\t\t\t ";
                            } elseif ($this->getAttribute(                            // line 101
$context["pagination"], "S_IS_ELLIPSIS", [])) {
                                echo "<li class=\"ellipsis\"><a>";
                                echo $this->env->getExtension('phpbb\template\twig\extension')->lang("ELLIPSIS");
                                echo "</a></li>
\t\t\t\t\t\t ";
                            } elseif ($this->getAttribute(                            // line 102
$context["pagination"], "S_IS_NEXT", [])) {
                                // line 103
                                echo "\t\t\t\t\t\t";
                            } else {
                                // line 104
                                echo "\t\t\t\t\t\t <li><a href=\"";
                                echo $this->getAttribute($context["pagination"], "PAGE_URL", []);
                                echo "\">";
                                echo $this->getAttribute($context["pagination"], "PAGE_NUMBER", []);
                                echo "</a></li>
\t\t\t\t\t\t";
                            }
                            // line 106
                            echo "\t\t\t\t\t\t";
                        }
                        $_parent = $context['_parent'];
                        unset($context['_seq'], $context['_iterated'], $context['_key'], $context['pagination'], $context['_parent'], $context['loop']);
                        $context = array_intersect_key($context, $_parent) + $_parent;
                        // line 107
                        echo "\t\t\t\t\t</ul>\t\t
\t\t\t    ";
                    }
                    // line 109
                    echo "\t\t\t\t
\t\t\t\t";
                    // line 110
                    echo $this->env->getExtension('phpbb\template\twig\extension')->lang("POST_BY_AUTHOR");
                    echo "&nbsp;";
                    echo $this->getAttribute($context["searchresults"], "TOPIC_AUTHOR_FULL", []);
                    echo "<small>&nbsp;&#45;&nbsp;";
                    echo $this->getAttribute($context["searchresults"], "FIRST_POST_TIME", []);
                    echo "</small>
\t\t\t\t";
                    // line 111
                    if ( !$this->getAttribute($context["searchresults"], "S_TOPIC_GLOBAL", [])) {
                        echo "<small>&nbsp;&#45;&nbsp;";
                        echo $this->env->getExtension('phpbb\template\twig\extension')->lang("IN");
                        echo $this->env->getExtension('phpbb\template\twig\extension')->lang("COLON");
                        echo "&nbsp;<a href=\"";
                        echo $this->getAttribute($context["searchresults"], "U_VIEW_FORUM", []);
                        echo "\">";
                        echo $this->getAttribute($context["searchresults"], "FORUM_TITLE", []);
                        echo "</a></small>";
                    } else {
                        echo "&nbsp;&#40;";
                        echo $this->env->getExtension('phpbb\template\twig\extension')->lang("GLOBAL");
                        echo "&#41;";
                    }
                    // line 112
                    echo "\t\t\t";
                    // line 113
                    echo "\t\t\t</span>
\t\t\t</td>
\t\t\t<td class=\"stats-col\"><span class=\"stats-wrapper\">";
                    // line 115
                    echo $this->getAttribute($context["searchresults"], "TOPIC_REPLIES", []);
                    echo "&nbsp;";
                    echo $this->env->getExtension('phpbb\template\twig\extension')->lang("REPLIES");
                    echo "<br />&nbsp;";
                    echo $this->getAttribute($context["searchresults"], "TOPIC_VIEWS", []);
                    echo "&nbsp;";
                    echo $this->env->getExtension('phpbb\template\twig\extension')->lang("VIEWS");
                    echo "</span></td>
\t\t\t<td class=\"center\">";
                    // line 116
                    echo $this->env->getExtension('phpbb\template\twig\extension')->lang("POST_BY_AUTHOR");
                    echo "&nbsp;";
                    echo $this->getAttribute($context["searchresults"], "LAST_POST_AUTHOR_FULL", []);
                    echo "
\t\t\t";
                    // line 117
                    if ( !($context["S_IS_BOT"] ?? null)) {
                        echo "<a title=\"";
                        echo $this->env->getExtension('phpbb\template\twig\extension')->lang("FORUMLIST_LASTPOST");
                        echo "\" href=\"";
                        echo $this->getAttribute($context["searchresults"], "U_LAST_POST", []);
                        echo "\"><i class=\"mobile-post fa fa-sign-out\"></i></a>";
                    }
                    // line 118
                    echo "\t\t\t<br /><small>";
                    echo $this->getAttribute($context["searchresults"], "LAST_POST_TIME", []);
                    echo "</small>
\t\t\t</td>
\t\t</tr>
\t\t";
                    // line 121
                    // line 122
                    echo "\t\t";
                }
                $_parent = $context['_parent'];
                unset($context['_seq'], $context['_iterated'], $context['_key'], $context['searchresults'], $context['_parent'], $context['loop']);
                $context = array_intersect_key($context, $_parent) + $_parent;
                // line 123
                echo "\t\t </tbody>
\t</table>
\t</div>
    </div>
\t
\t";
            } else {
                // line 129
                echo "\t<div class=\"alert alert-info fade in\">
       <button data-dismiss=\"alert\" class=\"close\" type=\"button\" aria-hidden=\"true\"><i class=\"awe-remove-circle\"></i></button>
       <i class=\"fa fa-warning\"></i> <strong>";
                // line 131
                echo $this->env->getExtension('phpbb\template\twig\extension')->lang("INFO_BOX");
                echo "</strong>&nbsp;";
                echo $this->env->getExtension('phpbb\template\twig\extension')->lang("NO_SEARCH_RESULTS");
                echo "
    </div> 
\t";
            }
            // line 134
            echo "
";
        } else {
            // line 136
            echo "
";
            // line 137
            $context['_parent'] = $context;
            $context['_seq'] = twig_ensure_traversable($this->getAttribute(($context["loops"] ?? null), "searchresults", []));
            $context['_iterated'] = false;
            foreach ($context['_seq'] as $context["_key"] => $context["searchresults"]) {
                // line 138
                // line 139
                echo "<div class=\"clearfix\">
\t<div class=\"well well-sm\">
\t";
                // line 141
                if ($this->getAttribute($context["searchresults"], "S_POST_PRIVATE", [])) {
                    // line 142
                    echo "\t\t<div class=\"pull-left\">
\t\t";
                    // line 143
                    echo "\t
\t\t\t<span class=\"text-muted\"><i class=\"fa fa-user\"></i>&nbsp;";
                    // line 144
                    echo $this->env->getExtension('phpbb\template\twig\extension')->lang("PRIVATE_BY");
                    echo "&nbsp;";
                    echo $this->getAttribute($context["searchresults"], "POST_AUTHOR_FULL", []);
                    echo "&nbsp;&#166;&nbsp;<i class=\"fa fa-clock-o\"></i>&nbsp;";
                    echo $this->getAttribute($context["searchresults"], "POST_DATE", []);
                    echo "</span>
\t\t";
                    // line 145
                    // line 146
                    echo "\t\t</div>
\t\t<div class=\"space10\"></div>
\t\t<div class=\"content\"><p><strong>";
                    // line 148
                    echo $this->env->getExtension('phpbb\template\twig\extension')->lang("PRIVATE_POST_NO_CONTENT");
                    echo "</strong></p></div>
\t";
                } else {
                    // line 150
                    echo "\t\t";
                    if ($this->getAttribute($context["searchresults"], "S_IGNORE_POST", [])) {
                        // line 151
                        echo "\t\t\t<div class=\"postbody\">
\t\t\t\t";
                        // line 152
                        echo $this->getAttribute($context["searchresults"], "L_IGNORE_POST", []);
                        echo "
\t\t\t</div>
\t\t";
                    } else {
                        // line 155
                        echo "\t\t\t<div class=\"pull-left\">
\t\t\t\t<h4><a href=\"";
                        // line 156
                        echo $this->getAttribute($context["searchresults"], "U_VIEW_POST", []);
                        echo "\">";
                        echo $this->getAttribute($context["searchresults"], "POST_SUBJECT", []);
                        echo "</a></h4>
\t\t\t";
                        // line 157
                        echo "\t
\t\t\t   <span class=\"text-muted\"><i class=\"fa fa-user\"></i>&nbsp;";
                        // line 158
                        echo $this->env->getExtension('phpbb\template\twig\extension')->lang("POST_BY_AUTHOR");
                        echo "&nbsp;";
                        echo $this->getAttribute($context["searchresults"], "POST_AUTHOR_FULL", []);
                        echo "&nbsp;&#166;&nbsp;<i class=\"fa fa-clock-o\"></i>&nbsp;";
                        echo $this->getAttribute($context["searchresults"], "POST_DATE", []);
                        echo "&nbsp;&#166;</span> 
\t\t\t";
                        // line 159
                        if ($this->getAttribute($context["searchresults"], "FORUM_TITLE", [])) {
                            // line 160
                            echo "\t           <span class=\"text-muted\"><i class=\"fa fa-folder\"></i>&nbsp;";
                            echo $this->env->getExtension('phpbb\template\twig\extension')->lang("FORUM");
                            echo $this->env->getExtension('phpbb\template\twig\extension')->lang("COLON");
                            echo "&nbsp;<a href=\"";
                            echo $this->getAttribute($context["searchresults"], "U_VIEW_FORUM", []);
                            echo "\">";
                            echo $this->getAttribute($context["searchresults"], "FORUM_TITLE", []);
                            echo "</a>&nbsp;&#166;&nbsp;<i class=\"fa fa-folder-open\"></i>&nbsp;";
                            echo $this->env->getExtension('phpbb\template\twig\extension')->lang("TOPIC");
                            echo $this->env->getExtension('phpbb\template\twig\extension')->lang("COLON");
                            echo "&nbsp;<a href=\"";
                            echo $this->getAttribute($context["searchresults"], "U_VIEW_TOPIC", []);
                            echo "\">";
                            echo $this->getAttribute($context["searchresults"], "TOPIC_TITLE", []);
                            echo "</a>&nbsp;&#166;</span> 
\t\t\t\t";
                        } else {
                            // line 162
                            echo "\t\t\t\t<span class=\"text-muted\"><i class=\"fa fa-plus\"></i>&nbsp;";
                            echo $this->env->getExtension('phpbb\template\twig\extension')->lang("GLOBAL");
                            echo $this->env->getExtension('phpbb\template\twig\extension')->lang("COLON");
                            echo "&nbsp;<a href=\"";
                            echo $this->getAttribute($context["searchresults"], "U_VIEW_TOPIC", []);
                            echo "\">";
                            echo $this->getAttribute($context["searchresults"], "TOPIC_TITLE", []);
                            echo "</a>&nbsp;&#166;</span> 
\t\t\t\t";
                        }
                        // line 164
                        echo "\t\t\t\t<span class=\"text-muted\"><i class=\"fa fa-comments\"></i>&nbsp;";
                        echo $this->env->getExtension('phpbb\template\twig\extension')->lang("REPLIES");
                        echo $this->env->getExtension('phpbb\template\twig\extension')->lang("COLON");
                        echo "&nbsp;<strong>";
                        echo $this->getAttribute($context["searchresults"], "TOPIC_REPLIES", []);
                        echo "</strong>&nbsp;&#166;&nbsp;<i class=\"fa fa-eye\"></i>&nbsp;";
                        echo $this->env->getExtension('phpbb\template\twig\extension')->lang("VIEWS");
                        echo $this->env->getExtension('phpbb\template\twig\extension')->lang("COLON");
                        echo "&nbsp;<strong>";
                        echo $this->getAttribute($context["searchresults"], "TOPIC_VIEWS", []);
                        echo "</strong></span> 
\t\t\t";
                        // line 165
                        // line 166
                        echo "\t\t\t</div>
\t\t\t<div class=\"space10\"></div>
\t\t\t\t<div class=\"content\"><p>";
                        // line 168
                        echo $this->getAttribute($context["searchresults"], "MESSAGE", []);
                        echo "</p></div>
\t\t";
                    }
                    // line 170
                    echo "
\t\t";
                    // line 171
                    if ( !$this->getAttribute($context["searchresults"], "S_IGNORE_POST", [])) {
                        // line 172
                        echo "\t\t<div class=\"clearfix\">
\t\t\t<div class=\"pull-right\"><a href=\"";
                        // line 173
                        echo $this->getAttribute($context["searchresults"], "U_VIEW_POST", []);
                        echo "\">";
                        echo $this->env->getExtension('phpbb\template\twig\extension')->lang("JUMP_TO_POST");
                        echo "</a></div>
\t\t</div>
\t\t";
                    }
                    // line 176
                    echo "\t";
                }
                // line 177
                echo "    </div>
</div>
";
                // line 179
                $context['_iterated'] = true;
            }
            if (!$context['_iterated']) {
                // line 181
                echo "\t<div class=\"alert alert-info fade in\">
       <button data-dismiss=\"alert\" class=\"close\" type=\"button\" aria-hidden=\"true\"><i class=\"awe-remove-circle\"></i></button>
       <i class=\"fa fa-warning\"></i><strong>";
                // line 183
                echo $this->env->getExtension('phpbb\template\twig\extension')->lang("INFO_BOX");
                echo "</strong>&nbsp;";
                echo $this->env->getExtension('phpbb\template\twig\extension')->lang("NO_SEARCH_RESULTS");
                echo "
    </div> 
\t";
            }
            $_parent = $context['_parent'];
            unset($context['_seq'], $context['_iterated'], $context['_key'], $context['searchresults'], $context['_parent'], $context['loop']);
            $context = array_intersect_key($context, $_parent) + $_parent;
        }
        // line 187
        echo "

<div class=\"row\">
";
        // line 190
        if (((((twig_length_filter($this->env, $this->getAttribute(($context["loops"] ?? null), "pagination", [])) || twig_length_filter($this->env, $this->getAttribute(($context["loops"] ?? null), "searchresults", []))) || ($context["PAGE_NUMBER"] ?? null)) || ($context["S_SELECT_SORT_KEY"] ?? null)) || ($context["S_SELECT_SORT_DAYS"] ?? null))) {
            echo "  
<div class=\"col-md-8 col-md-push-4\">
  <div class=\"clearfix\"> 
\t    <ul class=\"pagination pagination-sm hidden-xs pull-right\">
\t\t\t";
            // line 194
            if ((($context["S_SELECT_SORT_DAYS"] ?? null) || ($context["S_SELECT_SORT_KEY"] ?? null))) {
                // line 195
                echo "\t\t\t <li><a title=\"\" data-original-title=\"\" href=\"javascript:void(0);\" data-target=\".sorting\" data-toggle=\"collapse\">";
                echo $this->env->getExtension('phpbb\template\twig\extension')->lang("OPTIONS");
                echo "</a></li>
\t\t\t";
            }
            // line 197
            echo "\t\t\t <li class=\"active\"><a>";
            echo ($context["SEARCH_MATCHES"] ?? null);
            echo "</a></li>
\t\t\t";
            // line 198
            if (twig_length_filter($this->env, $this->getAttribute(($context["loops"] ?? null), "pagination", []))) {
                // line 199
                echo "\t\t\t\t";
                $location = "pagination.html";
                $namespace = false;
                if (strpos($location, '@') === 0) {
                    $namespace = substr($location, 1, strpos($location, '/') - 1);
                    $previous_look_up_order = $this->env->getNamespaceLookUpOrder();
                    $this->env->setNamespaceLookUpOrder(array($namespace, '__main__'));
                }
                $this->loadTemplate("pagination.html", "search_results.html", 199)->display($context);
                if ($namespace) {
                    $this->env->setNamespaceLookUpOrder($previous_look_up_order);
                }
                // line 200
                echo "\t\t\t";
            } else {
                // line 201
                echo "\t\t\t\t<li class=\"active\"><a>";
                echo ($context["PAGE_NUMBER"] ?? null);
                echo "</a></li>\t
\t\t\t";
            }
            // line 203
            echo "\t\t\t";
            if (($context["U_MARK_ALL_READ"] ?? null)) {
                // line 204
                echo "\t\t\t\t<li><a href=\"";
                echo ($context["U_MARK_ALL_READ"] ?? null);
                echo "\" class=\"mark-read\">";
                echo $this->env->getExtension('phpbb\template\twig\extension')->lang("MARK_ALL_READ");
                echo "</a></li>
\t\t\t";
            }
            // line 206
            echo "\t\t</ul>
\t
\t\t<div class=\"visible-xs pull-right\"> 
\t\t  <div class=\"clearfix\"> 
\t\t\t <ul class=\"pagination pagination-sm\">
\t\t\t\t";
            // line 211
            if (twig_length_filter($this->env, $this->getAttribute(($context["loops"] ?? null), "pagination", []))) {
                // line 212
                echo "\t\t\t\t\t";
                $location = "pagination_mobile.html";
                $namespace = false;
                if (strpos($location, '@') === 0) {
                    $namespace = substr($location, 1, strpos($location, '/') - 1);
                    $previous_look_up_order = $this->env->getNamespaceLookUpOrder();
                    $this->env->setNamespaceLookUpOrder(array($namespace, '__main__'));
                }
                $this->loadTemplate("pagination_mobile.html", "search_results.html", 212)->display($context);
                if ($namespace) {
                    $this->env->setNamespaceLookUpOrder($previous_look_up_order);
                }
                // line 213
                echo "\t\t\t\t";
            } else {
                // line 214
                echo "\t\t\t\t\t<li class=\"active\"><a>";
                echo ($context["PAGE_NUMBER"] ?? null);
                echo "</a></li>\t
\t\t\t\t";
            }
            // line 216
            echo "\t\t\t</ul>
\t\t  </div>
\t   </div>
   </div>
 </div>  
";
        }
        // line 222
        echo "
<div class=\"col-md-4 col-md-pull-8\">
";
        // line 224
        $location = "jumpbox_options.html";
        $namespace = false;
        if (strpos($location, '@') === 0) {
            $namespace = substr($location, 1, strpos($location, '/') - 1);
            $previous_look_up_order = $this->env->getNamespaceLookUpOrder();
            $this->env->setNamespaceLookUpOrder(array($namespace, '__main__'));
        }
        $this->loadTemplate("jumpbox_options.html", "search_results.html", 224)->display($context);
        if ($namespace) {
            $this->env->setNamespaceLookUpOrder($previous_look_up_order);
        }
        // line 225
        echo "</div>

</div>

";
        // line 229
        $location = "jump_links.html";
        $namespace = false;
        if (strpos($location, '@') === 0) {
            $namespace = substr($location, 1, strpos($location, '/') - 1);
            $previous_look_up_order = $this->env->getNamespaceLookUpOrder();
            $this->env->setNamespaceLookUpOrder(array($namespace, '__main__'));
        }
        $this->loadTemplate("jump_links.html", "search_results.html", 229)->display($context);
        if ($namespace) {
            $this->env->setNamespaceLookUpOrder($previous_look_up_order);
        }
        // line 230
        echo "
";
        // line 231
        if ((twig_length_filter($this->env, $this->getAttribute(($context["loops"] ?? null), "searchresults", [])) && (($context["S_SELECT_SORT_DAYS"] ?? null) || ($context["S_SELECT_SORT_KEY"] ?? null)))) {
            // line 232
            echo "\t<form method=\"post\" action=\"";
            echo ($context["S_SEARCH_ACTION"] ?? null);
            echo "\">
\t\t";
            // line 233
            $location = "display_options.html";
            $namespace = false;
            if (strpos($location, '@') === 0) {
                $namespace = substr($location, 1, strpos($location, '/') - 1);
                $previous_look_up_order = $this->env->getNamespaceLookUpOrder();
                $this->env->setNamespaceLookUpOrder(array($namespace, '__main__'));
            }
            $this->loadTemplate("display_options.html", "search_results.html", 233)->display($context);
            if ($namespace) {
                $this->env->setNamespaceLookUpOrder($previous_look_up_order);
            }
            // line 234
            echo "\t</form>
";
        }
        // line 236
        echo "
";
        // line 237
        $location = "overall_footer.html";
        $namespace = false;
        if (strpos($location, '@') === 0) {
            $namespace = substr($location, 1, strpos($location, '/') - 1);
            $previous_look_up_order = $this->env->getNamespaceLookUpOrder();
            $this->env->setNamespaceLookUpOrder(array($namespace, '__main__'));
        }
        $this->loadTemplate("overall_footer.html", "search_results.html", 237)->display($context);
        if ($namespace) {
            $this->env->setNamespaceLookUpOrder($previous_look_up_order);
        }
    }

    public function getTemplateName()
    {
        return "search_results.html";
    }

    public function isTraitable()
    {
        return false;
    }

    public function getDebugInfo()
    {
        return array (  836 => 237,  833 => 236,  829 => 234,  817 => 233,  812 => 232,  810 => 231,  807 => 230,  795 => 229,  789 => 225,  777 => 224,  773 => 222,  765 => 216,  759 => 214,  756 => 213,  743 => 212,  741 => 211,  734 => 206,  726 => 204,  723 => 203,  717 => 201,  714 => 200,  701 => 199,  699 => 198,  694 => 197,  688 => 195,  686 => 194,  679 => 190,  674 => 187,  662 => 183,  658 => 181,  654 => 179,  650 => 177,  647 => 176,  639 => 173,  636 => 172,  634 => 171,  631 => 170,  626 => 168,  622 => 166,  621 => 165,  608 => 164,  597 => 162,  579 => 160,  577 => 159,  569 => 158,  566 => 157,  560 => 156,  557 => 155,  551 => 152,  548 => 151,  545 => 150,  540 => 148,  536 => 146,  535 => 145,  527 => 144,  524 => 143,  521 => 142,  519 => 141,  515 => 139,  514 => 138,  509 => 137,  506 => 136,  502 => 134,  494 => 131,  490 => 129,  482 => 123,  476 => 122,  475 => 121,  468 => 118,  460 => 117,  454 => 116,  444 => 115,  440 => 113,  438 => 112,  423 => 111,  415 => 110,  412 => 109,  408 => 107,  402 => 106,  394 => 104,  391 => 103,  389 => 102,  383 => 101,  376 => 100,  373 => 99,  369 => 98,  366 => 97,  364 => 96,  352 => 94,  343 => 93,  334 => 92,  323 => 91,  314 => 90,  313 => 89,  304 => 87,  284 => 85,  281 => 84,  272 => 83,  266 => 81,  264 => 80,  259 => 79,  254 => 78,  247 => 74,  243 => 73,  239 => 72,  230 => 66,  226 => 64,  223 => 63,  221 => 62,  218 => 61,  207 => 53,  203 => 52,  196 => 47,  188 => 45,  185 => 44,  179 => 42,  176 => 41,  163 => 40,  161 => 39,  157 => 38,  150 => 33,  138 => 26,  133 => 24,  126 => 20,  123 => 19,  121 => 18,  117 => 16,  115 => 15,  112 => 14,  111 => 13,  108 => 12,  98 => 10,  87 => 8,  85 => 7,  82 => 6,  76 => 5,  67 => 4,  58 => 3,  42 => 2,  30 => 1,);
    }

    /** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
    public function getSource()
    {
        @trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);

        return $this->getSourceContext()->getCode();
    }

    public function getSourceContext()
    {
        return new Source("", "search_results.html", "");
    }
}
