1 | [(#REM) remettre l'autorisation d'admin ] |
---|
2 | |
---|
3 | <h1><:abo:statistiques:></h1> |
---|
4 | |
---|
5 | <!--#navigation--> |
---|
6 | <INCLURE{fond=inc/menu_abonnement} /> |
---|
7 | |
---|
8 | <div class="cadre cadre-info"> |
---|
9 | |
---|
10 | <strong><:abo:abonnes:></strong> |
---|
11 | |
---|
12 | <div class="stats_generales"> |
---|
13 | <ul> |
---|
14 | <li> |
---|
15 | <:abo:nombre_abonnes_a_jour:> |
---|
16 | <BOUCLE_abonnes_a_jour(AUTEURS_ELARGIS_ABONNEMENTS){fusion 1=1}{statut_paiement=ok}{validite>#DATE}{compte DISTINCT(id_auteur)}> |
---|
17 | <strong>#COMPTE{id_auteur}</strong> |
---|
18 | </BOUCLE_abonnes_a_jour> |
---|
19 | <strong>0</strong> |
---|
20 | <//B_abonnes_a_jour> |
---|
21 | </li> |
---|
22 | <li> |
---|
23 | <:abo:nombre_abonnes_dechus:> |
---|
24 | <BOUCLE_abonnes_dechus(AUTEURS_ELARGIS_ABONNEMENTS){fusion 1=1}{statut_paiement=ok}{validite!=0}{validite<#DATE}{compte DISTINCT(id_auteur)}> |
---|
25 | <strong>#COMPTE{id_auteur}</strong> |
---|
26 | </BOUCLE_abonnes_dechus> |
---|
27 | <strong>0</strong> |
---|
28 | <//B_abonnes_dechus> |
---|
29 | </li> |
---|
30 | <li> |
---|
31 | <:abo:nombre_abonnes_relances:> |
---|
32 | <BOUCLE_abonnes_relances(AUTEURS_ELARGIS_ABONNEMENTS){fusion 1=1}{statut_paiement=ok}{validite!=0}{validite<#DATE}{stade_relance>0}{compte DISTINCT(id_auteur)}> |
---|
33 | <strong>#COMPTE{id_auteur}</strong> |
---|
34 | </BOUCLE_abonnes_relances> |
---|
35 | <strong>0</strong> |
---|
36 | <//B_abonnes_relances> |
---|
37 | </li> |
---|
38 | <li> |
---|
39 | <:abo:nombre_abonnes_inscrits:> |
---|
40 | <BOUCLE_abonnes_inscrits(AUTEURS_ELARGIS){fusion 1=1}{compte DISTINCT(id_auteur)}> |
---|
41 | <strong>#COMPTE{id_auteur}</strong> |
---|
42 | </BOUCLE_abonnes_inscrits> |
---|
43 | <strong>0</strong> |
---|
44 | <//B_abonnes_inscrits> |
---|
45 | </li> |
---|
46 | </ul> |
---|
47 | </div> |
---|
48 | |
---|
49 | <strong><:abo:abonnements:></strong> |
---|
50 | |
---|
51 | |
---|
52 | <B_types> |
---|
53 | <table class="liste"> |
---|
54 | <thead> |
---|
55 | <th><:abo:label_libelle:></th> |
---|
56 | <th><:abo:nombre_abonnements:></th> |
---|
57 | <th><:abo:stats_montant:></th> |
---|
58 | </thead> |
---|
59 | <tbody> |
---|
60 | <BOUCLE_types(ABONNEMENTS){par id_abonnement}> |
---|
61 | <tr class="tr_liste"> |
---|
62 | <td>#LIBELLE</td> |
---|
63 | <BOUCLE_nombre(AUTEURS_ELARGIS_ABONNEMENTS){id_abonnement}{statut_paiement=ok}{somme montant}{compte montant}{fusion id_abonnement}> |
---|
64 | <td>#COMPTE{montant}</td> |
---|
65 | <td>[(#SOMME{montant}|number_format{2, ',', ' '}|replace{' ',' '})]</td> |
---|
66 | </BOUCLE_nombre> |
---|
67 | <td>0</td> |
---|
68 | <td>0</td> |
---|
69 | <//B_nombre> |
---|
70 | </tr> |
---|
71 | </BOUCLE_types> |
---|
72 | </tbody> |
---|
73 | <tfoot> |
---|
74 | <tr> |
---|
75 | <th><:abo:total:></th> |
---|
76 | <BOUCLE_nombre_total(AUTEURS_ELARGIS_ABONNEMENTS){statut_paiement=ok}{somme montant}{compte montant}{fusion 1=1}> |
---|
77 | <td>#COMPTE{montant}</td> |
---|
78 | <td>[(#SOMME{montant}|number_format{2, ',', ' '}|replace{' ',' '})]</td> |
---|
79 | </BOUCLE_nombre_total> |
---|
80 | <td>0</td> |
---|
81 | <td>0</td> |
---|
82 | <//B_nombre_total> |
---|
83 | </tr> |
---|
84 | </tfoot> |
---|
85 | </table> |
---|
86 | </B_types> |
---|
87 | |
---|
88 | <B_acheteurs> |
---|
89 | <strong><:abo:numeros_payants:></strong> |
---|
90 | <:abo:nombre_acheteurs_differents:> |
---|
91 | <BOUCLE_acheteurs(AUTEURS_ELARGIS_ARTICLES){fusion 1=1}{statut_paiement=ok}{compte DISTINCT(id_auteur_elargi)}> |
---|
92 | #COMPTE{id_auteur_elargi} |
---|
93 | </BOUCLE_acheteurs> |
---|
94 | |
---|
95 | <B_types_art> |
---|
96 | <table class="liste"> |
---|
97 | <thead> |
---|
98 | <th><:abo:label_nom:></th> |
---|
99 | <th><:abo:diffusion_payee:></th> |
---|
100 | <th><:abo:stats_montant:></th> |
---|
101 | </thead> |
---|
102 | <tbody> |
---|
103 | <BOUCLE_types_art(AUTEURS_ELARGIS_ARTICLES){!par id_article}{statut_paiement=ok}{fusion id_article}{compte montant}{somme montant}{pagination 20}> |
---|
104 | <tr class="tr_liste"> |
---|
105 | <td><BOUCLE_titre_art(ARTICLES){id_article}>#TITRE</BOUCLE_titre_art></td> |
---|
106 | <td>#COMPTE{montant}</td> |
---|
107 | <td>#SOMME{montant}</td> |
---|
108 | </tr> |
---|
109 | </BOUCLE_types_art> |
---|
110 | </tbody> |
---|
111 | <tfoot> |
---|
112 | <tr> |
---|
113 | <th><:abo:total:></th> |
---|
114 | <BOUCLE_nombre_art_total(AUTEURS_ELARGIS_ARTICLES){statut_paiement=ok}{somme montant}{compte montant}{fusion 1=1}> |
---|
115 | <td>#COMPTE{montant}</td> |
---|
116 | <td>#SOMME{montant}</td> |
---|
117 | </BOUCLE_nombre_art_total> |
---|
118 | <td>0</td> |
---|
119 | <td>0</td> |
---|
120 | <//B_nombre_art_total> |
---|
121 | </tr> |
---|
122 | </tfoot> |
---|
123 | </table> |
---|
124 | [<p class="pagination">(#PAGINATION)</p>] |
---|
125 | </B_types_art> |
---|
126 | |
---|
127 | </div><!-- cadre --> |
---|
128 | <!--/#navigation--> |
---|
129 | |
---|
130 | |
---|
131 | |
---|
132 | |
---|
133 | <div class="stats_liens_mois"> |
---|
134 | <p> |
---|
135 | <BOUCLE_annee(AUTEURS_ELARGIS_ABONNEMENTS){!par date}{fusion YEAR(date)}{' | '}> |
---|
136 | <BOUCLE_mois(AUTEURS_ELARGIS_ABONNEMENTS){annee_relatif}{!par date}{fusion MONTH(date)}{' | '}> |
---|
137 | <a href="[(#SELF|parametre_url{annee,#DATE|annee}|parametre_url{mois,#DATE|mois})]">[(#DATE|nom_mois)][ (#DATE|annee)]</a> |
---|
138 | </BOUCLE_mois> |
---|
139 | </BOUCLE_annee> |
---|
140 | </p> |
---|
141 | </div> |
---|
142 | |
---|
143 | [(#SET{seven,[(#VAL{Y-m-d H:i:s}|date{[(#VAL{0}|mktime{0,0,[(#VAL{m}|date)],[(#VAL{d}|date|moins{7})],[(#VAL{Y}|date)]})]})]})] |
---|
144 | <B_ce_mois_ci> |
---|
145 | <table class="spip"> |
---|
146 | <BOUCLE_ce_mois_ci(AUTEURS_ELARGIS_ABONNEMENTS) {agenda date, mois, (#ENV{annee}|sinon{#DATE|annee}), (#ENV{mois}|sinon{#DATE|mois})} {statut_paiement=ok}{fusion id_abonnement}{par id_abonnement}{!par date}> |
---|
147 | <BOUCLE_labonnement(ABONNEMENTS){id_abonnement}> |
---|
148 | <thead> |
---|
149 | <tr> |
---|
150 | <th colspan="6">[(#DATE|nom_mois)] [(#DATE|annee) ]</th> |
---|
151 | <BOUCLE_abonnes_nouveaux_7_jours(AUTEURS_ELARGIS_ABONNEMENTS){statut_paiement=ok}{date>#GET{seven}}{validite>(#ENV{date})}{fusion 1=1}{compte DISTINCT(id_auteur)}> |
---|
152 | <th colspan="2"><:abo:nouveaux_abonnes_depuis_7_jours:> |
---|
153 | <strong>[(#COMPTE{id_auteur}|sinon{0})]</strong> |
---|
154 | </th> |
---|
155 | </BOUCLE_abonnes_nouveaux_7_jours> |
---|
156 | </tr> |
---|
157 | </thead> |
---|
158 | <tbody> |
---|
159 | <tr class="tr_liste"> |
---|
160 | <th colspan="7">#LIBELLE</th><th>##ID_ABONNEMENT</th> |
---|
161 | </tr> |
---|
162 | <tr> |
---|
163 | <th><:abo:label_prenom:></th> |
---|
164 | <th><:abo:label_nom:></th> |
---|
165 | <th><:abo:label_adresse:></th> |
---|
166 | <th><:abo:label_cp:></th> |
---|
167 | <th><:abo:label_ville:></th> |
---|
168 | <th><:abo:label_pays:></th> |
---|
169 | <th><:abo:label_date_creation:></th> |
---|
170 | <th><:abo:label_date_expiration:></th> |
---|
171 | </tr> |
---|
172 | </BOUCLE_labonnement> |
---|
173 | <BOUCLE_inscrits_ce_mois_ci(AUTEURS_ELARGIS_ABONNEMENTS auteurs_elargis) {statut_paiement=ok} {mois_relatif}{id_abonnement}{!par date}> |
---|
174 | <tr class="tr_liste"> |
---|
175 | <td onclick="location.href='./?exec=auteur_infos&id_auteur=#ID_AUTEUR'">#PRENOM</td> |
---|
176 | <td onclick="location.href='./?exec=auteur_infos&id_auteur=#ID_AUTEUR'">#NOM_FAMILLE</td> |
---|
177 | <td>#ADRESSE</td> |
---|
178 | <td>#CODE_POSTAL</td> |
---|
179 | <td>#VILLE</td> |
---|
180 | <td>[(#PAYS|id_pays_to_pays)]</td> |
---|
181 | <td>[(#DATE|affdate{d/m/Y})]</td> |
---|
182 | <td>[(#VALIDITE|affdate{d/m/Y})]</td> |
---|
183 | </tr> |
---|
184 | </BOUCLE_inscrits_ce_mois_ci> |
---|
185 | </BOUCLE_ce_mois_ci> |
---|
186 | </tbody> |
---|
187 | </table> |
---|
188 | </B_ce_mois_ci> |
---|