File "stats-visites-jours-resume.html"

Full path: /home/argothem/www/v4_old/plugins-dist/statistiques/prive/squelettes/inclure/stats-visites-jours-resume.html
File size: 2.92 KB
MIME-type: text/html
Charset: utf-8

#SET{c,#LISTE}
[(#ENV{id_objet}|oui) 
	#SET{c,#ENV{objet}|classement_populaires} 
]

<table class='spip spip_table--responsive spip_table--statistiques spip_table--statistiques-resume'>
	<caption><:statistiques:resume:></caption>
	<thead>
		<tr>
			<th scope="col"><:info_maximum|label_nettoyer:></th>
			<th scope="col">
				[(#CONFIG{activer_referers, oui}|=={oui}|oui)
				<a href="[(#URL_ECRIRE{stats_referers}|parametre_url{jour,jour})]"
					title="<:statistiques:titre_liens_entrants|label_nettoyer|attribut_html:>: <:info_aujourdhui|label_nettoyer|attribut_html:>">
					<:info_aujourdhui|label_nettoyer:></a>]
				[(#CONFIG{activer_referers, oui}|=={oui}|non)<:info_aujourdhui|label_nettoyer:>]
			</th>
			<th scope="col">
				[(#CONFIG{activer_referers, oui}|=={oui}|oui)
				<a href="[(#URL_ECRIRE{stats_referers}|parametre_url{jour,veille})]"
					title="<:statistiques:titre_liens_entrants|label_nettoyer|attribut_html:>: <:info_hier|label_nettoyer|attribut_html:>">
					<:info_hier|label_nettoyer:>
				</a>]
				[(#CONFIG{activer_referers, oui}|=={oui}|non)<:info_hier|label_nettoyer:>]
			</th>
			<BOUCLE_arth(ARTICLES){id_article=#ENV{id_objet}}{statut?}{si #ENV{objet}|=={article}}>
				<th scope="col"><:statistiques:info_popularite_5|label_nettoyer:></th>
				<th scope="col"><:info_total|label_nettoyer:></th>
				<th scope="col"></th>
			</BOUCLE_arth>
				<th scope="col"><:info_total|label_nettoyer:></th>
				<th scope="col"><:statistiques:info_popularite_2|label_nettoyer:></th>
			<//B_arth>
		</tr>
	</thead>
	<tbody>
		<tr>
			#SET{stats,#NULL|statistiques_stats_generales}
			<td class="num" data-label="<:info_maximum|label_nettoyer|attribut_html:>">[(#GET{stats/max}|sinon{0}|number_format{0,"","&nbsp;"})]</td>
			<td class="num" data-label="<:info_aujourdhui|label_nettoyer|attribut_html:>">[(#GET{stats/today}|sinon{0}|number_format{0,"","&nbsp;"})]</td>
			<td class="num" data-label="<:info_hier|label_nettoyer|attribut_html:>">[(#GET{stats/yesterday}|sinon{0}|number_format{0,"","&nbsp;"})]</td>
			<BOUCLE_art(ARTICLES){id_article=#ENV{id_objet}}{statut?}{si #ENV{objet}|=={article}}>
				<td class="num" data-label="<:statistiques:info_popularite_5|label_nettoyer|attribut_html:>">[(#CHAMP_SQL{popularite}|round|number_format{0,"","&nbsp;"})]</td>
				<td class="num" data-label="<:info_total|label_nettoyer|attribut_html:>">[(#VISITES|sinon{0}|round|number_format{0,"","&nbsp;"})]</td>
				<td class="num" data-label="">[<strong>(#ID_ARTICLE|array_search{#GET{c}}|plus{1})</strong>[(#GET{c}|count|singulier_ou_pluriel{info_classement_1,info_classement_2,liste})]]</td>
			</BOUCLE_art>
				<td class="num" data-label="<:info_total|label_nettoyer|attribut_html:>">[(#REM|stats_total|sinon{0}|number_format{0,"","&nbsp;"})]</td>
				<td class="num" data-label="<:statistiques:info_popularite_2|label_nettoyer|attribut_html:>">[(#CONFIG{popularite_total}|sinon{0}|round|number_format{0,"","&nbsp;"})]</td>
			<//B_art>
		</tr>
	</tbody>
</table>