98 lines
3.4 KiB
HTML
98 lines
3.4 KiB
HTML
#SET{id_grpe_tags, 0} #SET{grpes_importants,#ARRAY}
|
|
<BOUCLE_tags(GROUPES_MOTS){grigri = tags}>#SET{id_grpe_tags, #ID_GROUPE} </BOUCLE_tags>
|
|
<BOUCLE_grpes_importants(GROUPES_MOTS){obligatoire=oui}>#SET{grpes_importants,#GET{grpes_importants}|push{#ID_GROUPE}} </BOUCLE_grpes_importants>
|
|
|
|
#SET{id_mot_statut_bien,0}
|
|
<BOUCLE_statut_bien(GROUPES_MOTS){grigri == statut_bien}>
|
|
<BOUCLE_articles(MOTS){id_article}{id_groupe}{doublons}>
|
|
#SET{id_mot_statut_bien, #ID_MOT}
|
|
</BOUCLE_articles>
|
|
</BOUCLE_statut_bien>
|
|
|
|
<BOUCLE_article(ARTICLES){id_article}>
|
|
|
|
#SET{id_prev,0} #SET{id_next,0}
|
|
<BOUCLE_article_precedent(ARTICLES) {id_rubrique} {par rang} {precedent}> #SET{id_prev,#ID_ARTICLE} </BOUCLE_article_precedent>
|
|
<BOUCLE_article_next(ARTICLES) {id_rubrique} {par rang} {suivant}> #SET{id_next,#ID_ARTICLE} </BOUCLE_article_next>
|
|
|
|
[(#AUTORISER{modifier, article, #ID_ARTICLE})
|
|
<a class="btn pull-right btn_une" href="#URL_PAGE{editer_bien,id_article=#ID_ARTICLE }"><i class="fas fa-edit"></i> Editer</a>
|
|
[(#INCLURE{fond=inclure/bouton_une,id_article=#ENV{id_article}})]
|
|
]
|
|
|
|
<div class="parent_prev_next">
|
|
[(#GET{id_prev}|oui)
|
|
<div class="fleche gauche" title="Bien précédent">
|
|
<svg
|
|
data-id_article="#GET{id_prev}"
|
|
data-bloc_recharger="article"
|
|
class="fleche_gauche cursor"
|
|
width="40px" height="40px"
|
|
alt="precedent"
|
|
title="Bien précédent">
|
|
<use xlink:href="#fleche_gauche" />
|
|
</svg>
|
|
</div>
|
|
]
|
|
<h1>#TITRE</h1>
|
|
[(#GET{id_next}|oui)
|
|
<div class="fleche droite" title="Bien suivant">
|
|
<svg
|
|
data-id_article="#GET{id_next}"
|
|
data-bloc_recharger="article"
|
|
class="fleche_gauche cursor"
|
|
width="40px" height="40px"
|
|
alt="suivant"
|
|
title="Article suivant">
|
|
<use xlink:href="#fleche_droite" />
|
|
</svg>
|
|
</div>
|
|
]
|
|
</div>
|
|
<div class="la_une">
|
|
<div class="video_une">
|
|
<div class="container_slider">
|
|
[(#REM) surimpression "Vendu" "Loué"... ]
|
|
<BOUCLE_grpe_vendu(GROUPES_MOTS){grigri=etat_bien}>
|
|
<BOUCLE_vendu(MOTS){id_article}{id_groupe}{grigri!=defaut}>
|
|
<div class="container_etiquette[ (#DESCRIPTIF*)]">
|
|
<h3 class="surimpression">#TITRE</h3>
|
|
</div>
|
|
</BOUCLE_vendu>
|
|
</BOUCLE_grpe_vendu>
|
|
|
|
[(#MODELE{article_owl}{id_article=#ID_ARTICLE}{navigation=true}{autoplay=true}{dots=true})]
|
|
</div>
|
|
<B_mots>
|
|
<div class="mots">
|
|
[(#REM) afficher mots-clés et tags dont le groupe est "important" ]
|
|
<BOUCLE_mots(MOTS){id_article}{si #CONFIG{balint/tags_article}|!={non}}{id_groupe IN #GET{grpes_importants}}>
|
|
<a href="[(#URL_MOT)]" class="tag tags mrs[ (#ID_GROUPE|=={#GET{id_grpe_tags}}|?{hashtag,mot_cle})]"
|
|
data-id_mot="#ID_MOT" title="Les biens liées au[ (#ID_GROUPE|=={#GET{id_grpe_tags}}|?{tag,mot clé}) ]#TITRE">
|
|
<i class="fas fa-[(#ID_GROUPE|=={#GET{id_grpe_tags}}|?{hashtag,tag})]"></i>#TITRE
|
|
</a>
|
|
</BOUCLE_mots>
|
|
</div>
|
|
</B_mots>
|
|
</div>
|
|
<div class="aside_une">
|
|
[<h2 class="h3-like #EDIT{soustitre}">(#SOUSTITRE)</h2>]
|
|
<div class="texte #EDIT{texte}">#TEXTE</div>
|
|
[<div class="texte #EDIT{surface}">Surface: (#SURFACE)</div>]
|
|
[<div class="texte #EDIT{surface_parking}">Parking: (#SURFACE_PARKING)</div>]
|
|
[<div class="texte #EDIT{loyer}">Loyer: (#LOYER)</div>]
|
|
</div>
|
|
</div>
|
|
[(#REM)
|
|
<div class="carte container_carte">
|
|
<h3>Situation du bien</h3>
|
|
[(#INCLURE{fond=modeles/carte_yaller,
|
|
autocenterandzoom=oui,
|
|
height=500px,
|
|
id_article=#ID_ARTICLE})]
|
|
</div>
|
|
]
|
|
|
|
</BOUCLE_gis>
|
|
</BOUCLE_article>
|
|
|