templates/modele/modele.html.twig line 1

Open in your IDE?
  1.     
  2.      {% set premiereimage = 'images/property/ls1.jpg' %}
  3.  {% if annonce.image  != 'default-image.jpg' %}
  4. <div class="single_page_listing_style">
  5.         <div class="container-fluid p0">
  6.             <div class="row">
  7.                  {% set i = "0" %}
  8.                      {% set nbri = "0" %}
  9.         {% for image in image %}
  10.              {% set nbri = nbri + 1 %}                          
  11.                 {% if i == '0' %}
  12.   {% set i = i + 1 %}
  13.     {% set premiereimage = image.image %}
  14.   
  15.                 <div class="col-sm-6 col-lg-6 p0">
  16.                     <div class="row m0">
  17.                         <div class="col-lg-12 p0">
  18.                             <div class="spls_style_one pr1 1px">
  19.                                 <img class="img-fluid w100" src="{{ asset('https://{{image.domaine}}/uploads/' ~ image.image)  | imagine_filter('gallerieone')  }}" alt="ls1.jpg">
  20.                             </div>
  21.                         </div>
  22.                     </div>
  23.                 </div>
  24.                 <div class="col-sm-6 col-lg-6 p0">
  25.                     <div class="row m0">
  26. {% else %}
  27.  
  28.  {% if nbri < '6' %}
  29.  
  30.                         <div class="col-sm-6 col-lg-6 p0">
  31.                             <div class="spls_style_one">
  32.                                 <a class="popup-img" href="{{ asset('https://{{image.domaine}}/' ~ image.image)  | imagine_filter('gallerienext')  }}"><img class="img-fluid w100" src="{{ asset('/uploads/' ~ image.image)  | imagine_filter('gallerienext')  }}" alt="ls2.jpg"></a>
  33.                             </div>
  34.                         </div>
  35.  
  36.   {% endif %}
  37.  
  38.    {% endif %}
  39.   {% endfor %}
  40.     
  41.  
  42.  {% set i = 4 - nbri   %}    
  43.   
  44.  {% for i in 0.. i  %}
  45.  
  46.   <div class="col-sm-6 col-lg-6 p0">
  47.                             <div class="spls_style_one">
  48.                                 <a class="popup-img" href="{{ asset('images/property/ls5.jpg')  }}"><img class="img-fluid w100" src="{{ asset('images/property/ls5.jpg')  }}" alt="ls5.jpg"></a>
  49.                             </div>
  50.                         </div>
  51.                         
  52.  
  53. {% endfor %}
  54.  
  55.     
  56.                     </div>
  57.                 </div>
  58.             </div>
  59.         </div>
  60.     </div>
  61.    {% endif %}
  62. <section class="p0">
  63.         <div class="container">
  64.             <div class="row listing_single_row">
  65.                 <div class="col-sm-6 col-lg-7 col-xl-8">
  66.                     <div class="single_property_title">
  67.                         <a href="{{ asset('{{urlimage}}/uploads/' ~ premiereimage)  | imagine_filter('gallerieone')  }}" class="upload_btn popup-img"><span class="flaticon-photo-camera"></span> View Photos</a>
  68.                     </div>
  69.                 </div>
  70.             <div class="col-sm-6 col-lg-5 col-xl-4">
  71.                     <div class="single_property_social_share">
  72.                         <div class="spss style2 mt10 text-right tal-400">
  73.                             <ul class="mb0">
  74.                                 <li class="list-inline-item"><a href="../gallery/{{ annonce.slug }}"><span class="flaticon-photo-camera"></span></a></li>
  75.                                 <li class="list-inline-item"><a href="{{ path('post_like', {'id':annonce.id})}}" class="js-like"><span class="flaticon-heart"></span></a></li>
  76.                                 <li class="list-inline-item"><a href="#" onclick="javascript:open_infos();"><span class="flaticon-share"></span></a></li>
  77.                                 <li class="list-inline-item"><a href="../pdf/logement/{{ annonce.slug }}"><span class="flaticon-printer"></span></a></li>
  78.                             </ul>
  79.                         </div>
  80.                     </div>
  81.                 </div>
  82.             </div>
  83.         </div>
  84.     </section>
  85.  <script type="text/javascript">
  86.         <!--
  87.                 function open_infos()
  88.                 {
  89.                         width = 300;
  90.                         height = 200;
  91.                         if(window.innerWidth)
  92.                         {
  93.                                 var left = (window.innerWidth-width)/2;
  94.                                 var top = (window.innerHeight-height)/2;
  95.                         }
  96.                         else
  97.                         {
  98.                                 var left = (document.body.clientWidth-width)/2;
  99.                                 var top = (document.body.clientHeight-height)/2;
  100.                         }
  101.                         window.open('/partage/{{ annonce.slug }} ','nom_de_ma_popup','menubar=no, scrollbars=no, top='+top+', left='+left+', width='+width+', height='+height+'');
  102.                 }
  103.         -->
  104.         </script>
  105.         <!-- Agent Single Grid View -->
  106.     <section class="our-agent-single bgc-f7 pb30-991">
  107.         <div class="container">
  108.             <div class="row">
  109.                 <div class="col-md-12 col-lg-8 mt50">
  110.                     <div class="row">
  111.                         <div class="col-lg-12">
  112.                             <div class="listing_single_description2 mt30-767 mb30-767">
  113.                                 <div class="single_property_title">
  114.                                     <h2>{{ annonce.titre }}</h2>
  115.                                     <p>1421 San Pedro St, Los Angeles, CA 90015</p>
  116.                                 </div>
  117.                                 <div class="single_property_social_share style2">
  118.                                     <div class="price">
  119.                                         <h2>{{ annonce.prix }}<small>/mo</small></h2>
  120.                                     </div>
  121.                                 </div>
  122.                             </div>
  123.                         </div>
  124.                         <div class="col-lg-12">
  125.                             <div class="listing_single_description style2">
  126.                                 <div class="lsd_list">
  127.                                     <ul class="mb0">
  128.                                         <li class="list-inline-item"><a href="#">
  129.                                             {% if  annonce.logement ==  1 %}
  130.                                         Maison
  131.                                         {% endif %} 
  132.                                         {% if  annonce.logement ==  2 %}
  133.                                         Apartment
  134.                                         {% endif %} 
  135.                                         {% if  annonce.logement ==  3 %}
  136.                                         Garage
  137.                                         {% endif %} 
  138.                                         {% if  annonce.logement ==  4 %}
  139.                                         Local commercial
  140.                                         {% endif %} 
  141.                                         
  142.                                         
  143.                                         
  144.                                         </a></li>
  145.                                         <li class="list-inline-item"><a href="#">Beds: 4</a></li>
  146.                                         <li class="list-inline-item"><a href="#">Baths: 2</a></li>
  147.                                         <li class="list-inline-item"><a href="#">Sq Ft: 5280</a></li>
  148.                                     </ul>
  149.                                 </div>
  150.                                 <h4 class="mb30">Description</h4>
  151.                                 <p class="mb25">Evans Tower very high demand corner junior one bedroom plus a large balcony boasting full open NYC views. You need to see the views to believe them. Mint condition with new hardwood floors. Lots of closets plus washer and dryer.</p>
  152.                                 <p class="gpara second_para white_goverlay mt10 mb10">Fully furnished. Elegantly appointed condominium unit situated on premier location. PS6. The wide entry hall leads to a large living room with dining area. This expansive 2 bedroom and 2 renovated marble bathroom apartment has great windows. Despite the interior views, the apartments Southern and Eastern exposures allow for lovely natural light to fill every room. The master suite is surrounded by handcrafted milkwork and features incredible walk-in closet and storage space.</p>
  153.                                 <div class="collapse" id="collapseExample">
  154.                                       <div class="card card-body">
  155.                                         <p class="mt10 mb10">Fully furnished. Elegantly appointed condominium unit situated on premier location. PS6. The wide entry hall leads to a large living room with dining area. This expansive 2 bedroom and 2 renovated marble bathroom apartment has great windows. Despite the interior views, the apartments Southern and Eastern exposures allow for lovely natural light to fill every room. The master suite is surrounded by handcrafted milkwork and features incredible walk-in closet and storage space.</p>
  156.                                         <p class="mt10 mb10">Fully furnished. Elegantly appointed condominium unit situated on premier location. PS6. The wide entry hall leads to a large living room with dining area. This expansive 2 bedroom and 2 renovated marble bathroom apartment has great windows. Despite the interior views, the apartments Southern and Eastern exposures allow for lovely natural light to fill every room. The master suite is surrounded by handcrafted milkwork and features incredible walk-in closet and storage space.</p>
  157.                                       </div>
  158.                                 </div>
  159.                                 <p class="overlay_close">
  160.                                     <a class="text-thm fz14" data-toggle="collapse" href="#collapseExample" role="button" aria-expanded="false" aria-controls="collapseExample">
  161.                                         Show More <span class="flaticon-download-1 fz12"></span>
  162.                                       </a>
  163.                                 </p>
  164.                             </div>
  165.                         </div>
  166.                         <div class="col-lg-12">
  167.                             <div class="additional_details">
  168.                                 <div class="row">
  169.                                     <div class="col-lg-12">
  170.                                         <h4 class="mb15">Détails de la propriété</h4>
  171.                                     </div>
  172.                                     <div class="col-md-6 col-lg-6 col-xl-4">
  173.                                         <ul class="list-inline-item">
  174.                                             <li><p>Property ID :</p></li>
  175.                                             <li><p>Prix :</p></li>
  176.                                             <li><p>Superficie:</p></li>
  177.                                             <li><p>Year Built :</p></li>
  178.                                         </ul>
  179.                                         <ul class="list-inline-item">
  180.                                             <li><p><span>HZ27</span></p></li>
  181.                                             <li><p><span>{{ annonce.prix }} Euros</span></p></li>
  182.                                             <li><p><span>{{ annonce.superficie }} M2</span></p></li>
  183.                                             <li><p><span>2016-01-09</span></p></li>
  184.                                         </ul>
  185.                                     </div>
  186.                                     <div class="col-md-6 col-lg-6 col-xl-4">
  187.                                         <ul class="list-inline-item">
  188.                                             <li><p>Chambres :</p></li>
  189.                                             <li><p>Salles de bain :</p></li>
  190.                                             <li><p>Garage :</p></li>
  191.                                             <li><p>Garage Size :</p></li>
  192.                                         </ul>
  193.                                         <ul class="list-inline-item">
  194.                                             <li><p><span>
  195.                                             {% if  annonce.chambre ==  0  %}
  196.                                             Non renseigné 
  197.                                             {% else %}
  198.                                             {{ annonce.chambre }}
  199.                                         {% endif %} 
  200.                                             </span></p></li>
  201.                                             <li><p><span>
  202.                                             {% if  annonce.salledebain ==  0  %}
  203.                                             Non renseigné 
  204.                                             {% else %}
  205.                                             {{ annonce.salledebain }}
  206.                                         {% endif %} 
  207.                                             
  208.                                             </span></p></li>
  209.                                             <li><p><span>{% if  annonce.garage ==  0  %}
  210.                                             Non renseigné 
  211.                                             {% else %}
  212.                                             {{ annonce.garage }}
  213.                                         {% endif %} </span></p></li>
  214.                                             <li><p><span>200 SqFt</span></p></li>
  215.                                         </ul>
  216.                                     </div>
  217.                                     <div class="col-md-6 col-lg-6 col-xl-4">
  218.                                         <ul class="list-inline-item">
  219.                                             <li><p>Type :</p></li>
  220.                                             <li><p>Status :</p></li>
  221.                                         </ul>
  222.                                         <ul class="list-inline-item">
  223.                                             <li><p><span>
  224.                                             
  225.                                             {% if  annonce.logement ==  1 %}
  226.                                         Maison
  227.                                         {% endif %} 
  228.                                         {% if  annonce.logement ==  2 %}
  229.                                         Apartment
  230.                                         {% endif %} 
  231.                                         {% if  annonce.logement ==  3 %}
  232.                                         Garage
  233.                                         {% endif %} 
  234.                                         {% if  annonce.logement ==  4 %}
  235.                                         Local commercial
  236.                                         {% endif %} 
  237.                                             
  238.                                             
  239.                                             
  240.                                             </span></p></li>
  241.                                             <li><p><span>
  242.                                             
  243.                                             {% if  annonce.transaction ==  1 %}
  244.                                         À vendre
  245.                                         {% endif %} 
  246.                                         {% if  annonce.transaction ==  2 %}
  247.                                         À loué
  248.                                         {% endif %} 
  249.                                             
  250.                                             </span></p></li>
  251.                                         </ul>
  252.                                     </div>
  253.                                 </div>
  254.                             </div>
  255.                         </div>
  256.