#SET{temps, #ARRAY} #SET{auteurs,#ARRAY} #SET{dates, #ARRAY} #SET{temps_date,#ARRAY} #ENV{date_debut,0}}{date<#ENV{date_fin,#ENV{date}}}{objet}{id_objet}{id_auteur ?}{id_auteur !IN #CONFIG{bigbrother/exclure_auteurs,#ARRAY}}{action = #ENV{journal_action}}> [(#SET{duree,[(#DATE|bigbrother_duree{[(#INFOS|table_valeur{date_fin})],secondes})]})] #SET{ temps, #GET{temps}|array_merge{ #ARRAY{ aut#ID_AUTEUR, #GET{temps}|table_valeur{aut#ID_AUTEUR,0}|plus{#GET{duree}} } } } [(#SET{date_new,[(#DATE|affdate{Y-m-d})]})] #SET{ temps_date, #GET{temps_date}|array_merge{ #ARRAY{ #GET{date_new}, #GET{temps_date}|table_valeur{#GET{date_new},0}|plus{#GET{duree}} } } } #SET{auteurs,#GET{auteurs}|push{#ID_AUTEUR}} #SET{dates,#GET{dates}|push{#GET{date_new}}}
#SET{auteurs,#GET{auteurs}|array_unique} #SET{nb_users,#GET{auteurs}|count} #SET{nb_visites,#TOTAL_BOUCLE} #SET{dates,#GET{dates}|array_unique}

<:bigbrother:titre_compilation_resultats:>

[(#ENV{id_auteur}|non)

<:bigbrother:info_stats_id_objet_visite_auteurs_nb{nb=#GET{nb_users},nb_visites=#GET{nb_visites},objet=#ENV{objet},id_objet=#ENV{id_objet}}:>

] [(#REM) Un auteur dans le contexte, pas besoin du tableau spécifique à cet auteur ni de son graphique ] [(#REM) Si pas d'id_auteur dans le contexte on affiche pour tous les auteurs ]

<:bigbrother:titre_visites_par_auteurs:>

#ANCRE_PAGINATION []
<:bigbrother:thead_id_auteur:> <:bigbrother:temps_passe:>
[(#VALEUR|is_numeric|oui) #INFO_NOM{auteur,#VALEUR}] [(#VALEUR|is_numeric|non) #VALEUR] (#GET{temps}|table_valeur{aut#VALEUR}|bigbrother_duree{0,horaire})
[]

<:bigbrother:temps_total:> : [(#GET{temps}|array_sum|bigbrother_duree{0, horaire})]

<:bigbrother:temps_median:> : [(#GET{temps}|bigbrother_mediane|floor|bigbrother_duree{0, horaire})]

<:bigbrother:temps_moyen:> : [(#GET{temps}|array_sum|div{#GET{auteurs}|count}|floor|bigbrother_duree{0, horaire})]

<:bigbrother:titre_visites_par_date:>

#ANCRE_PAGINATION []
<:bigbrother:thead_date:> <:bigbrother:thead_temps_consultation:>
[(#VALEUR|affdate)] (#GET{temps_date}|table_valeur{#VALEUR}|bigbrother_duree{0,horaire})
[]

<:bigbrother:temps_total:> : [(#GET{temps_date}|array_sum|bigbrother_duree{0, horaire})]

<:bigbrother:temps_median:> : [(#GET{temps_date}|bigbrother_mediane|floor|bigbrother_duree{0, horaire})]

<:bigbrother:temps_moyen:> : [(#GET{temps_date}|array_sum|div{[(#GET{dates}|count)]}|round|bigbrother_duree{0, horaire})]