var/cache/dev/twig/8b/8b3a05c28ca8410be2ee76e5e695738f.php line 38
<?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;
/* layout/base.html.twig */
class __TwigTemplate_9f8d83b93105b4a03c54dbb8f4dcb7d2 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
'title' => [$this, 'block_title'],
'stylesheets' => [$this, 'block_stylesheets'],
'body_class' => [$this, 'block_body_class'],
'body' => [$this, 'block_body'],
'javascripts' => [$this, 'block_javascripts'],
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "layout/base.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "layout/base.html.twig"));
// line 1
echo "<!DOCTYPE html>
<html lang=\"";
// line 2
echo twig_escape_filter($this->env, twig_lower_filter($this->env, twig_get_attribute($this->env, $this->source, 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.', 2, $this->source); })()), "request", [], "any", false, false, false, 2), "locale", [], "any", false, false, false, 2)), "html", null, true);
echo "\">
<head>
<meta charset=\"utf-8\">
<meta content=\"width=device-width, initial-scale=1, user-scalable=no\" name=\"viewport\">
<meta content=\"ie=edge\" http-equiv=\"x-ua-compatible\">
<title>";
// line 9
$this->displayBlock('title', $context, $blocks);
echo "</title>
<link rel=\"apple-touch-icon\" sizes=\"180x180\" href=\"";
// line 12
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("build/images/favicon/apple-touch-icon.png"), "html", null, true);
echo " \">
<link rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"";
// line 13
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("build/images/favicon/favicon-32x32.png"), "html", null, true);
echo " \">
<link rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"";
// line 14
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("build/images/favicon/favicon-16x16.png"), "html", null, true);
echo " \">
<meta name=\"theme-color\" content=\"#641349\">
";
// line 17
echo " ";
// line 18
echo " ";
// line 19
echo "
";
// line 23
$this->displayBlock('stylesheets', $context, $blocks);
// line 26
echo " <link rel=\"icon\" href=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("build/images/favicon/favicon.ico"), "html", null, true);
echo "\" type=\"image/x-icon\">
<link rel=\"alternate\" type=\"application/rss+xml\" title=\"";
// line 27
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("site.rss_name"), "html", null, true);
echo "\" href=\"";
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("news_rss");
echo "\"/>
</head>
<body class=\"";
// line 29
$this->displayBlock('body_class', $context, $blocks);
echo "\">
";
// line 30
if (($this->extensions['App\Service\Twig\Config']->site_field_text("mainpage", "olymp-popup") && ( !array_key_exists("hide_olympiad_invite", $context) || ((isset($context["hide_olympiad_invite"]) || array_key_exists("hide_olympiad_invite", $context) ? $context["hide_olympiad_invite"] : (function () { throw new RuntimeError('Variable "hide_olympiad_invite" does not exist.', 30, $this->source); })()) == false)))) {
// line 31
echo " ";
echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment(Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("App\\Controller\\Frontend\\OlympOnline\\OnlineController::widgetHeader"));
// line 33
echo "
";
}
// line 35
echo "
<header class=\"header\">
<div class=\"header__header-top navbar\">
<div class=\"header__header-top-inner container\">
<a class=\"logo\" href=\"";
// line 39
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("main_olymp");
echo "\">
<img src=\"";
// line 40
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl((("build/images/logo." . twig_get_attribute($this->env, $this->source, 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.', 40, $this->source); })()), "request", [], "any", false, false, false, 40), "locale", [], "any", false, false, false, 40)) . ".svg")), "html", null, true);
echo "\" class=\"logo-big\"
alt=\"";
// line 41
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("site.title"), "html", null, true);
echo "\">
<img src=\"";
// line 42
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("build/images/logo.svg"), "html", null, true);
echo "\" class=\"logo-small\"
alt=\"";
// line 43
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("site.title"), "html", null, true);
echo "\">
</a>
";
// line 45
if ((twig_get_attribute($this->env, $this->source, 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.', 45, $this->source); })()), "request", [], "any", false, false, false, 45), "locale", [], "any", false, false, false, 45) == "ru")) {
// line 46
echo " ";
// line 53
echo " ";
}
// line 54
echo " ";
if ((twig_get_attribute($this->env, $this->source, 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.', 54, $this->source); })()), "request", [], "any", false, false, false, 54), "locale", [], "any", false, false, false, 54) == "en")) {
// line 55
echo " ";
// line 65
echo " ";
}
// line 66
echo " <div class=\"header-item\">
";
// line 68
echo " ";
if ((twig_get_attribute($this->env, $this->source, 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.', 68, $this->source); })()), "request", [], "any", false, false, false, 68), "locale", [], "any", false, false, false, 68) == "ru")) {
// line 69
echo " <div class=\"social\">
<a href=\"https://t.me/rosfinolymp\" target=\"_blank\"><i class=\"fab fa-telegram-plane\"></i></a>
<a href=\"https://vk.com/rosfinolymp\" target=\"_blank\"><i class=\"fab fa-vk\"></i></a>
</div>
";
}
// line 74
echo " </div>
<div class=\"header-item\">
";
// line 78
if ((twig_get_attribute($this->env, $this->source, 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.', 78, $this->source); })()), "request", [], "any", false, false, false, 78), "locale", [], "any", false, false, false, 78) != "ru")) {
// line 79
echo " <a class=\"header__button header__choose_locale\"
href=\"";
// line 80
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath(((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["app"] ?? null), "request", [], "any", false, true, false, 80), "attributes", [], "any", false, true, false, 80), "get", ["_route"], "method", true, true, false, 80)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["app"] ?? null), "request", [], "any", false, true, false, 80), "attributes", [], "any", false, true, false, 80), "get", ["_route"], "method", false, false, false, 80), "main_olymp")) : ("main_olymp")), twig_array_merge(twig_array_merge(((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["app"] ?? null), "request", [], "any", false, true, false, 80), "attributes", [], "any", false, true, false, 80), "get", ["_route_params"], "method", true, true, false, 80)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["app"] ?? null), "request", [], "any", false, true, false, 80), "attributes", [], "any", false, true, false, 80), "get", ["_route_params"], "method", false, false, false, 80), [])) : ([])), twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, 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.', 80, $this->source); })()), "request", [], "any", false, false, false, 80), "query", [], "any", false, false, false, 80), "all", [], "any", false, false, false, 80)), ["_locale" => "ru"])), "html", null, true);
echo "\">Русская
версия</a>
";
}
// line 83
echo " ";
if ((twig_get_attribute($this->env, $this->source, 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.', 83, $this->source); })()), "request", [], "any", false, false, false, 83), "locale", [], "any", false, false, false, 83) != "en")) {
// line 84
echo " <a class=\"header__button header__choose_locale\"
href=\"";
// line 85
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath(((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["app"] ?? null), "request", [], "any", false, true, false, 85), "attributes", [], "any", false, true, false, 85), "get", ["_route"], "method", true, true, false, 85)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["app"] ?? null), "request", [], "any", false, true, false, 85), "attributes", [], "any", false, true, false, 85), "get", ["_route"], "method", false, false, false, 85), "main_olymp")) : ("main_olymp")), twig_array_merge(twig_array_merge(((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["app"] ?? null), "request", [], "any", false, true, false, 85), "attributes", [], "any", false, true, false, 85), "get", ["_route_params"], "method", true, true, false, 85)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["app"] ?? null), "request", [], "any", false, true, false, 85), "attributes", [], "any", false, true, false, 85), "get", ["_route_params"], "method", false, false, false, 85), [])) : ([])), twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, 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.', 85, $this->source); })()), "request", [], "any", false, false, false, 85), "query", [], "any", false, false, false, 85), "all", [], "any", false, false, false, 85)), ["_locale" => "en"])), "html", null, true);
echo "\">English
version</a>
";
}
// line 88
echo " </div>
<div class=\"header__profile\">
";
// line 92
if ($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("IS_AUTHENTICATED_REMEMBERED")) {
// line 93
echo " <a class=\"header__button header__profile-button\"
data-toggle=\"dropdown\">";
// line 94
echo twig_escape_filter($this->env, ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["app"] ?? null), "user", [], "any", false, true, false, 94), "fullname", [], "any", true, true, false, 94)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["app"] ?? null), "user", [], "any", false, true, false, 94), "fullname", [], "any", false, false, false, 94), $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("user.default_name"))) : ($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("user.default_name"))), "html", null, true);
echo "</a>
<div class=\"header__profile-menu-wrapper\">
<div class=\"header__profile-menu dropdown-menu\">
<a class=\"header__profile-menu-link\" href=\"";
// line 97
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("lk_main");
echo "\"><i
class=\"far fa-user\"></i>";
// line 98
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("site.header.profile"), "html", null, true);
echo "</a>
";
// line 99
if ($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("olymp_profile_link")) {
// line 100
echo " <a class=\"header__profile-menu-link\" href=\"";
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("lk_olymp");
echo "\"><i
class=\"fas fa-user-graduate\"></i>Управление
олимпиадами</a>
";
}
// line 104
echo " ";
if ($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_REVIEW_MODERATOR")) {
// line 105
echo " <a class=\"header__profile-menu-link\"
href=\"";
// line 106
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("review_moderator", ["olymp_id" => 60]);
echo "\"><i
class=\"fas fa-comment\"></i>Отзывы</a>
";
}
// line 109
echo " ";
if ($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("org_profile_link")) {
// line 110
echo " <a class=\"header__profile-menu-link\" href=\"";
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("lk_org");
echo "\"><i
class=\"far fa-cog\"></i>Управление
организацией</a>
";
}
// line 114
echo " ";
if ($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_ADMIN")) {
// line 115
echo " <a class=\"header__profile-menu-link\"
href=\"";
// line 116
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("admin_default_main", ["_locale" => "ru"]);
echo "\"><i
class=\"fas fa-tools\"></i>Админ. панель</a>
";
}
// line 119
echo " ";
if ($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_PARTICIPANT_VIEW")) {
// line 120
echo " <a class=\"header__profile-menu-link\"
href=\"";
// line 121
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("online_p_search", ["_locale" => "ru"]);
echo "\"><i
class=\"fas fa-search\"></i>Поиск участников</a>
";
}
// line 124
echo " ";
if ($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_STAT")) {
// line 125
echo " <a class=\"header__profile-menu-link\"
href=\"";
// line 126
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("olympiad_stat", ["id" => 60, "_locale" => "ru"]), "html", null, true);
echo "\"><i
class=\"fas fa-chart-line\"></i>Статистика</a>
";
}
// line 129
echo "
<a class=\"header__profile-menu-link\" href=\"";
// line 130
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_logout");
echo "\"><i
class=\"far fa-sign-out\"></i>";
// line 131
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("site.header.logout"), "html", null, true);
echo "</a></div>
</div>
";
} else {
// line 135
echo " <a class=\"header__button header__account\" href=\"";
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("login");
echo "\"><i
class=\"far fa-user\"></i>";
// line 136
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("site.login"), "html", null, true);
echo "</a>
";
}
// line 138
echo " </div>
<a class=\"header__button header__mobile-menu\" data-toggle=\"collapse\" data-target=\".mobile-menu\"><i
class=\"far fa-bars\"></i></a>
</div>
<div class=\"mobile-menu navbar-nav collapse\">
<div class=\"mobile-menu__account\">
";
// line 144
if ($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("IS_AUTHENTICATED_REMEMBERED")) {
// line 145
echo " <div class=\"mobile-menu__profile\">
";
// line 147
echo " <div class=\"mobile-menu__profile-name\">";
echo twig_escape_filter($this->env, ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["app"] ?? null), "user", [], "any", false, true, false, 147), "fullname", [], "any", true, true, false, 147)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["app"] ?? null), "user", [], "any", false, true, false, 147), "fullname", [], "any", false, false, false, 147), $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("user.default_name"))) : ($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("user.default_name"))), "html", null, true);
echo "</div>
<a class=\"mobile-menu__profile-action fal fa-sign-out\" href=\"";
// line 148
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_logout");
echo "\"></a>
</div>
<div class=\"mobile-menu__organization\">
<a class=\"\" href=\"";
// line 151
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("lk_main");
echo "\"><i
class=\"far fa-user\"></i> ";
// line 152
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("site.header.profile"), "html", null, true);
echo "</a>
</div>
";
// line 154
if ($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("org_profile_link")) {
// line 155
echo " <div class=\"mobile-menu__organization\"><a href=\"";
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("lk_org");
echo "\">Управление
организацией</a>
";
// line 160
echo " </div>
";
}
// line 162
echo " ";
if ($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_REVIEW_MODERATOR")) {
// line 163
echo " <div class=\"mobile-menu__organization\"><a
href=\"";
// line 164
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("review_moderator", ["olymp_id" => 60]);
echo "\">Отзывы</a>
</div>
";
}
// line 167
echo " ";
if ($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_ADMIN")) {
// line 168
echo " <div class=\"mobile-menu__organization\"><a
href=\"";
// line 169
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("admin_default_main", ["_locale" => "ru"]);
echo "\">Админ.
панель</a>
</div>
";
}
// line 173
echo " ";
if ($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_PARTICIPANT_VIEW")) {
// line 174
echo " <div class=\"mobile-menu__organization\"><a class=\"\"
href=\"";
// line 175
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("online_p_search", ["_locale" => "ru"]);
echo "\">Поиск
участников</a></div>
";
}
// line 178
echo " ";
} else {
// line 179
echo " <div class=\"mobile-menu__account-actions\">
<a class=\"mobile-menu__account-login\" href=\"";
// line 180
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("login");
echo "\">
<i class=\"far fa-user\"></i>";
// line 181
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("site.login"), "html", null, true);
echo "</a>
";
// line 184
echo " </div>
";
}
// line 187
echo " </div>
";
// line 194
echo " </div>
</div>
";
// line 232
echo " ";
// line 243
echo "</header>
";
// line 245
$this->displayBlock('body', $context, $blocks);
// line 246
echo "<footer class=\"footer\">
<div class=\"footer__footer-top\">
<div class=\"footer-2 container\">
<a class=\"logo\" href=\"";
// line 249
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("main_olymp");
echo "\">
<img src=\"";
// line 250
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("build/images/logo.svg"), "html", null, true);
echo "\" alt=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("site.title"), "html", null, true);
echo "\">
</a>
<div class=\"contacts\">
";
// line 253
echo $this->extensions['App\Service\Twig\Config']->site_field_text("footer", ("contacts-" . twig_get_attribute($this->env, $this->source, 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.', 253, $this->source); })()), "request", [], "any", false, false, false, 253), "locale", [], "any", false, false, false, 253)));
echo "
</div>
<div class=\"documents\">
";
// line 256
echo $this->extensions['App\Service\Twig\Config']->site_field_text("footer", ("doc-" . twig_get_attribute($this->env, $this->source, 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.', 256, $this->source); })()), "request", [], "any", false, false, false, 256), "locale", [], "any", false, false, false, 256)));
echo "
</div>
<div class=\"footer__copyright\">© ";
// line 258
if ((twig_date_format_filter($this->env, "now", "Y") != 2020)) {
echo "2020 - ";
}
echo twig_escape_filter($this->env, twig_date_format_filter($this->env, "now", "Y"), "html", null, true);
echo "
";
// line 259
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("site.copyright"), "html", null, true);
echo " «";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("site.title"), "html", null, true);
echo "»
</div>
</div>
";
// line 279
echo "
</div>
";
// line 290
echo "</footer>
";
// line 291
if (($this->extensions['App\Service\Twig\Config']->site_field_text("mainpage", "olymp-popup") && ( !array_key_exists("hide_olympiad_invite", $context) || ((isset($context["hide_olympiad_invite"]) || array_key_exists("hide_olympiad_invite", $context) ? $context["hide_olympiad_invite"] : (function () { throw new RuntimeError('Variable "hide_olympiad_invite" does not exist.', 291, $this->source); })()) == false)))) {
// line 292
echo " ";
echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment(Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("App\\Controller\\Frontend\\OlympOnline\\OnlineController::widgetPopup"));
// line 294
echo "
";
}
// line 297
$this->displayBlock('javascripts', $context, $blocks);
// line 300
if ((isset($context["GOOGLE_ANALYTICS"]) || array_key_exists("GOOGLE_ANALYTICS", $context) ? $context["GOOGLE_ANALYTICS"] : (function () { throw new RuntimeError('Variable "GOOGLE_ANALYTICS" does not exist.', 300, $this->source); })())) {
// line 301
echo " <!-- Global site tag (gtag.js) - Google Analytics -->
<script async src=\"https://www.googletagmanager.com/gtag/js?id=";
// line 302
echo twig_escape_filter($this->env, (isset($context["GOOGLE_ANALYTICS"]) || array_key_exists("GOOGLE_ANALYTICS", $context) ? $context["GOOGLE_ANALYTICS"] : (function () { throw new RuntimeError('Variable "GOOGLE_ANALYTICS" does not exist.', 302, $this->source); })()), "html", null, true);
echo "\"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() {
dataLayer.push(arguments);
}
gtag('js', new Date());
gtag('config', '";
// line 312
echo twig_escape_filter($this->env, (isset($context["GOOGLE_ANALYTICS"]) || array_key_exists("GOOGLE_ANALYTICS", $context) ? $context["GOOGLE_ANALYTICS"] : (function () { throw new RuntimeError('Variable "GOOGLE_ANALYTICS" does not exist.', 312, $this->source); })()), "html", null, true);
echo "');
</script>
";
}
// line 315
echo "
";
// line 316
if ((isset($context["YANDEX_METRIKA"]) || array_key_exists("YANDEX_METRIKA", $context) ? $context["YANDEX_METRIKA"] : (function () { throw new RuntimeError('Variable "YANDEX_METRIKA" does not exist.', 316, $this->source); })())) {
// line 317
echo " <!-- Yandex.Metrika counter -->
<script type=\"text/javascript\">
(function (m, e, t, r, i, k, a) {
m[i] = m[i] || function () {
(m[i].a = m[i].a || []).push(arguments)
};
m[i].l = 1 * new Date();
k = e.createElement(t), a = e.getElementsByTagName(t)[0], k.async = 1, k.src = r, a.parentNode.insertBefore(k, a)
})
(window, document, \"script\", \"https://mc.yandex.ru/metrika/tag.js\", \"ym\");
ym(";
// line 328
echo twig_escape_filter($this->env, (isset($context["YANDEX_METRIKA"]) || array_key_exists("YANDEX_METRIKA", $context) ? $context["YANDEX_METRIKA"] : (function () { throw new RuntimeError('Variable "YANDEX_METRIKA" does not exist.', 328, $this->source); })()), "html", null, true);
echo ", \"init\", {
clickmap: true,
trackLinks: true,
accurateTrackBounce: true
});
</script>
<noscript>
<div><img src=\"https://mc.yandex.ru/watch/";
// line 335
echo twig_escape_filter($this->env, (isset($context["YANDEX_METRIKA"]) || array_key_exists("YANDEX_METRIKA", $context) ? $context["YANDEX_METRIKA"] : (function () { throw new RuntimeError('Variable "YANDEX_METRIKA" does not exist.', 335, $this->source); })()), "html", null, true);
echo "\" style=\"position:absolute; left:-9999px;\"
alt=\"\"/></div>
</noscript>
<!-- /Yandex.Metrika counter -->
";
}
// line 340
echo "</body>
</html>
";
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 9
public function block_title($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
echo twig_escape_filter($this->env, $this->extensions['App\Service\Twig\TextHelpers']->title(), "html", null, true);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 23
public function block_stylesheets($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheets"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheets"));
// line 24
echo " ";
echo $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackLinkTags("app");
echo "
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 29
public function block_body_class($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body_class"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body_class"));
echo "";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 245
public function block_body($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 297
public function block_javascripts($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
// line 298
echo " ";
echo $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackScriptTags("app");
echo "
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
public function getTemplateName()
{
return "layout/base.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 657 => 298, 647 => 297, 629 => 245, 610 => 29, 597 => 24, 587 => 23, 568 => 9, 556 => 340, 548 => 335, 538 => 328, 525 => 317, 523 => 316, 520 => 315, 514 => 312, 501 => 302, 498 => 301, 496 => 300, 494 => 297, 490 => 294, 487 => 292, 485 => 291, 482 => 290, 478 => 279, 470 => 259, 463 => 258, 458 => 256, 452 => 253, 444 => 250, 440 => 249, 435 => 246, 433 => 245, 429 => 243, 427 => 232, 423 => 194, 420 => 187, 415 => 184, 411 => 181, 407 => 180, 404 => 179, 401 => 178, 395 => 175, 392 => 174, 389 => 173, 382 => 169, 379 => 168, 376 => 167, 370 => 164, 367 => 163, 364 => 162, 360 => 160, 354 => 155, 352 => 154, 347 => 152, 343 => 151, 337 => 148, 332 => 147, 329 => 145, 327 => 144, 319 => 138, 314 => 136, 309 => 135, 302 => 131, 298 => 130, 295 => 129, 289 => 126, 286 => 125, 283 => 124, 277 => 121, 274 => 120, 271 => 119, 265 => 116, 262 => 115, 259 => 114, 251 => 110, 248 => 109, 242 => 106, 239 => 105, 236 => 104, 228 => 100, 226 => 99, 222 => 98, 218 => 97, 212 => 94, 209 => 93, 207 => 92, 201 => 88, 195 => 85, 192 => 84, 189 => 83, 183 => 80, 180 => 79, 178 => 78, 172 => 74, 165 => 69, 162 => 68, 159 => 66, 156 => 65, 154 => 55, 151 => 54, 148 => 53, 146 => 46, 144 => 45, 139 => 43, 135 => 42, 131 => 41, 127 => 40, 123 => 39, 117 => 35, 113 => 33, 110 => 31, 108 => 30, 104 => 29, 97 => 27, 92 => 26, 90 => 23, 84 => 19, 82 => 18, 80 => 17, 75 => 14, 71 => 13, 67 => 12, 61 => 9, 51 => 2, 48 => 1,);
}
public function getSourceContext()
{
return new Source("<!DOCTYPE html>
<html lang=\"{{ app.request.locale|lower }}\">
<head>
<meta charset=\"utf-8\">
<meta content=\"width=device-width, initial-scale=1, user-scalable=no\" name=\"viewport\">
<meta content=\"ie=edge\" http-equiv=\"x-ua-compatible\">
<title>{% block title %}{{ title() }}{% endblock %}</title>
<link rel=\"apple-touch-icon\" sizes=\"180x180\" href=\"{{ asset('build/images/favicon/apple-touch-icon.png') }} \">
<link rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"{{ asset('build/images/favicon/favicon-32x32.png') }} \">
<link rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"{{ asset('build/images/favicon/favicon-16x16.png') }} \">
<meta name=\"theme-color\" content=\"#641349\">
{# <link rel=\"manifest\" href=\"/site.webmanifest\"> #}
{# <link rel=\"mask-icon\" href=\"/safari-pinned-tab.svg\" color=\"#5bbad5\"> #}
{# <meta name=\"msapplication-TileColor\" content=\"#da532c\"> #}
{% block stylesheets %}
{{ encore_entry_link_tags('app') }}
{% endblock %}
<link rel=\"icon\" href=\"{{ asset('build/images/favicon/favicon.ico') }}\" type=\"image/x-icon\">
<link rel=\"alternate\" type=\"application/rss+xml\" title=\"{{ \"site.rss_name\"|trans }}\" href=\"{{ url('news_rss') }}\"/>
</head>
<body class=\"{% block body_class \"\" %}\">
{% if config_value('mainpage','olymp-popup') and (hide_olympiad_invite is not defined or hide_olympiad_invite == false) %}
{{ render(controller(
'App\\\\Controller\\\\Frontend\\\\OlympOnline\\\\OnlineController::widgetHeader'
)) }}
{% endif %}
<header class=\"header\">
<div class=\"header__header-top navbar\">
<div class=\"header__header-top-inner container\">
<a class=\"logo\" href=\"{{ path('main_olymp') }}\">
<img src=\"{{ asset('build/images/logo.'~app.request.locale~'.svg') }}\" class=\"logo-big\"
alt=\"{{ \"site.title\"|trans }}\">
<img src=\"{{ asset('build/images/logo.svg') }}\" class=\"logo-small\"
alt=\"{{ \"site.title\"|trans }}\">
</a>
{% if app.request.locale=='ru' %}
{# <div class=\"header-item banner\">
<a class=\"button-d reg-banner mr-3\" href=\"https://sodrujestvo.org/ru\">Пригласительный этап</a>
<a class=\"button-d reg-banner\" href=\"https://sodrujestvo.org/ru/olympiad-qualifying\"><strong>Отборочный
этап</strong></a>
</div> #}
{% endif %}
{% if app.request.locale=='en' %}
{# <div class=\"header-item banner\">
<a class=\"button-d reg-banner mr-3\" href=\"https://sodrujestvo.org/en\">
Invitation stage
</a>
<a class=\"button-d reg-banner \" href=\"https://sodrujestvo.org/en/olympiad-qualifying\">
<strong>Eliminatory stage</strong>
</a>
</div> #}
{% endif %}
<div class=\"header-item\">
{# <div class=\"banner\"> <a href=\"https://sodrujestvo.org\" class=\"sodrujestvo\"><img src=\"{{ asset('build/images/header/sodrujestvo.png') }}\"></a></div> #}
{% if app.request.locale=='ru' %}
<div class=\"social\">
<a href=\"https://t.me/rosfinolymp\" target=\"_blank\"><i class=\"fab fa-telegram-plane\"></i></a>
<a href=\"https://vk.com/rosfinolymp\" target=\"_blank\"><i class=\"fab fa-vk\"></i></a>
</div>
{% endif %}
</div>
<div class=\"header-item\">
{% if app.request.locale!='ru' %}
<a class=\"header__button header__choose_locale\"
href=\"{{ path(app.request.attributes.get('_route')|default('main_olymp'),app.request.attributes.get('_route_params')|default({})|merge(app.request.query.all)|merge({'_locale':'ru'})) }}\">Русская
версия</a>
{% endif %}
{% if app.request.locale!='en' %}
<a class=\"header__button header__choose_locale\"
href=\"{{ path(app.request.attributes.get('_route')|default('main_olymp'),app.request.attributes.get('_route_params')|default({})|merge(app.request.query.all)|merge({'_locale':'en'})) }}\">English
version</a>
{% endif %}
</div>
<div class=\"header__profile\">
{% if is_granted(\"IS_AUTHENTICATED_REMEMBERED\") %}
<a class=\"header__button header__profile-button\"
data-toggle=\"dropdown\">{{ app.user.fullname|default((\"user.default_name\"|trans)) }}</a>
<div class=\"header__profile-menu-wrapper\">
<div class=\"header__profile-menu dropdown-menu\">
<a class=\"header__profile-menu-link\" href=\"{{ path('lk_main') }}\"><i
class=\"far fa-user\"></i>{{ \"site.header.profile\"|trans }}</a>
{% if is_granted('olymp_profile_link') %}
<a class=\"header__profile-menu-link\" href=\"{{ path('lk_olymp') }}\"><i
class=\"fas fa-user-graduate\"></i>Управление
олимпиадами</a>
{% endif %}
{% if is_granted('ROLE_REVIEW_MODERATOR') %}
<a class=\"header__profile-menu-link\"
href=\"{{ path('review_moderator', {olymp_id:60}) }}\"><i
class=\"fas fa-comment\"></i>Отзывы</a>
{% endif %}
{% if is_granted('org_profile_link') %}
<a class=\"header__profile-menu-link\" href=\"{{ path('lk_org') }}\"><i
class=\"far fa-cog\"></i>Управление
организацией</a>
{% endif %}
{% if is_granted('ROLE_ADMIN') %}
<a class=\"header__profile-menu-link\"
href=\"{{ path('admin_default_main',{'_locale':'ru'}) }}\"><i
class=\"fas fa-tools\"></i>Админ. панель</a>
{% endif %}
{% if is_granted('ROLE_PARTICIPANT_VIEW') %}
<a class=\"header__profile-menu-link\"
href=\"{{ path('online_p_search',{'_locale':'ru'}) }}\"><i
class=\"fas fa-search\"></i>Поиск участников</a>
{% endif %}
{% if is_granted('ROLE_STAT') %}
<a class=\"header__profile-menu-link\"
href=\"{{ path('olympiad_stat',{id:60,'_locale':'ru'}) }}\"><i
class=\"fas fa-chart-line\"></i>Статистика</a>
{% endif %}
<a class=\"header__profile-menu-link\" href=\"{{ path('app_logout') }}\"><i
class=\"far fa-sign-out\"></i>{{ \"site.header.logout\"|trans }}</a></div>
</div>
{% else %}
<a class=\"header__button header__account\" href=\"{{ path('login') }}\"><i
class=\"far fa-user\"></i>{{ 'site.login'|trans }}</a>
{% endif %}
</div>
<a class=\"header__button header__mobile-menu\" data-toggle=\"collapse\" data-target=\".mobile-menu\"><i
class=\"far fa-bars\"></i></a>
</div>
<div class=\"mobile-menu navbar-nav collapse\">
<div class=\"mobile-menu__account\">
{% if is_granted(\"IS_AUTHENTICATED_REMEMBERED\") %}
<div class=\"mobile-menu__profile\">
{# <a class=\"mobile-menu__profile-action fal fa-cog\" href=\"{{ path('lk_main') }}\"></a> #}
<div class=\"mobile-menu__profile-name\">{{ app.user.fullname|default((\"user.default_name\"|trans)) }}</div>
<a class=\"mobile-menu__profile-action fal fa-sign-out\" href=\"{{ path('app_logout') }}\"></a>
</div>
<div class=\"mobile-menu__organization\">
<a class=\"\" href=\"{{ path('lk_main') }}\"><i
class=\"far fa-user\"></i> {{ \"site.header.profile\"|trans }}</a>
</div>
{% if is_granted('org_profile_link') %}
<div class=\"mobile-menu__organization\"><a href=\"{{ path('lk_org') }}\">Управление
организацией</a>
{# <div class=\"mobile-menu__organization-selection dropdown-menu\"><a class=\"mobile-menu__organization-link\" href=\"#\">Московский
авиационный институт</a><a class=\"mobile-menu__organization-link\" href=\"#\">Российский
университет дружбы народов</a></div> #}
</div>
{% endif %}
{% if is_granted('ROLE_REVIEW_MODERATOR') %}
<div class=\"mobile-menu__organization\"><a
href=\"{{ path('review_moderator', {olymp_id:60}) }}\">Отзывы</a>
</div>
{% endif %}
{% if is_granted('ROLE_ADMIN') %}
<div class=\"mobile-menu__organization\"><a
href=\"{{ path('admin_default_main',{'_locale':'ru'}) }}\">Админ.
панель</a>
</div>
{% endif %}
{% if is_granted('ROLE_PARTICIPANT_VIEW') %}
<div class=\"mobile-menu__organization\"><a class=\"\"
href=\"{{ path('online_p_search',{'_locale':'ru'}) }}\">Поиск
участников</a></div>
{% endif %}
{% else %}
<div class=\"mobile-menu__account-actions\">
<a class=\"mobile-menu__account-login\" href=\"{{ path('login') }}\">
<i class=\"far fa-user\"></i>{{ 'site.login'|trans }}</a>
{# <a class=\"mobile-menu__account-registration\"
href=\"{{ path('registration') }}\">{{ 'site.registration'|trans }}</a> #}
</div>
{% endif %}
</div>
{# <ul class=\"mobile-menu__nav\">
<li class=\"mobile-menu__link\"><a href=\"{{ path('olympiads') }}\">Олимпиады</a></li>
<li class=\"mobile-menu__link\"><a href=\"{{ path('vuz') }}\">Вузы</a></li>
<li class=\"mobile-menu__link\"><a href=\"{{ path('events') }}\">События</a></li>
<li class=\"mobile-menu__link\"><a href=\"{{ path('news') }}\">Новости</a></li>
</ul> #}
</div>
</div>
{# <div class=\"header__header-top navbar\">
<div class=\"header__header-top-inner container\"><a class=\"logo\" href=\"{{ path('main') }}\"><img
src=\"{{ asset('build/images/logo.png') }}\"
alt=\"Олимпиада\"></a>
{% if is_granted(\"IS_AUTHENTICATED_REMEMBERED\") %}
<a class=\"header__button header__account\" href=\"{{ path('lk_main') }}\">
<i class=\"far fa-user\"></i>
<span>Профиль</span>
</a>
<a class=\"header__button header__account\" href=\"{{ path('app_logout') }}\">
<i class=\"fas sign-out-alt\"></i>
<span>Выйти</span>
</a>
{% else %}
<a
class=\"header__button header__account\" href=\"{{ path('login') }}\"><i
class=\"far fa-user\"></i><span>Войти</span></a>
{% endif %}<a
class=\"header__button header__mobile-menu\" data-toggle=\"collapse\" data-target=\".mobile-menu\"><i
class=\"far fa-bars\"></i></a></div>
<div class=\"mobile-menu collapse\">
<ul class=\"mobile-menu__nav navbar-nav\">
<li class=\"mobile-menu__link\"><a data-toggle=\"dropdown\"><span>Профиль</span><i
class=\"far fa-chevron-down\"></i></a>
<div class=\"mobile-menu__profile dropdown-menu\"><a class=\"mobile-menu__profile-link\" href=\"#\">Настройки</a><a
class=\"mobile-menu__profile-link\" href=\"#\">Выйти</a></div>
</li>
<li class=\"mobile-menu__link\"><a href=\"{{ path('olympiads') }}\">Олимпиады</a></li>
<li class=\"mobile-menu__link\"><a href=\"{{ path('vuz') }}\">Вузы</a></li>
<li class=\"mobile-menu__link\"><a href=\"{{ path('events') }}\">События</a></li>
<li class=\"mobile-menu__link\"><a href=\"{{ path('news') }}\">Новости</a></li>
#}{# <li class=\"mobile-menu__link\"><a href=\"/\">Форум</a></li> #}{#
</ul>
</div>
</div> #}
{# <nav class=\"header__nav\">
<div class=\"header__nav-inner container\">
<ul class=\"header__menu\">
<li class=\"header__menu-link\"><a href=\"{{ path('olympiads') }}\">Олимпиады</a></li>
<li class=\"header__menu-link\"><a href=\"{{ path('vuz') }}\">Вузы</a></li>
<li class=\"header__menu-link\"><a href=\"{{ path('events') }}\">События</a></li>
<li class=\"header__menu-link\"><a href=\"{{ path('news') }}\">Новости</a></li>
</ul>
<a class=\"header__link\" href=\"{{ path('support_page') }}\">Поддержка</a></div>
</nav> #}
</header>
{% block body %}{% endblock %}
<footer class=\"footer\">
<div class=\"footer__footer-top\">
<div class=\"footer-2 container\">
<a class=\"logo\" href=\"{{ path('main_olymp') }}\">
<img src=\"{{ asset('build/images/logo.svg') }}\" alt=\"{{ \"site.title\"|trans }}\">
</a>
<div class=\"contacts\">
{{ config_value('footer','contacts-'~app.request.locale)|raw }}
</div>
<div class=\"documents\">
{{ config_value('footer','doc-'~app.request.locale)|raw }}
</div>
<div class=\"footer__copyright\">© {% if \"now\"|date('Y') != 2020 %}2020 - {% endif %}{{ \"now\"|date('Y') }}
{{ 'site.copyright'|trans }} «{{ \"site.title\"|trans }}»
</div>
</div>
{# <div class=\"footer__footer-top-inner container\"><a class=\"logo\" href=\"{{ path('main_olymp') }}\">
<img src=\"{{ asset('build/images/logo.svg') }}\" alt=\"{{ \"site.title\"|trans }}\">
</a>
<nav class=\"footer__nav\">
<ul class=\"footer__menu\">
#}{# <li class=\"footer__menu-link\"><a href=\"\">Олимпиады</a></li>
<li class=\"footer__menu-link\"><a href=\"\">Вузы</a></li>
<li class=\"footer__menu-link\"><a href=\"\">События</a></li>
<li class=\"footer__menu-link\"><a href=\"\">Новости</a></li>
#}{#
#}{# <li class=\"footer__menu-link\"><a href=\"{{ path('static-page',{
url:'association'
}) }}\">Ассоциация</a></li> #}{#
</ul>
</nav>
</div> #}
</div>
{# <div class=\"footer__footer-bottom\">
<div class=\"footer__footer-bottom-inner container\">
#}{# <a class=\"footer__visually-impaired\" href=\"/\"><i
class=\"far fa-eye\"></i><span>Версия для слабовидящих</span></a> #}{#
<div class=\"footer__copyright\">© {% if \"now\"|date('Y') != 2020 %}2020 - {% endif %}{{ \"now\"|date('Y') }}
{{ 'site.copyright'|trans }} «{{ \"site.title\"|trans }}»
</div>
</div>
</div> #}
</footer>
{% if config_value('mainpage','olymp-popup') and (hide_olympiad_invite is not defined or hide_olympiad_invite == false) %}
{{ render(controller(
'App\\\\Controller\\\\Frontend\\\\OlympOnline\\\\OnlineController::widgetPopup'
)) }}
{% endif %}
{# {{ encore_entry_script_tags('page/index') }} #}
{% block javascripts %}
{{ encore_entry_script_tags('app') }}
{% endblock %}
{% if GOOGLE_ANALYTICS %}
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src=\"https://www.googletagmanager.com/gtag/js?id={{ GOOGLE_ANALYTICS }}\"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() {
dataLayer.push(arguments);
}
gtag('js', new Date());
gtag('config', '{{ GOOGLE_ANALYTICS }}');
</script>
{% endif %}
{% if YANDEX_METRIKA %}
<!-- Yandex.Metrika counter -->
<script type=\"text/javascript\">
(function (m, e, t, r, i, k, a) {
m[i] = m[i] || function () {
(m[i].a = m[i].a || []).push(arguments)
};
m[i].l = 1 * new Date();
k = e.createElement(t), a = e.getElementsByTagName(t)[0], k.async = 1, k.src = r, a.parentNode.insertBefore(k, a)
})
(window, document, \"script\", \"https://mc.yandex.ru/metrika/tag.js\", \"ym\");
ym({{ YANDEX_METRIKA }}, \"init\", {
clickmap: true,
trackLinks: true,
accurateTrackBounce: true
});
</script>
<noscript>
<div><img src=\"https://mc.yandex.ru/watch/{{ YANDEX_METRIKA }}\" style=\"position:absolute; left:-9999px;\"
alt=\"\"/></div>
</noscript>
<!-- /Yandex.Metrika counter -->
{% endif %}
</body>
</html>
", "layout/base.html.twig", "/var/www/templates/layout/base.html.twig");
}
}