<?php

use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
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;

/* overall_header.html */
class __TwigTemplate_b1600499c2845ea92cf0dc499a28862e extends \Twig\Template
{
    private $source;
    private $macros = [];

    public function __construct(Environment $env)
    {
        parent::__construct($env);

        $this->source = $this->getSourceContext();

        $this->parent = false;

        $this->blocks = [
        ];
    }

    protected function doDisplay(array $context, array $blocks = [])
    {
        $macros = $this->macros;
        // line 2
        echo "<!DOCTYPE html>
<html dir=\"";
        // line 3
        echo ($context["S_CONTENT_DIRECTION"] ?? null);
        echo "\" lang=\"";
        echo ($context["S_USER_LANG"] ?? null);
        echo "\">
<head>
\t<meta charset=\"utf-8\">
\t<meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">

\t<meta name=\"author\" content=\"InfoZone Forum\">
\t<meta name=\"robots\" content=\"index, follow\">
\t<meta http-equiv=\"content-language\" content=\"";
        // line 10
        echo ($context["S_USER_LANG"] ?? null);
        echo "\">
\t<meta name=\"description\" content=\"";
        // line 11
        echo ($context["SITE_DESCRIPTION"] ?? null);
        echo "\">
\t<meta name=\"keywords\" content=\"InfoZone Forum, discussions, community, infozonelive.com\">

\t<meta property=\"og:site_name\" content=\"";
        // line 14
        echo ($context["SITENAME"] ?? null);
        echo "\">
\t<meta property=\"og:title\" content=\"";
        // line 15
        echo ($context["PAGE_TITLE"] ?? null);
        echo " - ";
        echo ($context["SITENAME"] ?? null);
        echo "\">
\t<meta property=\"og:description\" content=\"";
        // line 16
        echo ($context["SITE_DESCRIPTION"] ?? null);
        echo "\">
\t<meta property=\"og:url\" content=\"";
        // line 17
        echo ($context["U_CANONICAL"] ?? null);
        echo "\">
\t<meta property=\"og:type\" content=\"website\">
\t<meta property=\"og:image\" content=\"";
        // line 19
        echo ($context["T_THEME_PATH"] ?? null);
        echo "/images/logo.png\">
\t<meta property=\"og:locale\" content=\"";
        // line 20
        echo ($context["S_USER_LANG"] ?? null);
        echo "\">

\t<meta name=\"twitter:card\" content=\"summary_large_image\">
\t<meta name=\"twitter:site\" content=\"@infozonelive\">
\t<meta name=\"twitter:title\" content=\"";
        // line 24
        echo ($context["PAGE_TITLE"] ?? null);
        echo " - ";
        echo ($context["SITENAME"] ?? null);
        echo "\">
\t<meta name=\"twitter:description\" content=\"";
        // line 25
        echo ($context["SITE_DESCRIPTION"] ?? null);
        echo "\">
\t<meta name=\"twitter:image\" content=\"";
        // line 26
        echo ($context["T_THEME_PATH"] ?? null);
        echo "/images/logo.png\">

\t";
        // line 29
        echo "\t";
        // line 30
        echo "
\t";
        // line 31
        echo ($context["META"] ?? null);
        echo "
\t<link rel=\"stylesheet\" href=\"";
        // line 32
        echo ($context["T_THEME_PATH"] ?? null);
        echo "/stylesheet.css\">


\t<title>
\t\t";
        // line 36
        if (($context["UNREAD_NOTIFICATIONS_COUNT"] ?? null)) {
            // line 37
            echo "\t\t\t(";
            echo ($context["UNREAD_NOTIFICATIONS_COUNT"] ?? null);
            echo ")&nbsp;
\t\t";
        }
        // line 39
        echo "\t\t";
        if (($context["S_IN_MCP"] ?? null)) {
            // line 40
            echo "\t\t\t";
            echo ($context["L_MCP"] ?? null);
            echo "&nbsp;-&nbsp;
\t\t";
        } elseif (        // line 41
($context["S_IN_UCP"] ?? null)) {
            // line 42
            echo "\t\t\t";
            echo ($context["L_UCP"] ?? null);
            echo "&nbsp;-&nbsp;
\t\t";
        }
        // line 44
        echo "\t\t";
        echo ($context["PAGE_TITLE"] ?? null);
        echo "&nbsp;-&nbsp;";
        echo ($context["SITENAME"] ?? null);
        echo "
\t</title>

\t";
        // line 47
        if (($context["S_ENABLE_FEEDS"] ?? null)) {
            // line 48
            echo "\t\t";
            if (($context["S_ENABLE_FEEDS_OVERALL"] ?? null)) {
                // line 49
                echo "\t\t\t<link rel=\"alternate\" type=\"application/atom+xml\" title=\"";
                echo ($context["L_FEED"] ?? null);
                echo " - ";
                echo ($context["SITENAME"] ?? null);
                echo "\" href=\"";
                echo ($context["U_FEED"] ?? null);
                echo "\">
\t\t";
            }
            // line 51
            echo "\t\t";
            // line 52
            echo "\t";
        }
        // line 53
        echo "
\t";
        // line 54
        if (($context["U_CANONICAL"] ?? null)) {
            // line 55
            echo "\t\t<link rel=\"canonical\" href=\"";
            echo ($context["U_CANONICAL"] ?? null);
            echo "\">
\t";
        }
        // line 57
        echo "


";
        // line 61
        echo "
\t";
        // line 62
        if (($context["S_PLUPLOAD"] ?? null)) {
            // line 63
            echo "\t";
        }
        // line 64
        echo "
\t";
        // line 65
        // line 66
        echo "
\t";
        // line 67
        echo ($context["STYLESHEETS"] ?? null);
        echo "

\t";
        // line 69
        if (($context["S_ALLOW_CUSTOMCSS"] ?? null)) {
            // line 70
            echo "\t";
        }
        // line 71
        echo "\t";
        // line 72
        echo "
\t";
        // line 73
        // line 74
        echo "</head>

<body id=\"phpbb\" class=\"section-";
        // line 76
        echo ($context["SCRIPT_NAME"] ?? null);
        echo " ";
        echo ($context["S_CONTENT_DIRECTION"] ?? null);
        echo " ";
        echo ($context["BODY_CLASS"] ?? null);
        echo "\">
";
        // line 77
        // line 78
        echo "
<header id=\"top\" class=\"iz-header\" role=\"banner\">
\t<div class=\"iz-container iz-header__row\">
\t\t<div class=\"iz-header__brand\">
\t\t\t<button class=\"iz-navtoggle\" type=\"button\"
\t\t\t\taria-controls=\"iz-site-nav\"
\t\t\t\taria-expanded=\"false\"
\t\t\t\taria-label=\"";
        // line 85
        echo ($context["L_TOGGLE_NAV"] ?? null);
        echo "\">
\t\t\t\t<span class=\"iz-navtoggle__bar\"></span>
\t\t\t\t<span class=\"iz-navtoggle__bar\"></span>
\t\t\t\t<span class=\"iz-navtoggle__bar\"></span>
\t\t\t</button>

\t\t\t";
        // line 91
        if (($context["LOGO_IMAGE_EXIST"] ?? null)) {
            // line 92
            echo "\t\t\t\t<a class=\"iz-brand\" href=\"";
            if (($context["U_SITE_HOME"] ?? null)) {
                echo ($context["U_SITE_HOME"] ?? null);
            } else {
                echo ($context["U_INDEX"] ?? null);
            }
            echo "\">
\t\t\t\t\t<img class=\"iz-brand__img\"
\t\t\t\t\t\t src=\"";
            // line 94
            echo ($context["T_THEME_PATH"] ?? null);
            echo "/images/logo.png\"
\t\t\t\t\t\t alt=\"";
            // line 95
            echo ($context["LOGO_TEXT"] ?? null);
            echo "\" />
\t\t\t\t</a>
\t\t\t";
        } elseif (        // line 97
($context["LOGO_TEXT"] ?? null)) {
            // line 98
            echo "\t\t\t\t<a class=\"iz-brand\" href=\"";
            if (($context["U_SITE_HOME"] ?? null)) {
                echo ($context["U_SITE_HOME"] ?? null);
            } else {
                echo ($context["U_INDEX"] ?? null);
            }
            echo "\">";
            echo ($context["LOGO_TEXT"] ?? null);
            echo "</a>
\t\t\t";
        } else {
            // line 100
            echo "\t\t\t\t<a class=\"iz-brand\" href=\"";
            if (($context["U_SITE_HOME"] ?? null)) {
                echo ($context["U_SITE_HOME"] ?? null);
            } else {
                echo ($context["U_INDEX"] ?? null);
            }
            echo "\">InfoZone Forum</a>
\t\t\t";
        }
        // line 102
        echo "\t\t</div>

\t\t";
        // line 105
        echo "\t\t<div id=\"iz-site-nav\" class=\"iz-site-nav\" aria-label=\"Primary navigation container\">
\t\t\t";
        // line 106
        if ((array_key_exists("FLATBOOTS_MINI_CMS_ENABLED", $context) && ($context["FLATBOOTS_MINI_CMS_ENABLED"] ?? null))) {
            // line 107
            echo "\t\t\t\t";
            // line 108
            echo "\t\t\t";
        } else {
            // line 109
            echo "\t\t\t\t";
            $this->loadTemplate("addons/navigation.html", "overall_header.html", 109)->display($context);
            // line 110
            echo "\t\t\t";
        }
        // line 111
        echo "\t\t</div>
</header>


";
        // line 115
        if ( !($context["HIDE_HEADER"] ?? null)) {
            // line 116
            echo "\t";
            if ((array_key_exists("IN_BADGE", $context) && ($context["IN_BADGE"] ?? null))) {
                // line 117
                echo "\t\t";
                $this->loadTemplate("@infozone_badge/header_badge_teaser.html", "overall_header.html", 117)->display($context);
                // line 118
                echo "\t";
            } else {
                // line 119
                echo "\t\t";
                $this->loadTemplate("addons/header_teaser_body.html", "overall_header.html", 119)->display($context);
                // line 120
                echo "\t";
            }
        } else {
            // line 122
            echo "\t<div class=\"iz-space-teaser\" style=\"padding-top:30px;\"></div>
";
        }
        // line 124
        echo "
<div id=\"wrap\" class=\"iz-wrap\">
<div class=\"iz-container iz-content\">
\t<div id=\"content-forum\">

\t\t";
        // line 129
        // line 130
        echo "
\t\t<nav class=\"iz-breadcrumb\" aria-label=\"breadcrumb\">
\t\t\t<ol class=\"iz-breadcrumb__list\" itemscope itemtype=\"BreadcrumbList\">
\t\t\t\t";
        // line 134
        echo "\t\t\t\t";
        $context['_parent'] = $context;
        $context['_seq'] = twig_ensure_traversable(($context["navlinks"] ?? null));
        $context['loop'] = [
          'parent' => $context['_parent'],
          'index0' => 0,
          'index'  => 1,
          'first'  => true,
        ];
        if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
            $length = count($context['_seq']);
            $context['loop']['revindex0'] = $length - 1;
            $context['loop']['revindex'] = $length;
            $context['loop']['length'] = $length;
            $context['loop']['last'] = 1 === $length;
        }
        foreach ($context['_seq'] as $context["_key"] => $context["navlink"]) {
            // line 135
            echo "\t\t\t\t\t";
            if ((twig_get_attribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, false, 135) > 1)) {
                // line 136
                echo "\t\t\t\t\t\t<li class=\"iz-breadcrumb__item\" itemprop=\"itemListElement\" itemscope itemtype=\"ListItem\">
\t\t\t\t\t\t\t";
                // line 137
                if (twig_get_attribute($this->env, $this->source, $context["navlink"], "U_BREADCRUMB", [], "any", false, false, false, 137)) {
                    // line 138
                    echo "\t\t\t\t\t\t\t\t<a class=\"iz-breadcrumb__link\" href=\"";
                    echo twig_get_attribute($this->env, $this->source, $context["navlink"], "U_BREADCRUMB", [], "any", false, false, false, 138);
                    echo "\" itemprop=\"item\"";
                    if (twig_get_attribute($this->env, $this->source, $context["navlink"], "MICRODATA", [], "any", false, false, false, 138)) {
                        echo " ";
                        echo twig_get_attribute($this->env, $this->source, $context["navlink"], "MICRODATA", [], "any", false, false, false, 138);
                    }
                    echo ">
\t\t\t\t\t\t\t\t\t<span itemprop=\"name\">";
                    // line 139
                    echo twig_get_attribute($this->env, $this->source, $context["navlink"], "BREADCRUMB_NAME", [], "any", false, false, false, 139);
                    echo "</span>
\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t";
                } else {
                    // line 142
                    echo "\t\t\t\t\t\t\t\t<a class=\"iz-breadcrumb__link\" href=\"";
                    echo twig_get_attribute($this->env, $this->source, $context["navlink"], "U_VIEW_FORUM", [], "any", false, false, false, 142);
                    echo "\" itemprop=\"item\"";
                    if (twig_get_attribute($this->env, $this->source, $context["navlink"], "MICRODATA", [], "any", false, false, false, 142)) {
                        echo " ";
                        echo twig_get_attribute($this->env, $this->source, $context["navlink"], "MICRODATA", [], "any", false, false, false, 142);
                    }
                    echo ">
\t\t\t\t\t\t\t\t\t<span itemprop=\"name\">";
                    // line 143
                    echo twig_get_attribute($this->env, $this->source, $context["navlink"], "FORUM_NAME", [], "any", false, false, false, 143);
                    echo "</span>
\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t";
                }
                // line 146
                echo "\t\t\t\t\t\t\t<meta itemprop=\"position\" content=\"";
                echo twig_get_attribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, false, 146);
                echo "\">
\t\t\t\t\t\t</li>
\t\t\t\t\t";
            }
            // line 149
            echo "\t\t\t\t";
            ++$context['loop']['index0'];
            ++$context['loop']['index'];
            $context['loop']['first'] = false;
            if (isset($context['loop']['length'])) {
                --$context['loop']['revindex0'];
                --$context['loop']['revindex'];
                $context['loop']['last'] = 0 === $context['loop']['revindex0'];
            }
        }
        $_parent = $context['_parent'];
        unset($context['_seq'], $context['_iterated'], $context['_key'], $context['navlink'], $context['_parent'], $context['loop']);
        $context = array_intersect_key($context, $_parent) + $_parent;
        // line 150
        echo "\t\t\t</ol>

