{% extends 'TroikaRealEstateBundle:EstateList:layout.html.twig' %}
{% block filter %}
{% if page != 1 %}
<script>
BigBadPage = {{ page }}
</script>
{% endif %}
<a class="kpoisku" href="/"><i class="fa fa-chevron-left" aria-hidden="true"></i> К поиску
недвижимости</a>
<ul class="tabs tabs__main tabs__column-2">
<li class="tabs-item {% if app.request.attributes.get('query') ends with "_arenda" %} {% else %} active{% endif %}">
<a
class="inherit-link" href="/elit_kvartiry">Продажа</a></li>
<li class="tabs-item {% if app.request.attributes.get('query') ends with "_arenda" %} active{% endif %}"><a
class="inherit-link"
href="/elit_kvartiry_arenda">Аренда</a>
</li>
</ul>
<div class="panel-action" id="big-search">
<i class="fa fa-search"></i>
расширенный поиск
</div>
<div class="panel-container">
<input style="display: block" id="text" type="text" autocomplete="off" class="control city-text"
placeholder="Введите адрес или ЖК">
<div style="display: block" class="fa fa__control fa-search pull-right"></div>
</div>
<div class="main_left_col">
<input type="radio" name="price" value="1" {% if app.request.get('price') == 1 %} checked {% endif %} >
<label for="price">
{% if app.request.attributes.get('query') ends with "_arenda" %}
до 300 тыс
{% else %}
до 30 млн
{% endif %}
</label>
<input type="radio" name="price" value="2" {% if app.request.get('price') == 1 %} checked {% endif %} >
<label for="price" style="margin:-5px">
{% if app.request.attributes.get('query') ends with "_arenda" %}
до 1 млн
{% else %}
до 100 млн
{% endif %}
</label>
<input type="radio" name="price" value="3" {% if app.request.get('price') == 1 %} checked {% endif %} >
<label for="price">
{% if app.request.attributes.get('query') ends with "_arenda" %}
> 1 млн
{% else %}
> 100 млн
{% endif %}
</label>
</div>
<div class="main_left_col">
<input type="radio" name="space" value="1">
<label for="space">до 100 м<sup>2</sup></label>
<input type="radio" name="space" value="2">
<label for="space" style="margin:-5px">до 200 м<sup>2</sup></label>
<input type="radio" name="space" value="3">
<label for="space">> 200 м<sup>2</sup></label>
</div>
<select name="area" id="district" multiple data-placeholder="выбрать район" autocomplete="on" style="display: none;">
{% for district in districts %}
<option value="{{ district.id }}">{{ district.name }}</option>
{% endfor %}
</select>
<select name="metro" id="subway" multiple data-placeholder="выбрать станцию метро" autocomplete="on"
style="display: none;">
{% for subway in subways %}
<option value="{{ subway.id }}">{{ subway.name }}</option>
{% endfor %}
</select>
<select name="type" id="type" data-placeholder="выбрать тип недвижимости" multiple autocomplete="on"
style="display: none;">
{% for type in types %}
<option value="{{ type.id }}">{{ type.name }}</option>
{% endfor %}
</select>
<div class="panel-container " style="margin-top: -3px;">
<input type="checkbox" id="sale_checkbox" {% if app.request.get('sale') == 1 %} checked {% endif %}
style="display: none">
<label for="sale_checkbox" class="sale_checkbox">скидка</label>
</div>
<div class="panel-action" id="reset"><i class="fa fa-repeat"></i> сбросить фильтр</div>
<!--
<a href="/complex" target="_blank" data-button="боковая панель" class="byjk">Посмотреть<br>новые ЖК</a>
-->
<div class="hr hr__dotted hide__phone"></div>
<div class="panel-callback">
<p>Мы подберем для вас<br>лучшие варианты</p>
<a href="#" data-button="боковая панель" style="width: 90%; padding: 12px 20px;" class="btn__question">Оставить
заявку</a>
</div>
{% endblock %}
{% block filterMobile %}
{% endblock %}
{% block list_item %}
{% include 'TroikaRealEstateBundle:EstateList:city.item.html.twig' %}
{% endblock %}
{% block sort %}
<div class="controls controls__double pull-left show__tablet">
<input type="radio" name="type" class="hide" id="sell-list"
value="list" {% if app.request.attributes.get('query') ends with "_arenda" %} {% else %} checked{% endif %}><a
href="/elit_kvartiry" class="btn btn__white btn__small nobr">Продажа</a>
<input type="radio" name="type" class="hide" value="map"
id="_arenda-map" {% if app.request.attributes.get('query') ends with "_arenda" %} checked{% endif %}><a
href="/elit_kvartiry_arenda" class="btn btn__white btn__small nobr">Аренда</a>
</div>
<ul class="catalog-sort pull-left">
<li>Объектов: <span id="count">{{ lots.getTotalItemCount }}</span></li>
{% set order = app.request.attributes.get('order') %}
{% set by = app.request.attributes.get('by') %}
<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 price hide_maps">Цена<i class="fa fa-sort"></i></a></li>
</ul>
{% endblock %}
{% block seo_infoblock1 %}
<div class="old_text city_huiti">
<h1> {{ h1 }} </h1>
{% if app.request.attributes.get('query') ends with "_arenda" %}
{% autoescape false %}
{{ seoFirstRent }}
{% endautoescape %}
{% else %}
{% autoescape false %}
{{ seoFirst }}
{% endautoescape %}
{% endif %}
</div>
{% endblock %}
{% block seo_infoblock2 %}
<div class="old_text">
{% if app.request.attributes.get('query') ends with "_arenda" %}
{% autoescape false %}
{{ seoSecondRent }}
{% endautoescape %}
{% else %}
{% autoescape false %}
{{ seoSecond }}
{% endautoescape %}
{% endif %}
</div>
{% endblock %}
{% block goals %}
<script>
$(document).ready(function () {
{% if app.environment != 'dev' %}
setTimeout(function () {
yaCounter20865403.reachGoal('anltc_city_list_open');
}, 1000);
{% endif %}
});
</script>
{% endblock %}
{% block pg %}city{% endblock %}