templates/base.html.twig line 1

Open in your IDE?
  1. <!DOCTYPE html>
  2. <html lang="{{ app.request.locale }}" itemscope itemtype="http://schema.org/WebPage">
  3.     <head>
  4.         <meta charset="UTF-8">
  5.         <meta http-equiv="X-UA-Compatible" content="IE=edge">
  6.         <meta name="viewport" content="width=device-width, initial-scale=1">
  7.         <title>{{ (page.title ? page.title : sett.get('sitename') ~ '. ' ~ page.name)|raw }}</title>
  8.         <meta name="description" content="{{ page.descr }}">
  9.         <meta name="keywords" content="{{ page.kw }}">
  10.         <link rel="shortcut icon" href="{{ asset('favicon/favicon.ico', 'pic') }}" type="image/x-icon">
  11.         <link rel="icon" href="{{ asset('favicon/favicon.ico', 'pic') }}" type="image/x-icon">
  12.         <link rel="apple-touch-icon" sizes="57x57" href="{{ asset('favicon/apple-touch-icon-57x57.png', 'pic') }}">
  13.         <link rel="apple-touch-icon" sizes="60x60" href="{{ asset('favicon/apple-touch-icon-60x60.png', 'pic') }}">
  14.         <link rel="apple-touch-icon" sizes="72x72" href="{{ asset('favicon/apple-touch-icon-72x72.png', 'pic') }}">
  15.         <link rel="apple-touch-icon" sizes="76x76" href="{{ asset('favicon/apple-touch-icon-76x76.png', 'pic') }}">
  16.         <link rel="apple-touch-icon" sizes="114x114" href="{{ asset('favicon/apple-touch-icon-114x114.png', 'pic') }}">
  17.         <link rel="apple-touch-icon" sizes="120x120" href="{{ asset('favicon/apple-touch-icon-120x120.png', 'pic') }}">
  18.         <link rel="apple-touch-icon" sizes="144x144" href="{{ asset('favicon/apple-touch-icon-144x144.png', 'pic') }}">
  19.         <link rel="apple-touch-icon" sizes="152x152" href="{{ asset('favicon/apple-touch-icon-152x152.png', 'pic') }}">
  20.         <link rel="apple-touch-icon" sizes="180x180" href="{{ asset('favicon/apple-touch-icon-180x180.png', 'pic') }}">
  21.         <link rel="icon" type="image/png" sizes="192x192" href="{{ asset('favicon/android-chrome-192x192.png', 'pic') }}">
  22.         <link rel="icon" type="image/png" sizes="32x32" href="{{ asset('favicon/favicon-32x32.png', 'pic') }}">
  23.         <link rel="icon" type="image/png" sizes="16x16" href="{{ asset('favicon/favicon-16x16.png', 'pic') }}">
  24.         <meta name="msapplication-TileColor" content="#ffffff">
  25.         <meta name="msapplication-TileImage" content="{{ asset('favicon/mstile-144x144.png', 'pic') }}">
  26.         <meta name="theme-color" content="#ffffff">
  27.         {% set langsarray = langs|split('|') %}
  28.         {% for lang in langsarray %}            
  29.             <link rel="alternate" hreflang="{{ hreflang(lang) }}" href="{{ locale_path(app.request.attributes.get('_route'), lang, app.request.attributes.all._route_params|merge(app.request.query.all), true) }}" />            
  30.         {% endfor %}
  31.         
  32.         {% if canonical %}
  33.             <link rel="canonical" href="{{ canonical }}"/>
  34.         {% else %}
  35.             <link rel="canonical" href="{{ absolute_url(path(app.request.attributes.get('_route'), app.request.attributes.all._route_params)) }}"/>
  36.         {% endif %}
  37.         
  38.         {{ sett.get('meta')|raw }}
  39.         {# {% if(canonical) %}
  40.             <link rel="canonical" href="{{ canonical }}"/>
  41.         {% endif %} #}
  42.         
  43.         {% if noindex %}
  44.             <meta name="robots" content="noindex, nofollow"/>
  45.         {% endif %}
  46.         {# {% if env.is_opt or noindex or default_lang != app.request.locale %}
  47.             <meta name='robots' content='noindex, nofollow'/>
  48.         {% elseif (env.site==env.mix or env.site==env.mixopt) and app.request.locale!='pl' %}
  49.             <meta name='robots' content='noindex, nofollow'/>
  50.         {% endif %} #}
  51.         <meta name="mailru-verification" content="37d58a46a72cab32"/>
  52.         {% if env.site == env.dom %}
  53.             <meta name="yandex-verification" content="32ebb5a363838de4"/>
  54.         {% endif %}
  55.         {% block stylesheets %}
  56.             {{ encore_entry_link_tags('app') }}
  57.         {% endblock %}
  58.         {{ include('block/gtm.html.twig') }}
  59.         <script charset="UTF-8" src="{{ env.code_sendpulse }}" async></script>
  60.         <meta name="google-site-verification" content="VvrJOpBdLaX1XdH6LItB6exU1FB2N-uOnCaZSbAiKi4" />
  61.     </head>
  62.     <body class="page{{ args[0]=='cart' ? '-cart' : '' }}">
  63.         <div id="fb-root"></div>
  64.         <script async defer crossorigin="anonymous" src="https://connect.facebook.net/ru_RU/sdk.js#xfbml=1&version=v5.0"></script>
  65.         {% if args[0] == 'register' %}
  66.             <div id="register_error_0">
  67.                 <div class="added-message">{{ labels.get('ps-error')|raw }}</div>
  68.             </div>
  69.         {% endif %}
  70.         <div id="prod_added">
  71.             <div class="added-message">{{ labels.get('added-message-1')|raw }}</div>
  72.         </div>
  73.         <div id="prod_removed">
  74.             <div class="added-message">{{ labels.get('added-message-2')|raw }}</div>
  75.         </div>
  76.         <div id="prod_added2">
  77.             <div class="added-message">{{ labels.get('added-message-3')|raw }}</div>
  78.         </div>
  79.         <span id="ScMail" style="display: none;">{{ app.session.get('useremail') }}</span>
  80.         {{ render_esi(url('block_timer'), { 'ignore_errors': true }) }}
  81.         {% if blocks.get('user_message')|striptags|trim != "" and (app.request.cookies.get('message-top') == NULL or app.request.cookies.get('message-top') != '0') %}
  82.             <div class="message-top">
  83.                 <div class="container">
  84.                     <div class="row">
  85.                         <div class="col-md-12 pr">
  86.                             <div class="message-top-close">
  87.                                 <a href="#">
  88.                                     <i class="fa fa-close"></i>
  89.                                 </a>
  90.                             </div>
  91.                             {{ blocks.get('user_message')|raw }}
  92.                         </div>
  93.                     </div>
  94.                 </div>
  95.             </div>
  96.         {% endif %}
  97.         <div class="hidden-xs widemenu">
  98.             <div class="container">
  99.                 <div class="wm-menu">
  100.                     <ul class="widemenulist">
  101.                         <li class="wm-group-1">
  102.                             <a href="{{ path('static_page', {'page_intname': 'delivery'}) }}" {% if args[0] == 'delivery' %} class="active" {% endif %}>{{ labels.get('main-static-menu-1')|raw }}</a>
  103.                         </li>
  104.                         {% if env.site != env.mix and env.site != env.mixopt %}
  105.                         <li class="wm-group-1">
  106.                             <a href="{{ path('static_page', {'page_intname': 'optovim-pokupatelyam'}) }}" {% if args[0] == 'optovim-pokupatelyam' %} class="active" {% endif %}>{{ labels.get('main-static-menu-2')|raw }}</a>
  107.                         </li>
  108.                         <li class="wm-group-1">
  109.                             <a href="{{ path('static_page', {'page_intname': 'skidki'}) }}" {% if args[0] == 'skidki' %} class="active" {% endif %}>{{ labels.get('main-static-menu-3')|raw }}</a>
  110.                         </li>
  111.                         {% elseif env.site == env.mix %}
  112.                         <li class="wm-group-1">
  113.                             <a href="{{ path('static_page', {'page_intname': 'promocje'}) }}" {% if args[0] == 'promocje' %} class="active" {% endif %}>{{ labels.get('promocje')|raw }}</a>
  114.                         </li>
  115.                         {% endif %}
  116.                         <li class="wm-group-2">
  117.                             <a href="{{ path('static_page', {'page_intname': 'contact'}) }}" {% if args[0] == 'contact' %} class="active" {% endif %}>{{ labels.get('main-static-menu-4')|raw }}</a>
  118.                         </li>
  119.                         <li class="wm-group-2">
  120.                             <a href="{{ path('comments') }}" {% if args[0] == 'comments' %} class="active" {% endif %}>{{ labels.get('main-static-menu-5')|raw }}</a>
  121.                         </li>
  122.                         <li class="wm-group-0">
  123.                             <ul class="nav wm-nav">
  124.                                 <li class="dropdown">
  125.                                     <a href="#" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">{{ labels.get('main-static-menu-6')|raw }}
  126.                                         <span class="caret"></span>
  127.                                     </a>
  128.                                     <ul class="dropdown-menu dropdown-menu-left">
  129.                                         <li class="wm-group-11">
  130.                                             <a href="{{ path('static_page', {'page_intname': 'contact'}) }}" {% if args[0] == 'contact' %} class="active" {% endif %}>{{ labels.get('main-static-menu-7')|raw }}</a>
  131.                                         </li>
  132.                                         <li class="wm-group-11">
  133.                                             <a href="{{ path('comments') }}" {% if args[0] == 'comments' %} class="active" {% endif %}>{{ labels.get('main-static-menu-8')|raw }}</a>
  134.                                         </li>
  135.                                         {% if env.site == env.mix or env.site == env.mixopt %}
  136.                                             <li class="wm-group-12"><a href="{{ path('static_page', {'page_intname': 'q'}) }}"{% if args[0] == 'q' %} class="active"{% endif %}>{{ labels.get('main-static-menu-14')|raw }}</a></li>
  137.                                            {% endif %}
  138.                                         <li class="wm-group-12">
  139.                                             <a href="{{ path('static_page', {'page_intname': 'about'}) }}" {% if args[0] == 'about' %} class="active" {% endif %}>{{ labels.get('main-static-menu-9')|raw }}</a>
  140.                                         </li>
  141.                                         <li class="wm-group-12">
  142.                                             <a href="{{ path('static_page', {'page_intname': 'info'}) }}" {% if args[0] == 'info' %} class="active" {% endif %}>{{ labels.get('main-static-menu-10')|raw }}</a>
  143.                                         </li>
  144.                                         <li class="wm-group-12">
  145.                                             <a href="{{ path('static_page', {'page_intname': 'reglament'}) }}" {% if args[0] == 'reglament' %} class="active" {% endif %}>{{ labels.get('main-static-menu-101')|raw }}</a>
  146.                                         </li>
  147.                                         {% if env.site == env.dom or env.site == env.mir %}
  148.                                             <li class="wm-group-12">
  149.                                                 <a href="{{ path('static_page', {'page_intname': 'kuponi'}) }}" {% if args[0] == 'kuponi' %} class="active" {% endif %}>{{ labels.get('main-static-menu-11')|raw }}</a>
  150.                                             </li>
  151.                                             <li class="wm-group-12">
  152.                                                 <a href="{{ path('articles_list') }}" {% if args[0] == 'articles' %} class="active" {% endif %}>{{ labels.get('main-static-menu-12')|raw }}</a>
  153.                                             </li>
  154.                                         {% endif %}
  155.                                         <li class="wm-group-12">
  156.                                             <a href="{{ path('static_page', {'page_intname': 'polzovatelskoe-soglashenie'}) }}" {% if args[0] == 'polzovatelskoe-soglashenie' %} class="active" {% endif %}>{{ labels.get('main-static-menu-13')|raw }}</a>
  157.                                         </li>
  158.                                     </ul>
  159.                                 </li>
  160.                             </ul>
  161.                         </li>
  162.                     </ul>
  163.                 </div>
  164.                 <div class="wm-geo">
  165.                     {% if env.site == env.dom or env.site == env.domopt or env.site == env.mix or env.site == env.mixopt %}
  166.                         <ul class="nav wm-nav wm-langs">
  167.                             <li class="dropdown">
  168.                                 <a href="#" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">{{ app.request.locale }}
  169.                                     <span class="fa fa-chevron-down"></span>
  170.                                 </a>
  171.                                 <ul class="dropdown-menu dropdown-menu-right dropdown-lang-menu">
  172.                                     {% set langsarray = langs|split('|') %}
  173.                                     {% for lang in langsarray %}
  174.                                         {# {% if lang != app.request.locale %} #}                                            
  175.                                             <a href="{{ locale_path(app.request.attributes.get('_route'), lang, app.request.attributes.all._route_params|merge(app.request.query.all), true) }}">{{ lang }}</a>
  176.                                         {# {
  177.                                         {# {% endif %} #}
  178.                                     {% endfor %}
  179.                                 </ul>
  180.                             </li>
  181.                         </ul>
  182.                     {% endif %}
  183.                     {% if env.site == env.dom or env.site == env.domopt or env.site == env.mir or env.site == env.miropt %}
  184.                         <ul class="nav wm-geo-nav">
  185.                             <li class="dropdown">
  186.                                 {% if env.is_opt %}
  187.                                     <img src="{{ asset('003-placeholderopt.svg', 'img') }}" width="20" alt="" width="10">
  188.                                 {% else %}
  189.                                     <img src="{{ asset('003-placeholder.svg', 'img') }}" width="20" alt="" width="10">
  190.                                 {% endif %}
  191.                                 &nbsp;&nbsp;
  192.                                 <a href="#" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">
  193.                                     <span class="wm-geo-city">{{ app.session.get('checkout').city_name ? app.session.get('checkout').city_name : labels.get('yourcity')|raw}}</span>
  194.                                 </a>
  195.                                 <ul class="dropdown-menu dropdown-menu-right">
  196.                                     <li>
  197.                                         <button type="button" class="close" data-dismiss="modal">
  198.                                             <span aria-hidden="true">×</span>
  199.                                             <span class="sr-only">Close</span>
  200.                                         </button>
  201.                                         {{ labels.get('yourcity')|raw }}
  202.                                         -
  203.                                         <br><span class="wm-geo-city">{{ app.session.get('checkout').city_name }}</span>?
  204.                                     </li>
  205.                                     <li class="text-nowrap">
  206.                                         <a data-toggle="modal" href="#modal_region_mir" rel="nofollow" class="wm-button-change">{{ labels.get('yourcity2')|raw }}</a>
  207.                                         <a href="#" rel="nofollow" class="wm-button-ok">{{ labels.get('yourcity3')|raw }}</a>
  208.                                     </li>
  209.                                 </ul>
  210.                             </li>
  211.                         </ul>
  212.                     {% endif %}
  213.                 </div>
  214.                 <div class="wm-tel">
  215.                     {% if env.site == env.domopt %}
  216.                         <a href="{% if isCallAvailable %}tel:0800312370{% else %}#{% endif %}" rel="nofollow" class="top-phone-w"><img src="{{ asset('001-callopt.svg', 'img') }}" alt="" width="9">
  217.                             0-800-312-370</a>
  218.                     {% elseif env.site == env.mir %}
  219.                         <a href="{% if isCallAvailable %}tel:88005551057{% else %}#{% endif %}" rel="nofollow" class="top-phone-w"><img src="{{ asset('001-call.svg', 'img') }}" alt="" width="9">
  220.                             8-800-555-10-57</a>
  221.                     {% elseif env.site == env.miropt %}
  222.                         <a href="{% if isCallAvailable %}tel:+74952152841{% else %}#{% endif %}" rel="nofollow" class="top-phone-w"><img src="{{ asset('001-callopt.svg', 'img') }}" alt="" width="9">
  223.                             +7 (495) 215-28-41</a>
  224.                     {% elseif env.site == env.mix %}
  225.                         <a href="{% if isCallAvailable %}tel:+48668522718{% else %}#{% endif %}" rel="nofollow" class="top-phone-w"><img src="{{ asset('001-call.svg', 'img') }}" alt="" width="9">
  226.                             +48 668 522 718</a>
  227.                     {% elseif env.site == env.mixopt %}
  228.                         <a href="{% if isCallAvailable %}tel:+48668522718{% else %}#{% endif %}" rel="nofollow" class="top-phone-w"><img src="{{ asset('001-callopt.svg', 'img') }}" alt="" width="9">
  229.                             +48 668 522 718</a>
  230.                     {% else %}
  231.                         <a href="{% if isCallAvailable %}tel:0800312370{% else %}#{% endif %}" rel="nofollow" class="top-phone-w"><img src="{{ asset('001-call.svg', 'img') }}" alt="" width="9">
  232.                             0-800-312-370</a>
  233.                     {% endif %}
  234.                     <span class="top-phone-time{% if not isCallAvailable %} top-phone-time-inactive{% endif %}"></span>
  235.                     <span>{{ labels.get('tel-time-from')|raw }}
  236.                         {{ labels.get('tel-start')|raw }}
  237.                         {{ labels.get('tel-time-to')|raw }}
  238.                         {{ labels.get('tel-end')|format_number }}
  239.                         ({{ labels.get('tel-city')|raw }})</span>
  240.                     &nbsp;|<a data-toggle="modal" href="#modal_callback" rel="nofollow" class="wm-callback">
  241.                         {{ labels.get('callback')|raw }}
  242.                     </a>
  243.                 </div>
  244.             </div>
  245.         </div>
  246.         <div class="middle-header">
  247.             <div class="container">
  248.                 <div class="row">
  249.                     <div class="col-sm-3">
  250.                         <div class="mh-logo">
  251.                             <a href="{{ path('home') }}"><img alt="{{ env.site }}" src="{{ asset(env.site ~ '.' ~ app.request.locale ~ '.png', 'img') }}" class="img-responsive"/></a>
  252.                         </div>
  253.                     </div>
  254.                     <div class="col-sm-9">
  255.                         <div class="mh-menu">
  256.                             <ul class="nav">
  257.                                 <li class="dropdown">
  258.                                     <div href="#" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false" class="mh-button">
  259.                                         <img src="{{ asset('022-menu-1.svg', 'img') }}" alt="" width="20" class="iamenu">
  260.                                         <img src="{{ asset('022-menu-2' ~ (env.is_opt ? 'opt' : '') ~ '.svg', 'img') }}" alt="" width="20" class="amenu"><span class="fa fa-chevron-down"></span>
  261.                                     </div>
  262.                                     <ul class="dropdown-menu dropdown-menu-right mh-topmenu">
  263.                                         <li>
  264.                                             {{ render_esi (url('block_catmenu', {'template': 'topcatmenu'}), { 'ignore_errors': true }) }}
  265.                                         </li>
  266.                                     </ul>
  267.                                 </li>
  268.                             </ul>
  269.                             <div class="mh-menu-block"></div>
  270.                         </div>
  271.                         <div class="mh-pics">
  272.                             <div class="mhp-item">
  273.                                 <div class="mhp-wrapper">
  274.                                     {{ include('block/cart.html.twig') }}
  275.                                 </div>
  276.                             </div>
  277.                             <div class="mhp-item">
  278.                                 <div class="mhp-wrapper">
  279.                                     <div class="mhpi-img">
  280.                                         <a href="{{ path('wishlist') }}"><img src="{{ asset('006-heart1.png', 'img') }}" alt=""></a>
  281.                                     </div>
  282.                                 </div>
  283.                             </div>
  284.                             <div class="mhp-item">
  285.                                 <div class="mhp-wrapper">
  286.                                     {% if not Auth.getUserId %}
  287.                                         <div class="dropdown">
  288.                                             <button class="btn dropdown-toggle btn-login2" type="button" id="dropdownLogin" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true" {# onclick="ga('send', 'event', 'Login', 'Avtorizaciya');"#}>
  289.                                                 <span class="mhpi-img"><img src="{{ asset('007-avatar.png', 'img') }}" alt=""></span>
  290.                                             </button>
  291.                                             <div class="dropdown-menu dropdown-menu-right dropdown-menu-login" aria-labelledby="dropdownLogin" data-dropdown-in="zoomIn" data-dropdown-out="fadeOut">
  292.                                                 {% set login_redirect = '/user' %}
  293.                                                 {{ include('block/login.html.twig') }}
  294.                                             </div>
  295.                                         </div>
  296.                                     {% else %}
  297.                                         {{ render (url('block_usermenu', {})) }}                                        
  298.                                     {% endif %}
  299.                                 </div>
  300.                             </div>
  301.                         </div>
  302.                         <div class="mh-search">
  303.                             <form name="search" action="{{ path('prod_list_spec', {'spec': 'search'}) }}" method="get" class="input-group" id="topsearch">
  304.                                 <input type="text" name="q" id="keywords" class="form-control search" aria-label="{{ labels.get('block-search-1')|raw }}" placeholder="{{ labels.get('block-search-1')|raw }}" value="{% if(app.request.query.get('q')) %}{{ app.request.query.get('q')|e }}{% elseif(app.request.parameter.get('q')) %}{{ app.request.parameter.get('q')|e }}{% endif %}">
  305.                                 <div class="input-group-btn">
  306.                                     <button type="button" class="btn btn-default btn-search2"><img src="{{ asset('005-search' ~ (env.is_opt ? 'opt' : '') ~ '.svg', 'img') }}" alt="" width="16"></button>
  307.                                 </div>
  308.                             </form>
  309.                             <div class="search_queries">
  310.                                 {% set i = 0 %}
  311.                                 {% for query in search_queries_rand %}
  312.                                     {% if i > 0 %}&nbsp;&nbsp;|&nbsp;&nbsp;
  313.                                     {% endif %}
  314.                                     <form action="{{ search_queries[query] ? search_queries[query] : path('prod_list_spec', {'spec': 'search'}) }}" method="GET" id="search-form-{{ i }}">
  315.                                         {% if not search_queries[query] %}<input type="hidden" name="q" value="{{ query }}">
  316.                                         {% endif %}
  317.                                         <button type="submit">{{ query }}</button>
  318.                                     </form>
  319.                                     {% set i = i + 1 %}
  320.                                 {% endfor %}
  321.                             </div>
  322.                         </div>
  323.                     </div>
  324.                 </div>
  325.             </div>
  326.         </div>
  327.         <nav class="navbar navbar-default lastheader">
  328.             {{ include('block/navbar-part.html.twig') }}
  329.             <div class="container m-main-buttons visible-xs">
  330.                 <form name="search" action="{{ path('prod_list_spec', {'spec': 'search'}) }}" method="get" class="input-group" id="topsearch2">
  331.                     <input type="text" name="q" id="keywords2" class="form-control search" aria-label="{{ labels.get('block-search-1')|raw }}" placeholder="{{ labels.get('block-search-1')|raw }}" value="{% if(app.request.query.get('q')) %}{{ app.request.query.get('q')|e }}{% elseif(app.request.parameter.get('q')) %}{{ app.request.parameter.get('q')|e }}{% endif %}">
  332.                     <div class="input-group-btn">
  333.                         <button type="button" class="btn btn-default btn-search"><img src="{{ asset('005-search' ~ (env.is_opt ? 'opt' : '') ~ '.svg', 'img') }}" alt="" width="16"></button>
  334.                     </div>
  335.                 </form>
  336.                 {% if page.mainpage == '1' %}
  337.                     <div class="col-xs-4 col-nopadding">
  338.                         <a href="{{ path('prod_list_spec', {'spec': 'new'}) }}" class="m-main-button mmb-1">{{ labels.get('main-mobile-buttons-1')|raw }}</a>
  339.                     </div>
  340.                     {% if isVisibleActions %}
  341.                         <div class="col-xs-4 col-nopadding">
  342.                             <a href="{{ path('prod_list_spec', {'spec': 'action'}) }}" class="m-main-button mmb-2">{{ labels.get('main-mobile-buttons-2')|raw }}</a>
  343.                         </div>
  344.                     {% else %}
  345.                         <div class="col-xs-4 col-nopadding">
  346.                             <a href="{{ path('prod_list_spec', {'spec': 'mix'}) }}" class="m-main-button mmb-2">{{ labels.get('main-mobile-buttons-3')|raw }}</a>
  347.                         </div>
  348.                     {% endif %}
  349.                     <div class="col-xs-4 col-nopadding">
  350.                         <a href="{{ path('prod_list_spec', {'spec': 'pop'}) }}" class="m-main-button mmb-3">{{ labels.get('main-mobile-buttons-4')|raw }}</a>
  351.                     </div>
  352.                     <div class="col-xs-12 col-nopadding">
  353.                         <a class="m-main-button mmb-4">{{ labels.get('main-mobile-buttons-5')|raw }}
  354.                             <span class="pull-right">
  355.                                 <i class="fa fa-bars"></i>
  356.                             </span>
  357.                         </a>
  358.                     </div>
  359.                     <div class="clear"></div>
  360.                     <div id="m-main-cats">
  361.                         {{ render_esi (url('block_catmenu', {'template': 'maincatmenu'}), { 'ignore_errors': true }) }}
  362.                     </div>
  363.                 {% endif %}
  364.             </div>
  365.         </nav>
  366.         <!-- Main Content -->
  367.         <div class="container m-t-3 m-m-t">
  368.             <div class="row">
  369.                 {% if prod is empty and args[0]!='login' and args[0]!='cart' and args[0]!='register' and args[0]!='order' and args[0]!='checkout' %}
  370.                     <!-- Filter Sidebar -->
  371.                     <div class="col-sm-3 col-xl-2 left-desktop-menu{% if args[0]=='catalog' and args[1] in ['new', 'pop', 'mix', 'onsale'] and args[2]=='' %} active{% endif %}">
  372.                         {{ include('block/left-blocks.html.twig') }}
  373.                     </div>
  374.                     <!-- End Filter Sidebar -->
  375.                     <!-- Product List -->
  376.                     <div class="col-sm-9 col-xl-10 cont">
  377.                     {% else %}
  378.                         <div class="col-sm-12 cont">
  379.                         {% endif %}
  380.                         {% if args[0]=='user' and args[1]=='order-history' and order %}
  381.                             {% elseif args[0]=='user' and args[1]=='' %}
  382.                                 <h1 class="pl-h1">{{ labels.get('breadcrumbs-user')|raw }}</h1>
  383.                             {% elseif args[0]=='wishlist' %}
  384.                                 <h1 class="pl-h1">{{ labels.get('breadcrumbs-wishlist')|raw }}</h1>
  385.                             {% elseif args[0]=='catalog' %}
  386.                                 <div class="title{{ prods ? ' pl-breadcrumbs' : '' }}{{ prod ? ' pc-breadcrumbs' : '' }}">{{ include('block/breadcrumbs.html.twig') }}</div>
  387.                             {% elseif args[0]=='articles' %}
  388.                                 <div class="title{{ prods ? ' pl-breadcrumbs' : '' }}{{ prod ? ' pc-breadcrumbs' : '' }}">{{ include('block/breadcrumbs.html.twig') }}</div>
  389.                             {% elseif args[0]!='cart' and args is not empty and args[0]!='login' and args[0]!='register' and args[0]!='comments' %}
  390.                                 <h1 class="pl-h1">{{ page.h1 ? page.h1 |raw : page.name |raw }}</h1>
  391.                         {% endif %}
  392.                         {% if args[0]=='contact' %}
  393.                             {{ include('block/contact.html.twig') }}
  394.                         {% endif %}
  395.                         {% block body %}{% endblock %}
  396.                     </div>
  397.                 </div>
  398.             </div>
  399.             <!-- End Main Content -->
  400.             <!-- Footer -->
  401.             <div class="footer">
  402.                 <div class="container">
  403.                     <div class="row">
  404.                         <div class="col-md-3 col-sm-6">
  405.                             <a href="{{ path('home') }}"><img alt="Logo" src="{{ asset(env.site ~ '.' ~ app.request.locale ~ '.png', 'img') }}" class="img-responsive footmenu-logo"/></a>
  406.                             <div class="title-footer noup footimg">
  407.                                 <span>{{ labels.get('footmenu-40')|raw }}</span>
  408.                                 <a href="{{ labels.get('instagram-link')|raw }}" rel="nofollow" target="_blank"><img src="{{ asset('012-instagram.svg', 'img') }}" alt=""></a>
  409.                                 {% if env.site == env.mir or env.site == env.miropt %}
  410.                                     <a href="{{ labels.get('vkontakte-link')|raw }}" rel="nofollow" target="_blank"><img src="{{ asset('vk.png', 'img') }}" alt=""></a>
  411.                                 {% endif %}
  412.                                 <a href="{{ labels.get('facebook-link')|raw }}" rel="nofollow" target="_blank"><img src="{{ asset('013-facebook.svg', 'img') }}" alt=""></a>
  413.                             </div>
  414.                             <div class="title-footer noup footimg">
  415.                                 <span>{{ labels.get('footmenu-41')|raw }}</span>
  416.                                 <a href="#" rel="nofollow" target="_blank"><img src="{{ asset('visa2.png', 'img') }}" alt="" height="14"></a>
  417.                                 <a href="#" rel="nofollow" target="_blank"><img src="{{ asset('mc2.png', 'img') }}" alt="" height="18"></a>
  418.                             </div>
  419.                         </div>
  420.                         <div class="col-md-3 col-sm-6">
  421.                             <div class="title-footer">
  422.                                 <span>{{ labels.get('footmenu-42')|raw }}</span>
  423.                             </div>
  424.                             <ul>
  425.                                 <li>
  426.                                     <a href="{{path('static_page',{'page_intname':'about'})}}">{{ labels.get('footmenu-51')|raw }}</a>
  427.                                 </li>
  428.                                 <li>
  429.                                     <a href="{{path('static_page',{'page_intname':'delivery'})}}">{{ labels.get('footmenu-52')|raw }}</a>
  430.                                 </li>
  431.                                 {% if env.site != env.mix and env.site != emv.mixopt %}
  432.                                     <li>
  433.                                         <a href="{{path('static_page',{'page_intname':'optovim-pokupatelyam'})}}">{{ labels.get('footmenu-53')|raw }}</a>
  434.                                     </li>
  435.                                 {% endif %}
  436.                                 <li>
  437.                                     <a href="{{path('static_page',{'page_intname':'info'})}}">{{ labels.get('footmenu-54')|raw }}</a>
  438.                                 </li>
  439.                                 <li>
  440.                                     <a href="{{path('comments')}}">{{ labels.get('footmenu-55')|raw }}</a>
  441.                                 </li>
  442.                                 <li>
  443.                                     <a href="{{path('static_page',{'page_intname':'contact'})}}">{{ labels.get('footmenu-56')|raw }}</a>
  444.                                 </li>
  445.                                 {% if env.site != env.mix and env.site != emv.mixopt %}
  446.                                 <li>
  447.                                     <a href="{{path('static_page',{'page_intname':'skidki'})}}">{{ labels.get('footmenu-57')|raw }}</a>
  448.                                 </li>
  449.                                 {% elseif env.site == env.mix %}
  450.                                 <li>
  451.                                     <a href="{{path('static_page',{'page_intname':'promocje'})}}">{{ labels.get('promocje')|raw }}</a>
  452.                                 </li>
  453.                                 {% endif %}
  454.                             </ul>
  455.                         </div>
  456.                         <div class="col-md-3 col-sm-6">
  457.                             <div class="title-footer">
  458.                                 <span>{{ labels.get('footmenu-43')|raw }}</span>
  459.                             </div>
  460.                             {{ render_esi (url('block_foot_menu'), { 'ignore_errors': true }) }}
  461.                         </div>
  462.                         <div class="col-md-3 col-sm-6 foot-contacts">
  463.                             <div class="title-footer">
  464.                                 <span>{{ labels.get('footmenu-12')|raw }}</span>
  465.                             </div>
  466.                             <div class="row">
  467.                                 {% set opt = '' %}
  468.                                 {% if env.is_opt %}
  469.                                     {% set opt = '-opt' %}
  470.                                 {% endif %}
  471.                                 {% if blocks.get('footmenu-phone' ~ opt) %}
  472.                                     <div class="col-xs-1">
  473.                                         <i class="fa fa-phone"></i>
  474.                                     </div>
  475.                                     <div class="col-xs-10">
  476.                                         {{ blocks.get('footmenu-phone' ~ opt)|raw }}
  477.                                     </div>
  478.                                 {% endif %}
  479.                                 {% if blocks.get('footmenu-email' ~ opt) %}
  480.                                     <div class="col-xs-12"><hr></div>
  481.                                     <div class="col-xs-1">
  482.                                         <i class="fa fa-envelope-o"></i>
  483.                                     </div>
  484.                                     <div class="col-xs-10">
  485.                                         {{ blocks.get('footmenu-email' ~ opt)|raw }}
  486.                                     </div>
  487.                                 {% endif %}
  488.                                 {% if blocks.get('footmenu-address' ~ opt) %}
  489.                                     <div class="col-xs-12"><hr></div>
  490.                                     <div class="col-xs-1">
  491.                                         <i class="fa fa-map-marker"></i>
  492.                                     </div>
  493.                                     <div class="col-xs-10">
  494.                                         {{ blocks.get('footmenu-address' ~ opt)|raw }}
  495.                                     </div>
  496.                                 {% endif %}
  497.                             </div>
  498.                         </div>
  499.                     </div>
  500.                 </div>
  501.                 <div class="copyright">
  502.                     <div class="container">
  503.                         <div class="row">
  504.                             <div class="col-md-6 text-left fcc-1">
  505.                                 {{ labels.get('copy')|raw }}
  506.                                 {{ sett.get('sitename')|raw }}
  507.                             </div>
  508.                             <div class="col-md-6 text-right fcc-2">
  509.                                 <a href="{{ path('static_page', {'page_intname': 'polzovatelskoe-soglashenie'}) }}">{{ labels.get('footmenu-6')|raw }}</a>
  510.                             </div>
  511.                             <div class="clear"></div>
  512.                             <div class="footer-space"></div>
  513.                             {% if args[0] == 'order' and args[1] == 'finish' and env.code_google_conversion %}
  514.                                 <!-- Google Code for https://www.dombusin.com/ Conversion Page -->
  515.                                 <script>
  516.                                     /* <![CDATA[ */
  517. var google_conversion_id = {{ env.code_google_conversion }};
  518. var google_conversion_language = "en";
  519. var google_conversion_format = "3";
  520. var google_conversion_color = "ffffff";
  521. var google_conversion_label = "k8dOCK3ioWcQ1vqV0AM";
  522. var google_remarketing_only = false;
  523. /* ]]> */
  524.                                 </script>
  525.                                 <script src="//www.googleadservices.com/pagead/conversion.js"></script>
  526.                                 <noscript>
  527.                                     <div style="display:inline;">
  528.                                         <img height="1" width="1" style="border-style:none;" alt="" src="//www.googleadservices.com/pagead/conversion/973438294/?label=k8dOCK3ioWcQ1vqV0AM&amp;guid=ON&amp;script=0"/>
  529.                                     </div>
  530.                                 </noscript>
  531.                             {% endif %}
  532.                         </div>
  533.                     </div>
  534.                 </div>
  535.             </div>
  536.             <!-- End Footer -->
  537.             <a href="#top" class="back-top text-center">
  538.                 <img src="{{ asset('014-up-arrow.svg', 'img') }}" alt="" width="10">
  539.             </a>
  540.             {% if(env.code_bitrix) %}
  541.                 <script>
  542.                     (function (w, d, u) {
  543. var s = d.createElement('script');
  544. s.async = true;
  545. s.src = u + '?' + (
  546. Date.now() / 60000 | 0
  547. );
  548. var h = d.getElementsByTagName('script')[0];
  549. h.parentNode.insertBefore(s, h);
  550. })(window, document, 'https://bitrix24.dombusin.com/upload/crm/site_button/    {{ env.code_bitrix }}.js');
  551.                 </script>
  552.             {% endif %}
  553.             {% if(env.code_emt) %}
  554.                 <script src="https://emailtools.ru/js/api/v1/tools.js" defer="" async=""></script>
  555.                 <script>
  556.                     window.EMT = window.EMT || {};
  557. EMT._client_id = {{ env.code_emt }}
  558.                 </script>
  559.             {% endif %}
  560.             {% if env.site==env.mix or env.site==env.mixopt %}
  561.                 {{ include('block/modal_lang.html.twig') }}
  562.             {% endif %}
  563.             {{ include('block/modal_cookie.html.twig') }}
  564.             {{ include('block/modal_callback.html.twig') }}
  565.             {{ include('block/modal_sent.html.twig') }}
  566.             {{ include('block/modal_city.html.twig') }}
  567.             {% if env.site == env.dom or env.site == env.mir or env.site == env.mix %}
  568.                 {{ include('block/modal_opt_redirect.html.twig') }}
  569.             {% endif %}
  570.             {% if(env.esputnik_id) %}
  571.                 <script>
  572.                     !function (t, e, c, n) {
  573. var s = e.createElement(c);
  574. s.async = 1,
  575. s.src = 'https://statics.esputnik.com/scripts/' + n + '.js';
  576. var r = e.scripts[0];
  577. r.parentNode.insertBefore(s, r);
  578. var f = function () {
  579. f.c(arguments);
  580. };
  581. f.q = [];
  582. f.c = function () {
  583. f.q.push(arguments);
  584. };
  585. t['eS'] = t['eS'] || f;
  586. }(window, document, 'script', '{{ env.esputnik_id }}');
  587.                 </script>
  588.                 <script>
  589.                     eS('init');
  590.                 </script>
  591.             {% endif %}
  592.             {{ include('block/razmetka.html.twig') }}
  593.             {% if env.site==env.mix or env.site==env.mixopt %}
  594.                 <script>
  595.                 (function(w,d,u){
  596.                         var s=d.createElement('script');s.async=true;s.src=u+'?'+(Date.now()/60000|0);
  597.                         var h=d.getElementsByTagName('script')[0];h.parentNode.insertBefore(s,h);
  598.                 })(window,document,'https://bitrix24.dombusin.com/upload/crm/site_button/loader_5_vcvrc1.js');
  599.                 </script>
  600.             {% endif %}
  601.             {{ include('block/jslabels.html.twig') }}
  602.             
  603.             {% block javascripts %}
  604.                 {{ encore_entry_script_tags('app') }}
  605.             {% endblock %}
  606.             {% if args[0] == 'cart' %}
  607.                 {{ include('cart/block/cart-block-scripts.html.twig') }}
  608.             {% endif %}
  609.         </body>
  610.     </body>
  611. </html>