<?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;

/* index_body.html */
class __TwigTemplate_022f3091488902a9fb09f042443877ec 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
        $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", "index_body.html", 1)->display($context);
        if ($namespace) {
            $this->env->setNamespaceLookUpOrder($previous_look_up_order);
        }
        // line 2
        echo "
";
        // line 3
        // line 4
        echo "
";
        // line 5
        // line 6
        echo "
";
        // line 7
        if (($context["STYLE_SETTINGS_CONFIG_COLLAPSIBLE_PANELS"] ?? null)) {
            echo "<div id=\"forumlist_collapse\">";
        }
        // line 8
        echo "
";
        // line 9
        if ((($context["STYLE_SETTINGS_CONFIG_FORUMLIST_DISPLAY"] ?? null) == "Grid")) {
            // line 10
            echo "     ";
            $location = "forumlist_grid.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("forumlist_grid.html", "index_body.html", 10)->display($context);
            if ($namespace) {
                $this->env->setNamespaceLookUpOrder($previous_look_up_order);
            }
        } elseif ((        // line 11
($context["STYLE_SETTINGS_CONFIG_FORUMLIST_DISPLAY"] ?? null) == "Grid (Icons)")) {
            // line 12
            echo "    ";
            $location = "forumlist_grid_icons.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("forumlist_grid_icons.html", "index_body.html", 12)->display($context);
            if ($namespace) {
                $this->env->setNamespaceLookUpOrder($previous_look_up_order);
            }
        } else {
            // line 14
            echo "\t";
            $location = "forumlist_body.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("forumlist_body.html", "index_body.html", 14)->display($context);
            if ($namespace) {
                $this->env->setNamespaceLookUpOrder($previous_look_up_order);
            }
        }
        // line 16
        echo "
<div class=\"post_forumlist_links\">
\t";
        // line 18
        if (($context["S_USER_LOGGED_IN"] ?? null)) {
            // line 19
            echo "    \t<span class=\"current_time\">";
            echo ($context["CURRENT_TIME"] ?? null);
            echo "</span>
    ";
        }
        // line 21
        echo "    ";
        if (($context["U_MARK_FORUMS"] ?? null)) {
            // line 22
            echo "        <br /><a href=\"";
            echo ($context["U_MARK_FORUMS"] ?? null);
            echo "\" class=\"mark-read\" accesskey=\"m\" data-ajax=\"mark_forums_read\">";
            echo $this->extensions['phpbb\template\twig\extension']->lang("MARK_FORUMS_READ");
            echo "</a>
    ";
        }
        // line 24
        echo "</div>

";
        // line 26
        // line 27
        echo "
