var/cache/dev/twig/03/03bf7d28cfa1cd368d82e952ede644e39f786b3510e64009384a644776c3aedb.php line 287

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\SandboxExtension;
  6. use Twig\Markup;
  7. use Twig\Sandbox\SecurityError;
  8. use Twig\Sandbox\SecurityNotAllowedTagError;
  9. use Twig\Sandbox\SecurityNotAllowedFilterError;
  10. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  11. use Twig\Source;
  12. use Twig\Template;
  13. /* TroikaRealEstateBundle:Default:layout.html.twig */
  14. class __TwigTemplate_d4b7182f4c02713aade9853b105ca554fd9c849f0e45ce3805f2876dd6dc71cd extends \Twig\Template
  15. {
  16.     private $source;
  17.     private $macros = [];
  18.     public function __construct(Environment $env)
  19.     {
  20.         parent::__construct($env);
  21.         $this->source $this->getSourceContext();
  22.         $this->parent false;
  23.         $this->blocks = [
  24.             'title' => [$this'block_title'],
  25.             'description' => [$this'block_description'],
  26.             'keywords' => [$this'block_keywords'],
  27.             'ogTitle' => [$this'block_ogTitle'],
  28.             'ogDescription' => [$this'block_ogDescription'],
  29.             'ogImg' => [$this'block_ogImg'],
  30.             'stylesheets' => [$this'block_stylesheets'],
  31.             'canonicallink' => [$this'block_canonicallink'],
  32.             'javascriptshead' => [$this'block_javascriptshead'],
  33.             'javascripts' => [$this'block_javascripts'],
  34.             'main' => [$this'block_main'],
  35.             'goals' => [$this'block_goals'],
  36.         ];
  37.     }
  38.     protected function doDisplay(array $context, array $blocks = [])
  39.     {
  40.         $macros $this->macros;
  41.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  42.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""TroikaRealEstateBundle:Default:layout.html.twig"));
  43.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  44.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""TroikaRealEstateBundle:Default:layout.html.twig"));
  45.         // line 1
  46.         echo "<!DOCTYPE html>
  47. <html lang=\"ru\">
  48. <head>
  49. <meta name=\"robots\" content=\"all\"/>
  50.   <meta charset=\"utf-8\">
  51.   <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">
  52.   <meta name=\"viewport\" content=\"width=device-width; initial-scale=1.0; maximum-scale=1.0, shrink-to-fit=no; \"/>
  53.   <meta name=\"cmsmagazine\" content=\"d861abde084bbfe4c6a397bda4831501\"/>
  54.   <title>";
  55.         // line 9
  56.         $this->displayBlock('title'$context$blocks);
  57.         echo "</title>
  58.   <meta name=\"description\" content=\"";
  59.         // line 10
  60.         $this->displayBlock('description'$context$blocks);
  61.         echo "\">
  62.   <meta name=\"keywords\" content=\"";
  63.         // line 11
  64.         $this->displayBlock('keywords'$context$blocks);
  65.         echo "\">
  66.   <meta name=\"yandex-verification\" content=\"55211b038c7d3fb0\">
  67.   <meta name=\"yandex-verification\" content=\"7563d08dede749ae\"/>
  68.   <meta name=\"google-site-verification\" content=\"OG1nY1jWtrE9biem-Ad_EFMaljCU5Sm8gG19pscqJjc\"/>
  69.   <meta name=\"format-detection\" content=\"telephone=no\">
  70.   <meta name=\"theme-color\" content=\"#000000\"/>
  71.   <meta property=\"og:title\" content=\"";
  72.         // line 18
  73.         $this->displayBlock('ogTitle'$context$blocks);
  74.         echo "\"/>
  75.   <meta property=\"og:description\" content=\"";
  76.         // line 19
  77.         $this->displayBlock('ogDescription'$context$blocks);
  78.         echo "\"/>
  79.   ";
  80.         // line 21
  81.         echo "  <meta property=\"og:site_name\" content=\"troikaestate.ru\"/>
  82.   ";
  83.         // line 22
  84.         if ((array_key_exists("ogImg"$context) &&  !twig_test_empty((isset($context["ogImg"]) || array_key_exists("ogImg"$context) ? $context["ogImg"] : (function () { throw new RuntimeError('Variable "ogImg" does not exist.'22$this->source); })())))) {
  85.             // line 23
  86.             echo "    <meta property=\"og:image\" content=\"";
  87.             $this->displayBlock('ogImg'$context$blocks);
  88.             echo "\">
  89.   ";
  90.         }
  91.         // line 25
  92.         echo "  ";
  93.         // line 27
  94.         echo "
  95.   <link href=\"https://fonts.googleapis.com/css?family=Open+Sans:400,600,700&subset=cyrillic\" rel=\"stylesheet\">
  96.   <link href='https://fonts.googleapis.com/css?family=PT+Sans:400,700&subset=latin,cyrillic' rel='stylesheet'
  97.         type='text/css'>
  98.   <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700&subset=cyrillic,latin' rel='stylesheet'
  99.         type='text/css'>
  100.   ";
  101.         // line 33
  102.         if ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'33$this->source); })()), "request", [], "any"falsefalsefalse33), "get", [=> "_route"], "method"falsefalsefalse33) && twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'33$this->source); })()), "request", [], "any"falsefalsefalse33), "attributes", [], "any"falsefalsefalse33), "get", [=> "_route_params"], "method"falsefalsefalse33))) {
  103.             // line 34
  104.             echo "    ";
  105.             $context["pagePath"] = $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'34$this->source); })()), "request", [], "any"falsefalsefalse34), "get", [=> "_route"], "method"falsefalsefalse34), twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'34$this->source); })()), "request", [], "any"falsefalsefalse34), "attributes", [], "any"falsefalsefalse34), "get", [=> "_route_params"], "method"falsefalsefalse34));
  106.             // line 35
  107.             echo "  ";
  108.         } elseif (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'35$this->source); })()), "request", [], "any"falsefalsefalse35), "get", [=> "_route"], "method"falsefalsefalse35)) {
  109.             // line 36
  110.             echo "    ";
  111.             $context["pagePath"] = $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'36$this->source); })()), "request", [], "any"falsefalsefalse36), "get", [=> "_route"], "method"falsefalsefalse36));
  112.             // line 37
  113.             echo "  ";
  114.         } else {
  115.             // line 38
  116.             echo "    ";
  117.             $context["pagePath"] = "/error";
  118.             // line 39
  119.             echo "  ";
  120.         }
  121.         // line 40
  122.         echo "  ";
  123.         $this->displayBlock('stylesheets'$context$blocks);
  124.         // line 57
  125.         echo "
  126.   ";
  127.         // line 58
  128.         if (array_key_exists("custompage"$context)) {
  129.             // line 59
  130.             echo "    ";
  131.             if (((isset($context["custompage"]) || array_key_exists("custompage"$context) ? $context["custompage"] : (function () { throw new RuntimeError('Variable "custompage" does not exist.'59$this->source); })()) == "true")) {
  132.                 // line 60
  133.                 echo "      <link rel=\"canonical\" href=\"";
  134.                 $this->displayBlock('canonicallink'$context$blocks);
  135.                 echo "\"/>
  136.     ";
  137.             }
  138.             // line 62
  139.             echo "  ";
  140.         }
  141.         // line 63
  142.         echo "  ";
  143.         $this->displayBlock('javascriptshead'$context$blocks);
  144.         // line 68
  145.         echo "  <style type=\"text/css\">
  146.     .layout-column-left .fa-search {
  147.       cursor: pointer;
  148.     }
  149.   </style>
  150.   <script>
  151.       // для того чтобы не моргали фильтры во время загрузки страницы, скрываем их стилями и показываем их после загрузки контента.
  152.       window.addEventListener('DOMContentLoaded', function () {
  153.           var content = document.querySelector('.content');
  154.           if (content) {
  155.               content.style.opacity = '1';
  156.           }
  157.       });
  158.   </script>
  159.   ";
  160.         // line 82
  161.         $this->loadTemplate("TroikaRealEstateBundle:Default:_metrics.html.twig""TroikaRealEstateBundle:Default:layout.html.twig"82)->displayBlock("metrics"$context);
  162.         echo "
  163.   
  164. ";
  165.         // line 84
  166.         $this->displayBlock('javascripts'$context$blocks);
  167.         // line 118
  168.         echo "    <script src=\"/new2/js/main.js\"></script>
  169. </head>
  170. <body id=\"body\">
  171. <div class=\"main ";
  172.         // line 121
  173.         if (array_key_exists("index_page"$context)) {
  174.             echo " index-page ";
  175.         } else {
  176.             echo " no_index_page ";
  177.         }
  178.         echo "\">
  179.   ";
  180.         // line 122
  181.         $this->loadTemplate("TroikaRealEstateBundle:Default:_header2.html.twig""TroikaRealEstateBundle:Default:layout.html.twig"122)->displayBlock("header"$context);
  182.         echo "
  183.   ";
  184.         // line 123
  185.         $this->displayBlock('main'$context$blocks);
  186.         // line 125
  187.         echo "  ";
  188.         $this->loadTemplate("TroikaRealEstateBundle:Default:_blogs2.html.twig""TroikaRealEstateBundle:Default:layout.html.twig"125)->displayBlock("blogs"$context);
  189.         echo "
  190.   ";
  191.         // line 126
  192.         $this->loadTemplate("TroikaRealEstateBundle:Default:_footer2.html.twig""TroikaRealEstateBundle:Default:layout.html.twig"126)->displayBlock("footer"$context);
  193.         echo "
  194. </div>
  195. ";
  196.         // line 128
  197.         $this->loadTemplate("TroikaRealEstateBundle:Default:_modals.html.twig""TroikaRealEstateBundle:Default:layout.html.twig"128)->displayBlock("modals"$context);
  198.         echo "
  199.   <script src=\"";
  200.         // line 130
  201.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/assets/public/uglifyjs/new/bc19409.js"), "html"nulltrue);
  202.         echo "\"></script>
  203. <div class=\"spinner__layout hide\">
  204.   <div class=\"spinner\">
  205.     <img src=\"/img/loader.gif\" alt=\"Загрузка\">
  206.   </div>
  207. </div>
  208. <script src=\"";
  209.         // line 137
  210.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/assets/public/css/jquery-ui-1.13.2.ac/jquery-ui.js"), "html"nulltrue);
  211.         echo "\"></script>
  212. ";
  213.         // line 138
  214.         $this->displayBlock('goals'$context$blocks);
  215.         // line 141
  216.         echo "</body>
  217. </html>
  218. ";
  219.         
  220.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  221.         
  222.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  223.     }
  224.     // line 9
  225.     public function block_title($context, array $blocks = [])
  226.     {
  227.         $macros $this->macros;
  228.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  229.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  230.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  231.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  232.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["page"]) || array_key_exists("page"$context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.'9$this->source); })()), "metaTitle", [], "any"falsefalsefalse9), "html"nulltrue);
  233.         
  234.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  235.         
  236.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  237.     }
  238.     // line 10
  239.     public function block_description($context, array $blocks = [])
  240.     {
  241.         $macros $this->macros;
  242.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  243.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""description"));
  244.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  245.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""description"));
  246.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["page"]) || array_key_exists("page"$context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.'10$this->source); })()), "metaDescription", [], "any"falsefalsefalse10), "html"nulltrue);
  247.         
  248.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  249.         
  250.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  251.     }
  252.     // line 11
  253.     public function block_keywords($context, array $blocks = [])
  254.     {
  255.         $macros $this->macros;
  256.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  257.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""keywords"));
  258.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  259.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""keywords"));
  260.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["page"]) || array_key_exists("page"$context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.'11$this->source); })()), "metaKeywords", [], "any"falsefalsefalse11), "html"nulltrue);
  261.         
  262.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  263.         
  264.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  265.     }
  266.     // line 18
  267.     public function block_ogTitle($context, array $blocks = [])
  268.     {
  269.         $macros $this->macros;
  270.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  271.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""ogTitle"));
  272.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  273.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""ogTitle"));
  274.         echo "Troika Estate";
  275.         
  276.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  277.         
  278.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  279.     }
  280.     // line 19
  281.     public function block_ogDescription($context, array $blocks = [])
  282.     {
  283.         $macros $this->macros;
  284.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  285.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""ogDescription"));
  286.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  287.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""ogDescription"));
  288.         
  289.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  290.         
  291.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  292.     }
  293.     // line 23
  294.     public function block_ogImg($context, array $blocks = [])
  295.     {
  296.         $macros $this->macros;
  297.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  298.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""ogImg"));
  299.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  300.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""ogImg"));
  301.         echo twig_escape_filter($this->env, (isset($context["ogImg"]) || array_key_exists("ogImg"$context) ? $context["ogImg"] : (function () { throw new RuntimeError('Variable "ogImg" does not exist.'23$this->source); })()), "html"nulltrue);
  302.         
  303.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  304.         
  305.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  306.     }
  307.     // line 40
  308.     public function block_stylesheets($context, array $blocks = [])
  309.     {
  310.         $macros $this->macros;
  311.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  312.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  313.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  314.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  315.         // line 41
  316.         echo "    ";
  317.         if (((isset($context["pagePath"]) || array_key_exists("pagePath"$context) ? $context["pagePath"] : (function () { throw new RuntimeError('Variable "pagePath" does not exist.'41$this->source); })()) == "/")) {
  318.             // line 42
  319.             echo "      ";
  320.             // line 44
  321.             echo "
  322.       <link rel=\"stylesheet\" href=\"https://cdnjs.cloudflare.com/ajax/libs/Swiper/4.4.6/css/swiper.min.css\"/>
  323.       ";
  324.             // line 47
  325.             echo "    ";
  326.         } else {
  327.             // line 48
  328.             echo "      ";
  329.             // line 49
  330.             echo "      ";
  331.             // line 51
  332.             echo "      ";
  333.             // line 55
  334.             echo "    ";
  335.         }
  336.         // line 56
  337.         echo "  ";
  338.         
  339.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  340.         
  341.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  342.     }
  343.     // line 60
  344.     public function block_canonicallink($context, array $blocks = [])
  345.     {
  346.         $macros $this->macros;
  347.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  348.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""canonicallink"));
  349.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  350.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""canonicallink"));
  351.         
  352.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  353.         
  354.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  355.     }
  356.     // line 63
  357.     public function block_javascriptshead($context, array $blocks = [])
  358.     {
  359.         $macros $this->macros;
  360.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  361.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascriptshead"));
  362.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  363.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascriptshead"));
  364.         // line 64
  365.         echo "  ";
  366.         // line 65
  367.         echo " ";
  368.         // line 66
  369.         echo "    <script src=\"/js/new.jquery.min.js\" crossorigin=\"anonymous\"></script>
  370.   ";
  371.         
  372.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  373.         
  374.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  375.     }
  376.     // line 84
  377.     public function block_javascripts($context, array $blocks = [])
  378.     {
  379.         $macros $this->macros;
  380.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  381.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  382.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  383.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  384.         // line 85
  385.         echo "  ";
  386.         // line 86
  387.         echo "  ";
  388.         // line 87
  389.         echo "<script src=\"";
  390.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/assets/public/uglifyjs/jquery.session.js"), "html"nulltrue);
  391.         echo "\"></script>
  392. <script src=\"";
  393.         // line 88
  394.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/assets/public/uglifyjs/js.cookie.js"), "html"nulltrue);
  395.         echo "\"></script>
  396. <script src=\"";
  397.         // line 89
  398.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/assets/public/uglifyjs/jquery.cookie.js"), "html"nulltrue);
  399.         echo "\"></script>
  400. <script src=\"";
  401.         // line 90
  402.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/assets/public/uglifyjs/bootstrap-select.js"), "html"nulltrue);
  403.         echo "\"></script>
  404. <script src=\"";
  405.         // line 91
  406.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/assets/public/uglifyjs/modernizr-2.6.2.min.js"), "html"nulltrue);
  407.         echo "\"></script>
  408. <script src=\"";
  409.         // line 92
  410.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/assets/public/uglifyjs/jquery.maskedinput-1.2.2.js"), "html"nulltrue);
  411.         echo "\"></script>
  412. <script src=\"";
  413.         // line 93
  414.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/assets/public/uglifyjs/extends.js"), "html"nulltrue);
  415.         echo "\"></script>
  416. <script src=\"";
  417.         // line 94
  418.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/assets/public/uglifyjs/bootstrap.min.js"), "html"nulltrue);
  419.         echo "\"></script>
  420. <script src=\"";
  421.         // line 95
  422.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/assets/public/uglifyjs/main.js"), "html"nulltrue);
  423.         echo "\"></script>
  424. <!--
  425. <script src=\"";
  426.         // line 97
  427.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/assets/public/uglifyjs/jquery-ui.js"), "html"nulltrue);
  428.         echo "\"></script>
  429. <script src=\"https://code.jquery.com/ui/1.13.2/jquery-ui.js\"></script>
  430. <script src=\"";
  431.         // line 99
  432.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/assets/public/css/jquery-ui-1.13.2/jquery-ui.js"), "html"nulltrue);
  433.         echo "\"></script>
  434. -->
  435. <script src=\"";
  436.         // line 101
  437.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/assets/public/uglifyjs/fix.js"), "html"nulltrue);
  438.         echo "\"></script>
  439. <link rel=\"stylesheet\" href=\"/css/scss/normalize.scss\"/>
  440. <link rel=\"stylesheet\" href=\"";
  441.         // line 104
  442.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/css/scss/fa/font-awesome.scss"), "html"nulltrue);
  443.         echo "\"/>
  444. <link rel=\"stylesheet\" href=\"";
  445.         // line 105
  446.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/assets/public/css/main.css"), "html"nulltrue);
  447.         echo "\"/>
  448. <link rel=\"stylesheet\" href=\"";
  449.         // line 106
  450.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/assets/public/css/added.css"), "html"nulltrue);
  451.         echo "\"/>
  452. <link rel=\"stylesheet\" href=\"";
  453.         // line 107
  454.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/assets/public/css/modal.css"), "html"nulltrue);
  455.         echo "\"/>
  456. <link rel=\"stylesheet\" href=\"";
  457.         // line 108
  458.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/assets/public/css/jquery-ui-1.13.2/jquery-ui.css"), "html"nulltrue);
  459.         echo "\"/>
  460. <link rel=\"stylesheet\" href=\"";
  461.         // line 109
  462.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/assets/public/css/fix.css"), "html"nulltrue);
  463.         echo "\"/>
  464. \t  <link rel=\"stylesheet\" href=\"";
  465.         // line 110
  466.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/assets/new.css"), "html"nulltrue);
  467.         echo "\"/>
  468.   <script src=\"https://cdnjs.cloudflare.com/ajax/libs/jquery.mask/1.14.11/jquery.mask.js\"></script>
  469.   ";
  470.         // line 112
  471.         if (((isset($context["pagePath"]) || array_key_exists("pagePath"$context) ? $context["pagePath"] : (function () { throw new RuntimeError('Variable "pagePath" does not exist.'112$this->source); })()) == "/")) {
  472.             // line 113
  473.             echo "    <script src=\"/js/new.swiper.js\" crossorigin=\"anonymous\"></script>
  474.   ";
  475.         } else {
  476.             // line 115
  477.             echo "  <script type=\"text/javascript\" src=\"/new/assets/main.js\"></script>
  478.   ";
  479.         }
  480.         
  481.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  482.         
  483.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  484.     }
  485.     // line 123
  486.     public function block_main($context, array $blocks = [])
  487.     {
  488.         $macros $this->macros;
  489.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  490.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  491.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  492.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  493.         // line 124
  494.         echo "  ";
  495.         
  496.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  497.         
  498.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  499.     }
  500.     // line 138
  501.     public function block_goals($context, array $blocks = [])
  502.     {
  503.         $macros $this->macros;
  504.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  505.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""goals"));
  506.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  507.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""goals"));
  508.         // line 139
  509.         echo "  ";
  510.         
  511.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  512.         
  513.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  514.     }
  515.     public function getTemplateName()
  516.     {
  517.         return "TroikaRealEstateBundle:Default:layout.html.twig";
  518.     }
  519.     public function isTraitable()
  520.     {
  521.         return false;
  522.     }
  523.     public function getDebugInfo()
  524.     {
  525.         return array (  582 => 139,  572 => 138,  562 => 124,  552 => 123,  540 => 115,  536 => 113,  534 => 112,  529 => 110,  525 => 109,  521 => 108,  517 => 107,  513 => 106,  509 => 105,  505 => 104,  499 => 101,  494 => 99,  489 => 97,  484 => 95,  480 => 94,  476 => 93,  472 => 92,  468 => 91,  464 => 90,  460 => 89,  456 => 88,  451 => 87,  449 => 86,  447 => 85,  437 => 84,  426 => 66,  424 => 65,  422 => 64,  412 => 63,  394 => 60,  384 => 56,  381 => 55,  379 => 51,  377 => 49,  375 => 48,  372 => 47,  368 => 44,  366 => 42,  363 => 41,  353 => 40,  334 => 23,  316 => 19,  297 => 18,  278 => 11,  259 => 10,  240 => 9,  228 => 141,  226 => 138,  222 => 137,  212 => 130,  207 => 128,  202 => 126,  197 => 125,  195 => 123,  191 => 122,  183 => 121,  178 => 118,  176 => 84,  171 => 82,  155 => 68,  152 => 63,  149 => 62,  143 => 60,  140 => 59,  138 => 58,  135 => 57,  132 => 40,  129 => 39,  126 => 38,  123 => 37,  120 => 36,  117 => 35,  114 => 34,  112 => 33,  104 => 27,  102 => 25,  96 => 23,  94 => 22,  91 => 21,  87 => 19,  83 => 18,  73 => 11,  69 => 10,  65 => 9,  55 => 1,);
  526.     }
  527.     public function getSourceContext()
  528.     {
  529.         return new Source("<!DOCTYPE html>
  530. <html lang=\"ru\">
  531. <head>
  532. <meta name=\"robots\" content=\"all\"/>
  533.   <meta charset=\"utf-8\">
  534.   <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">
  535.   <meta name=\"viewport\" content=\"width=device-width; initial-scale=1.0; maximum-scale=1.0, shrink-to-fit=no; \"/>
  536.   <meta name=\"cmsmagazine\" content=\"d861abde084bbfe4c6a397bda4831501\"/>
  537.   <title>{% block title %}{{ page.metaTitle }}{% endblock %}</title>
  538.   <meta name=\"description\" content=\"{% block description %}{{ page.metaDescription }}{% endblock %}\">
  539.   <meta name=\"keywords\" content=\"{% block keywords %}{{ page.metaKeywords }}{% endblock %}\">
  540.   <meta name=\"yandex-verification\" content=\"55211b038c7d3fb0\">
  541.   <meta name=\"yandex-verification\" content=\"7563d08dede749ae\"/>
  542.   <meta name=\"google-site-verification\" content=\"OG1nY1jWtrE9biem-Ad_EFMaljCU5Sm8gG19pscqJjc\"/>
  543.   <meta name=\"format-detection\" content=\"telephone=no\">
  544.   <meta name=\"theme-color\" content=\"#000000\"/>
  545.   <meta property=\"og:title\" content=\"{% block ogTitle %}Troika Estate{% endblock %}\"/>
  546.   <meta property=\"og:description\" content=\"{% block ogDescription %}{% endblock %}\"/>
  547.   {# <meta property=\"og:type\" content=\"blog\"/> #}
  548.   <meta property=\"og:site_name\" content=\"troikaestate.ru\"/>
  549.   {% if ogImg is defined and ogImg is not empty %}
  550.     <meta property=\"og:image\" content=\"{% block ogImg %}{{ ogImg }}{% endblock %}\">
  551.   {% endif %}
  552.   {# <meta property=\"og:description\" content=\"Troika Estate Агенство элитной недвижимости\"/>
  553.   <meta property=\"og:url\" content=\"http://domain/path/to/url\"/> #}
  554.   <link href=\"https://fonts.googleapis.com/css?family=Open+Sans:400,600,700&subset=cyrillic\" rel=\"stylesheet\">
  555.   <link href='https://fonts.googleapis.com/css?family=PT+Sans:400,700&subset=latin,cyrillic' rel='stylesheet'
  556.         type='text/css'>
  557.   <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700&subset=cyrillic,latin' rel='stylesheet'
  558.         type='text/css'>
  559.   {% if app.request.get('_route') and app.request.attributes.get('_route_params') %}
  560.     {% set pagePath = path(app.request.get('_route'),app.request.attributes.get('_route_params')) %}
  561.   {% elseif app.request.get('_route') %}
  562.     {% set pagePath = path(app.request.get('_route')) %}
  563.   {% else %}
  564.     {% set pagePath = '/error' %}
  565.   {% endif %}
  566.   {% block stylesheets %}
  567.     {% if pagePath == '/' %}
  568.       {# <link rel=\"stylesheet\" href=\"/new/assets/main.css\"/>
  569.       <link rel=\"stylesheet\" href=\"{{ asset('/assets/app.css') }}\"/> #}
  570.       <link rel=\"stylesheet\" href=\"https://cdnjs.cloudflare.com/ajax/libs/Swiper/4.4.6/css/swiper.min.css\"/>
  571.       {# <link href=\"/new2/css/common.css\" rel=\"stylesheet\"> #}
  572.     {% else %}
  573.       {# <link rel=\"stylesheet\" href=\"/new/assets/main.css\"/>#}
  574.       {# TODO: Scheglov - входит в main.css
  575.     <link rel=\"stylesheet\" href=\"https://cdnjs.cloudflare.com/ajax/libs/Swiper/4.4.6/css/swiper.min.css\"/> #}
  576.       {#
  577.       TODO: Scheglov - это нужно только на главной
  578.       <link href=\"/new2/css/common.css\" rel=\"stylesheet\"> 
  579.       <link rel=\"stylesheet\" href=\"{{ asset('/assets/app.css') }}\"/>#}
  580.     {% endif %}
  581.   {% endblock %}
  582.   {% if custompage is defined %}
  583.     {% if custompage=='true' %}
  584.       <link rel=\"canonical\" href=\"{% block canonicallink %}{% endblock %}\"/>
  585.     {% endif %}
  586.   {% endif %}
  587.   {% block javascriptshead %}
  588.   {# { parent() } #}
  589.  {#  <script src=\"/js/vendor/jquery-1.10.2.min.js\"></script> #}
  590.     <script src=\"/js/new.jquery.min.js\" crossorigin=\"anonymous\"></script>
  591.   {% endblock %}
  592.   <style type=\"text/css\">
  593.     .layout-column-left .fa-search {
  594.       cursor: pointer;
  595.     }
  596.   </style>
  597.   <script>
  598.       // для того чтобы не моргали фильтры во время загрузки страницы, скрываем их стилями и показываем их после загрузки контента.
  599.       window.addEventListener('DOMContentLoaded', function () {
  600.           var content = document.querySelector('.content');
  601.           if (content) {
  602.               content.style.opacity = '1';
  603.           }
  604.       });
  605.   </script>
  606.   {{ block('metrics', 'TroikaRealEstateBundle:Default:_metrics.html.twig') }}
  607.   
  608. {% block javascripts %}
  609.   {# { parent() } #}
  610.   {# <script src=\"{{ asset('/assets/app.js') }}\"></script>#}
  611. <script src=\"{{ asset('/assets/public/uglifyjs/jquery.session.js') }}\"></script>
  612. <script src=\"{{ asset('/assets/public/uglifyjs/js.cookie.js') }}\"></script>
  613. <script src=\"{{ asset('/assets/public/uglifyjs/jquery.cookie.js') }}\"></script>
  614. <script src=\"{{ asset('/assets/public/uglifyjs/bootstrap-select.js') }}\"></script>
  615. <script src=\"{{ asset('/assets/public/uglifyjs/modernizr-2.6.2.min.js') }}\"></script>
  616. <script src=\"{{ asset('/assets/public/uglifyjs/jquery.maskedinput-1.2.2.js') }}\"></script>
  617. <script src=\"{{ asset('/assets/public/uglifyjs/extends.js') }}\"></script>
  618. <script src=\"{{ asset('/assets/public/uglifyjs/bootstrap.min.js') }}\"></script>
  619. <script src=\"{{ asset('/assets/public/uglifyjs/main.js') }}\"></script>
  620. <!--
  621. <script src=\"{{ asset('/assets/public/uglifyjs/jquery-ui.js') }}\"></script>
  622. <script src=\"https://code.jquery.com/ui/1.13.2/jquery-ui.js\"></script>
  623. <script src=\"{{ asset('/assets/public/css/jquery-ui-1.13.2/jquery-ui.js') }}\"></script>
  624. -->
  625. <script src=\"{{ asset('/assets/public/uglifyjs/fix.js') }}\"></script>
  626. <link rel=\"stylesheet\" href=\"/css/scss/normalize.scss\"/>
  627. <link rel=\"stylesheet\" href=\"{{ asset('/css/scss/fa/font-awesome.scss') }}\"/>
  628. <link rel=\"stylesheet\" href=\"{{ asset('/assets/public/css/main.css') }}\"/>
  629. <link rel=\"stylesheet\" href=\"{{ asset('/assets/public/css/added.css') }}\"/>
  630. <link rel=\"stylesheet\" href=\"{{ asset('/assets/public/css/modal.css') }}\"/>
  631. <link rel=\"stylesheet\" href=\"{{ asset('/assets/public/css/jquery-ui-1.13.2/jquery-ui.css') }}\"/>
  632. <link rel=\"stylesheet\" href=\"{{ asset('/assets/public/css/fix.css') }}\"/>
  633. \t  <link rel=\"stylesheet\" href=\"{{ asset('/assets/new.css') }}\"/>
  634.   <script src=\"https://cdnjs.cloudflare.com/ajax/libs/jquery.mask/1.14.11/jquery.mask.js\"></script>
  635.   {% if pagePath == '/' %}
  636.     <script src=\"/js/new.swiper.js\" crossorigin=\"anonymous\"></script>
  637.   {% else %}
  638.   <script type=\"text/javascript\" src=\"/new/assets/main.js\"></script>
  639.   {% endif %}
  640. {% endblock %}
  641.     <script src=\"/new2/js/main.js\"></script>
  642. </head>
  643. <body id=\"body\">
  644. <div class=\"main {% if index_page is defined %} index-page {% else %} no_index_page {% endif %}\">
  645.   {{ block('header', 'TroikaRealEstateBundle:Default:_header2.html.twig') }}
  646.   {% block main %}
  647.   {% endblock %}
  648.   {{ block('blogs', 'TroikaRealEstateBundle:Default:_blogs2.html.twig') }}
  649.   {{ block('footer', 'TroikaRealEstateBundle:Default:_footer2.html.twig') }}
  650. </div>
  651. {{ block('modals', 'TroikaRealEstateBundle:Default:_modals.html.twig') }}
  652.   <script src=\"{{ asset('/assets/public/uglifyjs/new/bc19409.js') }}\"></script>
  653. <div class=\"spinner__layout hide\">
  654.   <div class=\"spinner\">
  655.     <img src=\"/img/loader.gif\" alt=\"Загрузка\">
  656.   </div>
  657. </div>
  658. <script src=\"{{ asset('/assets/public/css/jquery-ui-1.13.2.ac/jquery-ui.js') }}\"></script>
  659. {% block goals %}
  660.   {# TODO Scheglov Это скрипт фидбэка, что юэер открыл страницу и т.п. Переделать в функцию! #}
  661. {% endblock %}
  662. </body>
  663. </html>
  664. ""TroikaRealEstateBundle:Default:layout.html.twig""/home/troikaestate/public_html/src/Troika/RealEstateBundle/Resources/views/Default/layout.html.twig");
  665.     }
  666. }