<?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_simplified.html */
class __TwigTemplate_bcc09d9b9e53b0719499f7ebad8bb619 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 1
        echo "<!DOCTYPE html>
<html dir=\"";
        // line 2
        echo ($context["S_CONTENT_DIRECTION"] ?? null);
        echo "\" lang=\"";
        echo ($context["S_USER_LANG"] ?? null);
        echo "\">
<head>
<script> if (localStorage.user_colour_selection === \"dark\") { document.getElementsByTagName('html')[0].classList.add('fd_dark'); }</script>\t
<meta charset=\"utf-8\" />
<meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">
<meta name=\"viewport\" content=\"width=device-width, initial-scale=1\" />
";
        // line 8
        echo ($context["META"] ?? null);
        echo "
<title>";
        // line 9
        if (($context["UNREAD_NOTIFICATIONS_COUNT"] ?? null)) {
            echo "(";
            echo ($context["UNREAD_NOTIFICATIONS_COUNT"] ?? null);
            echo ") ";
        }
        if (( !($context["S_VIEWTOPIC"] ?? null) &&  !($context["S_VIEWFORUM"] ?? null))) {
            echo ($context["SITENAME"] ?? null);
            echo " - ";
        }
        if (($context["S_IN_MCP"] ?? null)) {
            echo $this->extensions['phpbb\template\twig\extension']->lang("MCP");
            echo " - ";
        } elseif (($context["S_IN_UCP"] ?? null)) {
            echo $this->extensions['phpbb\template\twig\extension']->lang("UCP");
            echo " - ";
        }
        echo ($context["PAGE_TITLE"] ?? null);
        if ((($context["S_VIEWTOPIC"] ?? null) || ($context["S_VIEWFORUM"] ?? null))) {
            echo " - ";
            echo ($context["SITENAME"] ?? null);
        }
        echo "</title>

";
        // line 11
        if (($context["S_ENABLE_FEEDS"] ?? null)) {
            // line 12
            echo "\t";
            if (($context["S_ENABLE_FEEDS_OVERALL"] ?? null)) {
                echo "<link rel=\"alternate\" type=\"application/atom+xml\" title=\"";
                echo $this->extensions['phpbb\template\twig\extension']->lang("FEED");
                echo " - ";
                echo ($context["SITENAME"] ?? null);
                echo "\" href=\"";
                echo $this->extensions['phpbb\template\twig\extension\routing']->getPath("phpbb_feed_index");
                echo "\">";
            }
            // line 13
            echo "\t";
            if (($context["S_ENABLE_FEEDS_NEWS"] ?? null)) {
                echo "<link rel=\"alternate\" type=\"application/atom+xml\" title=\"";
                echo $this->extensions['phpbb\template\twig\extension']->lang("FEED");
                echo " - ";
                echo $this->extensions['phpbb\template\twig\extension']->lang("FEED_NEWS");
                echo "\" href=\"";
                echo $this->extensions['phpbb\template\twig\extension\routing']->getPath("phpbb_feed_news");
                echo "\">";
            }
            // line 14
            echo "\t";
            if (($context["S_ENABLE_FEEDS_FORUMS"] ?? null)) {
                echo "<link rel=\"alternate\" type=\"application/atom+xml\" title=\"";
                echo $this->extensions['phpbb\template\twig\extension']->lang("FEED");
                echo " - ";
                echo $this->extensions['phpbb\template\twig\extension']->lang("ALL_FORUMS");
                echo "\" href=\"";
                echo $this->extensions['phpbb\template\twig\extension\routing']->getPath("phpbb_feed_forums");
                echo "\">";
            }
            // line 15
            echo "\t";
            if (($context["S_ENABLE_FEEDS_TOPICS"] ?? null)) {
                echo "<link rel=\"alternate\" type=\"application/atom+xml\" title=\"";
                echo $this->extensions['phpbb\template\twig\extension']->lang("FEED");
                echo " - ";
                echo $this->extensions['phpbb\template\twig\extension']->lang("FEED_TOPICS_NEW");
                echo "\" href=\"";
                echo $this->extensions['phpbb\template\twig\extension\routing']->getPath("phpbb_feed_topics");
                echo "\">";
            }
            // line 16
            echo "\t";
            if (($context["S_ENABLE_FEEDS_TOPICS_ACTIVE"] ?? null)) {
                echo "<link rel=\"alternate\" type=\"application/atom+xml\" title=\"";
                echo $this->extensions['phpbb\template\twig\extension']->lang("FEED");
                echo " - ";
                echo $this->extensions['phpbb\template\twig\extension']->lang("FEED_TOPICS_ACTIVE");
                echo "\" href=\"";
                echo $this->extensions['phpbb\template\twig\extension\routing']->getPath("phpbb_feed_topics_active");
                echo "\">";
            }
            // line 17
            echo "\t";
            if ((($context["S_ENABLE_FEEDS_FORUM"] ?? null) && ($context["S_FORUM_ID"] ?? null))) {
                echo "<link rel=\"alternate\" type=\"application/atom+xml\" title=\"";
                echo $this->extensions['phpbb\template\twig\extension']->lang("FEED");
                echo " - ";
                echo $this->extensions['phpbb\template\twig\extension']->lang("FORUM");
                echo " - ";
                echo ($context["FORUM_NAME"] ?? null);
                echo "\" href=\"";
                echo $this->extensions['phpbb\template\twig\extension\routing']->getPath("phpbb_feed_forum", ["forum_id" => ($context["S_FORUM_ID"] ?? null)]);
                echo "\">";
            }
            // line 18
            echo "\t";
            if ((($context["S_ENABLE_FEEDS_TOPIC"] ?? null) && ($context["S_TOPIC_ID"] ?? null))) {
                echo "<link rel=\"alternate\" type=\"application/atom+xml\" title=\"";
                echo $this->extensions['phpbb\template\twig\extension']->lang("FEED");
                echo " - ";
                echo $this->extensions['phpbb\template\twig\extension']->lang("TOPIC");
                echo " - ";
                echo ($context["TOPIC_TITLE"] ?? null);
                echo "\" href=\"";
                echo $this->extensions['phpbb\template\twig\extension\routing']->getPath("phpbb_feed_topic", ["topic_id" => ($context["S_TOPIC_ID"] ?? null)]);
                echo "\">";
            }
            // line 19
            echo "\t";
        }
        // line 21
        echo "
";
        // line 22
        if (($context["U_CANONICAL"] ?? null)) {
            // line 23
            echo "\t<link rel=\"canonical\" href=\"";
            echo ($context["U_CANONICAL"] ?? null);
            echo "\">
";
        }
        // line 25
        echo "
";
        // line 26
        if (($context["FORUM_FAVICON"] ?? null)) {
            // line 27
            echo "\t<link rel=\"icon\" href=\"";
            echo ($context["FORUM_FAVICON"] ?? null);
            echo "\" />
";
        }
        // line 29
        echo "
<!--
\tphpBB style name: Milk v2
\tBased on style:   Merlin Framework (http://www.planetstyles.net)
-->

";
        // line 35
        if (($context["S_ALLOW_CDN"] ?? null)) {
            // line 36
            echo "<script>
\tWebFontConfig = {
\t\tgoogle: {
\t\t\tfamilies: ['Open+Sans:600:cyrillic-ext,latin,greek-ext,greek,vietnamese,latin-ext,cyrillic']
\t\t}
\t};

\t(function(d) {
\t\tvar wf = d.createElement('script'), s = d.scripts[0];
\t\twf.src = 'https://ajax.googleapis.com/ajax/libs/webfont/1.5.18/webfont.js';
\t\twf.async = true;
\t\ts.parentNode.insertBefore(wf, s);
\t})(document);
</script>

";
            // line 51
            if ((($context["STYLE_SETTINGS_CONFIG_FONT_FAMILY"] ?? null) == "Roboto Slab")) {
                // line 52
                echo "\t<link href=\"https://fonts.googleapis.com/css?family=Roboto+Slab:300,400\" rel=\"stylesheet\">
    <style type=\"text/css\">body {font-family: \"Roboto Slab\", Arial, Helvetica, sans-serif; font-size: 14px;}</style>
";
            } elseif ((            // line 54
($context["STYLE_SETTINGS_CONFIG_FONT_FAMILY"] ?? null) == "Bubbler One")) {
                // line 55
                echo "\t<link href=\"https://fonts.googleapis.com/css?family=Bubbler+One\" rel=\"stylesheet\">
    <style type=\"text/css\">body {font-family: \"Bubbler One\", Arial, Helvetica, sans-serif; font-size: 18px;}</style>
";
            } elseif ((            // line 57
($context["STYLE_SETTINGS_CONFIG_FONT_FAMILY"] ?? null) == "Dosis")) {
                // line 58
                echo "\t<link href=\"https://fonts.googleapis.com/css?family=Dosis:300,400,500\" rel=\"stylesheet\">
    <style type=\"text/css\">body {font-family: \"Dosis\", Arial, Helvetica, sans-serif; font-size: 16px;}</style>
";
            } elseif ((            // line 60
($context["STYLE_SETTINGS_CONFIG_FONT_FAMILY"] ?? null) == "Exo 2")) {
                // line 61
                echo "\t<link href=\"https://fonts.googleapis.com/css?family=Exo+2:300,400,500\" rel=\"stylesheet\">
\t<style type=\"text/css\">body {font-family: \"Exo 2\", Arial, Helvetica, sans-serif; font-size: 15px;}</style>
";
            } elseif ((            // line 63
($context["STYLE_SETTINGS_CONFIG_FONT_FAMILY"] ?? null) == "Raleway")) {
                // line 64
                echo "\t<link href=\"https://fonts.googleapis.com/css?family=Raleway:300,400,500\" rel=\"stylesheet\">
    <style type=\"text/css\">body {font-family: \"Raleway\", Arial, Helvetica, sans-serif; font-size: 14px;}</style>
";
            } elseif ((            // line 66
($context["STYLE_SETTINGS_CONFIG_FONT_FAMILY"] ?? null) == "Rubik")) {
                // line 67
                echo "\t<link href=\"https://fonts.googleapis.com/css?family=Rubik:300,400,500\" rel=\"stylesheet\">
    <style type=\"text/css\">body {font-family: \"Rubik\", Arial, Helvetica, sans-serif; font-size: 14px;}</style>
";
            } elseif ((            // line 69
($context["STYLE_SETTINGS_CONFIG_FONT_FAMILY"] ?? null) == "Quicksand")) {
                // line 70
                echo "\t<link href=\"https://fonts.googleapis.com/css?family=Quicksand:300,400,500\" rel=\"stylesheet\">
    <style type=\"text/css\">body {font-family: \"Quicksand\", Arial, Helvetica, sans-serif; font-size: 14px;}</style>
";
            } else {
                // line 73
                echo "\t<link href=\"https://fonts.googleapis.com/css?family=Roboto:300,400,500\" rel=\"stylesheet\">
    <style type=\"text/css\">body {font-family: \"Roboto\", Arial, Helvetica, sans-serif; font-size: 14px;}</style>
";
            }
            // line 76
            echo "
";
        }
        // line 78
        echo "<link href=\"";
        echo ($context["T_FONT_AWESOME_LINK"] ?? null);
        echo "\" rel=\"stylesheet\">
<link href=\"";
        // line 79
        echo ($context["T_STYLESHEET_LINK"] ?? null);
        echo "\" rel=\"stylesheet\">
";
        // line 80
        if ((($context["STYLE_SETTINGS_CONFIG_BASE_COLOUR"] ?? null) == "Dark")) {
            // line 81
            echo "\t<link href=\"";
            echo ($context["T_THEME_PATH"] ?? null);
            echo "/colours_dark.css\" rel=\"stylesheet\">
";
        }
        // line 83
        echo "<link href=\"";
        echo ($context["T_STYLESHEET_LANG_LINK"] ?? null);
        echo "\" rel=\"stylesheet\">

<link href=\"";
        // line 85
        echo ($context["T_THEME_PATH"] ?? null);
        echo "/blank.css?assets_version=";
        echo ($context["T_ASSETS_VERSION"] ?? null);
        echo "\" rel=\"stylesheet\" class=\"colour_switch_link\"  />

";
        // line 87
        if (($context["STYLE_SETTINGS_CONFIG_ROUNDED_CORNERS"] ?? null)) {
            // line 88
            echo "\t<link href=\"";
            echo ($context["T_THEME_PATH"] ?? null);
            echo "/rounded.css?assets_version=";
            echo ($context["T_ASSETS_VERSION"] ?? null);
            echo "\" rel=\"stylesheet\" />
";
        }
        // line 90
        echo "
";
        // line 91
        if ((($context["STYLE_SETTINGS_CONFIG_COLOUR_PRESET"] ?? null) != "No Custom Colour")) {
            // line 92
            echo "    ";
            if ((($context["STYLE_SETTINGS_CONFIG_COLOUR_PRESET"] ?? null) == "Custom (Use colour picker below)")) {
                // line 93
                echo "        <style type=\"text/css\">
\t\t\t/* Color */
a:hover, .navbar_footer a, .copyright_bar a, .social_links_footer a:hover span, .icon.fa-file.icon-red, a:hover .icon.fa-file.icon-red, .navigation .active-subsection a, .navigation .active-subsection a:hover, .navigation a:hover, .tabs .tab > a:hover, .tabs .activetab > a, .tabs .activetab > a:hover, a.postlink, a.postlink:visited, .navbar_in_header .badge, .button:focus .icon, .button:hover .icon, .dark_base .social_links_footer a span, .dark_base h2, .dark_base h2 a, .dark_base a:link, .dark_base a:visited, .button-secondary:focus, .button-secondary:hover, .notification_unread {color: #";
                // line 95
                echo ($context["STYLE_SETTINGS_CONFIG_COLOUR_PICKER"] ?? null);
                echo ";}
\t\t\t/* Background Solid  */
\t\t\t.pagination li a:hover, .pagination li.active span, .pagination li a:focus, .jumpbox-cat-link, .dropdown-contents > li > a:hover, a.button1:hover, input.button1:hover, a.button2:hover, input.button2:hover, input.button3:hover, a.no_avatar:hover, .jumpbox-cat-link:hover, input.button1:focus, input.button2:focus, input.button3:focus, .specialbutton, input.specialbutton, .panel .specialbutton, a.specialbutton, .scrollToTop, a.specialbutton, .dark_base .social_links_footer a:hover span, .topic_type, .grid_unread {background: #";
                // line 97
                echo ($context["STYLE_SETTINGS_CONFIG_COLOUR_PICKER"] ?? null);
                echo ";}
\t\t\t/* Borders Dark */
\t\t\t.pagination li a:hover, .pagination li.active span, .pagination li a:focus, blockquote, .codebox code, .jumpbox-cat-link, a.postlink, input.button1:focus, input.button2:focus, input.button3:focus, input.specialbutton, .inputbox:hover, .inputbox:focus, .specialbutton, a.specialbutton, .button:hover, .button:focus, .dark_base .social_links_footer a span, a.specialbutton, .dark_base .social_links_footer a:hover span {border-color: #";
                // line 99
                echo ($context["STYLE_SETTINGS_CONFIG_COLOUR_PICKER"] ?? null);
                echo ";}
\t\t\t/* Background Gradient  */
\t\t\t.headerbar, body.content_block_header_block li.header, body.content_block_header_stripe li.header:before, .scrollToTop, .no_avatar, .social_links_footer, .badge, thead tr, .sidebar_block_stripe:before, .fancy_panel:before {background: #";
                // line 101
                echo ($context["STYLE_SETTINGS_CONFIG_COLOUR_PICKER"] ?? null);
                echo ";}
\t\t\t/* The same as above, just with some opacity */
\t\t\t.headerbar_overlay_active, .grid_colour_overlay:hover {background-color: rgba(0,0,0,0.3);}
\t\t\t/* Colour Hover Light */
\t\t\t.navbar_footer a:hover, .copyright_bar a:hover, a.postlink:hover, .dark_base h2 a:hover  {opacity: 0.7;}
\t\t\t/* Background Hover Light */
\t\t\ta.scrollToTop:hover, input.specialbutton:hover, a.specialbutton:hover {opacity: 0.7;}
\t\t\t/* Border light */
\t\t\t.specialbutton:hover {opacity: 0.7;}
\t\t</style>
\t";
            } else {
                // line 112
                echo "    \t<link href=\"";
                echo ($context["T_THEME_PATH"] ?? null);
                echo "/colour-presets/";
                echo ($context["STYLE_SETTINGS_CONFIG_COLOUR_PRESET"] ?? null);
                echo ".css?assets_version=";
                echo ($context["T_ASSETS_VERSION"] ?? null);
                echo "\" rel=\"stylesheet\" class=\"preset_stylesheet\">
    ";
            }
        } else {
            // line 115
            echo "\t<link href=\"";
            echo ($context["T_THEME_PATH"] ?? null);
            echo "/colour-presets/default.css?assets_version=";
            echo ($context["T_ASSETS_VERSION"] ?? null);
            echo "\" rel=\"stylesheet\">
";
        }
        // line 117
        echo "
";
        // line 118
        if ((($context["S_CONTENT_DIRECTION"] ?? null) == "rtl")) {
            // line 119
            echo "\t<link href=\"";
            echo ($context["T_THEME_PATH"] ?? null);
            echo "/bidi.css?assets_version=";
            echo ($context["T_ASSETS_VERSION"] ?? null);
            echo "\" rel=\"stylesheet\">
";
        }
        // line 121
        echo "
";
        // line 122
        if (($context["S_PLUPLOAD"] ?? null)) {
            // line 123
            echo "\t<link href=\"";
            echo ($context["T_THEME_PATH"] ?? null);
            echo "/plupload.css?assets_version=";
            echo ($context["T_ASSETS_VERSION"] ?? null);
            echo "\" rel=\"stylesheet\">
";
        }
        // line 125
        echo "
<!--[if lte IE 9]>
\t<link href=\"";
        // line 127
        echo ($context["T_THEME_PATH"] ?? null);
        echo "/tweaks.css?assets_version=";
        echo ($context["T_ASSETS_VERSION"] ?? null);
        echo "\" rel=\"stylesheet\">
<![endif]-->

";
        // line 130
        // line 131
        echo "
";
        // line 132
        echo twig_get_attribute($this->env, $this->source, ($context["definition"] ?? null), "STYLESHEETS", [], "any", false, false, false, 132);
        echo "

";
        // line 134
        // line 135
        echo "
</head>
<body id=\"phpbb\" class=\"nojs notouch section-";
        // line 137
        echo ($context["SCRIPT_NAME"] ?? null);
        echo " ";
        echo ($context["S_CONTENT_DIRECTION"] ?? null);
        echo " ";
        echo ($context["BODY_CLASS"] ?? null);
        if ((($context["STYLE_SETTINGS_CONFIG_SIDEBAR_PLACEMENT"] ?? null) == "Right Only")) {
            echo " sidebar-right-only";
        } elseif ((($context["STYLE_SETTINGS_CONFIG_SIDEBAR_PLACEMENT"] ?? null) == "Left Only")) {
            echo " sidebar-left-only";
        } else {
            echo " sidebar-both";
        }
        if (($context["STYLE_SETTINGS_CONFIG_LAYOUT_TYPE"] ?? null)) {
            echo " body-layout-";
            echo ($context["STYLE_SETTINGS_CONFIG_LAYOUT_TYPE"] ?? null);
        }
        echo " auth-page";
        if ((($context["S_ADMIN_AUTH"] ?? null) || (($context["SCRIPT_NAME"] ?? null) == "viewforum"))) {
            echo " auth-page-admin";
        }
        if ((($context["STYLE_SETTINGS_CONFIG_BASE_COLOUR"] ?? null) == "Dark")) {
            echo " dark_base";
        }
        echo "\">
";
    }

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

    public function isTraitable()
    {
        return false;
    }

    public function getDebugInfo()
    {
        return array (  419 => 137,  415 => 135,  414 => 134,  409 => 132,  406 => 131,  405 => 130,  397 => 127,  393 => 125,  385 => 123,  383 => 122,  380 => 121,  372 => 119,  370 => 118,  367 => 117,  359 => 115,  348 => 112,  334 => 101,  329 => 99,  324 => 97,  319 => 95,  315 => 93,  312 => 92,  310 => 91,  307 => 90,  299 => 88,  297 => 87,  290 => 85,  284 => 83,  278 => 81,  276 => 80,  272 => 79,  267 => 78,  263 => 76,  258 => 73,  253 => 70,  251 => 69,  247 => 67,  245 => 66,  241 => 64,  239 => 63,  235 => 61,  233 => 60,  229 => 58,  227 => 57,  223 => 55,  221 => 54,  217 => 52,  215 => 51,  198 => 36,  196 => 35,  188 => 29,  182 => 27,  180 => 26,  177 => 25,  171 => 23,  169 => 22,  166 => 21,  163 => 19,  150 => 18,  137 => 17,  126 => 16,  115 => 15,  104 => 14,  93 => 13,  82 => 12,  80 => 11,  55 => 9,  51 => 8,  40 => 2,  37 => 1,);
    }

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