parent = false;
$this->blocks = array(
);
}
protected function doDisplay(array $context, array $blocks = array())
{
// 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 "
";
// line 3
// line 4
echo "
";
// line 5
if (($context["SEARCH_TITLE"] ?? null)) {
echo ($context["SEARCH_TITLE"] ?? null);
} else {
echo ($context["SEARCH_MATCHES"] ?? null);
}
if (($context["SEARCH_WORDS"] ?? null)) {
echo $this->env->getExtension('phpbb\template\twig\extension')->lang("COLON");
echo " ";
echo ($context["SEARCH_WORDS"] ?? null);
echo "";
}
echo "
";
// line 6
if (($context["SEARCHED_QUERY"] ?? null)) {
echo " ";
echo $this->env->getExtension('phpbb\template\twig\extension')->lang("SEARCHED_QUERY");
echo $this->env->getExtension('phpbb\template\twig\extension')->lang("COLON");
echo " ";
echo ($context["SEARCHED_QUERY"] ?? null);
echo "
";
}
// line 7
if (($context["IGNORED_WORDS"] ?? null)) {
echo " ";
echo $this->env->getExtension('phpbb\template\twig\extension')->lang("IGNORED_TERMS");
echo $this->env->getExtension('phpbb\template\twig\extension')->lang("COLON");
echo " ";
echo ($context["IGNORED_WORDS"] ?? null);
echo "
";
}
// line 8
if (($context["PHRASE_SEARCH_DISABLED"] ?? null)) {
echo " ";
echo $this->env->getExtension('phpbb\template\twig\extension')->lang("PHRASE_SEARCH_DISABLED");
echo "
";
}
// line 9
echo "
";
// line 10
if (($context["SEARCH_TOPIC"] ?? null)) {
// line 11
echo "\t
\t\t
\t\t\t";
echo $this->env->getExtension('phpbb\template\twig\extension')->lang("RETURN_TO_TOPIC");
echo "
\t\t
\t
";
} else {
// line 17
echo "\t
\t\tenv->getExtension('phpbb\template\twig\extension')->lang("SEARCH_ADV");
echo "\">
\t\t\t";
echo $this->env->getExtension('phpbb\template\twig\extension')->lang("GO_TO_SEARCH_ADV");
echo "
\t\t
\t
";
}
// line 23
echo "
";
// line 24
// line 25
echo "
";
// line 26
if ((((twig_length_filter($this->env, $this->getAttribute(($context["loops"] ?? null), "pagination", array())) || ($context["SEARCH_MATCHES"] ?? null)) || ($context["TOTAL_MATCHES"] ?? null)) || ($context["PAGE_NUMBER"] ?? null))) {
// line 27
echo "\t
\t";
// line 29
if ((($context["TOTAL_MATCHES"] ?? null) > 0)) {
// line 30
echo "\t\t
\t";
}
// line 44
echo "
\t\t";
// line 45
// line 46
echo "
\t\t
\t
";
}
// line 58
echo "
";
// line 59
if (($context["S_SHOW_TOPICS"] ?? null)) {
// line 60
echo "
\t";
// line 61
if (twig_length_filter($this->env, $this->getAttribute(($context["loops"] ?? null), "searchresults", array()))) {
// line 62
echo "\t
\t\t
\t\t
\t\t
\t\t";
// line 77
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable($this->getAttribute(($context["loops"] ?? null), "searchresults", array()));
foreach ($context['_seq'] as $context["_key"] => $context["searchresults"]) {
// line 78
echo "\t\t\t";
// line 79
echo "\t\t\t- getAttribute($context["searchresults"], "S_ROW_COUNT", array()) % 2 == 0)) {
echo " bg1";
} else {
echo " bg2";
}
echo "\">
\t\t\t\t
getAttribute($context["searchresults"], "TOPIC_IMG_STYLE", array());
echo "\">
\t\t\t\t\t- getAttribute($context["searchresults"], "TOPIC_ICON_IMG", array())) {
echo " style=\"background-image: url(";
echo ($context["T_ICONS_PATH"] ?? null);
echo $this->getAttribute($context["searchresults"], "TOPIC_ICON_IMG", array());
echo "); background-repeat: no-repeat;\"";
}
echo " title=\"";
echo $this->getAttribute($context["searchresults"], "TOPIC_FOLDER_IMG_ALT", array());
echo "\">
\t\t\t\t\t\t";
// line 82
if (($this->getAttribute($context["searchresults"], "S_UNREAD_TOPIC", array()) && !($context["S_IS_BOT"] ?? null))) {
echo "getAttribute($context["searchresults"], "U_NEWEST_POST", array());
echo "\" class=\"row-item-link\">";
}
// line 83
echo "\t\t\t\t\t\t
\t\t\t\t\t\t\t";
// line 84
// line 85
echo "\t\t\t\t\t\t\t";
if (($this->getAttribute($context["searchresults"], "S_UNREAD_TOPIC", array()) && !($context["S_IS_BOT"] ?? null))) {
// line 86
echo "\t\t\t\t\t\t\t\t
getAttribute($context["searchresults"], "U_NEWEST_POST", array());
echo "\">
\t\t\t\t\t\t\t\t\t";
// line 87
echo $this->env->getExtension('phpbb\template\twig\extension')->lang("NEW_POST");
echo "
\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t";
}
// line 90
echo "\t\t\t\t\t\t\t
getAttribute($context["searchresults"], "U_VIEW_TOPIC", array());
echo "\" class=\"topictitle\">";
echo $this->getAttribute($context["searchresults"], "TOPIC_TITLE", array());
echo "
\t\t\t\t\t\t\t";
// line 91
if (($this->getAttribute($context["searchresults"], "S_TOPIC_UNAPPROVED", array()) || $this->getAttribute($context["searchresults"], "S_POSTS_UNAPPROVED", array()))) {
// line 92
echo "\t\t\t\t\t\t\t\t
getAttribute($context["searchresults"], "U_MCP_QUEUE", array());
echo "\" title=\"";
echo $this->env->getExtension('phpbb\template\twig\extension')->lang("TOPIC_UNAPPROVED");
echo "\">
\t\t\t\t\t\t\t\t\t";
// line 93
echo $this->env->getExtension('phpbb\template\twig\extension')->lang("TOPIC_UNAPPROVED");
echo "
\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t";
}
// line 96
echo "\t\t\t\t\t\t\t";
if ($this->getAttribute($context["searchresults"], "S_TOPIC_DELETED", array())) {
// line 97
echo "\t\t\t\t\t\t\t\t
getAttribute($context["searchresults"], "U_MCP_QUEUE", array());
echo "\" title=\"";
echo $this->env->getExtension('phpbb\template\twig\extension')->lang("TOPIC_DELETED");
echo "\">
\t\t\t\t\t\t\t\t\t";
// line 98
echo $this->env->getExtension('phpbb\template\twig\extension')->lang("TOPIC_DELETED");
echo "
\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t";
}
// line 101
echo "\t\t\t\t\t\t\t";
if ($this->getAttribute($context["searchresults"], "S_TOPIC_REPORTED", array())) {
// line 102
echo "\t\t\t\t\t\t\t\t
getAttribute($context["searchresults"], "U_MCP_REPORT", array());
echo "\" title=\"";
echo $this->env->getExtension('phpbb\template\twig\extension')->lang("TOPIC_REPORTED");
echo "\">
\t\t\t\t\t\t\t\t\t";
// line 103
echo $this->env->getExtension('phpbb\template\twig\extension')->lang("TOPIC_REPORTED");
echo "
\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t";
}
// line 106
echo "\t\t\t\t\t\t\t
\t\t\t\t\t\t\t";
// line 107
// line 108
echo "
\t\t\t\t\t\t\t";
// line 109
if ( !($context["S_IS_BOT"] ?? null)) {
// line 110
echo "\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t\t";
// line 111
echo $this->env->getExtension('phpbb\template\twig\extension')->lang("LAST_POST");
echo " ";
echo $this->env->getExtension('phpbb\template\twig\extension')->lang("POST_BY_AUTHOR");
echo " ";
echo $this->getAttribute($context["searchresults"], "LAST_POST_AUTHOR_FULL", array());
echo " «
getAttribute($context["searchresults"], "U_LAST_POST", array());
echo "\" title=\"";
echo $this->env->getExtension('phpbb\template\twig\extension')->lang("GOTO_LAST_POST");
echo "\">";
echo $this->getAttribute($context["searchresults"], "LAST_POST_TIME", array());
echo "
\t\t\t\t\t\t\t\t\t
";
// line 112
echo $this->env->getExtension('phpbb\template\twig\extension')->lang("POSTED");
echo " ";
echo $this->env->getExtension('phpbb\template\twig\extension')->lang("IN");
echo "
getAttribute($context["searchresults"], "U_VIEW_FORUM", array());
echo "\">";
echo $this->getAttribute($context["searchresults"], "FORUM_TITLE", array());
echo "
\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t";
// line 114
if ($this->getAttribute($context["searchresults"], "TOPIC_REPLIES", array())) {
echo "
";
echo $this->env->getExtension('phpbb\template\twig\extension')->lang("REPLIES");
echo $this->env->getExtension('phpbb\template\twig\extension')->lang("COLON");
echo " ";
echo $this->getAttribute($context["searchresults"], "TOPIC_REPLIES", array());
echo "";
}
// line 115
echo "\t\t\t\t\t\t\t";
}
// line 116
echo "
\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t";
// line 118
if ($this->getAttribute($context["searchresults"], "S_HAS_POLL", array())) {
echo "
";
}
// line 119
echo "\t\t\t\t\t\t\t\t";
if ($this->getAttribute($context["searchresults"], "ATTACH_ICON_IMG", array())) {
echo "
";
}
// line 120
echo "\t\t\t\t\t\t\t\t";
echo $this->env->getExtension('phpbb\template\twig\extension')->lang("POST_BY_AUTHOR");
echo " ";
echo $this->getAttribute($context["searchresults"], "TOPIC_AUTHOR_FULL", array());
echo " » ";
echo $this->getAttribute($context["searchresults"], "FIRST_POST_TIME", array());
echo " » ";
echo $this->env->getExtension('phpbb\template\twig\extension')->lang("IN");
echo "
getAttribute($context["searchresults"], "U_VIEW_FORUM", array());
echo "\">";
echo $this->getAttribute($context["searchresults"], "FORUM_TITLE", array());
echo "
\t\t\t\t\t\t\t
\t\t\t\t\t\t\t";
// line 123
if (twig_length_filter($this->env, $this->getAttribute($context["searchresults"], "pagination", array()))) {
// line 124
echo "\t\t\t\t\t\t\t
\t\t\t\t\t\t\t";
}
// line 138
echo "
\t\t\t\t\t\t\t";
// line 139
// line 140
echo "\t\t\t\t\t\t
\t\t\t\t\t
\t\t\t\t\t- ";
// line 142
echo $this->getAttribute($context["searchresults"], "TOPIC_REPLIES", array());
echo " ";
echo $this->env->getExtension('phpbb\template\twig\extension')->lang("REPLIES");
echo "
\t\t\t\t\t- ";
// line 143
echo $this->getAttribute($context["searchresults"], "TOPIC_VIEWS", array());
echo " ";
echo $this->env->getExtension('phpbb\template\twig\extension')->lang("VIEWS");
echo "
\t\t\t\t\t-
\t\t\t\t\t\t";
// line 145
echo $this->env->getExtension('phpbb\template\twig\extension')->lang("LAST_POST");
echo " ";
echo $this->env->getExtension('phpbb\template\twig\extension')->lang("POST_BY_AUTHOR");
echo " ";
echo $this->getAttribute($context["searchresults"], "LAST_POST_AUTHOR_FULL", array());
echo "
\t\t\t\t\t\t\t";
// line 146
if ( !($context["S_IS_BOT"] ?? null)) {
// line 147
echo "\t\t\t\t\t\t\t\tgetAttribute($context["searchresults"], "U_LAST_POST", array());
echo "\" title=\"";
echo $this->env->getExtension('phpbb\template\twig\extension')->lang("GOTO_LAST_POST");
echo "\">
\t\t\t\t\t\t\t\t\t";
// line 148
echo ($context["VIEW_LATEST_POST"] ?? null);
echo "
\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t";
}
// line 151
echo "\t\t\t\t\t\t\t
";
echo $this->getAttribute($context["searchresults"], "LAST_POST_TIME", array());
echo "
\t\t\t\t\t\t
\t\t\t\t\t
\t\t\t\t
\t\t\t
\t\t\t";
// line 156
// line 157
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 158
echo "\t\t
\t\t
\t
\t";
} else {
// line 163
echo "\t\t
\t\t\t
\t\t\t";
// line 165
echo $this->env->getExtension('phpbb\template\twig\extension')->lang("NO_SEARCH_RESULTS");
echo "
\t\t\t
\t\t
\t";
}
// line 169
echo "
";
} else {
// line 171
echo "
\t";
// line 172
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable($this->getAttribute(($context["loops"] ?? null), "searchresults", array()));
$context['_iterated'] = false;
foreach ($context['_seq'] as $context["_key"] => $context["searchresults"]) {
// line 173
echo "\t\t";
// line 174
echo "\t\tgetAttribute($context["searchresults"], "S_ROW_COUNT", array()) % 2 == 1)) {
echo "bg1";
} else {
echo "bg2";
}
if ($this->getAttribute($context["searchresults"], "S_POST_REPORTED", array())) {
echo " reported";
}
echo "\">
\t\t\t
\t";
// line 177
if ($this->getAttribute($context["searchresults"], "S_IGNORE_POST", array())) {
// line 178
echo "\t\t
\t\t\t";
// line 179
echo $this->getAttribute($context["searchresults"], "L_IGNORE_POST", array());
echo "
\t\t
\t";
} else {
// line 182
echo "\t\t
\t\t\t";
// line 183
// line 184
echo "\t\t\t- ";
echo $this->env->getExtension('phpbb\template\twig\extension')->lang("POST_BY_AUTHOR");
echo " ";
echo $this->getAttribute($context["searchresults"], "POST_AUTHOR_FULL", array());
echo "
\t\t\t- ";
// line 185
echo $this->getAttribute($context["searchresults"], "POST_DATE", array());
echo "
\t\t\t- ";
// line 186
echo $this->env->getExtension('phpbb\template\twig\extension')->lang("FORUM");
echo $this->env->getExtension('phpbb\template\twig\extension')->lang("COLON");
echo " getAttribute($context["searchresults"], "U_VIEW_FORUM", array());
echo "\">";
echo $this->getAttribute($context["searchresults"], "FORUM_TITLE", array());
echo "
\t\t\t- ";
// line 187
echo $this->env->getExtension('phpbb\template\twig\extension')->lang("TOPIC");
echo $this->env->getExtension('phpbb\template\twig\extension')->lang("COLON");
echo " getAttribute($context["searchresults"], "U_VIEW_TOPIC", array());
echo "\">";
echo $this->getAttribute($context["searchresults"], "TOPIC_TITLE", array());
echo "
\t\t\t";
// line 188
// line 189
echo "\t\t\t- ";
echo $this->env->getExtension('phpbb\template\twig\extension')->lang("REPLIES");
echo $this->env->getExtension('phpbb\template\twig\extension')->lang("COLON");
echo " ";
echo $this->getAttribute($context["searchresults"], "TOPIC_REPLIES", array());
echo "
\t\t\t- ";
// line 190
echo $this->env->getExtension('phpbb\template\twig\extension')->lang("VIEWS");
echo $this->env->getExtension('phpbb\template\twig\extension')->lang("COLON");
echo " ";
echo $this->getAttribute($context["searchresults"], "TOPIC_VIEWS", array());
echo "
\t\t\t";
// line 191
// line 192
echo "\t\t
\t\t
\t\t\t
\t\t\t
";
// line 196
echo $this->getAttribute($context["searchresults"], "MESSAGE", array());
echo "
\t\t
\t";
}
// line 199
echo "
\t";
// line 200
if ( !$this->getAttribute($context["searchresults"], "S_IGNORE_POST", array())) {
// line 201
echo "\t\t
\t";
}
// line 209
echo "
\t\t\t
\t\t
\t\t";
// line 212
// line 213
echo "\t";
$context['_iterated'] = true;
}
if (!$context['_iterated']) {
// line 214
echo "\t\t
\t\t\t
\t\t\t";
// line 216
echo $this->env->getExtension('phpbb\template\twig\extension')->lang("NO_SEARCH_RESULTS");
echo "
\t\t\t
\t\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 221
echo "
\t";
// line 223
if ((twig_length_filter($this->env, $this->getAttribute(($context["loops"] ?? null), "searchresults", array())) && (($context["S_SELECT_SORT_DAYS"] ?? null) || ($context["S_SELECT_SORT_KEY"] ?? null)))) {
// line 224
echo "\t
\t\t";
}
// line 228
echo "
\t
";
// line 239
$location = "jumpbox.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.html", "search_results.html", 239)->display($context);
if ($namespace) {
$this->env->setNamespaceLookUpOrder($previous_look_up_order);
}
// line 240
echo "
";
// line 241
$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", 241)->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 ( 812 => 241, 809 => 240, 797 => 239, 792 => 236, 786 => 234, 783 => 233, 770 => 232, 768 => 231, 764 => 230, 760 => 228, 756 => 226, 744 => 225, 739 => 224, 737 => 223, 733 => 221, 722 => 216, 718 => 214, 713 => 213, 712 => 212, 707 => 209, 697 => 204, 691 => 203, 687 => 201, 685 => 200, 682 => 199, 676 => 196, 670 => 195, 665 => 192, 664 => 191, 657 => 190, 649 => 189, 648 => 188, 639 => 187, 630 => 186, 626 => 185, 619 => 184, 618 => 183, 615 => 182, 609 => 179, 606 => 178, 604 => 177, 590 => 174, 588 => 173, 583 => 172, 580 => 171, 576 => 169, 569 => 165, 565 => 163, 558 => 158, 552 => 157, 551 => 156, 542 => 151, 536 => 148, 529 => 147, 527 => 146, 519 => 145, 512 => 143, 506 => 142, 502 => 140, 501 => 139, 498 => 138, 493 => 135, 487 => 134, 477 => 132, 475 => 131, 469 => 130, 462 => 129, 459 => 128, 455 => 127, 450 => 124, 448 => 123, 431 => 120, 426 => 119, 422 => 118, 418 => 116, 415 => 115, 406 => 114, 395 => 112, 381 => 111, 378 => 110, 376 => 109, 373 => 108, 372 => 107, 369 => 106, 363 => 103, 356 => 102, 353 => 101, 347 => 98, 340 => 97, 337 => 96, 331 => 93, 324 => 92, 322 => 91, 315 => 90, 309 => 87, 304 => 86, 301 => 85, 300 => 84, 297 => 83, 291 => 82, 280 => 81, 276 => 80, 267 => 79, 265 => 78, 261 => 77, 252 => 71, 248 => 70, 244 => 69, 240 => 68, 232 => 62, 230 => 61, 227 => 60, 225 => 59, 222 => 58, 217 => 55, 211 => 53, 208 => 52, 195 => 51, 193 => 50, 188 => 49, 180 => 48, 176 => 46, 175 => 45, 172 => 44, 163 => 38, 157 => 37, 152 => 35, 148 => 34, 144 => 33, 139 => 31, 136 => 30, 134 => 29, 130 => 27, 128 => 26, 125 => 25, 124 => 24, 121 => 23, 112 => 19, 104 => 18, 101 => 17, 92 => 13, 86 => 12, 83 => 11, 81 => 10, 78 => 9, 72 => 8, 63 => 7, 54 => 6, 38 => 5, 35 => 4, 34 => 3, 31 => 2, 19 => 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 Twig_Source("", "search_results.html", "");
}
}