var/cache/dev/twig/a0/a0a3c5b40ef72df99f71f4a49da525f4f4cfbaa9cc12152677af3c70bf9e40d8.php line 71

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\SandboxExtension;
  6. use Twig\Markup;
  7. use Twig\Sandbox\SecurityError;
  8. use Twig\Sandbox\SecurityNotAllowedTagError;
  9. use Twig\Sandbox\SecurityNotAllowedFilterError;
  10. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  11. use Twig\Source;
  12. use Twig\Template;
  13. /* header.html.twig */
  14. class __TwigTemplate_da8c951c0b0debd7000b8779a2432698bccf4ba234955a37d2ca0fd6cc377fda extends Template
  15. {
  16.     private $source;
  17.     private $macros = [];
  18.     public function __construct(Environment $env)
  19.     {
  20.         parent::__construct($env);
  21.         $this->source $this->getSourceContext();
  22.         $this->parent false;
  23.         $this->blocks = [
  24.             'headerClass' => [$this'block_headerClass'],
  25.             'afterLogo' => [$this'block_afterLogo'],
  26.             'headerSearch' => [$this'block_headerSearch'],
  27.             'headerCitySelector' => [$this'block_headerCitySelector'],
  28.             'headerTopMenu' => [$this'block_headerTopMenu'],
  29.             'headerBottom' => [$this'block_headerBottom'],
  30.         ];
  31.     }
  32.     protected function doDisplay(array $context, array $blocks = [])
  33.     {
  34.         $macros $this->macros;
  35.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  36.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""header.html.twig"));
  37.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  38.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""header.html.twig"));
  39.         // line 1
  40.         $context["siteSettings"] = $this->extensions['Slivki\Twig\SlivkiTwigExtension']->getSiteSettings();
  41.         // line 2
  42.         echo "<!--[ignore]-->
  43. <div class=\"header ";
  44.         // line 3
  45.         $this->displayBlock('headerClass'$context$blocks);
  46.         echo "\">
  47.     <div id=\"scrolltop\">
  48.         <div class=\"scrolltop\" style=\"display: none;\">
  49.             <span class=\"link pseudo-link\">В начало</span>
  50.         </div>
  51.     </div>
  52.     ";
  53.         // line 9
  54.         if ( !(twig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'9$this->source); })()), "user", [], "any"falsefalsefalse9) && twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'9$this->source); })()), "user", [], "any"falsefalsefalse9), "hasRole", [=> twig_constant("\\Slivki\\Entity\\UserGroup::ROLE_ADS_FREE")], "method"falsefalsefalse9))) {
  55.             // line 10
  56.             echo "        <div id=\"head-banner\">
  57.             <div class=\"head-banner-section\">
  58.                 <div class=\"head-banner-section-center\">
  59.                     <div class=\"head-banner-container\">
  60.                         ";
  61.             // line 14
  62.             echo $this->extensions['Slivki\Twig\SlivkiTwigExtension']->getTopSiteBanner(((array_key_exists("brandingBannerCategoryIDs"$context)) ? ((isset($context["brandingBannerCategoryIDs"]) || array_key_exists("brandingBannerCategoryIDs"$context) ? $context["brandingBannerCategoryIDs"] : (function () { throw new RuntimeError('Variable "brandingBannerCategoryIDs" does not exist.'14$this->source); })())) : ([])), false);
  63.             echo "
  64.                     </div>
  65.                 </div>
  66.             </div>
  67.         </div>
  68.     ";
  69.         }
  70.         // line 20
  71.         echo "    <div class=\"header--top-wrapp\" style=\"min-height: 80px;\">
  72.         <div class=\"header--top\" data-spy=\"affix\" data-offset-top=\"90\">
  73.             <div class=\"header--top--head\">
  74.                 <div class=\"container\">
  75.                     ";
  76.         // line 24
  77.         if (array_key_exists("currentCategoryMonthlyVisits"$context)) {
  78.             // line 25
  79.             echo "                        <div style=\"position: absolute; top: 84px; right: 120px;\" data-toggle=\"tooltip\"
  80.                              data-placement=\"bottom\" title=\"Просмотров за месяц\">
  81.                             <i class=\"slivki-icon-eye\"></i>";
  82.             // line 27
  83.             echo twig_escape_filter($this->env, (isset($context["currentCategoryMonthlyVisits"]) || array_key_exists("currentCategoryMonthlyVisits"$context) ? $context["currentCategoryMonthlyVisits"] : (function () { throw new RuntimeError('Variable "currentCategoryMonthlyVisits" does not exist.'27$this->source); })()), "html"nulltrue);
  84.             echo "
  85.                         </div>
  86.                     ";
  87.         }
  88.         // line 30
  89.         echo "                    ";
  90.         $context["currentCity"] = $this->extensions['Slivki\Twig\SlivkiTwigExtension']->getCurrentCity();
  91.         // line 31
  92.         echo "                    <input id=\"cityName\" type=\"hidden\" value=\"";
  93.         ((twig_in_filter(twig_get_attribute($this->env$this->source, (isset($context["currentCity"]) || array_key_exists("currentCity"$context) ? $context["currentCity"] : (function () { throw new RuntimeError('Variable "currentCity" does not exist.'31$this->source); })()), "getID", [], "method"falsefalsefalse31), [=> twig_constant("Slivki\\Entity\\City::DEFAULT_CITY_ID"), => twig_constant("Slivki\\Entity\\City::TASHKENT_CITY_ID")])) ? (print ("/")) : (print (twig_escape_filter($this->env$this->extensions['Slivki\Twig\SlivkiTwigExtension']->getURL(twig_constant("Slivki\\Repository\\SeoRepository::RESOURCE_URL_CITY"), twig_get_attribute($this->env$this->source, (isset($context["currentCity"]) || array_key_exists("currentCity"$context) ? $context["currentCity"] : (function () { throw new RuntimeError('Variable "currentCity" does not exist.'31$this->source); })()), "getID", [], "method"falsefalsefalse31)), "html"nulltrue))));
  94.         echo "\"/>
  95.                     <a href=\"";
  96.         // line 32
  97.         ((twig_in_filter(twig_get_attribute($this->env$this->source, (isset($context["currentCity"]) || array_key_exists("currentCity"$context) ? $context["currentCity"] : (function () { throw new RuntimeError('Variable "currentCity" does not exist.'32$this->source); })()), "getID", [], "method"falsefalsefalse32), [=> twig_constant("Slivki\\Entity\\City::DEFAULT_CITY_ID"), => twig_constant("Slivki\\Entity\\City::TASHKENT_CITY_ID")])) ? (print ("/")) : (print (twig_escape_filter($this->env$this->extensions['Slivki\Twig\SlivkiTwigExtension']->getURL(twig_constant("Slivki\\Repository\\SeoRepository::RESOURCE_URL_CITY"), twig_get_attribute($this->env$this->source, (isset($context["currentCity"]) || array_key_exists("currentCity"$context) ? $context["currentCity"] : (function () { throw new RuntimeError('Variable "currentCity" does not exist.'32$this->source); })()), "getID", [], "method"falsefalsefalse32)), "html"nulltrue))));
  98.         echo "\"
  99.                        class=\"logo\"></a>
  100.                     ";
  101.         // line 34
  102.         $this->displayBlock('afterLogo'$context$blocks);
  103.         // line 35
  104.         echo "                    ";
  105.         $this->displayBlock('headerSearch'$context$blocks);
  106.         // line 38
  107.         echo "
  108.                     ";
  109.         // line 39
  110.         $this->displayBlock('headerCitySelector'$context$blocks);
  111.         // line 42
  112.         echo "                    ";
  113.         if (twig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'42$this->source); })()), "user", [], "any"falsefalsefalse42)) {
  114.             // line 43
  115.             echo "                        ";
  116.             // line 44
  117.             echo "                        <div class=\"header_top_navigation_container d-flex align-items-center\">
  118.                             <div class=\"header--top-navigation\">
  119.                                 <ul>
  120.                                     <li class=\"profile-data\">
  121.                                         <a href=\"";
  122.             // line 48
  123.             echo twig_escape_filter($this->env, (isset($context["base_url"]) || array_key_exists("base_url"$context) ? $context["base_url"] : (function () { throw new RuntimeError('Variable "base_url" does not exist.'48$this->source); })()), "html"nulltrue);
  124.             echo "/profile\">";
  125.             echo twig_escape_filter($this->env, ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'48$this->source); })()), "user", [], "any"falsefalsefalse48), "getPhone", [], "method"falsefalsefalse48)) ? (("***" twig_slice($this->env$this->extensions['Slivki\Twig\SlivkiTwigExtension']->phoneFilter(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'48$this->source); })()), "user", [], "any"falsefalsefalse48), "getPhone", [], "method"falsefalsefalse48)), 3null))) : (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'48$this->source); })()), "user", [], "any"falsefalsefalse48), "getFirstName", [], "method"falsefalsefalse48))), "html"nulltrue);
  126.             echo "</a>
  127.                                         <input type=\"hidden\" id=\"userEmail\" value=\"";
  128.             // line 49
  129.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'49$this->source); })()), "user", [], "any"falsefalsefalse49), "getEmail", [], "method"falsefalsefalse49), "html"nulltrue);
  130.             echo "\"/>
  131.                                         <a href=\"javascript:void(0)\" data-toggle=\"modal\" data-target=\"#modal_billing\">
  132.                                             ";
  133.             // line 51
  134.             $context["userBalanceCodesCount"] = $this->extensions['Slivki\Twig\SlivkiTwigExtension']->getUserBalanceCodesCount(twig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'51$this->source); })()), "user", [], "any"falsefalsefalse51), twig_get_attribute($this->env$this->source, (isset($context["currentCity"]) || array_key_exists("currentCity"$context) ? $context["currentCity"] : (function () { throw new RuntimeError('Variable "currentCity" does not exist.'51$this->source); })()), "getID", [], "method"falsefalsefalse51));
  135.             // line 52
  136.             echo "                                            <span class=\"d-flex\">
  137.                                             <div class=\"d-none\">
  138.                                                 (<span id=\"balance\">";
  139.             // line 54
  140.             echo twig_escape_filter($this->envtwig_number_format_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'54$this->source); })()), "user", [], "any"falsefalsefalse54), "getFullBalance", [], "method"falsefalsefalse54), 2","""), "html"nulltrue);
  141.             echo "</span> руб)
  142.                                             </div>
  143.                                         </span>
  144.                                         </a>
  145.                                     </li>
  146.                                     <li class=\"header-profile-menu\">
  147.                                         <a id=\"header-profile-menu-opener\" href=\"javascript:void(0)\">
  148.                                             ";
  149.             // line 67
  150.             echo "                                        </a>
  151.                                         <ul>
  152.                                             <li class=\"item-discount\">
  153.                                                 <a href=\"";
  154.             // line 70
  155.             echo twig_escape_filter($this->env, (isset($context["base_url"]) || array_key_exists("base_url"$context) ? $context["base_url"] : (function () { throw new RuntimeError('Variable "base_url" does not exist.'70$this->source); })()), "html"nulltrue);
  156.             echo "/profile\"><img class=\"side-bar-menu-icons\"
  157.                                                                                       src=\"/images/promo-code.svg\"
  158.                                                                                       alt=\"Промокод\">Мои промокоды
  159.                                                     ";
  160.             // line 78
  161.             echo "                                                </a>
  162.                                             </li>
  163.                                             <li class=\"item-profile\">
  164.                                                 <a href=\"";
  165.             // line 81
  166.             echo twig_escape_filter($this->env, (isset($context["base_url"]) || array_key_exists("base_url"$context) ? $context["base_url"] : (function () { throw new RuntimeError('Variable "base_url" does not exist.'81$this->source); })()), "html"nulltrue);
  167.             echo "/profile\"><img class=\"side-bar-menu-icons\"
  168.                                                                                       src=\"/images/profile-user.svg\"
  169.                                                                                       alt=\"Профиль\">Личный кабинет</a>
  170.                                             </li>
  171.                                             <li>
  172.                                                 <a href=\"";
  173.             // line 86
  174.             echo twig_escape_filter($this->env, (isset($context["base_url"]) || array_key_exists("base_url"$context) ? $context["base_url"] : (function () { throw new RuntimeError('Variable "base_url" does not exist.'86$this->source); })()), "html"nulltrue);
  175.             echo "/WatchList\"><img class=\"side-bar-menu-icons\"
  176.                                                                                         src=\"/images/eye-new.svg\"
  177.                                                                                         alt=\"Просмотренные\">Просмотренные
  178.                                                     акции</a>
  179.                                             </li>
  180.                                             ";
  181.             // line 91
  182.             if ($this->env->getRuntime('Slivki\Twig\ServerFeatureStateTwigRuntime')->isServerFeatureEnabled(twig_constant("Slivki\\Enum\\SwitcherFeatures::REPLENISHMENT_BALANCE"))) {
  183.                 // line 92
  184.                 echo "                                                <li class=\"balance-replenishment\">
  185.                                                     <a href=\"";
  186.                 // line 93
  187.                 echo twig_escape_filter($this->env, (isset($context["base_url"]) || array_key_exists("base_url"$context) ? $context["base_url"] : (function () { throw new RuntimeError('Variable "base_url" does not exist.'93$this->source); })()), "html"nulltrue);
  188.                 echo "/oplata\"><img class=\"side-bar-menu-icons\"
  189.                                                                                          src=\"/images/credit-card.svg\"
  190.                                                                                          alt=\"Пополнить\">Пополнить
  191.                                                         счет+бонус</a>
  192.                                                 </li>
  193.                                             ";
  194.             }
  195.             // line 99
  196.             echo "                                            <li>
  197.                                                 <a href=\"";
  198.             // line 100
  199.             echo twig_escape_filter($this->env, (isset($context["base_url"]) || array_key_exists("base_url"$context) ? $context["base_url"] : (function () { throw new RuntimeError('Variable "base_url" does not exist.'100$this->source); })()), "html"nulltrue);
  200.             echo "/profile#profile_favorites\"><img
  201.                                                             class=\"side-bar-menu-icons\"
  202.                                                             src=\"/images/heart-new-profile.svg\" alt=\"Избранное\">Избранное</a>
  203.                                             </li>
  204.                                             <li class=\"item-own-offer\">
  205.                                                 <a href=\"";
  206.             // line 105
  207.             echo twig_escape_filter($this->env, (isset($context["base_url"]) || array_key_exists("base_url"$context) ? $context["base_url"] : (function () { throw new RuntimeError('Variable "base_url" does not exist.'105$this->source); })()), "html"nulltrue);
  208.             echo "/moya_akciya\"
  209.                                                    onclick=\"ga('send', 'event', 'create-own-offer-button--top-menu', 'Click', '1');\"><img
  210.                                                             class=\"side-bar-menu-icons\" src=\"/images/add-offer-new.svg\"
  211.                                                             alt=\"Добавить\">Разместить акцию</a>
  212.                                             </li>
  213.                                             ";
  214.             // line 110
  215.             if ((((($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_ADMIN") || $this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_MANAGER_STATISTIC")) || $this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_MANAGER")) || $this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_OPERATOR")) || $this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_PUBLICIST"))) {
  216.                 // line 111
  217.                 echo "                                                <li>
  218.                                                     <a href=\"";
  219.                 // line 112
  220.                 echo twig_escape_filter($this->env, (isset($context["base_url"]) || array_key_exists("base_url"$context) ? $context["base_url"] : (function () { throw new RuntimeError('Variable "base_url" does not exist.'112$this->source); })()), "html"nulltrue);
  221.                 echo "/admin\"><img class=\"side-bar-menu-icons\"
  222.                                                                                         alt=\"Администрирование\"
  223.                                                                                         src=\"/images/admin-desk.svg\">Администрирование</a>
  224.                                                 </li>
  225.                                                 <li>
  226.                                                     <a href=\"";
  227.                 // line 117
  228.                 echo twig_escape_filter($this->env, (isset($context["base_url"]) || array_key_exists("base_url"$context) ? $context["base_url"] : (function () { throw new RuntimeError('Variable "base_url" does not exist.'117$this->source); })()), "html"nulltrue);
  229.                 echo "/admin/past_offers\"><img
  230.                                                                 class=\"side-bar-menu-icons\" alt=\"Прошедшее\"
  231.                                                                 src=\"/images/past-desk.svg\">Прошедшие акции</a>
  232.                                                 </li>
  233.                                                 <li>
  234.                                                     <a href=\"";
  235.                 // line 122
  236.                 echo twig_escape_filter($this->env, (isset($context["base_url"]) || array_key_exists("base_url"$context) ? $context["base_url"] : (function () { throw new RuntimeError('Variable "base_url" does not exist.'122$this->source); })()), "html"nulltrue);
  237.                 echo "/admin/past_sales\"><img
  238.                                                                 class=\"side-bar-menu-icons\" alt=\"Прошедшее\"
  239.                                                                 src=\"/images/past-desk.svg\">Прошедшие НС</a>
  240.                                                 </li>
  241.                                             ";
  242.             }
  243.             // line 127
  244.             echo "                                            ";
  245.             if ($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_SUPPLIER")) {
  246.                 // line 128
  247.                 echo "                                                <li>
  248.                                                     <a href=\"";
  249.                 // line 129
  250.                 echo twig_escape_filter($this->env, (isset($context["base_url"]) || array_key_exists("base_url"$context) ? $context["base_url"] : (function () { throw new RuntimeError('Variable "base_url" does not exist.'129$this->source); })()), "html"nulltrue);
  251.                 echo "/partner\"><img class=\"side-bar-menu-icons\"
  252.                                                                                           src=\"/images/partner-new.svg\"
  253.                                                                                           alt=\"Кабинет партнера\">Кабинет
  254.                                                         партнера</a>
  255.                                                 </li>
  256.                                             ";
  257.             }
  258.             // line 135
  259.             echo "                                            ";
  260.             if ($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("IS_IMPERSONATOR")) {
  261.                 // line 136
  262.                 echo "                                                <li class=\"item-logout\">
  263.                                                     <a style=\"color: red;\"
  264.                                                        href=\"";
  265.                 // line 138
  266.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->getImpersonateExitPath($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("homepage")), "html"nulltrue);
  267.                 echo "\"><img
  268.                                                                 class=\"side-bar-menu-icons\" src=\"/images/back-arrow.svg\"
  269.                                                                 alt=\"Вернуться\">Вернутся в свой акк</a>
  270.                                                 </li>
  271.                                             ";
  272.             }
  273.             // line 143
  274.             echo "                                            ";
  275.             if ( !$this->env->getRuntime('Slivki\Twig\ServerFeatureStateTwigRuntime')->isServerFeatureEnabled(twig_constant("Slivki\\Enum\\SwitcherFeatures::PAYMENT_PAYME"))) {
  276.                 // line 144
  277.                 echo "                                                <li class=\"item-profile\">
  278.                                                     <a href=\"";
  279.                 // line 145
  280.                 echo twig_escape_filter($this->env, (isset($context["base_url"]) || array_key_exists("base_url"$context) ? $context["base_url"] : (function () { throw new RuntimeError('Variable "base_url" does not exist.'145$this->source); })()), "html"nulltrue);
  281.                 echo "/profile/subscription/manage?utm_source=main_menu\"><span style=\"font-size: 26px\">⚡</span>️Подписка</a>
  282.                                                 </li>
  283.                                             ";
  284.             }
  285.             // line 148
  286.             echo "                                            <li class=\"item-logout\">
  287.                                                 <a href=\"javascript:void(0)\" data-toggle=\"modal\"
  288.                                                    data-target=\"#logoutConfirmPopup\"><img class=\"side-bar-menu-icons\"
  289.                                                                                           src=\"/images/log-out.svg\"
  290.                                                                                           alt=\"Выйти\">Выйти</a>
  291.                                             </li>
  292.                                         </ul>
  293.                                     </li>
  294.                                 </ul>
  295.                             </div>
  296.                             ";
  297.             // line 158
  298.             $this->loadTemplate((("Slivki/" . (isset($context["regional_template_path"]) || array_key_exists("regional_template_path"$context) ? $context["regional_template_path"] : (function () { throw new RuntimeError('Variable "regional_template_path" does not exist.'158$this->source); })())) . "/translate_block.html.twig"), "header.html.twig"158)->display($context);
  299.             // line 159
  300.             echo "                        </div>
  301.                     ";
  302.         } else {
  303.             // line 161
  304.             echo "                        ";
  305.             // line 162
  306.             echo "                        <div class=\"header--top-navigation\">
  307.                             <ul>
  308.                                 <li class=\"phones mr-2\">
  309.                                     <a href=\"#\">&nbsp;</a>
  310.                                     ";
  311.             // line 166
  312.             $this->loadTemplate((("Slivki/" . (isset($context["regional_template_path"]) || array_key_exists("regional_template_path"$context) ? $context["regional_template_path"] : (function () { throw new RuntimeError('Variable "regional_template_path" does not exist.'166$this->source); })())) . "/phones_header_dropdown.html.twig"), "header.html.twig"166)->display($context);
  313.             // line 167
  314.             echo "                                </li>
  315.                                 <li class=\"mr-3\">
  316.                                     ";
  317.             // line 169
  318.             $this->loadTemplate((("Slivki/" . (isset($context["regional_template_path"]) || array_key_exists("regional_template_path"$context) ? $context["regional_template_path"] : (function () { throw new RuntimeError('Variable "regional_template_path" does not exist.'169$this->source); })())) . "/translate_block.html.twig"), "header.html.twig"169)->display($context);
  319.             // line 170
  320.             echo "                                </li>
  321.                                 <li class=\"enter focus-tel login-button\" data-toggle=\"tooltip\"
  322.                                     data-placement=\"bottom\" title=\"Вход или регистрация\">
  323.                                     <a href=\"#\" data-toggle=\"modal\" data-target=\".modal-auth\">Войти</a>
  324.                                 </li>
  325.                             </ul>
  326.                             <div class=\"profile-email\"></div>
  327.                         </div>
  328.                     ";
  329.         }
  330.         // line 179
  331.         echo "                </div>
  332.             </div>
  333.             ";
  334.         // line 181
  335.         $this->displayBlock('headerTopMenu'$context$blocks);
  336.         // line 186
  337.         echo "        </div>
  338.     </div>
  339. </div>
  340. ";
  341.         // line 190
  342.         $this->displayBlock('headerBottom'$context$blocks);
  343.         // line 191
  344.         echo "<!--[/ignore]-->";
  345.         
  346.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  347.         
  348.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  349.     }
  350.     // line 3
  351.     public function block_headerClass($context, array $blocks = [])
  352.     {
  353.         $macros $this->macros;
  354.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  355.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""headerClass"));
  356.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  357.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""headerClass"));
  358.         
  359.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  360.         
  361.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  362.     }
  363.     // line 34
  364.     public function block_afterLogo($context, array $blocks = [])
  365.     {
  366.         $macros $this->macros;
  367.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  368.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""afterLogo"));
  369.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  370.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""afterLogo"));
  371.         
  372.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  373.         
  374.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  375.     }
  376.     // line 35
  377.     public function block_headerSearch($context, array $blocks = [])
  378.     {
  379.         $macros $this->macros;
  380.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  381.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""headerSearch"));
  382.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  383.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""headerSearch"));
  384.         // line 36
  385.         echo "                        ";
  386.         $this->loadTemplate("header_search_block.html.twig""header.html.twig"36)->display(twig_array_merge($context, ["searchIn" => twig_constant("Slivki\\Controller\\SearchController::SEARCH_OFFERS"), "placeholder" => "Я ищу..."]));
  387.         // line 37
  388.         echo "                    ";
  389.         
  390.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  391.         
  392.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  393.     }
  394.     // line 39
  395.     public function block_headerCitySelector($context, array $blocks = [])
  396.     {
  397.         $macros $this->macros;
  398.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  399.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""headerCitySelector"));
  400.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  401.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""headerCitySelector"));
  402.         // line 40
  403.         echo "                        ";
  404.         $this->loadTemplate((("Slivki" . (isset($context["regional_template_path"]) || array_key_exists("regional_template_path"$context) ? $context["regional_template_path"] : (function () { throw new RuntimeError('Variable "regional_template_path" does not exist.'40$this->source); })())) . "/city_selector.html.twig"), "header.html.twig"40)->display($context);
  405.         // line 41
  406.         echo "                    ";
  407.         
  408.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  409.         
  410.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  411.     }
  412.     // line 181
  413.     public function block_headerTopMenu($context, array $blocks = [])
  414.     {
  415.         $macros $this->macros;
  416.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  417.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""headerTopMenu"));
  418.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  419.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""headerTopMenu"));
  420.         // line 182
  421.         echo "                <div ";
  422.         echo (( !twig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'182$this->source); })()), "user", [], "any"falsefalsefalse182)) ? ("class=not-logged-in") : (""));
  423.         echo ">
  424.                     ";
  425.         // line 183
  426.         $this->loadTemplate((("Slivki/" . (isset($context["regional_template_path"]) || array_key_exists("regional_template_path"$context) ? $context["regional_template_path"] : (function () { throw new RuntimeError('Variable "regional_template_path" does not exist.'183$this->source); })())) . "/header_menu.html.twig"), "header.html.twig"183)->display(twig_array_merge($context, ["menuSelected" => twig_constant("Slivki\\Entity\\MainMenu::MENU_ID_MAIN")]));
  427.         // line 184
  428.         echo "                </div>
  429.             ";
  430.         
  431.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  432.         
  433.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  434.     }
  435.     // line 190
  436.     public function block_headerBottom($context, array $blocks = [])
  437.     {
  438.         $macros $this->macros;
  439.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  440.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""headerBottom"));
  441.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  442.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""headerBottom"));
  443.         
  444.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  445.         
  446.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  447.     }
  448.     public function getTemplateName()
  449.     {
  450.         return "header.html.twig";
  451.     }
  452.     public function isTraitable()
  453.     {
  454.         return false;
  455.     }
  456.     public function getDebugInfo()
  457.     {
  458.         return array (  474 => 190,  463 => 184,  461 => 183,  456 => 182,  446 => 181,  436 => 41,  433 => 40,  423 => 39,  413 => 37,  410 => 36,  400 => 35,  382 => 34,  364 => 3,  354 => 191,  352 => 190,  346 => 186,  344 => 181,  340 => 179,  329 => 170,  327 => 169,  323 => 167,  321 => 166,  315 => 162,  313 => 161,  309 => 159,  307 => 158,  295 => 148,  289 => 145,  286 => 144,  283 => 143,  275 => 138,  271 => 136,  268 => 135,  259 => 129,  256 => 128,  253 => 127,  245 => 122,  237 => 117,  229 => 112,  226 => 111,  224 => 110,  216 => 105,  208 => 100,  205 => 99,  196 => 93,  193 => 92,  191 => 91,  183 => 86,  175 => 81,  170 => 78,  164 => 70,  159 => 67,  149 => 54,  145 => 52,  143 => 51,  138 => 49,  132 => 48,  126 => 44,  124 => 43,  121 => 42,  119 => 39,  116 => 38,  113 => 35,  111 => 34,  106 => 32,  101 => 31,  98 => 30,  92 => 27,  88 => 25,  86 => 24,  80 => 20,  71 => 14,  65 => 10,  63 => 9,  54 => 3,  51 => 2,  49 => 1,);
  459.     }
  460.     public function getSourceContext()
  461.     {
  462.         return new Source("{% set siteSettings = getSiteSettings() %}
  463. <!--[ignore]-->
  464. <div class=\"header {% block headerClass %}{% endblock %}\">
  465.     <div id=\"scrolltop\">
  466.         <div class=\"scrolltop\" style=\"display: none;\">
  467.             <span class=\"link pseudo-link\">В начало</span>
  468.         </div>
  469.     </div>
  470.     {% if not (app.user and app.user.hasRole(constant('\\\\Slivki\\\\Entity\\\\UserGroup::ROLE_ADS_FREE'))) %}
  471.         <div id=\"head-banner\">
  472.             <div class=\"head-banner-section\">
  473.                 <div class=\"head-banner-section-center\">
  474.                     <div class=\"head-banner-container\">
  475.                         {{ getTopSiteBanner(brandingBannerCategoryIDs is defined ? brandingBannerCategoryIDs : [], false) }}
  476.                     </div>
  477.                 </div>
  478.             </div>
  479.         </div>
  480.     {% endif %}
  481.     <div class=\"header--top-wrapp\" style=\"min-height: 80px;\">
  482.         <div class=\"header--top\" data-spy=\"affix\" data-offset-top=\"90\">
  483.             <div class=\"header--top--head\">
  484.                 <div class=\"container\">
  485.                     {% if currentCategoryMonthlyVisits is defined %}
  486.                         <div style=\"position: absolute; top: 84px; right: 120px;\" data-toggle=\"tooltip\"
  487.                              data-placement=\"bottom\" title=\"Просмотров за месяц\">
  488.                             <i class=\"slivki-icon-eye\"></i>{{ currentCategoryMonthlyVisits }}
  489.                         </div>
  490.                     {% endif %}
  491.                     {% set currentCity = getCurrentCity() %}
  492.                     <input id=\"cityName\" type=\"hidden\" value=\"{{ currentCity.getID() in [constant('Slivki\\\\Entity\\\\City::DEFAULT_CITY_ID'), constant('Slivki\\\\Entity\\\\City::TASHKENT_CITY_ID')] ? '/' : getURL(constant('Slivki\\\\Repository\\\\SeoRepository::RESOURCE_URL_CITY'), currentCity.getID()) }}\"/>
  493.                     <a href=\"{{ currentCity.getID() in [constant('Slivki\\\\Entity\\\\City::DEFAULT_CITY_ID'), constant('Slivki\\\\Entity\\\\City::TASHKENT_CITY_ID')] ? '/' : getURL(constant('Slivki\\\\Repository\\\\SeoRepository::RESOURCE_URL_CITY'), currentCity.getID()) }}\"
  494.                        class=\"logo\"></a>
  495.                     {% block afterLogo %}{% endblock %}
  496.                     {% block headerSearch %}
  497.                         {% include 'header_search_block.html.twig' with {'searchIn': constant('Slivki\\\\Controller\\\\SearchController::SEARCH_OFFERS'), 'placeholder': 'Я ищу...'} %}
  498.                     {% endblock %}
  499.                     {% block headerCitySelector %}
  500.                         {% include \"Slivki#{regional_template_path}/city_selector.html.twig\" %}
  501.                     {% endblock %}
  502.                     {% if app.user %}
  503.                         {# user is logged in #}
  504.                         <div class=\"header_top_navigation_container d-flex align-items-center\">
  505.                             <div class=\"header--top-navigation\">
  506.                                 <ul>
  507.                                     <li class=\"profile-data\">
  508.                                         <a href=\"{{ base_url }}/profile\">{{ app.user.getPhone() ? '***' ~ app.user.getPhone()|phone[3:] : app.user.getFirstName() }}</a>
  509.                                         <input type=\"hidden\" id=\"userEmail\" value=\"{{ app.user.getEmail() }}\"/>
  510.                                         <a href=\"javascript:void(0)\" data-toggle=\"modal\" data-target=\"#modal_billing\">
  511.                                             {% set userBalanceCodesCount = getUserBalanceCodesCount(app.user, currentCity.getID()) %}
  512.                                             <span class=\"d-flex\">
  513.                                             <div class=\"d-none\">
  514.                                                 (<span id=\"balance\">{{ app.user.getFullBalance()|number_format(2, ',', '') }}</span> руб)
  515.                                             </div>
  516.                                         </span>
  517.                                         </a>
  518.                                     </li>
  519.                                     <li class=\"header-profile-menu\">
  520.                                         <a id=\"header-profile-menu-opener\" href=\"javascript:void(0)\">
  521.                                             {#
  522.                                             {% set profileNotification = app.user.getNotSeenOfferOrders()|length %}
  523.                                             {% if profileNotification > 0 %}
  524.                                                 <div class=\"profile-notification\">{{ profileNotification }}</div>
  525.                                             {% endif %}
  526.                                             #}
  527.                                         </a>
  528.                                         <ul>
  529.                                             <li class=\"item-discount\">
  530.                                                 <a href=\"{{ base_url }}/profile\"><img class=\"side-bar-menu-icons\"
  531.                                                                                       src=\"/images/promo-code.svg\"
  532.                                                                                       alt=\"Промокод\">Мои промокоды
  533.                                                     {#
  534.                                                     {% if profileNotification > 0 %}
  535.                                                         <div class=\"profile-notification \">{{ profileNotification }}</div>
  536.                                                     {% endif %}
  537.                                                     #}
  538.                                                 </a>
  539.                                             </li>
  540.                                             <li class=\"item-profile\">
  541.                                                 <a href=\"{{ base_url }}/profile\"><img class=\"side-bar-menu-icons\"
  542.                                                                                       src=\"/images/profile-user.svg\"
  543.                                                                                       alt=\"Профиль\">Личный кабинет</a>
  544.                                             </li>
  545.                                             <li>
  546.                                                 <a href=\"{{ base_url }}/WatchList\"><img class=\"side-bar-menu-icons\"
  547.                                                                                         src=\"/images/eye-new.svg\"
  548.                                                                                         alt=\"Просмотренные\">Просмотренные
  549.                                                     акции</a>
  550.                                             </li>
  551.                                             {% if isServerFeatureEnabled(constant('Slivki\\\\Enum\\\\SwitcherFeatures::REPLENISHMENT_BALANCE')) %}
  552.                                                 <li class=\"balance-replenishment\">
  553.                                                     <a href=\"{{ base_url }}/oplata\"><img class=\"side-bar-menu-icons\"
  554.                                                                                          src=\"/images/credit-card.svg\"
  555.                                                                                          alt=\"Пополнить\">Пополнить
  556.                                                         счет+бонус</a>
  557.                                                 </li>
  558.                                             {% endif %}
  559.                                             <li>
  560.                                                 <a href=\"{{ base_url }}/profile#profile_favorites\"><img
  561.                                                             class=\"side-bar-menu-icons\"
  562.                                                             src=\"/images/heart-new-profile.svg\" alt=\"Избранное\">Избранное</a>
  563.                                             </li>
  564.                                             <li class=\"item-own-offer\">
  565.                                                 <a href=\"{{ base_url }}/moya_akciya\"
  566.                                                    onclick=\"ga('send', 'event', 'create-own-offer-button--top-menu', 'Click', '1');\"><img
  567.                                                             class=\"side-bar-menu-icons\" src=\"/images/add-offer-new.svg\"
  568.                                                             alt=\"Добавить\">Разместить акцию</a>
  569.                                             </li>
  570.                                             {% if is_granted('ROLE_ADMIN') or is_granted('ROLE_MANAGER_STATISTIC') or is_granted('ROLE_MANAGER') or is_granted('ROLE_OPERATOR') or is_granted('ROLE_PUBLICIST') %}
  571.                                                 <li>
  572.                                                     <a href=\"{{ base_url }}/admin\"><img class=\"side-bar-menu-icons\"
  573.                                                                                         alt=\"Администрирование\"
  574.                                                                                         src=\"/images/admin-desk.svg\">Администрирование</a>
  575.                                                 </li>
  576.                                                 <li>
  577.                                                     <a href=\"{{ base_url }}/admin/past_offers\"><img
  578.                                                                 class=\"side-bar-menu-icons\" alt=\"Прошедшее\"
  579.                                                                 src=\"/images/past-desk.svg\">Прошедшие акции</a>
  580.                                                 </li>
  581.                                                 <li>
  582.                                                     <a href=\"{{ base_url }}/admin/past_sales\"><img
  583.                                                                 class=\"side-bar-menu-icons\" alt=\"Прошедшее\"
  584.                                                                 src=\"/images/past-desk.svg\">Прошедшие НС</a>
  585.                                                 </li>
  586.                                             {% endif %}
  587.                                             {% if is_granted('ROLE_SUPPLIER') %}
  588.                                                 <li>
  589.                                                     <a href=\"{{ base_url }}/partner\"><img class=\"side-bar-menu-icons\"
  590.                                                                                           src=\"/images/partner-new.svg\"
  591.                                                                                           alt=\"Кабинет партнера\">Кабинет
  592.                                                         партнера</a>
  593.                                                 </li>
  594.                                             {% endif %}
  595.                                             {% if is_granted('IS_IMPERSONATOR') %}
  596.                                                 <li class=\"item-logout\">
  597.                                                     <a style=\"color: red;\"
  598.                                                        href=\"{{ impersonation_exit_path(path('homepage')) }}\"><img
  599.                                                                 class=\"side-bar-menu-icons\" src=\"/images/back-arrow.svg\"
  600.                                                                 alt=\"Вернуться\">Вернутся в свой акк</a>
  601.                                                 </li>
  602.                                             {% endif %}
  603.                                             {% if not isServerFeatureEnabled(constant('Slivki\\\\Enum\\\\SwitcherFeatures::PAYMENT_PAYME')) %}
  604.                                                 <li class=\"item-profile\">
  605.                                                     <a href=\"{{ base_url }}/profile/subscription/manage?utm_source=main_menu\"><span style=\"font-size: 26px\">⚡</span>️Подписка</a>
  606.                                                 </li>
  607.                                             {% endif %}
  608.                                             <li class=\"item-logout\">
  609.                                                 <a href=\"javascript:void(0)\" data-toggle=\"modal\"
  610.                                                    data-target=\"#logoutConfirmPopup\"><img class=\"side-bar-menu-icons\"
  611.                                                                                           src=\"/images/log-out.svg\"
  612.                                                                                           alt=\"Выйти\">Выйти</a>
  613.                                             </li>
  614.                                         </ul>
  615.                                     </li>
  616.                                 </ul>
  617.                             </div>
  618.                             {% include \"Slivki/#{regional_template_path}/translate_block.html.twig\" %}
  619.                         </div>
  620.                     {% else %}
  621.                         {# user is not logged in #}
  622.                         <div class=\"header--top-navigation\">
  623.                             <ul>
  624.                                 <li class=\"phones mr-2\">
  625.                                     <a href=\"#\">&nbsp;</a>
  626.                                     {% include \"Slivki/#{regional_template_path}/phones_header_dropdown.html.twig\" %}
  627.                                 </li>
  628.                                 <li class=\"mr-3\">
  629.                                     {% include \"Slivki/#{regional_template_path}/translate_block.html.twig\" %}
  630.                                 </li>
  631.                                 <li class=\"enter focus-tel login-button\" data-toggle=\"tooltip\"
  632.                                     data-placement=\"bottom\" title=\"Вход или регистрация\">
  633.                                     <a href=\"#\" data-toggle=\"modal\" data-target=\".modal-auth\">Войти</a>
  634.                                 </li>
  635.                             </ul>
  636.                             <div class=\"profile-email\"></div>
  637.                         </div>
  638.                     {% endif %}
  639.                 </div>
  640.             </div>
  641.             {% block headerTopMenu %}
  642.                 <div {{ not app.user ? 'class=not-logged-in' }}>
  643.                     {% include \"Slivki/#{regional_template_path}/header_menu.html.twig\" with {'menuSelected': constant('Slivki\\\\Entity\\\\MainMenu::MENU_ID_MAIN')} %}
  644.                 </div>
  645.             {% endblock %}
  646.         </div>
  647.     </div>
  648. </div>
  649. {% block headerBottom %}{% endblock %}
  650. <!--[/ignore]-->""header.html.twig""/mnt/data/virtwww/slivki/templates/header.html.twig");
  651.     }
  652. }