<div class=\"forumbg alt_block\">
    <div class=\"inner\">
    <ul class=\"topiclist\">
        <li class=\"header\">
            <dl class=\"row-item\">
                <dt><div class=\"list-inner\"><i class=\"fa fa-line-chart\"></i> &nbsp;";
        // line 33
        echo $this->extensions['phpbb\template\twig\extension']->lang("INFORMATION");
        echo "</div></dt>
            </dl>
        </li>
    </ul>
    ";
        // line 37
        if (($context["STYLE_SETTINGS_CONFIG_COLLAPSIBLE_PANELS"] ?? null)) {
            // line 38
            echo "        <div class=\"collapse-trigger open\">
            <span class=\"icon fa-minus tooltip-left\" title=\"Collapse\"></span>
            <span class=\"icon fa-plus tooltip-left\" title=\"Expand\"></span>
        </div>
    ";
        }
        // line 42
        echo "            
    <ul class=\"topiclist forums\">
    \t
        
            ";
        // line 46
        if (( !($context["S_USER_LOGGED_IN"] ?? null) &&  !($context["S_IS_BOT"] ?? null))) {
            // line 47
            echo "                <li class=\"row";
            if (((($context["STYLE_SETTINGS_CONFIG_PROFILE_WIDGET"] ?? null) && ($context["STYLE_SETTINGS_CONFIG_SIDEBARS"] ?? null)) && ((($context["STYLE_SETTINGS_CONFIG_SIDEBAR_PLACEMENT"] ?? null) == "Right Only") || (($context["STYLE_SETTINGS_CONFIG_SIDEBAR_PLACEMENT"] ?? null) == "Both")))) {
                echo " responsive-hide stat_login_hide";
            }
            echo "\">
                    <form method=\"post\" action=\"";
            // line 48
            echo ($context["S_LOGIN_ACTION"] ?? null);
            echo "\" class=\"headerspace\">
                    <h3><a href=\"";
            // line 49
            echo ($context["U_LOGIN_LOGOUT"] ?? null);
            echo "\">";
            echo $this->extensions['phpbb\template\twig\extension']->lang("LOGIN_LOGOUT");
            echo "</a>";
            if (($context["S_REGISTER_ENABLED"] ?? null)) {
                echo "&nbsp; &bull; &nbsp;<a href=\"";
                echo ($context["U_REGISTER"] ?? null);
                echo "\">";
                echo $this->extensions['phpbb\template\twig\extension']->lang("REGISTER");
                echo "</a>";
            }
            echo "</h3>
                        <fieldset class=\"quick-login\">
                            <label for=\"username\"><span>";
            // line 51
            echo $this->extensions['phpbb\template\twig\extension']->lang("USERNAME");
            echo $this->extensions['phpbb\template\twig\extension']->lang("COLON");
            echo "</span> <input type=\"text\" tabindex=\"1\" name=\"username\" id=\"username\" size=\"10\" class=\"inputbox\" title=\"";
            echo $this->extensions['phpbb\template\twig\extension']->lang("USERNAME");
            echo "\" /></label>
                            <label for=\"password\"><span>";
            // line 52
            echo $this->extensions['phpbb\template\twig\extension']->lang("PASSWORD");
            echo $this->extensions['phpbb\template\twig\extension']->lang("COLON");
            echo "</span> <input type=\"password\" tabindex=\"2\" name=\"password\" id=\"password\" size=\"10\" class=\"inputbox\" title=\"";
            echo $this->extensions['phpbb\template\twig\extension']->lang("PASSWORD");
            echo "\" autocomplete=\"off\" /></label>
                            ";
            // line 53
            if (($context["U_SEND_PASSWORD"] ?? null)) {
                // line 54
                echo "                                <a href=\"";
                echo ($context["U_SEND_PASSWORD"] ?? null);
                echo "\">";
                echo $this->extensions['phpbb\template\twig\extension']->lang("FORGOT_PASS");
                echo "</a>
                            ";
            }
            // line 56
            echo "                            ";
            if (($context["S_AUTOLOGIN_ENABLED"] ?? null)) {
                // line 57
                echo "                                <span class=\"responsive-hide\">|</span> <label for=\"autologin\">";
                echo $this->extensions['phpbb\template\twig\extension']->lang("LOG_ME_IN");
                echo " <input type=\"checkbox\" tabindex=\"4\" name=\"autologin\" id=\"autologin\" /></label>
                            ";
            }
            // line 59
            echo "                            <input type=\"submit\" tabindex=\"5\" name=\"login\" value=\"";
            echo $this->extensions['phpbb\template\twig\extension']->lang("LOGIN");
            echo "\" class=\"button2\" />
                            ";
            // line 60
            echo ($context["S_LOGIN_REDIRECT"] ?? null);
            echo "
\t\t\t\t\t\t\t";
            // line 61
            echo ($context["S_FORM_TOKEN_LOGIN"] ?? null);
            echo "
                        </fieldset>
                    </form>
                </li>
            ";
        }
        // line 66
        echo "            
            
            ";
        // line 68
        // line 69
        echo "            
            ";
        // line 70
        if (($context["S_DISPLAY_ONLINE_LIST"] ?? null)) {
            // line 71
            echo "            <li class=\"row\">
                <div class=\"stat-block online-list\">
                    ";
            // line 73
            if (($context["U_VIEWONLINE"] ?? null)) {
                echo "<h3><a href=\"";
                echo ($context["U_VIEWONLINE"] ?? null);
                echo "\">";
                echo $this->extensions['phpbb\template\twig\extension']->lang("WHO_IS_ONLINE");
                echo "</a></h3>";
            } else {
                echo "<h3>";
                echo $this->extensions['phpbb\template\twig\extension']->lang("WHO_IS_ONLINE");
                echo "</h3>";
            }
            // line 74
            echo "                    <p>
                        ";
            // line 75
            // line 76
            echo "                        ";
            echo ($context["TOTAL_USERS_ONLINE"] ?? null);
            echo " (";
            echo $this->extensions['phpbb\template\twig\extension']->lang("ONLINE_EXPLAIN");
            echo ")<br />";
            echo ($context["RECORD_USERS"] ?? null);
            echo "<br /> 
                        ";
            // line 77
            if (($context["U_VIEWONLINE"] ?? null)) {
                // line 78
                echo "                        \t<br />";
                echo ($context["LOGGED_IN_USER_LIST"] ?? null);
                echo "
                        ";
            }
            // line 80
            echo "                        ";
            if (($context["LEGEND"] ?? null)) {
                echo "<br /><strong>";
                echo $this->extensions['phpbb\template\twig\extension']->lang("LEGEND");
                echo $this->extensions['phpbb\template\twig\extension']->lang("COLON");
                echo " ";
                echo ($context["LEGEND"] ?? null);
                echo "</strong>";
            }
            // line 81
            echo "                        ";
            // line 82
            echo "                    </p>
                </div>
            </li>
            ";
        }
        // line 86
        echo "            ";
        if (($context["NEWEST_USER"] ?? null)) {
            // line 87
            echo "            \t<li class=\"row\">
                    <div class=\"stat-block statistics\">
                        <h3>";
            // line 89
            echo $this->extensions['phpbb\template\twig\extension']->lang("STATISTICS");
            echo "</h3>
                        <p>
                            ";
            // line 91
            // line 92
            echo "                            ";
            echo ($context["TOTAL_POSTS"] ?? null);
            echo " &bull; ";
            echo ($context["TOTAL_TOPICS"] ?? null);
            echo " &bull; ";
            echo ($context["TOTAL_USERS"] ?? null);
            echo " &bull; ";
            echo ($context["NEWEST_USER"] ?? null);
            echo "
                            ";
            // line 93
            // line 94
            echo "                        </p>
                    </div>
                </li>
            ";
        }
        // line 98
        echo "            ";
        echo "  
            ";
        // line 99
        if ((($context["S_DISPLAY_BIRTHDAY_LIST"] ?? null) && ($context["BIRTHDAY_LIST"] ?? null))) {
            // line 100
            echo "            <li class=\"row\">
                <div class=\"stat-block birthday-list\">
                    <h3>";
            // line 102
            echo $this->extensions['phpbb\template\twig\extension']->lang("BIRTHDAYS");
            echo "</h3>
                    <p>
                        ";
            // line 104
            // line 105
            echo "                        ";
            if (twig_length_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["loops"] ?? null), "birthdays", [], "any", false, false, false, 105))) {
                echo $this->extensions['phpbb\template\twig\extension']->lang("CONGRATULATIONS");
                echo $this->extensions['phpbb\template\twig\extension']->lang("COLON");
                echo " <strong>";
                $context['_parent'] = $context;
                $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, ($context["loops"] ?? null), "birthdays", [], "any", false, false, false, 105));
                foreach ($context['_seq'] as $context["_key"] => $context["birthdays"]) {
                    echo twig_get_attribute($this->env, $this->source, $context["birthdays"], "USERNAME", [], "any", false, false, false, 105);
                    if ((twig_get_attribute($this->env, $this->source, $context["birthdays"], "AGE", [], "any", false, false, false, 105) !== "")) {
                        echo " (";
                        echo twig_get_attribute($this->env, $this->source, $context["birthdays"], "AGE", [], "any", false, false, false, 105);
                        echo ")";
                    }
                    if ( !twig_get_attribute($this->env, $this->source, $context["birthdays"], "S_LAST_ROW", [], "any", false, false, false, 105)) {
                        echo ", ";
                    }
                }
                $_parent = $context['_parent'];
                unset($context['_seq'], $context['_iterated'], $context['_key'], $context['birthdays'], $context['_parent'], $context['loop']);
                $context = array_intersect_key($context, $_parent) + $_parent;
                echo "</strong>";
            } else {
                echo $this->extensions['phpbb\template\twig\extension']->lang("NO_BIRTHDAYS");
            }
            // line 106
            echo "                        ";
            // line 107
            echo "                    </p>
                </div>
            </li>
            ";
        }
        // line 111
        echo "            
            ";
        // line 112
        // line 113
        echo "        </li>
    </ul>
    </div>
