{% extends 'baseFront.html.twig' %}{% block stylesheetsextra %} <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/Trumbowyg/2.26.0/ui/trumbowyg.min.css"> <!-- <link href="/css/theme-style.css" rel="stylesheet"> -->{% endblock %}{% block javascriptsextra %} <script src="https://cdnjs.cloudflare.com/ajax/libs/Trumbowyg/2.26.0/trumbowyg.min.js"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery.bootstrapvalidator/0.5.3/js/bootstrapValidator.min.js"></script> {% endblock %}{% block content %} <!--start section page body--> <section id="section-body" class="search-page" data-operacio="{{params_url.operacio}}" data-supertipus="{{params_url.supertipus}}" data-province="{{params_url.province}}" data-locality="{{params_url.locality}}" data-zona="{{params_url.zona}}" data-features="{{params_url.features}}" data-subtipus="{{params_url.subtipus}}"> <div class="container"> <div class="page-title breadcrumb-top"> <div class="row"> <div class="col-sm-12"> <!-- <ol class="breadcrumb"> <li > <a href="/"><i class="fa fa-home"></i></a> </li> <?php echo $breadcrumbs; ?> </ol> --> <div class="page-title-left"> <h2>{{title}}<small> <span id="trobats">{{title_count}}</span> {{title_count_text}}</small></h2> </div> <div class="page-title-right"> <!-- <button type="button" class="btn btn-secondary" data-toggle="modal" data-target="#alertModal"> {{texts['nous_anuncis']}} </button> --> <div class="view hidden-xs"> <div class="table-cell"> <span class="view-btn btn-list active"><i class="fa fa-th-list"></i></span> <span class="view-btn btn-grid"><i class="fa fa-th-large"></i></span> </div> </div> </div> </div> </div> </div> <div class="row"> <div class="col-lg-4 col-md-4 col-sm-6 col-xs-12 col-md-offset-0 col-sm-offset-3 container-sidebar"> <aside id="sidebar" class="sidebar-white"> <div class="widget widget-range"> <div class="widget-body"> <form id="form-basic"> <div class="range-block rang-form-block"> <div class="row"> <div class="col-sm-12 col-xs-12"> <div class="form-group"> <select class="selectpicker" data-live-search="false" data-live-search-style="begins" title="{{texts['type_property']}}" onchange="document.location=$(this).val();"> {% for super in array_supertipos %} <option value='{{super['value']}}' {{super['selected']}}>{{super['name']}}</option> {% endfor %} </select> </div> </div> <div class="col-sm-12 col-xs-12"> <div class="form-group"> <select class="selectpicker" data-live-search="false" data-live-search-style="begins" title="{{texts['cercador_localitat']}}" onchange="document.location.href=$(this).val();"> <optgroup> {% for localidad in array_localidades1 %} <option value="{{localidad['value']}}" {{localidad['selected']}}>{{localidad['text']}}</option> {% endfor %} </optgroup> <optgroup> {% for localidad in array_localidades2 %} <option value="{{localidad['value']}}" {{localidad['selected']}}>{{localidad['text']}}</option> {% endfor %} </optgroup> </select> </div> </div> {% if zona_resultados %} <div class="col-sm-12 col-xs-12"> <div class="form-group"> <select class="selectpicker" data-live-search="false" data-live-search-style="begins" title="{{texts['zona']}}" onchange="document.location.href=$(this).val();" id="zona-cerca-2" name="zona-cerca-2"> <option value="{{url_zona}}">{{texts['all_areas']}}</option> {% for zonas in array_zonas %} <option value="{{zonas['value']}}" {{zonas['selected']}}>{{zonas['text']}}</option> {% endfor %} </select> </div> </div> {% endif %} </div> </div> </form> <form id="form-hidden"> <input type="hidden" name="h_mmin" id="h_mmin" value="{{ (filtres['h_mmin'] is defined)? filtres['h_mmin'] : '' }}" /> <input type="hidden" name="h_mmax" id="h_mmax" value="{{ (filtres['h_mmax'] is defined)? filtres['h_mmax'] : '' }}" /> <input type="hidden" name="h_preu_min" id="h_preu_min" value="{{ (filtres['h_preu_min'] is defined)? filtres['h_preu_min'] : '' }}" /> <input type="hidden" name="h_preu_max" id="h_preu_max" value="{{ (filtres['h_preu_max'] is defined)? filtres['h_preu_max'] : '' }}" /> <input type="hidden" name="h_dorm" id="h_dorm" value="{{ (filtres['h_dorm'] is defined)? filtres['h_dorm'] : '' }}" /> <input type="hidden" name="h_banos" id="h_banos" value="{{ (filtres['h_banos'] is defined)? filtres['h_banos'] : '' }}" /> <input type="hidden" name="h_subtipus" id="h_subtipus" value="{{ (filtres['h_subtipus'] is defined)? filtres['h_subtipus'] : '' }}" /> <input type="hidden" name="h_caracter_vivenda_ascensor" id="h_caracter_vivenda_ascensor" value="{{ (filtres['h_caracter_vivenda_ascensor'] is defined)? filtres['h_caracter_vivenda_ascensor'] : '' }}" /> <input type="hidden" name="h_caracter_vivenda_terrassa" id="h_caracter_vivenda_terrassa" value="{{ (filtres['h_caracter_vivenda_terrassa'] is defined)? filtres['h_caracter_vivenda_terrassa'] : '' }}" /> <input type="hidden" name="h_caracter_vivenda_piscina" id="caracter_vivenda_piscina" value="{{ (filtres['h_caracter_vivenda_piscina'] is defined)? filtres['h_caracter_vivenda_piscina'] : '' }}" /> <input type="hidden" name="h_caracter_vivenda_parkings" id="h_caracter_vivenda_piscina" value="{{ (filtres['h_caracter_vivenda_parkings'] is defined)? filtres['h_caracter_vivenda_parkings'] : '' }}" /> <input type="hidden" name="h_caracter_vivenda_traster" id="h_caracter_vivenda_traster" value="{{ (filtres['h_caracter_vivenda_traster'] is defined)? filtres['h_caracter_vivenda_traster'] : '' }}" /> <input type="hidden" name="h_caracter_vivenda_calefaccio" id="h_caracter_vivenda_calefaccio" value="{{ (filtres['h_caracter_vivenda_calefaccio'] is defined)? filtres['h_caracter_vivenda_calefaccio'] : '' }}" /> <input type="hidden" name="h_caracter_vivenda_aire" id="h_caracter_vivenda_aire" value="{{ (filtres['h_caracter_vivenda_aire'] is defined)? filtres['h_caracter_vivenda_aire'] : '' }}" /> <input type="hidden" name="h_caracter_vivenda_balco" id="h_caracter_vivenda_balco" value="{{ (filtres['h_caracter_vivenda_balco'] is defined)? filtres['h_caracter_vivenda_balco'] : '' }}" /> <input type="hidden" name="h_caracter_oficina_seguretat" id="h_caracter_oficina_seguretat" value="{{ (filtres['h_caracter_oficina_seguretat'] is defined)? filtres['h_caracter_oficina_seguretat'] : '' }}" /> <input type="hidden" name="h_caracter_oficina_parkings" id="h_caracter_oficina_parkings" value="{{ (filtres['h_caracter_oficina_parkings'] is defined)? filtres['h_caracter_oficina_parkings'] : '' }}" /> <input type="hidden" name="h_caracter_oficina_aire" id="h_caracter_oficina_aire" value="{{ (filtres['h_caracter_oficina_aire'] is defined)? filtres['h_caracter_oficina_aire'] : '' }}" /> <input type="hidden" name="h_p" id="h_p" value="{{ (filtres['h_p'] is defined)? filtres['h_p'] : '' }}" /> <input type="hidden" name="h_sortby" id="h_sortby" value="{{ (filtres['h_sortby'] is defined)? filtres['h_sortby'] : '' }}" /> <input type="hidden" name="subTipoId" id="subTipoId" value="{{ (filtres['subTipoId'] is defined)? filtres['subTipoId'] : '' }}" /> <input type="hidden" name="featuresId" id="featuresId" value="{{ (filtres['featuresId'] is defined)? filtres['featuresId'] : '' }}" /> <input type="hidden" name="in_api" id="in_api" value="{{ (filtres['in_api'] is defined)? filtres['in_api'] : '' }}" /> <input type="hidden" name="h_publicacio" id="h_publicacio" value="{{ (filtres['h_publicacio'] is defined)? filtres['h_publicacio'] : '' }}" /> <input type="hidden" name="h_publicacio" id="h_publicacio" value="{{ (filtres['h_publicacio'] is defined)? filtres['h_publicacio'] : '' }}" /> <input type="hidden" name="idsupertipus" id="idsupertipus" value="{{idtipus}}" /> </form> <form id="form-advanced"> <div class="range-block rang-form-block"> <div class="row"> <div class="col-sm-6 col-xs-12"> <div class="form-group"> <select class="selectpicker" data-live-search="false" data-live-search-style="begins" title="{{texts['cercador_preu_minim']}}" id="preu_min" name="preu_min"> <option value="0">{{texts['indiferent']}}</option> {% for precio in array_precios_1 %} <option value="{{precio['value']}}" {{precio['selected']}}>{{precio['text']}}</option> {% endfor %} </select> </div> </div> <div class="col-sm-6 col-xs-12"> <div class="form-group"> <select class="selectpicker" data-live-search="false" data-live-search-style="begins" title="{{texts['cercador_preu_maxim']}}" id="preu_max" name="preu_max"> <option value="0">{{texts['indiferent']}}</option> {% for precio in array_precios_2 %} <option value="{{precio['value']}}" {{precio['selected']}}>{{precio['text']}}</option> {% endfor %} </select> </div> </div> <div class="col-sm-6 col-xs-12"> <div class="form-group"> <select class="selectpicker" data-live-search="false" data-live-search-style="begins" title="{{texts['superficie_minim']}}" id="mmin" name="mmin"> <option value="0">{{texts['indiferent']}}</option> <option value="50" {{ (filtres['mmin'] is defined and filtres['mmin'] == 50)? "selected" : '' }}> >50 m²</option> <option value="80" {{ (filtres['mmin'] is defined and filtres['mmin'] == 80)? "selected" : '' }}> >80 m²</option> <option value="120" {{ (filtres['mmin'] is defined and filtres['mmin'] == 120)? "selected" : '' }}> >120 m²</option> <option value="160" {{ (filtres['mmin'] is defined and filtres['mmin'] == 160)? "selected" : '' }}> >160 m²</option> <option value="200" {{ (filtres['mmin'] is defined and filtres['mmin'] == 200)? "selected" : '' }}> >200 m²</option> <option value="240" {{ (filtres['mmin'] is defined and filtres['mmin'] == 240)? "selected" : '' }}> >240 m²</option> <option value="280" {{ (filtres['mmin'] is defined and filtres['mmin'] == 280)? "selected" : '' }}> >280 m²</option> <option value="320" {{ (filtres['mmin'] is defined and filtres['mmin'] == 320)? "selected" : '' }}> >320 m²</option> <option value="400" {{ (filtres['mmin'] is defined and filtres['mmin'] == 400)? "selected" : '' }}> >400 m²</option> <option value="500" {{ (filtres['mmin'] is defined and filtres['mmin'] == 500)? "selected" : '' }}> >500 m²</option> <option value="600" {{ (filtres['mmin'] is defined and filtres['mmin'] == 600)? "selected" : '' }}> >600 m²</option> </select> </div> </div> <div class="col-sm-6 col-xs-12"> <div class="form-group"> <select class="selectpicker" data-live-search="false" data-live-search-style="begins" title="{{texts['superficie_maxim']}}" id="mmax" name="mmax"> <option value="0">{{texts['indiferent']}}</option> <option value="50" {{ (filtres['mmax'] is defined and filtres['mmax'] == 50)? "selected" : '' }} >50 m²</option> <option value="80" {{ (filtres['mmax'] is defined and filtres['mmax'] == 80)? "selected" : '' }} >80 m²</option> <option value="120" {{ (filtres['mmax'] is defined and filtres['mmax'] == 120)? "selected" : '' }} >120 m²</option> <option value="160" {{ (filtres['mmax'] is defined and filtres['mmax'] == 160)? "selected" : '' }} >160 m²</option> <option value="200" {{ (filtres['mmax'] is defined and filtres['mmax'] == 200)? "selected" : '' }} >200 m²</option> <option value="240" {{ (filtres['mmax'] is defined and filtres['mmax'] == 240)? "selected" : '' }} >240 m²</option> <option value="280" {{ (filtres['mmax'] is defined and filtres['mmax'] == 280)? "selected" : '' }} >280 m²</option> <option value="320" {{ (filtres['mmax'] is defined and filtres['mmax'] == 320)? "selected" : '' }} >320 m²</option> <option value="400" {{ (filtres['mmax'] is defined and filtres['mmax'] == 400)? "selected" : '' }} >400 m²</option> <option value="500" {{ (filtres['mmax'] is defined and filtres['mmax'] == 500)? "selected" : '' }} >500 m²</option> <option value="600" {{ (filtres['mmax'] is defined and filtres['mmax'] == 600)? "selected" : '' }} >600 m²</option> </select> </div> </div> {% if idtipus == 1 %} <div class="col-sm-6 col-xs-12"> <div class="form-group"> <select class="selectpicker" data-live-search="false" data-live-search-style="begins" title="{{texts['signia_dormitoris']}}" id="num_dorm" name="num_dorm"> <option value="0" {{ (filtres['dorm'] is defined and filtres['dorm'] == 0)? "selected" : '' }}>{{texts['indiferent']}}</option> <option value="1" {{ (filtres['dorm'] is defined and filtres['dorm'] == 1)? "selected" : '' }}>1</option> <option value="2" {{ (filtres['dorm'] is defined and filtres['dorm'] == 2)? "selected" : '' }}>2</option> <option value="3" {{ (filtres['dorm'] is defined and filtres['dorm'] == 3)? "selected" : '' }}>3</option> <option value="4" {{ (filtres['dorm'] is defined and filtres['dorm'] == 4)? "selected" : '' }}>4 +</option> </select> </div> </div> <div class="col-sm-6 col-xs-12"> <div class="form-group"> <select class="selectpicker" data-live-search="false" data-live-search-style="begins" title="{{texts['signia_banys']}}" id="num_banos" name="num_banos"> <option value="0" {{ (filtres['banos'] is defined and filtres['banos'] == 0)? "selected" : '' }}>{{texts['indiferent']}}</option> <option value="1" {{ (filtres['banos'] is defined and filtres['banos'] == 1)? "selected" : '' }}>1</option> <option value="2" {{ (filtres['banos'] is defined and filtres['banos'] == 2)? "selected" : '' }}>2</option> <option value="3" {{ (filtres['banos'] is defined and filtres['banos'] == 3)? "selected" : '' }}>3</option> <option value="4" {{ (filtres['banos'] is defined and filtres['banos'] == 4)? "selected" : '' }}>4 +</option> </select> </div> </div> {% endif %} <div class="col-sm-12 col-xs-12"> <label>{{texts['cercador_tipus_imm']}} </label> </div> <div class="col-sm-12 col-xs-12"> <div class="features-list"> {% if idtipus == 1 %} <label class="checkbox-inline"><input type="checkbox" value="1" id="1" name="1" {{checked['tipo_piso']}}>{{texts['cercador_pis']}}</label> <label class="checkbox-inline"><input type="checkbox" value="1" id="2" name="all_casas" {{checked['tipo_casa']}}>{{texts['signia_avancat_casas']}}</label> <label class="checkbox-inline"><input type="checkbox" value="1" id="35" name="35" {{checked['tipo_duplex']}}>{{texts['cercador_duplex']}}</label> <label class="checkbox-inline"><input type="checkbox" value="1" id="19" name="19" {{checked['tipo_atico']}}>{{texts['cercador_atic']}}</label> {% elseif idtipus == 2 %} <label class="checkbox-inline"><input type="checkbox" value="1" rel="subtype" id="4" name="4" {{checked['subtipo_oficina']}}>{{texts['signia_oficina']}}</label> <label class="checkbox-inline"><input type="checkbox" value="1" rel="subtype" id="13" name="13" {{checked['subtipo_despacho']}}>{{texts['signia_despacho']}}</label> <label class="checkbox-inline"><input type="checkbox" value="1" rel="subtype" id="22" name="22" {{checked['subtipo_oficina_otros']}}>{{texts['signia_altres']}}</label> {% elseif idtipus == 3 %} <label class="checkbox-inline"><input type="checkbox" value="1" rel="subtype" id="3" name="3" {{checked['subtipo_local']}}>{{texts['signia_comercial']}}</label> <label class="checkbox-inline"><input type="checkbox" value="1" rel="subtype" id="12" name="12" {{checked['subtipo_tienda']}}>{{texts['signia_tenda']}}</label> <label class="checkbox-inline"><input type="checkbox" value="1" rel="subtype" id="21" name="21" {{checked['subtipo_local_otros']}}>{{texts['signia_altres']}}</label> {% elseif idtipus == 4 %} <label class="checkbox-inline"><input type="checkbox" value="1" rel="subtype" id="8" name="8" {{checked['subtipo_garaje']}}>{{texts['signia_negoci']}}</label> <label class="checkbox-inline"><input type="checkbox" value="1" rel="subtype" id="17" name="17" {{checked['subtipo_plaza']}}>{{texts['signia_plaza']}}</label> <label class="checkbox-inline"><input type="checkbox" value="1" rel="subtype" id="26" name="26" {{checked['subtipo_garaje_otros']}}>{{texts['signia_altres']}}</label> {% elseif idtipus == 5 %} <label class="checkbox-inline"><input type="checkbox" value="1" rel="subtype" id="5" name="5" {{checked['subtipo_edificio_vertical']}}>{{texts['signia_vertical']}}</label> <label class="checkbox-inline"><input type="checkbox" value="1" rel="subtype" id="14" name="14" {{checked['subtipo_edificio_horizontal']}}>{{texts['signia_horitzontal']}}</label> <label class="checkbox-inline"><input type="checkbox" value="1" rel="subtype" id="23" name="23" {{checked['subtipo_edificio_otros']}}>{{texts['signia_altres']}}</label> {% elseif idtipus == 6 %} <label class="checkbox-inline"><input type="checkbox" value="1" rel="subtype" id="6" name="6" {{checked['subtipo_terreno_rustico']}}>{{texts['signia_rustic']}}</label> <label class="checkbox-inline"><input type="checkbox" value="1" rel="subtype" id="15" name="15" {{checked['subtipo_terreno_urbano']}}>{{texts['signia_urba']}}</label> <label class="checkbox-inline"><input type="checkbox" value="1" rel="subtype" id="24" name="24" {{checked['subtipo_terreno_otros']}}>{{texts['signia_altres']}}</label> {% elseif idtipus == 7 %} <label class="checkbox-inline"><input type="checkbox" value="1" rel="subtype" id="7" name="7" {{checked['subtipo_industrial_nave']}}>{{texts['signia_nau']}}</label> <label class="checkbox-inline"><input type="checkbox" value="1" rel="subtype" id="16" name="16" {{checked['subtipo_industrial_local']}}>{{texts['signia_avancat_local2']}}</label> <label class="checkbox-inline"><input type="checkbox" value="1" rel="subtype" id="25" name="25" {{checked['subtipo_industrial_otros']}}>{{texts['signia_altres']}}</label> {% endif %} </div> </div> <div class="col-sm-12 col-xs-12"> <label class="advance-trigger {{show_features_1}}"><i class="fa fa-plus-square"></i> {{texts['signia_caracteristiques']}} </label> </div> <div class="col-sm-12 col-xs-12"> <div class="features-list field-expand" {{show_features_2}} style="display:none"> {% if idtipus == 1 %} <label class="checkbox-inline"><input type="checkbox" value="1" rel="feature" id="ascensor" name="ascensor" {{checked['ascensor']}}>{{texts['signia_ascensor']}}</label> <label class="checkbox-inline"><input type="checkbox" value="1" rel="feature" id="terrassa" name="terrassa" {{checked['terrassa']}}>{{texts['signia_terrassa']}}</label> <label class="checkbox-inline"><input type="checkbox" value="1" rel="feature" id="piscina" name="piscina" {{checked['piscina']}}>{{texts['signia_piscina']}}</label> <label class="checkbox-inline"><input type="checkbox" value="1" rel="feature" id="parkings" name="parkings" {{checked['parkings']}}>{{texts['signia_avancat_parking2']}}</label> <label class="checkbox-inline"><input type="checkbox" value="1" rel="feature" id="traster" name="traster" {{checked['traster']}}>{{texts['signia_traster']}}</label> <label class="checkbox-inline"><input type="checkbox" value="1" rel="feature" id="calefaccio" name="calefaccio" {{checked['calefaccio']}}>{{texts['signia_calefaccio']}}</label> <label class="checkbox-inline"><input type="checkbox" value="1" rel="feature" id="aire" name="aire" {{checked['aire']}}>{{texts['signia_aire']}}</label> <label class="checkbox-inline"><input type="checkbox" value="1" rel="feature" id="balco" name="balco" {{checked['balco']}}>{{texts['signia_balco']}}</label> {% elseif idtipus == 2 %} <label class="checkbox-inline"><input type="checkbox" value="1" rel="feature" id="seguretat" name="seguretat" {{checked['seguretat']}}>{{texts['signia_ascensor']}}</label> <label class="checkbox-inline"><input type="checkbox" value="1" rel="feature" id="parkings" name="parkings" {{checked['parkings']}}>{{texts['signia_avancat_parking2']}}</label> <label class="checkbox-inline"><input type="checkbox" value="1" rel="feature" id="aire" name="aire" {{checked['aire']}}>{{texts['signia_aire']}}</label> {% endif %} </div> </div> <div class="col-sm-12 col-xs-12"> <label> {{texts['fecha_publicacion']}} </label> </div> <div class="col-sm-12 col-xs-12"> <div class="features-list"> <label class="checkbox-inline padding-left-0"><input type="radio" value="1" id="p_indiferent" name="data_publicacio" checked> {{texts['indiferent']}}</label> <label class="checkbox-inline padding-left-0"><input type="radio" value="2" id="p_hores" name="data_publicacio" {{checked['24h']}}> {{texts['last_24_hours']}}</label> <label class="checkbox-inline padding-left-0"><input type="radio" value="3" id="p_setmana" name="data_publicacio" {{checked['semana']}}> {{texts['last_week']}}</label> <label class="checkbox-inline padding-left-0"><input type="radio" value="4" id="p_mes" name="data_publicacio" {{checked['mes']}}> {{texts['last_month']}}</label> </div> </div> <div class="col-sm-12 col-xs-12"> <a class="btn btn-secondary btn-block" id="submit_cercador" href="javascript:submit_cercador_page();"> {{texts['filtrar_resultados']}}</a> </div> </div> </div> </form> </div> </div> <!-- Banner module--> <!-- <?php if($banner){ ?> <a href="<?= $banner['banner_url'] ?>" target="_blank"> <div id="banner-content" style="background: url('/images/<?= THEME; ?>/<?= $banner['banner'] ?>') no-repeat 50% 50% / cover; height: 280px!important; width: 330px;margin-top:1rem;"></div> </a> <?php } ?> end banner module --> </aside> </div> <div class="col-lg-8 col-md-8 col-sm-12 col-xs-12 list-grid-area container-contentbar"> <div id="content-area"> <!--start list tabs--> <div class="list-tabs table-list full-width"> <div class="tabs table-cell tabs-operations"> <ul> {% for tab in tabs_operations %} <li> <a href="{{tab['href']}}" class="{{tab['active']}}" rel="{{tab['rel']}}">{{tab['text']}}</a> </li> {% endfor %} </ul> </div> <div class="sort-tab table-cell text-right"> <form id="form-ordenacio"> <span class="text-ordenacio">{{texts['signia_ordenar_por']}}:</span> <select id="sort_by" class="selectpicker bs-select-hidden" title="Please select" data-live-search-style="begins" data-live-search="false"> <option selected="selected" value="">{{texts['signia_selecciona_opcion']}}</option> {% for key, value in sortby_list %} <option value="{{key}}" {{ ( sortby == key )? 'selected' : ""}} >{{value}}</option> {% endfor %} </select> </form> </div> </div> <!--end list tabs--> <!--start property items--> <div class="property-listing list-view"> <div class=""> {% if immobles['immobles']['rowcount'] is not defined %} <div class="col-lg-12 no-results-found text-center"> {{texts['signia_no_results']}} </div> {% endif %} {% for immoble in immobles['immobles']['recordset'] %} <div class="item-wrap "> <div class="property-item table-list"> <div class="table-cell content-figure-block"> <div class="figure-block"> <figure class="item-thumb item-thumb-list"> <div class="label-wrap"> <div class="label-status label label-default">{{text_seo_operacio}}</div> </div> <span class="label-featured label label-success">{{texts['tipo']}}</span> {% if immoble['destacado'] == 1 %} <span class="cartel_destacado" style="padding:9px 18px">{{texts['destacat']}}</span> {% endif %} <div class="price hide-on-list"> <h3>{{immoble['preu']}}€</h3> </div> <a href="{{immoble['url']}}" class="ir-detalle"> <img src="{{immoble['img']}}" alt="thumb"> </a> <div class="thumb-caption cap-actions clearfix"> <ul class="list-unstyled actions pull-right"> <li class="share-btn"> <div class="share_tooltip fade"> <a target="_blank" href="https://www.facebook.com/sharer/sharer.php?u={{immoble['url_seo']}}"><i class="fab fa-facebook-f"></i></a> <a target="_blank" href="https://twitter.com/intent/tweet?text={{immoble['title_detail']}}&url={{immoble['url_seo']}}"><i class="fab fa-twitter"></i></a> <a target="_blank" href="https://www.pinterest.com/pin/create/button?url={{immoble['url_seo']}}&media={{immoble['img']}}&description={{immoble['title_detail']}}"><i class="fab fa-pinterest"></i></a> </div> <span title="" data-placement="top" data-toggle="tooltip" data-original-title="{{texts['compartir']}}"><i class="fa fa-share-alt"></i></span> </li> <li> <span data-original-title="{{texts['llistat_resultats_fotos']}} ({{immoble['num_fotos']}})" data-toggle="tooltip" data-placement="top" title=""> <i class="fa fa-camera"></i> </span> </li> </ul> </div> </figure> </div> </div> <div class="item-body table-cell"> <div class="body-left table-cell"> <div class="info-row"> <h2 class="property-title"><a href="{{immoble['url']}}" class="ir-detalle">{{immoble['title_format']}}</a></h2> <h4 class="property-location"><i class="fas fa-map-marker-alt"></i> {{immoble['subtitle']}}</h4> </div> <div class="description-geoloc-home hide-on-grid"> {{immoble['descripcio_shot']}} </div> <div class="item-body-bottom features-on-foot hide-on-grid"> <ul class="item-amenities"> {% if immoble['num_dorm'] %} <li><span>{{immoble['num_dorm']}}</span> {{texts['fitxa_habitacions']}}</li> {% endif %} {% if immoble['num_banyos'] %} <li><span>{{immoble['num_banyos']}}</span> {{texts['signia_banys']}}</li> {% endif %} <li><span>{{immoble['superf_format']}}m<sup>2</sup></span> {{texts['size']}}</li> <li><span>{{immoble['eurosuperficie']}}€</span> {{texts['fitxa_preu']}} m<sup>2</sup></li> </ul> </div> </div> <div class="body-right table-cell hidden-gird-cell content-control-boton"> <div class="info-row price"> <h3>{{immoble['preu']}}€</h3> </div> <div class="control-boton"> <a href="{{immoble['url']}}" class="btn btn-primary pull-right ir-detalle">{{texts['veure']}} <i class="fa fa-angle-right fa-right"></i></a> <br /> <br /> <div class="info-row date text-right"> <p><i class="far fa-calendar-alt"></i>{{immoble['tiempo_publicacion']}}</p> </div> </div> </div> </div> </div> <div class="item-foot date hide-on-list"> <div class="item-body-bottom"> <ul class="item-amenities"> {% if immoble['num_dorm'] %} <li><span>{{immoble['num_dorm']}}</span> {{texts['fitxa_habitacions']}}</li> {% endif %} {% if immoble['num_banyos'] %} <li><span>{{immoble['num_banyos']}}</span> {{texts['signia_banys']}}</li> {% endif %} <li><span>{{immoble['superf_format']}}m<sup>2</sup></span> {{texts['size']}}</li> <li><span>{{immoble['eurosuperficie']}}€</span> {{texts['fitxa_preu']}} m<sup>2</sup></li> </ul> </div> <div class="item-foot-right"> <p><i class="far fa-calendar-alt"></i>{{immoble['tiempo_publicacion']}}</p> </div> </div> </div> {% endfor %} </div> </div> <!--end property items--> <hr> <!--start Pagination--> <div class="pagination-main"> {{immobles['pagination'] | raw}} </div> <!--start Pagination--> </div> </div> </div> </div> </section> <!--end section page body--> <!-- Modal alerta nuevos anuncios --> <div class="modal fade" id="alertModal" tabindex="-1" role="dialog" aria-labelledby="alertModalLabel" aria-hidden="true"> <div class="modal-dialog"> <div class="modal-content"> <div class="modal-header"> <h5 class="modal-title" id="alertModalLabel">{{texts['crear_alerta']}}</h5> <button type="button" class="close" data-dismiss="modal" aria-label="Close"> <span aria-hidden="true">×</span> </button> </div> <form id="form-new-alert" name="form-new-alert"> <div class="modal-body"> <input type="hidden" id="demand_mail_validation" value="{{texts['email_valid']}}" /> <input type="hidden" id="demand_policy_error" value="{{texts['acepta_politica']}}" /> <p>{{texts['alerta_modal']}}</p> <div class="form-group"> <label class="control-label" for="demand_mail">{{texts['enter_email']}}</label> <input class="form-control" type="text" name="demand_mail" id="demand_mail" > </div> <div class="form-group"> <label class="control-label" for="demand_policy"> <input type="checkbox" id="demand_policy" name="demand_policy" >{{texts['politica_alerta']}} </label> </div> </div> <div class="modal-footer form-group"> <button type="button" class="btn btn-secondary" data-dismiss="modal">{{texts['tancar']}}</button> <button type="submit" class="btn btn-primary" >{{texts['desar_alerta']}}</button> </div> </form> </div> </div> </div>{% endblock %}