<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* TroikaRealEstateBundle:EstateList:special.html.twig */
class __TwigTemplate_2bf874cb75a442e00a2190a7a66381f646433a0de79492366790199bff64a704 extends \Twig\Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'title' => [$this, 'block_title'],
'description' => [$this, 'block_description'],
'canonicallink' => [$this, 'block_canonicallink'],
'main' => [$this, 'block_main'],
'javascripts' => [$this, 'block_javascripts'],
'pg' => [$this, 'block_pg'],
];
}
protected function doGetParent(array $context)
{
// line 1
return "TroikaRealEstateBundle:Default:layout.html.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "TroikaRealEstateBundle:EstateList:special.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "TroikaRealEstateBundle:EstateList:special.html.twig"));
$this->parent = $this->loadTemplate("TroikaRealEstateBundle:Default:layout.html.twig", "TroikaRealEstateBundle:EstateList:special.html.twig", 1);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
// line 4
public function block_title($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
echo " ";
if (array_key_exists("filterpreset", $context)) {
// line 5
echo " ";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["filterpreset"]) || array_key_exists("filterpreset", $context) ? $context["filterpreset"] : (function () { throw new RuntimeError('Variable "filterpreset" does not exist.', 5, $this->source); })()), "seotitle", [], "array", false, false, false, 5), "html", null, true);
echo "
";
} else {
// line 6
echo "Эксклюзивные предложения от «Troika Estate»";
}
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 7
public function block_description($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "description"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "description"));
if (array_key_exists("filterpreset", $context)) {
// line 8
echo " ";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["filterpreset"]) || array_key_exists("filterpreset", $context) ? $context["filterpreset"] : (function () { throw new RuntimeError('Variable "filterpreset" does not exist.', 8, $this->source); })()), "seodesc", [], "array", false, false, false, 8), "html", null, true);
echo "
";
} else {
// line 9
echo "Эксклюзивное жилье выбирают те люди,
которые ценят роскошь, индивидуальность и непревзойденный стиль.
Найти его не так просто, но в этом вопросе легко поможет команда
профессионалов по грамотному подбору недвижимости.";
}
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 13
public function block_canonicallink($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "canonicallink"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "canonicallink"));
echo "https://troikaestate.ru/special_offers/";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 15
public function block_main($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "main"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "main"));
// line 16
echo " <style>
/*.navigation {
height: 82px !important;
}*/
@media (max-width: 480px) {
.cards .cards-item .cards-item-text {
margin-top: -47px;
height: auto;
padding: 5px 20px !important;
}
}
</style>
<!-- yamaps disable
<div id=\"card-map\" class=\"map map__catalog\"></div>
<script src=\"https://api-maps.yandex.ru/2.1/?apikey=b768297a-39c6-4852-9956-1d07c2261d8f&lang=ru_RU\" type=\"text/javascript\"></script>
-->
<div id=\"content\" class=\"content content__catalog-map\">
<div class=\"wrapper special-offers\">
<ul class=\"hb hide__phone hide__tablet hbtmfix\">
<li><a href=\"/\">Элитная недвижимость</a></li>
<li class=\"current\">Эксклюзивные предложения</li>
</ul>
<!--<h1>Эксклюзивные предложения</h1>-->
<div id=\"layout\" class=\"layout layout__catalog layout__catalog-exclusive layout__catalog-map\">
<div class=\"layout-column-right\">
<div class=\"controls controls__double pull-left show__tablet\">
<input type=\"radio\" name=\"type\" class=\"hide\" id=\"sell-list\" value=\"list\" checked>
<label class=\"btn btn__white btn__small nobr\" for=\"sell-list\">Продажа</label>
<input type=\"radio\" name=\"type\" class=\"hide\" value=\"map\" id=\"arenda-map\">
<label class=\"btn btn__white btn__small nobr\" for=\"arenda-map\">Аренда</label>
</div>
<ul class=\"catalog-sort pull-left\">
<li>Объектов: <span id=\"count\">";
// line 51
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["lots"]) || array_key_exists("lots", $context) ? $context["lots"] : (function () { throw new RuntimeError('Variable "lots" does not exist.', 51, $this->source); })()), "getTotalItemCount", [], "any", false, false, false, 51), "html", null, true);
echo "</span></li>
<li class=\"\"><a href=\"#\" class=\"inherit-link area hide_maps\">Площадь<i class=\"fa fa-sort\"></i></a></li>
<li class=\"\"><a href=\"#\" class=\"inherit-link distance hide_maps\">Удаленность<i class=\"fa fa-sort\"></i></a>
</li>
<li class=\"\"><a href=\"#\" class=\"inherit-link price hide_maps\">Цена<i class=\"fa fa-sort\"></i></a></li>
</ul>
<select name=\"type\" id=\"type\" multiple data-placeholder=\"все предложения\" class=\"hide__tablet hide__phone\">
<option value=\"1\">квартиры</option>
<option value=\"2\">дома и участки</option>
<option value=\"3\">офисы</option>
<option value=\"4\">зарубежная</option>
</select>
<div class=\"controls controls__double pull-left-on-mobile pull-right yamapfix-1 yamapfix-2\">
<input type=\"radio\" name=\"view\" class=\"hide\" id=\"view-list\" value=\"list\" checked><label
class=\"btn btn__white btn__small nobr\" for=\"view-list\"><i class=\"fa fa-list\"></i><span
class=\"show__desktop__inline\"> списком</span></label>
<input type=\"radio\" name=\"view\" class=\"hide\" value=\"map\" id=\"view-map\"><label
class=\"btn btn__white btn__small nobr\"
for=\"view-map\"><i
class=\"fa fa-map-marker\"></i><span class=\"show__desktop__inline\"> на карте</span></label>
</div>
<div id=\"layout-items\">
<div class=\"cards cards__list\">
";
// line 77
$this->loadTemplate("TroikaRealEstateBundle:EstateList:special.item.html.twig", "TroikaRealEstateBundle:EstateList:special.html.twig", 77)->display($context);
// line 78
echo " </div>
<div class=\"pages hide_maps\">
";
// line 80
echo $this->extensions['Knp\Bundle\PaginatorBundle\Twig\Extension\PaginationExtension']->render($this->env, (isset($context["lots"]) || array_key_exists("lots", $context) ? $context["lots"] : (function () { throw new RuntimeError('Variable "lots" does not exist.', 80, $this->source); })()));
echo "
</div>
</div>
</div>
</div>
</div>
</div>
<script>
window.lots = ";
// line 91
echo json_encode((isset($context["lotsAddresses"]) || array_key_exists("lotsAddresses", $context) ? $context["lotsAddresses"] : (function () { throw new RuntimeError('Variable "lotsAddresses" does not exist.', 91, $this->source); })()));
echo ";
setTimeout(function () {
\$('div#layout').show();
}, 1000);
</script>
<style>
div#content {
height: 2900px !important;
}
div#layout {
display: none;
}
@media (max-width: 600px) {
div#content {
height: 4000px !important;
}
}
@media (min-width: 600px) {
.layout__catalog-exclusive .for-hint.card-item-title.hint {
width: 300px !important;
}
}
</style>
<!-- yamaps disable
'@TroikaRealEstateBundle/Resources/public/js/catalog_map.coffee'
'@TroikaRealEstateBundle/Resources/public/js/filter.coffee'
-->
";
// line 125
$this->displayBlock('javascripts', $context, $blocks);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
public function block_javascripts($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
// line 126
echo " ";
// line 127
echo " <script src=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/assets/fiter_no_map.js"), "html", null, true);
echo "\"></script>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 134
public function block_pg($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "pg"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "pg"));
echo "special";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
public function getTemplateName()
{
return "TroikaRealEstateBundle:EstateList:special.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 309 => 134, 296 => 127, 294 => 126, 275 => 125, 238 => 91, 224 => 80, 220 => 78, 218 => 77, 189 => 51, 152 => 16, 142 => 15, 123 => 13, 109 => 9, 103 => 8, 92 => 7, 81 => 6, 75 => 5, 63 => 4, 40 => 1,);
}
public function getSourceContext()
{
return new Source("{% extends 'TroikaRealEstateBundle:Default:layout.html.twig' %}
{% block title %} {% if filterpreset is defined %}
{{ filterpreset['seotitle'] }}
{% else %}Эксклюзивные предложения от «Troika Estate»{% endif %}{% endblock %}
{% block description %}{% if filterpreset is defined %}
{{ filterpreset['seodesc'] }}
{% else %}Эксклюзивное жилье выбирают те люди,
которые ценят роскошь, индивидуальность и непревзойденный стиль.
Найти его не так просто, но в этом вопросе легко поможет команда
профессионалов по грамотному подбору недвижимости.{% endif %}{% endblock %}
{% block canonicallink %}https://troikaestate.ru/special_offers/{% endblock %}
{% block main %}
<style>
/*.navigation {
height: 82px !important;
}*/
@media (max-width: 480px) {
.cards .cards-item .cards-item-text {
margin-top: -47px;
height: auto;
padding: 5px 20px !important;
}
}
</style>
<!-- yamaps disable
<div id=\"card-map\" class=\"map map__catalog\"></div>
<script src=\"https://api-maps.yandex.ru/2.1/?apikey=b768297a-39c6-4852-9956-1d07c2261d8f&lang=ru_RU\" type=\"text/javascript\"></script>
-->
<div id=\"content\" class=\"content content__catalog-map\">
<div class=\"wrapper special-offers\">
<ul class=\"hb hide__phone hide__tablet hbtmfix\">
<li><a href=\"/\">Элитная недвижимость</a></li>
<li class=\"current\">Эксклюзивные предложения</li>
</ul>
<!--<h1>Эксклюзивные предложения</h1>-->
<div id=\"layout\" class=\"layout layout__catalog layout__catalog-exclusive layout__catalog-map\">
<div class=\"layout-column-right\">
<div class=\"controls controls__double pull-left show__tablet\">
<input type=\"radio\" name=\"type\" class=\"hide\" id=\"sell-list\" value=\"list\" checked>
<label class=\"btn btn__white btn__small nobr\" for=\"sell-list\">Продажа</label>
<input type=\"radio\" name=\"type\" class=\"hide\" value=\"map\" id=\"arenda-map\">
<label class=\"btn btn__white btn__small nobr\" for=\"arenda-map\">Аренда</label>
</div>
<ul class=\"catalog-sort pull-left\">
<li>Объектов: <span id=\"count\">{{ lots.getTotalItemCount }}</span></li>
<li class=\"\"><a href=\"#\" class=\"inherit-link area hide_maps\">Площадь<i class=\"fa fa-sort\"></i></a></li>
<li class=\"\"><a href=\"#\" class=\"inherit-link distance hide_maps\">Удаленность<i class=\"fa fa-sort\"></i></a>
</li>
<li class=\"\"><a href=\"#\" class=\"inherit-link price hide_maps\">Цена<i class=\"fa fa-sort\"></i></a></li>
</ul>
<select name=\"type\" id=\"type\" multiple data-placeholder=\"все предложения\" class=\"hide__tablet hide__phone\">
<option value=\"1\">квартиры</option>
<option value=\"2\">дома и участки</option>
<option value=\"3\">офисы</option>
<option value=\"4\">зарубежная</option>
</select>
<div class=\"controls controls__double pull-left-on-mobile pull-right yamapfix-1 yamapfix-2\">
<input type=\"radio\" name=\"view\" class=\"hide\" id=\"view-list\" value=\"list\" checked><label
class=\"btn btn__white btn__small nobr\" for=\"view-list\"><i class=\"fa fa-list\"></i><span
class=\"show__desktop__inline\"> списком</span></label>
<input type=\"radio\" name=\"view\" class=\"hide\" value=\"map\" id=\"view-map\"><label
class=\"btn btn__white btn__small nobr\"
for=\"view-map\"><i
class=\"fa fa-map-marker\"></i><span class=\"show__desktop__inline\"> на карте</span></label>
</div>
<div id=\"layout-items\">
<div class=\"cards cards__list\">
{% include 'TroikaRealEstateBundle:EstateList:special.item.html.twig' %}
</div>
<div class=\"pages hide_maps\">
{{ knp_pagination_render(lots) }}
</div>
</div>
</div>
</div>
</div>
</div>
<script>
window.lots = {{ lotsAddresses|json_encode()|raw }};
setTimeout(function () {
\$('div#layout').show();
}, 1000);
</script>
<style>
div#content {
height: 2900px !important;
}
div#layout {
display: none;
}
@media (max-width: 600px) {
div#content {
height: 4000px !important;
}
}
@media (min-width: 600px) {
.layout__catalog-exclusive .for-hint.card-item-title.hint {
width: 300px !important;
}
}
</style>
<!-- yamaps disable
'@TroikaRealEstateBundle/Resources/public/js/catalog_map.coffee'
'@TroikaRealEstateBundle/Resources/public/js/filter.coffee'
-->
{% block javascripts %}
{# { parent() } #}
<script src=\"{{ asset('/assets/fiter_no_map.js') }}\"></script>
{% endblock %}
{% endblock %}
{% block pg %}special{% endblock %}", "TroikaRealEstateBundle:EstateList:special.html.twig", "/home/troikaestate/public_html/src/Troika/RealEstateBundle/Resources/views/EstateList/special.html.twig");
}
}