</div>

";
        // line 118
        if (($context["STYLE_SETTINGS_CONFIG_COLLAPSIBLE_PANELS"] ?? null)) {
            echo "</div>";
        }
        // line 119
        echo "        

";
        // line 121
        $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", "index_body.html", 121)->display($context);
        if ($namespace) {
            $this->env->setNamespaceLookUpOrder($previous_look_up_order);
        }
    }

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

    public function isTraitable()
    {
        return false;
    }

    public function getDebugInfo()
    {
        return array (  413 => 121,  409 => 119,  405 => 118,  398 => 113,  397 => 112,  394 => 111,  388 => 107,  386 => 106,  360 => 105,  359 => 104,  354 => 102,  350 => 100,  348 => 99,  344 => 98,  338 => 94,  337 => 93,  326 => 92,  325 => 91,  320 => 89,  316 => 87,  313 => 86,  307 => 82,  305 => 81,  295 => 80,  289 => 78,  287 => 77,  278 => 76,  277 => 75,  274 => 74,  262 => 73,  258 => 71,  256 => 70,  253 => 69,  252 => 68,  248 => 66,  240 => 61,  236 => 60,  231 => 59,  225 => 57,  222 => 56,  214 => 54,  212 => 53,  205 => 52,  198 => 51,  183 => 49,  179 => 48,  172 => 47,  170 => 46,  164 => 42,  157 => 38,  155 => 37,  148 => 33,  140 => 27,  139 => 26,  135 => 24,  127 => 22,  124 => 21,  118 => 19,  116 => 18,  112 => 16,  98 => 14,  84 => 12,  82 => 11,  69 => 10,  67 => 9,  64 => 8,  60 => 7,  57 => 6,  56 => 5,  53 => 4,  52 => 3,  49 => 2,  37 => 1,);
    }

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