\t\t\t";
        // line 152
        if ((($context["S_USER_LOGGED_IN"] ?? null) && ((($context["SCRIPT_NAME"] ?? null) == "viewforum") || (($context["SCRIPT_NAME"] ?? null) == "viewtopic")))) {
            // line 153
            echo "\t\t\t\t<button class=\"iz-breadcrumb__mapbtn\" type=\"button\"
\t\t\t\t\t\tdata-iz-open-map=\"1\" aria-haspopup=\"dialog\" aria-controls=\"iz-map-modal\">
\t\t\t\t\t";
            // line 155
            echo ($context["L_TOPIC_TOOLS"] ?? null);
            echo "
\t\t\t\t</button>
\t\t\t";
        }
        // line 158
        echo "\t\t</nav>

\t\t<div id=\"page-body\">

\t\t\t";
        // line 162
        if (((($context["S_BOARD_DISABLED"] ?? null) && ($context["S_USER_LOGGED_IN"] ?? null)) && (($context["U_MCP"] ?? null) || ($context["U_ACP"] ?? null)))) {
            // line 163
            echo "\t\t\t\t<div class=\"iz-alert iz-alert--warning\" role=\"alert\">
\t\t\t\t\t<strong>";
            // line 164
            echo ($context["L_INFORMATION"] ?? null);
            echo ($context["L_COLON"] ?? null);
            echo "</strong>&nbsp;";
            echo ($context["L_BOARD_DISABLED"] ?? null);
            echo "
\t\t\t\t</div>
\t\t\t";
        }
        // line 167
        echo "
