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

/* ucp_main_front.html */
class __TwigTemplate_360c8cf813ee5ced4cbb2287047b1d2a5a373e95c22ba0968ff2c5cb094fdae7 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 = "ucp_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("ucp_header.html", "ucp_main_front.html", 1)->display($context);
        if ($namespace) {
            $this->env->setNamespaceLookUpOrder($previous_look_up_order);
        }
        // line 2
        echo "<div class=\"tab-pane active\">
\t
\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>
       ";
        // line 6
        echo $this->env->getExtension('phpbb\template\twig\extension')->lang("UCP_WELCOME");
        echo "
    </div> 
\t
";
        // line 9
        if (twig_length_filter($this->env, $this->getAttribute(($context["loops"] ?? null), "topicrow", []))) {
            // line 10
            echo "\t<div class=\"side-segment\"><h3>";
            echo $this->env->getExtension('phpbb\template\twig\extension')->lang("IMPORTANT_NEWS");
            echo "</h3></div>
\t
\t<div class=\"panel panel-forum\">
\t<div class=\"panel-heading\">
\t <i class=\"fa fa-bolt\"></i>&nbsp;";
            // line 14
            echo $this->env->getExtension('phpbb\template\twig\extension')->lang("IMPORTANT_NEWS");
            echo "
\t</div>
\t<div class=\"panel-inner\">
\t<table class=\"footable table table-striped table-primary table-hover\">
\t<thead>
\t\t<tr>
\t\t\t<th data-class=\"expand\">";
            // line 20
            echo $this->env->getExtension('phpbb\template\twig\extension')->lang("TOPICS");
            echo "</th>
\t\t\t<th data-hide=\"phone\">";
            // line 21
            echo $this->env->getExtension('phpbb\template\twig\extension')->lang("LAST_POST");
            echo "</th>
\t\t</tr>
\t</thead>
\t";
            // line 24
            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 25
            echo "\t";
            $context['_parent'] = $context;
            $context['_seq'] = twig_ensure_traversable($this->getAttribute(($context["loops"] ?? null), "topicrow", []));
            foreach ($context['_seq'] as $context["_key"] => $context["topicrow"]) {
                // line 26
                echo "\t\t<tbody>
\t\t\t<tr id=\"topic-";
                // line 27
                echo $this->getAttribute($context["topicrow"], "TOPIC_ID", []);
                echo "\">
\t\t\t\t<td>
\t\t\t\t <span class=\"icon-wrapper\">
\t\t\t\t <i class=\"row-icon-font icon-moon-podcast2";
                // line 30
                if ($this->getAttribute($context["topicrow"], "S_UNREAD", [])) {
                    echo " forum-unread";
                } else {
                    echo " forum-read";
                }
                echo "\" title=\"";
                echo $this->getAttribute($context["topicrow"], "TOPIC_FOLDER_IMG_ALT", []);
                echo "\"></i>
\t\t\t\t </span>
\t\t\t\t <i class=\"row-icon-font-mini";
                // line 32
                if (($this->getAttribute($context["topicrow"], "TOPIC_TYPE", []) == $this->getAttribute(($context["definition"] ?? null), "VAR", []))) {
                    echo " fa fa-lock forumview-lock";
                }
                echo "\" title=\"";
                echo $this->getAttribute($context["topicrow"], "TOPIC_FOLDER_IMG_ALT", []);
                echo "\"></i>
\t\t\t\t ";
                // line 33
                if ($this->getAttribute($context["topicrow"], "S_UNREAD", [])) {
                    echo "<a href=\"";
                    echo $this->getAttribute($context["topicrow"], "U_NEWEST_POST", []);
                    echo "\"><i class=\"fa fa-asterisk\"></i></a>";
                }
                echo "<a href=\"";
                echo $this->getAttribute($context["topicrow"], "U_VIEW_TOPIC", []);
                echo "\" class=\"topictitle\">&nbsp;";
                echo $this->getAttribute($context["topicrow"], "TOPIC_TITLE", []);
                echo "</a><br>
\t\t\t\t ";
                // line 34
                if (twig_length_filter($this->env, $this->getAttribute($context["topicrow"], "pagination", []))) {
                    // line 35
                    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 36
                    $context['_parent'] = $context;
                    $context['_seq'] = twig_ensure_traversable($this->getAttribute($context["topicrow"], "pagination", []));
                    foreach ($context['_seq'] as $context["_key"] => $context["pagination"]) {
                        // line 37
                        echo "\t\t\t\t\t\t ";
                        if ($this->getAttribute($context["pagination"], "S_IS_PREV", [])) {
                            // line 38
                            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 39
$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 40
$context["pagination"], "S_IS_NEXT", [])) {
                            // line 41
                            echo "\t\t\t\t\t\t";
                        } else {
                            // line 42
                            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 44
                        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 45
                    echo "\t\t\t\t\t</ul>\t\t
\t\t\t    ";
                }
                // line 47
                echo "\t\t\t\t ";
                if ($this->getAttribute($context["topicrow"], "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>&nbsp;";
                }
                echo $this->env->getExtension('phpbb\template\twig\extension')->lang("POST_BY_AUTHOR");
                echo "&nbsp;";
                echo $this->getAttribute($context["topicrow"], "TOPIC_AUTHOR_FULL", []);
                echo "<small>&nbsp;";
                echo $this->getAttribute($context["topicrow"], "FIRST_POST_TIME", []);
                echo "</small>
\t\t\t\t</td>
\t\t\t\t<td class=\"center\">";
                // line 49
                echo $this->env->getExtension('phpbb\template\twig\extension')->lang("POST_BY_AUTHOR");
                echo "&nbsp;";
                echo $this->getAttribute($context["topicrow"], "LAST_POST_AUTHOR_FULL", []);
                echo "
\t\t\t\t<a title=\"";
                // line 50
                echo $this->env->getExtension('phpbb\template\twig\extension')->lang("FORUMLIST_LASTPOST");
                echo "\" href=\"";
                echo $this->getAttribute($context["topicrow"], "U_LAST_POST", []);
                echo "\"><i class=\"fa fa-sign-out\"></i></a> 
\t\t\t\t<br /><small>";
                // line 51
                echo $this->getAttribute($context["topicrow"], "LAST_POST_TIME", []);
                echo "</small>
\t\t\t\t</td>
\t\t\t</tr>
\t\t</tbody>
\t";
            }
            $_parent = $context['_parent'];
            unset($context['_seq'], $context['_iterated'], $context['_key'], $context['topicrow'], $context['_parent'], $context['loop']);
            $context = array_intersect_key($context, $_parent) + $_parent;
            // line 56
            echo "\t</table>
\t</div>
\t</div>
";
        }
        // line 60
        echo "
<div class=\"side-segment\"><h3>";
        // line 61
        echo $this->env->getExtension('phpbb\template\twig\extension')->lang("YOUR_DETAILS");
        echo "</h3></div>
 <div class=\"clearfix\">
    ";
        // line 63
        // line 64
        echo "                <div class=\"panel panel-poll\">
                    <div class=\"panel-body\">
                        <div class=\"scroll-content\">
                            <ul class=\"mini-timeline\">
\t\t\t\t\t\t\t";
        // line 68
        // line 69
        echo "                                <li class=\"mini-timeline-lime\">
                                    <div class=\"timeline-icon\"></div>
                                    <div class=\"timeline-body\">
                                        <div class=\"timeline-content\">
                                            <a class=\"name\">";
        // line 73
        echo $this->env->getExtension('phpbb\template\twig\extension')->lang("USER");
        echo "&nbsp;";
        echo $this->env->getExtension('phpbb\template\twig\extension')->lang("JOINED_BOARD");
        echo "</a>
                                            <span class=\"time\">";
        // line 74
        echo ($context["JOINED"] ?? null);
        echo "</span>
                                        </div>
                                    </div>
                                </li>

                                <li class=\"mini-timeline-deeporange\">
                                    <div class=\"timeline-icon\"></div>
                                    <div class=\"timeline-body\">
                                        <div class=\"timeline-content\">
                                            <a class=\"name\">";
        // line 83
        echo $this->env->getExtension('phpbb\template\twig\extension')->lang("VISITED_BOARD");
        echo "</a>
                                            <span class=\"time\">";
        // line 84
        echo ($context["LAST_VISIT_YOU"] ?? null);
        echo "</span>
                                        </div>
                                    </div>
                                </li>

                                <li class=\"mini-timeline-info\">
                                    <div class=\"timeline-icon\"></div>
                                    <div class=\"timeline-body\">
                                        <div class=\"timeline-content\">
                                            <a class=\"name\">";
        // line 93
        echo $this->env->getExtension('phpbb\template\twig\extension')->lang("TOTAL_POSTS");
        echo "</a>&nbsp;";
        if (($context["POSTS_PCT"] ?? null)) {
            echo ($context["POSTS"] ?? null);
            if (($context["S_DISPLAY_SEARCH"] ?? null)) {
                echo "&nbsp;&#124;&nbsp;<a href=\"";
                echo ($context["U_SEARCH_USER"] ?? null);
                echo "\">";
                echo $this->env->getExtension('phpbb\template\twig\extension')->lang("SEARCH_YOUR_POSTS");
                echo "</a>";
            }
        } else {
            echo ($context["POSTS"] ?? null);
        }
        // line 94
        echo "                                            <span class=\"time\">&#40;";
        echo ($context["POSTS_DAY"] ?? null);
        echo "&nbsp;&#47;&nbsp;";
        echo ($context["POSTS_PCT"] ?? null);
        echo "&#41;</span>
                                        </div>
                                    </div>
                                </li>
                            ";
        // line 98
        if ((($context["ACTIVE_FORUM"] ?? null) != "")) {
            // line 99
            echo "                                <li class=\"mini-timeline-indigo\">
                                    <div class=\"timeline-icon\"></div>
                                    <div class=\"timeline-body\">
                                        <div class=\"timeline-content\">
                                            <a class=\"name\">";
            // line 103
            echo $this->env->getExtension('phpbb\template\twig\extension')->lang("ACTIVE_IN_FORUM");
            echo "</a>&nbsp;<strong><a href=\"";
            echo ($context["U_ACTIVE_FORUM"] ?? null);
            echo "\">";
            echo ($context["ACTIVE_FORUM"] ?? null);
            echo "</a></strong>
                                            <span class=\"time\">&#40;";
            // line 104
            echo ($context["ACTIVE_FORUM_POSTS"] ?? null);
            echo "&nbsp;&#47;&nbsp;";
            echo ($context["ACTIVE_FORUM_PCT"] ?? null);
            echo "&#41;</span>
                                        </div>
                                    </div>
                                </li>
\t\t\t\t\t\t\t";
        }
        // line 109
        echo "\t\t\t\t\t\t\t";
        if ((($context["ACTIVE_TOPIC"] ?? null) != "")) {
            // line 110
            echo "                                <li class=\"mini-timeline-lime\">
                                    <div class=\"timeline-icon\"></div>
                                    <div class=\"timeline-body\">
                                        <div class=\"timeline-content\">
                                            <a class=\"name\">";
            // line 114
            echo $this->env->getExtension('phpbb\template\twig\extension')->lang("ACTIVE_IN_TOPIC");
            echo "</a>&nbsp;<strong><a href=\"";
            echo ($context["U_ACTIVE_TOPIC"] ?? null);
            echo "\">";
            echo ($context["ACTIVE_TOPIC"] ?? null);
            echo "</a></strong>
                                            <span class=\"time\">&#40;";
            // line 115
            echo ($context["ACTIVE_TOPIC_POSTS"] ?? null);
            echo "&nbsp;&#47;&nbsp;";
            echo ($context["ACTIVE_TOPIC_PCT"] ?? null);
            echo "&#41;</span>
                                        </div>
                                    </div>
                                </li>
                            ";
        }
        // line 120
        echo "\t\t\t\t\t\t\t";
        if (($context["WARNINGS"] ?? null)) {
            // line 121
            echo "                                <li class=\"mini-timeline-deeporange\">
                                    <div class=\"timeline-icon\"></div>
                                    <div class=\"timeline-body\">
                                        <div class=\"timeline-content\">
                                            <a class=\"name\">";
            // line 125
            echo $this->env->getExtension('phpbb\template\twig\extension')->lang("YOUR_WARNINGS");
            echo "</a>&nbsp;";
            echo ($context["WARNING_IMG"] ?? null);
            echo "
                                            <span class=\"time\">&#91;";
            // line 126
            echo ($context["WARNINGS"] ?? null);
            echo "&#93;</span>
                                        </div>
                                    </div>
                                </li>
                            ";
        }
        // line 131
        echo "                              
\t\t\t\t\t\t<!-- Ready to use here\t  
\t\t\t\t\t\t\t  <li class=\"mini-timeline-info\">
                                    <div class=\"timeline-icon\"></div>
                                    <div class=\"timeline-body\">
                                        <div class=\"timeline-content\">
                                            <a class=\"name\" href=\"#\">User</a> commented on thread <a href=\"#/\">SiteSplat.com</a> and <a class=\"name\" href=\"#/\">Themesplat</a>
                                            <span class=\"time\">12 mins ago</span>
                                        </div>
                                    </div>
                                </li>

                                <li class=\"mini-timeline-indigo\">
                                    <div class=\"timeline-icon\"></div>
                                    <div class=\"timeline-body\">
                                        <div class=\"timeline-content\">
                                            <a class=\"name\" href=\"#\">User</a> commented on thread <a href=\"#/\">SiteSplat.com</a> and <a class=\"name\" href=\"#/\">Themesplat</a>
                                            <span class=\"time\">12 mins ago</span>
                                        </div>
                                    </div>
                                </li>
\t
\t\t\t\t\t\t\t\t
                                <li class=\"mini-timeline-default\">
                                    <div class=\"timeline-body ml-n\">
                                        <div class=\"timeline-content\">
                                            <a href=\"\" class=\"btn btn-sm btn-default\" type=\"button\">";
        // line 157
        echo $this->env->getExtension('phpbb\template\twig\extension')->lang("SEE_MORE");
        echo "</a>
                                        </div>
                                    </div>
                                </li>
\t\t\t\t\t\t\t\t
\t\t\t\t\t\tReady to use here -->\t\t
\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t";
        // line 164
        echo "\t
                            </ul>
                        </div>
                    </div>
                </div>
\t";
        // line 169
        echo "\t\t
    </div>
</div>

";
        // line 173
        $location = "ucp_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("ucp_footer.html", "ucp_main_front.html", 173)->display($context);
        if ($namespace) {
            $this->env->setNamespaceLookUpOrder($previous_look_up_order);
        }
    }

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

    public function isTraitable()
    {
        return false;
    }

    public function getDebugInfo()
    {
        return array (  433 => 173,  427 => 169,  420 => 164,  410 => 157,  382 => 131,  374 => 126,  368 => 125,  362 => 121,  359 => 120,  349 => 115,  341 => 114,  335 => 110,  332 => 109,  322 => 104,  314 => 103,  308 => 99,  306 => 98,  296 => 94,  281 => 93,  269 => 84,  265 => 83,  253 => 74,  247 => 73,  241 => 69,  240 => 68,  234 => 64,  233 => 63,  228 => 61,  225 => 60,  219 => 56,  208 => 51,  202 => 50,  196 => 49,  181 => 47,  177 => 45,  171 => 44,  163 => 42,  160 => 41,  158 => 40,  152 => 39,  145 => 38,  142 => 37,  138 => 36,  135 => 35,  133 => 34,  121 => 33,  113 => 32,  102 => 30,  96 => 27,  93 => 26,  88 => 25,  83 => 24,  77 => 21,  73 => 20,  64 => 14,  56 => 10,  54 => 9,  48 => 6,  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("", "ucp_main_front.html", "");
    }
}
