mirror of
https://github.com/YunoHost-Apps/spip_ynh.git
synced 2024-09-03 20:25:59 +02:00
48 lines
1.8 KiB
HTML
48 lines
1.8 KiB
HTML
#SET{c,#VAL{article}|classement_populaires}
|
|
|
|
#BOITE_OUVRIR{'','note'}
|
|
<div class="stats-articles">
|
|
<div class="unit size1of2">
|
|
|
|
<p><:statistiques:info_visites_plus_populaires:></p>
|
|
<B_pluspop>
|
|
<ol class='classement'>
|
|
<BOUCLE_pluspop(ARTICLES){id_article IN #GET{c}}{0,30}{doublons}>
|
|
<li[ class="(#EXPOSE)"]><a href="[(#SELF|parametre_url{id_article,#ID_ARTICLE})]#contenu" class="ajax"
|
|
title="<:statistiques:info_popularite_3{visites=#VISITES,popularite=#POPULARITE}|attribut_html:>">#TITRE</a></li>
|
|
</BOUCLE_pluspop>
|
|
</ol>
|
|
<B_derniers>
|
|
<p class="center">[...]</p>
|
|
<ol class='classement'>
|
|
<BOUCLE_derniers(ARTICLES){popularite>0}{!par date}{0,10}{doublons}>
|
|
<li value="[(#ID_ARTICLE|array_search{#GET{c}}|plus{1})]"[ class="(#EXPOSE)"]><a href="[(#SELF|parametre_url{id_article,#ID_ARTICLE})]#contenu" class="ajax"
|
|
title="<:statistiques:info_popularite_3{visites=#VISITES,popularite=#POPULARITE}|attribut_html:>">#TITRE</a></li>
|
|
</BOUCLE_derniers>
|
|
</ol>
|
|
</B_derniers>
|
|
</B_pluspop>
|
|
|
|
|
|
</div>
|
|
<div class="unit lastUnit">
|
|
|
|
<p><:statistiques:info_affichier_visites_articles_plus_visites:></p>
|
|
#SET{c,#VAL{article}|classement_populaires}
|
|
<B_plusvisites>
|
|
<ol class='classement'>
|
|
<BOUCLE_plusvisites(ARTICLES){popularite>0}{!par visites}{0,30}>
|
|
<li value="[(#ID_ARTICLE|array_search{#GET{c}}|plus{1})]"[ class="(#EXPOSE)"]><a href="[(#SELF|parametre_url{id_article,#ID_ARTICLE})]#contenu" class="ajax"
|
|
title="<:statistiques:info_popularite_3{visites=#VISITES,popularite=#POPULARITE}|attribut_html:>">#TITRE</a></li>
|
|
</BOUCLE_plusvisites>
|
|
</ol>
|
|
</B_plusvisites>
|
|
|
|
<br class="nettoyeur" />
|
|
<hr />
|
|
<h4><:statistiques:info_comment_lire_tableau:></h4>
|
|
<p><:statistiques:texte_comment_lire_tableau:></p>
|
|
|
|
</div>
|
|
</div>
|
|
#BOITE_FERMER
|