\t\t\t";
        // line 168
    }

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

    public function isTraitable()
    {
        return false;
    }

    public function getDebugInfo()
    {
        return array (  478 => 168,  475 => 167,  466 => 164,  463 => 163,  461 => 162,  455 => 158,  449 => 155,  445 => 153,  443 => 152,  439 => 150,  425 => 149,  418 => 146,  412 => 143,  402 => 142,  396 => 139,  386 => 138,  384 => 137,  381 => 136,  378 => 135,  360 => 134,  355 => 130,  354 => 129,  347 => 124,  343 => 122,  339 => 120,  336 => 119,  333 => 118,  330 => 117,  327 => 116,  325 => 115,  319 => 111,  316 => 110,  313 => 109,  310 => 108,  308 => 107,  306 => 106,  303 => 105,  299 => 102,  289 => 100,  277 => 98,  275 => 97,  270 => 95,  266 => 94,  256 => 92,  254 => 91,  245 => 85,  236 => 78,  235 => 77,  227 => 76,  223 => 74,  222 => 73,  219 => 72,  217 => 71,  214 => 70,  212 => 69,  207 => 67,  204 => 66,  203 => 65,  200 => 64,  197 => 63,  195 => 62,  192 => 61,  187 => 57,  181 => 55,  179 => 54,  176 => 53,  173 => 52,  171 => 51,  161 => 49,  158 => 48,  156 => 47,  147 => 44,  141 => 42,  139 => 41,  134 => 40,  131 => 39,  125 => 37,  123 => 36,  116 => 32,  112 => 31,  109 => 30,  107 => 29,  102 => 26,  98 => 25,  92 => 24,  85 => 20,  81 => 19,  76 => 17,  72 => 16,  66 => 15,  62 => 14,  56 => 11,  52 => 10,  40 => 3,  37 => 2,);
    }

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