templates/index/localite1.html.twig line 1

Open in your IDE?
  1.  
  2.       
  3.          <!-- Property Cities -->
  4.     <section id="property-city" class="property-city pb30">
  5.         <div class="container">
  6.             <div class="row">
  7.                 <div class="col-lg-6 offset-lg-3">
  8.                     <div class="main-title text-center">
  9.                         <h2>Find Properties in These Cities</h2>
  10.                         <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit.</p>
  11.                     </div>
  12.                 </div>
  13.             </div>
  14.             <div class="row">
  15.                 
  16.               {% set nbr = 0  %} 
  17.            {% set i = 0  %}
  18.                         
  19.                          {% for listeville in listeville %}
  20.                  
  21.    
  22.   {% set nbr = nbr + 1  %} 
  23.  {% if nbr == 2 %}
  24.  
  25.               {% set nbr = 0  %} 
  26.               
  27. {% endif %}
  28.                 {% if  listeville.classe ==  '1' %}
  29. <div class="col-lg-4 col-xl-4">
  30. {% else %}
  31. <div class="col-lg-8 col-xl-8">
  32.   {% endif %} 
  33.                     <div class="properti_city">
  34.                         <a href="../scroll/{{ listeville.ville_slug}}">
  35.                         <div class="thumb">
  36.                         
  37.                         
  38.                                         {% if  listeville.classe ==  '1' %}
  39. <img class="img-fluid w100" src="{{ asset('/uploads/index/' ~ listeville.imagemini) | imagine_filter('reducmini') }}" alt="pc1.jpg">
  40.             
  41. {% else %}
  42. <img class="img-fluid w100" src="{{ asset('/uploads/index/' ~ listeville.imagemini)  | imagine_filter('reducmaxi')  }}" alt="pc1.jpg">
  43.             
  44.   {% endif %} 
  45.                         
  46.                         
  47.                         
  48.                         </div>
  49.                         <div class="overlay">
  50.                             <div class="details">
  51.                                 <h4>{{ listeville.VilleNom}} </h4>    
  52.                                 <p> 
  53.                                 {% if  listeville.recherche !=  0 %}
  54.  {{ listeville.message}} </br>
  55.   {% endif %}                 
  56.                                 {{ listeville.nbrannonce}} Annonces</p>
  57.                             </div>
  58.                         </div>
  59.                         </a>
  60.                     </div>
  61.                 </div>
  62.      {% endfor %}
  63.             </div>
  64.         </div>
  65.     </section>