-46 Removals
+37 Additions

Created by:phpboost

1 <section id="module-stats"> 1 <section id="module-stats">
2 2
3 <header> 3 <header>
4 <h1>{L_STATS}</h1> 4 <h1>{L_STATS}</h1>
5 </header> 5 </header>
6 6
7 <nav id="menustats"> 7 <nav id="menustats">
8 <a href="" class="js-menu-button" onclick="open_submenu('menustats');return false;" title="${LangLoader::get_message('categories', 'categories-common')}"> 8 <a href="" class="js-menu-button" onclick="open_submenu('menustats');return false;" title="${LangLoader::get_message('categories', 'categories-common')}">
9 <i class="fa fa-bars"></i> ${LangLoader::get_message('categories', 'categories-common')} 9 <i class="fa fa-bars" aria-hidden="true"></i> ${LangLoader::get_message('categories', 'categories-common')}
10 </a> 10 </a>
11 <ul> 11 <ul>
12 <li> 12 <li>
13 <a href="{PATH_TO_ROOT}/stats/stats{U_STATS_SITE}#stats"> 13 <a href="{PATH_TO_ROOT}/stats/stats{U_STATS_SITE}#stats">
14 <i class="fa fa-home"></i> <span>{L_SITE}</span> 14 <i class="fa fa-home" aria-hidden="true"></i> <span>{L_SITE}</span>
15 </a> 15 </a>
16 </li> 16 </li>
17 <li> 17 <li>
18 <a href="{PATH_TO_ROOT}/stats/stats{U_STATS_USERS}#stats"> 18 <a href="{PATH_TO_ROOT}/stats/stats{U_STATS_USERS}#stats">
19 <i class="fa fa-users"></i> <span>{L_USERS}</span> 19 <i class="fa fa-users" aria-hidden="true"></i> <span>{L_USERS}</span>
20 </a> 20 </a>
21 </li> 21 </li>
22 <li> 22 <li>
23 <a href="{PATH_TO_ROOT}/stats/stats{U_STATS_VISIT}#stats"> 23 <a href="{PATH_TO_ROOT}/stats/stats{U_STATS_VISIT}#stats">
24 <i class="fa fa-eye"></i> <span>{L_VISITS}</span> 24 <i class="fa fa-eye" aria-hidden="true"></i> <span>{L_VISITS}</span>
25 </a> 25 </a>
26 </li> 26 </li>
27 <li> 27 <li>
28 <a href="{PATH_TO_ROOT}/stats/stats{U_STATS_PAGES}#stats"> 28 <a href="{PATH_TO_ROOT}/stats/stats{U_STATS_PAGES}#stats">
29 <i class="fa fa-file-o"></i> <span>{L_PAGES}</span> 29 <i class="far fa-file" aria-hidden="true"></i> <span>{L_PAGES}</span>
30 </a> 30 </a>
31 </li> 31 </li>
32 <li> 32 <li>
33 <a href="{PATH_TO_ROOT}/stats/stats{U_STATS_BROWSER}#stats"> 33 <a href="{PATH_TO_ROOT}/stats/stats{U_STATS_BROWSER}#stats">
34 <i class="fa fa-globe"></i> <span>{L_BROWSERS}</span> 34 <i class="fa fa-globe" aria-hidden="true"></i> <span>{L_BROWSERS}</span>
35 </a> 35 </a>
36 </li> 36 </li>
37 <li> 37 <li>
38 <a href="{PATH_TO_ROOT}/stats/stats{U_STATS_OS}#stats"> 38 <a href="{PATH_TO_ROOT}/stats/stats{U_STATS_OS}#stats">
39 <i class="fa fa-laptop"></i> <span>{L_OS}</span> 39 <i class="fa fa-laptop" aria-hidden="true"></i> <span>{L_OS}</span>
40 </a> 40 </a>
41 </li> 41 </li>
42 <li> 42 <li>
43 <a href="{PATH_TO_ROOT}/stats/stats{U_STATS_LANG}#stats"> 43 <a href="{PATH_TO_ROOT}/stats/stats{U_STATS_LANG}#stats">
44 <i class="fa fa-flag-o"></i> <span>{L_LANG}</span> 44 <i class="fa fa-flag" aria-hidden="true"></i> <span>{L_LANG}</span>
45 </a> 45 </a>
46 </li> 46 </li>
47 <li> 47 <li>
48 <a href="{PATH_TO_ROOT}/stats/stats{U_STATS_REFERER}#stats"> 48 <a href="{PATH_TO_ROOT}/stats/stats{U_STATS_REFERER}#stats">
49 <i class="fa fa-share-square-o"></i> <span>{L_REFERER}</span> 49 <i class="fa fa-share-square" aria-hidden="true"></i> <span>{L_REFERER}</span>
50 </a> 50 </a>
51 </li> 51 </li>
52 <li> 52 <li>
53 <a href="{PATH_TO_ROOT}/stats/stats{U_STATS_KEYWORD}#stats"> 53 <a href="{PATH_TO_ROOT}/stats/stats{U_STATS_KEYWORD}#stats">
54 <i class="fa fa-key"></i> <span>{L_KEYWORD}</span> 54 <i class="fa fa-key" aria-hidden="true"></i> <span>{L_KEYWORD}</span>
55 </a> 55 </a>
56 </li> 56 </li>
57 </ul> 57 </ul>
58 </nav> 58 </nav>
59 59
60 # IF C_STATS_SITE # 60 # IF C_STATS_SITE #
61 <table id="table"> 61 <table id="table">
62 <thead> 62 <thead>
63 <tr> 63 <tr>
64 <th> 64 <th>
65 {L_SITE} 65 {L_SITE}
66 </th> 66 </th>
67 </tr> 67 </tr>
68 </thead> 68 </thead>
69 <tbody> 69 <tbody>
70 <tr> 70 <tr>
71 <td> 71 <td>
72 {L_START}: <strong>{START}</strong> 72 {L_START}: <strong>{START}</strong>
73 </td> 73 </td>
74 </tr> 74 </tr>
75 <tr> 75 <tr>
76 <td> 76 <td>
77 {L_VERSION} PHPBoost: <strong>{VERSION}</strong> 77 {L_VERSION} PHPBoost: <strong>{VERSION}</strong>
78 </td> 78 </td>
79 </tr> 79 </tr>
80 </tbody> 80 </tbody>
81 </table> 81 </table>
82 # ENDIF # 82 # ENDIF #
83 83
84 # IF C_STATS_USERS # 84 # IF C_STATS_USERS #
85 <article> 85 <article>
86 <header> 86 <header>
87 <h2>{L_USERS}</h2> 87 <h2>{L_USERS}</h2>
88 </header> 88 </header>
89 89
90 <table id="table"> 90 <table id="table">
91 <thead> 91 <thead>
92 <tr> 92 <tr>
93 <th> 93 <th>
94 {L_USERS} 94 {L_USERS}
95 </th> 95 </th>
96 <th> 96 <th>
97 {L_LAST_USER} 97 {L_LAST_USER}
98 </th> 98 </th>
99 </tr> 99 </tr>
100 </thead> 100 </thead>
101 <tbody> 101 <tbody>
102 <tr> 102 <tr>
103 <td> 103 <td>
104 {USERS} 104 {USERS}
105 </td> 105 </td>
106 <td> 106 <td>
107 <a href="{U_LAST_USER_PROFILE}" class="{LAST_USER_LEVEL_CLASS}" # IF C_LAST_USER_GROUP_COLOR # style="color:{LAST_USER_GROUP_COLOR}" # ENDIF #>{LAST_USER}</a> 107 <a href="{U_LAST_USER_PROFILE}" class="{LAST_USER_LEVEL_CLASS}" # IF C_LAST_USER_GROUP_COLOR # style="color:{LAST_USER_GROUP_COLOR}" # ENDIF #>{LAST_USER}</a>
108 </td> 108 </td>
109 </tr> 109 </tr>
110 </tbody> 110 </tbody>
111 </table> 111 </table>
112 112
113 <div class="elements-container"> 113 <div class="elements-container">
114 <h3>{L_TEMPLATES}</h3> 114 <h3>{L_TEMPLATES}</h3>
115 <div class="block"> 115 <div class="block">
116 {GRAPH_RESULT_THEME} 116 {GRAPH_RESULT_THEME}
117 </div> 117 </div>
118 <div class="block"> 118 <div class="block">
119 <table id="table2"> 119 <table id="table2">
120 <thead> 120 <thead>
121 <tr> 121 <tr>
122 <th> 122 <th>
123 {L_TEMPLATES} 123 {L_TEMPLATES}
124 </th> 124 </th>
125 <th> 125 <th>
126 {L_COLORS} 126 {L_COLORS}
127 </th> 127 </th>
128 <th> 128 <th>
129 {L_USERS} 129 {L_USERS}
130 </th> 130 </th>
131 </tr> 131 </tr>
132 </thead> 132 </thead>
133 <tbody> 133 <tbody>
134 # START templates # 134 # START templates #
135 <tr> 135 <tr>
136 <td> 136 <td>
137 {templates.THEME} <span class="smaller">({templates.PERCENT}%)</span> 137 {templates.THEME} <span class="smaller">({templates.PERCENT}%)</span>
138 </td> 138 </td>
139 <td> 139 <td>
140 <div class="stats-color-square" style="background-color: {templates.COLOR};"></div> 140 <div class="stats-color-square" style="background-color: {templates.COLOR};"></div>
141 </td> 141 </td>
142 <td> 142 <td>
143 {templates.NBR_THEME} 143 {templates.NBR_THEME}
144 </td> 144 </td>
145 </tr> 145 </tr>
146 # END templates # 146 # END templates #
147 </tbody> 147 </tbody>
148 </table> 148 </table>
149 </div> 149 </div>
150 </div> 150 </div>
151 # IF C_DISPLAY_SEX # 151 # IF C_DISPLAY_SEX #
152 <div class="spacer"></div> 152 <div class="spacer"></div>
153 153
154 <div class="elements-container"> 154 <div class="elements-container">
155 <h3>{L_SEX}</h3> 155 <h3>{L_SEX}</h3>
156 <div class="block"> 156 <div class="block">
157 {GRAPH_RESULT_SEX} 157 {GRAPH_RESULT_SEX}
158 </div> 158 </div>
159 <div class="block"> 159 <div class="block">
160 <table id="table3"> 160 <table id="table3">
161 <thead> 161 <thead>
162 <tr> 162 <tr>
163 <th> 163 <th>
164 {L_SEX} 164 {L_SEX}
165 </th> 165 </th>
166 <th> 166 <th>
167 {L_COLORS} 167 {L_COLORS}
168 </th> 168 </th>
169 <th> 169 <th>
170 {L_USERS} 170 {L_USERS}
171 </th> 171 </th>
172 </tr> 172 </tr>
173 </thead> 173 </thead>
174 <tbody> 174 <tbody>
175 # START sex # 175 # START sex #
176 <tr> 176 <tr>
177 <td> 177 <td>
178 {sex.SEX} <span class="smaller">({sex.PERCENT}%)</span> 178 {sex.SEX} <span class="smaller">({sex.PERCENT}%)</span>
179 </td> 179 </td>
180 <td> 180 <td>
181 <div class="stats-color-square" style="background-color: {sex.COLOR};"></div> 181 <div class="stats-color-square" style="background-color: {sex.COLOR};"></div>
182 </td> 182 </td>
183 <td> 183 <td>
184 {sex.NBR_MBR} 184 {sex.NBR_MBR}
185 </td> 185 </td>
186 </tr> 186 </tr>
187 # END sex # 187 # END sex #
188 </tbody> 188 </tbody>
189 </table> 189 </table>
190 </div> 190 </div>
191 </div> 191 </div>
192 # ENDIF # 192 # ENDIF #
193 193
194 <div class="spacer"></div> 194 <div class="spacer"></div>
195 195
196 <table id="table4"> 196 <table id="table4">
197 <thead> 197 <thead>
198 <tr> 198 <tr>
199 <th colspan="3"> 199 <th colspan="3">
200 {L_TOP_TEN_POSTERS} 200 {L_TOP_TEN_POSTERS}
201 </th> 201 </th>
202 </tr> 202 </tr>
203 </thead> 203 </thead>
204 <tbody> 204 <tbody>
205 <tr> 205 <tr>
206 <td> 206 <td>
207 N&deg; 207 N&deg;
208 </td> 208 </td>
209 <td> 209 <td>
210 {L_PSEUDO} 210 {L_PSEUDO}
211 </td> 211 </td>
212 <td> 212 <td>
213 {L_MSG} 213 {L_MSG}
214 </td> 214 </td>
215 </tr> 215 </tr>
216 # START top_poster # 216 # START top_poster #
217 <tr> 217 <tr>
218 <td> 218 <td>
219 {top_poster.ID} 219 {top_poster.ID}
220 </td> 220 </td>
221 <td> 221 <td>
222 <a href="{top_poster.U_USER_PROFILE}" class="{top_poster.USER_LEVEL_CLASS}" # IF top_poster.C_USER_GROUP_COLOR # style="color: {top_poster.USER_GROUP_COLOR}" # ENDIF #>{top_poster.LOGIN}</a> 222 <a href="{top_poster.U_USER_PROFILE}" class="{top_poster.USER_LEVEL_CLASS}" # IF top_poster.C_USER_GROUP_COLOR # style="color: {top_poster.USER_GROUP_COLOR}" # ENDIF #>{top_poster.LOGIN}</a>
223 </td> 223 </td>
224 <td> 224 <td>
225 {top_poster.USER_POST} 225 {top_poster.USER_POST}
226 </td> 226 </td>
227 </tr> 227 </tr>
228 # END top_poster # 228 # END top_poster #
229 </tbody> 229 </tbody>
230 </table> 230 </table>
231 </article> 231 </article>
232 # ENDIF # 232 # ENDIF #
233 233
234 # IF C_STATS_VISIT # 234 # IF C_STATS_VISIT #
235 <form action="stats.php#stats" method="get"> 235 <form action="stats.php#stats" method="get">
236 <article> 236 <article>
237 <header> 237 <header>
238 <h2>{L_VISITORS}</h2> 238 <h2>{L_VISITORS}</h2>
239 </header> 239 </header>
240 <div class="elements-container"> 240 <div class="elements-container">
241 <div class="block block-xlarge"> 241 <div class="block block-xlarge">
242 # IF U_YEAR #<div class="date-selector-filter">{MONTH} {U_YEAR}</div># ENDIF # 242 # IF U_YEAR #<div class="date-selector-filter">{MONTH} {U_YEAR}</div># ENDIF #
243 <div class="date-selector-container"> 243 <div class="date-selector-container">
244 <p class="text-strong">{L_TOTAL}: {VISIT_TOTAL} &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {L_TODAY}: {VISIT_DAY}</p> 244 <p class="text-strong">{L_TOTAL}: {VISIT_TOTAL} &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {L_TODAY}: {VISIT_DAY}</p>
245 <a class="fa fa-arrow-left" href="stats{U_PREVIOUS_LINK}#stats"></a>&nbsp;&nbsp;&nbsp;&nbsp; 245 <a href="stats{U_PREVIOUS_LINK}#stats" aria-label="${LangLoader::get_message('previous', 'common')}"><i class="fa fa-arrow-left" aria-hidden="true" title="${LangLoader::get_message('previous', 'common')}"></i></a>&nbsp;&nbsp;&nbsp;&nbsp;
246 # IF C_STATS_DAY # 246 # IF C_STATS_DAY #
247 <select name="d"> 247 <select name="d">
248 {STATS_DAY} 248 {STATS_DAY}
249 </select> 249 </select>
250 # ENDIF # 250 # ENDIF #
251 # IF C_STATS_MONTH # 251 # IF C_STATS_MONTH #
252 <select name="m"> 252 <select name="m">
253 {STATS_MONTH} 253 {STATS_MONTH}
254 </select> 254 </select>
255 # ENDIF # 255 # ENDIF #
256 # IF C_STATS_YEAR # 256 # IF C_STATS_YEAR #
257 <select name="y"> 257 <select name="y">
258 {STATS_YEAR} 258 {STATS_YEAR}
259 </select> 259 </select>
260 # ENDIF # 260 # ENDIF #
261 261
262 &nbsp;&nbsp;&nbsp;&nbsp; 262 &nbsp;&nbsp;&nbsp;&nbsp;
263 <a class="fa fa-arrow-right" href="stats{U_NEXT_LINK}#stats"></a> 263 <a href="stats{U_NEXT_LINK}#stats" aria-label="${LangLoader::get_message('next', 'common')}"><i class="fa fa-arrow-right" aria-hidden="true" title="${LangLoader::get_message('next', 'common')}"></i></a>
264 <br /><br />
265 <p> 264 <p>
266 <input type="hidden" name="{TYPE}" value="1"> 265 <input type="hidden" name="{TYPE}" value="1">
267 <input type="hidden" name="token" value="{TOKEN}"> 266 <input type="hidden" name="token" value="{TOKEN}">
268 <button type="submit" name="date" value="true" class="submit">{L_SUBMIT}</button> 267 <button type="submit" name="date" value="true" class="submit">{L_SUBMIT}</button>
269 </p> 268 </p>
270 </div> 269 </div>
271 </div> 270 </div>
272 <div class="block"> 271 <div class="block">
273 # IF C_STATS_NO_GD # 272 # IF C_STATS_NO_GD #
274 <table id="table2"> 273 <table id="table2">
275 <tbody> 274 <tbody>
276 <tr> 275 <tr>
277 <td></td> 276 <td></td>
278 <td> 277 <td>
279 {MAX_NBR} 278 {MAX_NBR}
280 </td> 279 </td>
281 280
282 # START values # 281 # START values #
283 <td> 282 <td>
284 <table> 283 <table>
285 <tbody> 284 <tbody>
286 # START values.head # 285 # START values.head #
287 <tr> 286 <tr>
288 <td class="table-values-head"> 287 <td class="table-values-head">
289 </td> 288 </td>
290 </tr> 289 </tr>
291 # END values.head # 290 # END values.head #
292 <tr> 291 <tr>
293 <td class="table-values" style="height: {values.HEIGHT}px;"> 292 <td class="table-values" style="height: {values.HEIGHT}px;">
294 </td> 293 </td>
295 </tr> 294 </tr>
296 </tbody> 295 </tbody>
297 </table> 296 </table>
298 </td> 297 </td>
299 # END values # 298 # END values #
300 299
301 # START end_td # 300 # START end_td #
302 {end_td.END_TD} 301 {end_td.END_TD}
303 # END end_td # 302 # END end_td #
304 </tr> 303 </tr>
305 <tr> 304 <tr>
306 <td></td> 305 <td></td>
307 <td> 306 <td>
308 0 307 0
309 </td> 308 </td>
310 # START legend # 309 # START legend #
311 <td> 310 <td>
312 {legend.LEGEND} 311 {legend.LEGEND}
313 </td> 312 </td>
314 # END legend # 313 # END legend #
315 </tr> 314 </tr>
316 <tr> 315 <tr>
317 <td colspan="{COLSPAN}"></td> 316 <td colspan="{COLSPAN}"></td>
318 </tr> 317 </tr>
319 </tbody> 318 </tbody>
320 </table> 319 </table>
321 <br />
322 # ENDIF # 320 # ENDIF #
321
323 {GRAPH_RESULT} 322 {GRAPH_RESULT}
324 <p class="center">{L_TOTAL}: {SUM_NBR}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{L_AVERAGE}: {MOY_NBR}</p> 323 <p class="center">{L_TOTAL}: {SUM_NBR}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{L_AVERAGE}: {MOY_NBR}</p>
325 <p class="center">{U_VISITS_MORE}</p> 324 <p class="center">{U_VISITS_MORE}</p>
326 </div> 325 </div>
327 <div class="block"> 326 <div class="block">
328 <table id="table"> 327 <table id="table">
329 <thead> 328 <thead>
330 <tr> 329 <tr>
331 <th> 330 <th>
332 {L_DAY} 331 {L_DAY}
333 </th> 332 </th>
334 <th> 333 <th>
335 {L_VISITS_DAY} 334 {L_VISITS_DAY}
336 </th> 335 </th>
337 </tr> 336 </tr>
338 </thead> 337 </thead>
339 <tbody> 338 <tbody>
340 # START value # 339 # START value #
341 <tr> 340 <tr>
342 <td> 341 <td>
343 {value.U_DETAILS} 342 {value.U_DETAILS}
344 </td> 343 </td>
345 <td> 344 <td>
346 {value.NBR} 345 {value.NBR}
347 </td> 346 </td>
348 </tr> 347 </tr>
349 # END value # 348 # END value #
350 </tbody> 349 </tbody>
351 </table> 350 </table>
352 </div> 351 </div>
353 </div> 352 </div>
354 <div class="spacer"></div> 353 <div class="spacer"></div>
355 </article> 354 </article>
356 </form> 355 </form>
357 # ENDIF # 356 # ENDIF #
358 357
359 # IF C_STATS_BROWSERS # 358 # IF C_STATS_BROWSERS #
360 <article> 359 <article>
361 <header> 360 <header>
362 <h2>{L_BROWSERS}</h2> 361 <h2>{L_BROWSERS}</h2>
363 </header> 362 </header>
364 <div class="content elements-container"> 363 <div class="content elements-container">
365 <div class="block"> 364 <div class="block">
366 {GRAPH_RESULT} 365 {GRAPH_RESULT}
367 </div> 366 </div>
368 <div class="block"> 367 <div class="block">
369 <table id="table"> 368 <table id="table">
370 <thead> 369 <thead>
371 <tr> 370 <tr>
372 <th>{L_BROWSERS}</th> 371 <th>{L_BROWSERS}</th>
373 <th>{L_COLORS}</th> 372 <th>{L_COLORS}</th>
374 <th>{L_PERCENTAGE}</th> 373 <th>{L_PERCENTAGE}</th>
375 </tr> 374 </tr>
376 </thead> 375 </thead>
377 <tbody> 376 <tbody>
378 # START list # 377 # START list #
379 <tr> 378 <tr>
380 <td class="no-separator"> 379 <td class="no-separator">
381 {list.IMG} 380 {list.IMG}
382 </td> 381 </td>
383 <td class="no-separator"> 382 <td class="no-separator">
384 <div class="stats-color-square" style="background-color: {list.COLOR};"></div> 383 <div class="stats-color-square" style="background-color: {list.COLOR};"></div>
385 </td> 384 </td>
386 <td class="no-separator"> 385 <td class="no-separator">
387 {list.L_NAME} <span class="smaller">({list.PERCENT}%)</span> 386 {list.L_NAME} <span class="smaller">({list.PERCENT}%)</span>
388 </td> 387 </td>
389 </tr> 388 </tr>
390 # END list # 389 # END list #
391 </tbody> 390 </tbody>
392 </table> 391 </table>
393 </div> 392 </div>
394 </div> 393 </div>
395 <div class="spacer"></div> 394 <div class="spacer"></div>
396 395
397 </article> 396 </article>
398 # ENDIF # 397 # ENDIF #
399 398
400 # IF C_STATS_OS # 399 # IF C_STATS_OS #
401 <article> 400 <article>
402 <header> 401 <header>
403 <h2>{L_OS}</h2> 402 <h2>{L_OS}</h2>
404 </header> 403 </header>
405 <div class="elements-container"> 404 <div class="elements-container">
406 <div class="block"> 405 <div class="block">
407 {GRAPH_RESULT} 406 {GRAPH_RESULT}
408 </div> 407 </div>
409 <div class="block"> 408 <div class="block">
410 <table id="table"> 409 <table id="table">
411 <thead> 410 <thead>
412 <tr> 411 <tr>
413 <th>{L_OS}</th> 412 <th>{L_OS}</th>
414 <th>{L_COLORS}</th> 413 <th>{L_COLORS}</th>
415 <th>{L_PERCENTAGE}</th> 414 <th>{L_PERCENTAGE}</th>
416 </tr> 415 </tr>
417 </thead> 416 </thead>
418 <tbody> 417 <tbody>
419 # START list # 418 # START list #
420 <tr> 419 <tr>
421 <td class="no-separator"> 420 <td class="no-separator">
422 {list.IMG} 421 {list.IMG}
423 </td> 422 </td>
424 <td class="no-separator"> 423 <td class="no-separator">
425 <div class="stats-color-square" style="background-color: {list.COLOR};"></div> 424 <div class="stats-color-square" style="background-color: {list.COLOR};"></div>
426 </td> 425 </td>
427 <td class="no-separator"> 426 <td class="no-separator">
428 {list.L_NAME} <span class="smaller">({list.PERCENT}%)</span> 427 {list.L_NAME} <span class="smaller">({list.PERCENT}%)</span>
429 </td> 428 </td>
430 </tr> 429 </tr>
431 # END list # 430 # END list #
432 </tbody> 431 </tbody>
433 </table> 432 </table>
434 </div> 433 </div>
435 </div> 434 </div>
436 <div class="spacer"></div> 435 <div class="spacer"></div>
437 </article> 436 </article>
438 437
439 # ENDIF # 438 # ENDIF #
440 439
441 # IF C_STATS_LANG # 440 # IF C_STATS_LANG #
442 <article> 441 <article>
443 <header> 442 <header>
444 <h2>{L_LANG}</h2> 443 <h2>{L_LANG}</h2>
445 </header> 444 </header>
446 <div class="elements-container"> 445 <div class="elements-container">
447 <div class="block"> 446 <div class="block">
448 {GRAPH_RESULT} 447 {GRAPH_RESULT}
449 </div> 448 </div>
450 <div class="block"> 449 <div class="block">
451 <table id="table"> 450 <table id="table">
452 <thead> 451 <thead>
453 <tr> 452 <tr>
454 <th>{L_LANG}</th> 453 <th>{L_LANG}</th>
455 <th>{L_COLORS}</th> 454 <th>{L_COLORS}</th>
456 <th>{L_PERCENTAGE}</th> 455 <th>{L_PERCENTAGE}</th>
457 </tr> 456 </tr>
458 </thead> 457 </thead>
459 <tbody> 458 <tbody>
460 # START list # 459 # START list #
461 <tr> 460 <tr>
462 <td class="no-separator"> 461 <td class="no-separator">
463 {list.IMG} 462 {list.IMG}
464 </td> 463 </td>
465 <td class="no-separator"> 464 <td class="no-separator">
466 <div class="stats-color-square" style="background-color: {list.COLOR};"></div> 465 <div class="stats-color-square" style="background-color: {list.COLOR};"></div>
467 </td> 466 </td>
468 <td class="no-separator"> 467 <td class="no-separator">
469 {list.L_NAME} <span class="smaller">({list.PERCENT}%)</span> 468 {list.L_NAME} <span class="smaller">({list.PERCENT}%)</span>
470 </td> 469 </td>
471 </tr> 470 </tr>
472 # END list # 471 # END list #
473 </tbody> 472 </tbody>
474 </table> 473 </table>
475 </div> 474 </div>
476 </div> 475 </div>
477 <div class="spacer"></div> 476 <div class="spacer"></div>
478 </article> 477 </article>
479 # ENDIF # 478 # ENDIF #
480 479
481 # IF C_STATS_REFERER # 480 # IF C_STATS_REFERER #
482 <script> 481 <script>
483 <!-- 482 <!--
484 function XMLHttpRequest_referer(divid) 483 function XMLHttpRequest_referer(divid)
485 { 484 {
486 if ( document.getElementById('url' + divid).style.display != 'none' ) 485 if ( document.getElementById('url' + divid).style.display != 'none' )
487 { 486 {
488 jQuery('#url' + divid).fadeToggle(); 487 jQuery('#url' + divid).fadeToggle();
489 document.getElementById('img-url-' + divid).className = 'fa fa-plus-square-o'; 488 document.getElementById('img-url-' + divid).className = 'far fa-plus-square';
490 } 489 }
491 else 490 else
492 { 491 {
493 var xhr_object = null; 492 var xhr_object = null;
494 var filename = '{PATH_TO_ROOT}/stats/ajax/stats_xmlhttprequest.php?token={TOKEN}&stats_referer=1&id=' + divid; 493 var filename = '{PATH_TO_ROOT}/stats/ajax/stats_xmlhttprequest.php?token={TOKEN}&stats_referer=1&id=' + divid;
495 var data = null; 494 var data = null;
496 495
497 if (window.XMLHttpRequest) // Firefox 496 if (window.XMLHttpRequest) // Firefox
498 xhr_object = new XMLHttpRequest(); 497 xhr_object = new XMLHttpRequest();
499 else if (window.ActiveXObject) // Internet Explorer 498 else if (window.ActiveXObject) // Internet Explorer
500 xhr_object = new ActiveXObject("Microsoft.XMLHTTP"); 499 xhr_object = new ActiveXObject("Microsoft.XMLHTTP");
501 else // XMLHttpRequest non support? par le navigateur 500 else // XMLHttpRequest non support? par le navigateur
502 return; 501 return;
503 502
504 document.getElementById('load' + divid).innerHTML = '<i class="fa fa-spinner fa-spin"></i>'; 503 document.getElementById('load' + divid).innerHTML = '<i class="fa fa-spinner fa-spin"></i>';
505 504
506 xhr_object.open("POST", filename, true); 505 xhr_object.open("POST", filename, true);
507 xhr_object.onreadystatechange = function() 506 xhr_object.onreadystatechange = function()
508 { 507 {
509 if ( xhr_object.readyState == 4 && xhr_object.status == 200 && xhr_object.responseText != '' ) 508 if ( xhr_object.readyState == 4 && xhr_object.status == 200 && xhr_object.responseText != '' )
510 { 509 {
511 jQuery('#url' + divid).fadeToggle(); 510 jQuery('#url' + divid).fadeToggle();
512 document.getElementById('url' + divid).innerHTML = xhr_object.responseText; 511 document.getElementById('url' + divid).innerHTML = xhr_object.responseText;
513 document.getElementById('load' + divid).innerHTML = ''; 512 document.getElementById('load' + divid).innerHTML = '';
514 document.getElementById('img-url-' + divid).className = 'fa fa-minus-square-o'; 513 document.getElementById('img-url-' + divid).className = 'far fa-minus-square';
515 } 514 }
516 else if ( xhr_object.readyState == 4 && xhr_object.responseText == '' ) 515 else if ( xhr_object.readyState == 4 && xhr_object.responseText == '' )
517 document.getElementById('load' + divid).innerHTML = ''; 516 document.getElementById('load' + divid).innerHTML = '';
518 } 517 }
519 xmlhttprequest_sender(xhr_object, null); 518 xmlhttprequest_sender(xhr_object, null);
520 } 519 }
521 } 520 }
522 --> 521 -->
523 </script> 522 </script>
524 523
525 <article> 524 <article>
526 <header> 525 <header>
527 <h2>{L_REFERER}</h2> 526 <h2>{L_REFERER}</h2>
528 </header> 527 </header>
529 <table id="table"> 528 <table id="table">
530 <thead> 529 <thead>
531 <tr> 530 <tr>
532 <th> 531 <th>
533 {L_REFERER} 532 {L_REFERER}
534 </th> 533 </th>
535 <th class="total-head"> 534 <th class="total-head">
536 {L_TOTAL_VISIT} 535 {L_TOTAL_VISIT}
537 </th> 536 </th>
538 <th class="average-head"> 537 <th class="average-head">
539 {L_AVERAGE_VISIT} 538 {L_AVERAGE_VISIT}
540 </th> 539 </th>
541 <th class="last-update-head"> 540 <th class="last-update-head">
542 {L_LAST_UPDATE} 541 {L_LAST_UPDATE}
543 </th> 542 </th>
544 <th class="trend-head"> 543 <th class="trend-head">
545 {L_TREND} 544 {L_TREND}
546 </th> 545 </th>
547 </tr> 546 </tr>
548 </thead> 547 </thead>
549 # IF C_PAGINATION #
550 <tfoot>
551 <tr>
552 <td colspan="5">
553 # INCLUDE PAGINATION #
554 </td>
555 </tr>
556 </tfoot>
557 # ENDIF #
558 <tbody> 548 <tbody>
559 # START referer_list # 549 # START referer_list #
560 <tr> 550 <tr>
561 <td> 551 <td>
562 <a class="fa fa-plus-square-o" style="cursor: pointer;" onclick="XMLHttpRequest_referer({referer_list.ID})" id="img-url-{referer_list.ID}"></a> <span class="smaller">({referer_list.NBR_LINKS})</span> <a href="{referer_list.URL}">{referer_list.URL}</a> <span id="load{referer_list.ID}"></span> 552 <a class="far fa-plus-square" style="cursor: pointer;" onclick="XMLHttpRequest_referer({referer_list.ID})" id="img-url-{referer_list.ID}"></a> <span class="smaller">({referer_list.NBR_LINKS})</span> <a href="{referer_list.URL}">{referer_list.URL}</a> <span id="load{referer_list.ID}"></span>
563 </td> 553 </td>
564 <td> 554 <td>
565 {referer_list.TOTAL_VISIT} 555 {referer_list.TOTAL_VISIT}
566 </td> 556 </td>
567 <td> 557 <td>
568 {referer_list.AVERAGE_VISIT} 558 {referer_list.AVERAGE_VISIT}
569 </td> 559 </td>
570 <td> 560 <td>
571 {referer_list.LAST_UPDATE} 561 {referer_list.LAST_UPDATE}
572 </td> 562 </td>
573 <td> 563 <td>
574 {referer_list.TREND} 564 {referer_list.TREND}
575 </td> 565 </td>
576 </tr> 566 </tr>
577 <tr> 567 <tr>
578 <td colspan="5" > 568 <td colspan="5" >
579 <div id="url{referer_list.ID}" style="display: none;width: 100%;"></div> 569 <div id="url{referer_list.ID}" style="display: none;width: 100%;"></div>
580 </td> 570 </td>
581 </tr> 571 </tr>
582 # END referer_list # 572 # END referer_list #
583 # IF NOT C_REFERERS # 573 # IF NOT C_REFERERS #
584 <tr> 574 <tr>
585 <td colspan="5"> 575 <td colspan="5">
586 {L_NO_REFERER} 576 {L_NO_REFERER}
587 </td> 577 </td>
588 </tr> 578 </tr>
589 # ENDIF # 579 # ENDIF #
590 </tbody> 580 </tbody>
581 # IF C_PAGINATION #
582 <tfoot>
583 <tr>
584 <td colspan="5">
585 # INCLUDE PAGINATION #
586 </td>
587 </tr>
588 </tfoot>
589 # ENDIF #
591 </table> 590 </table>
592 </article> 591 </article>
593 # ENDIF # 592 # ENDIF #
594 593
595 # IF C_STATS_KEYWORD # 594 # IF C_STATS_KEYWORD #
596 <script> 595 <script>
597 <!-- 596 <!--
598 function XMLHttpRequest_referer(divid) 597 function XMLHttpRequest_referer(divid)
599 { 598 {
600 if ( document.getElementById('url' + divid).style.display != 'none' ) 599 if ( document.getElementById('url' + divid).style.display != 'none' )
601 { 600 {
602 jQuery('#url' + divid).fadeToggle(); 601 jQuery('#url' + divid).fadeToggle();
603 document.getElementById('img-url-' + divid).className = 'fa fa-plus-square-o'; 602 document.getElementById('img-url-' + divid).className = 'far fa-plus-square';
604 } 603 }
605 else 604 else
606 { 605 {
607 document.getElementById('load' + divid).innerHTML = '<i class="fa fa-spinner fa-spin"></i>'; 606 document.getElementById('load' + divid).innerHTML = '<i class="fa fa-spinner fa-spin"></i>';
608 var xhr_object = xmlhttprequest_init('{PATH_TO_ROOT}/stats/ajax/stats_xmlhttprequest.php?token={TOKEN}&stats_keyword=1&id=' + divid); 607 var xhr_object = xmlhttprequest_init('{PATH_TO_ROOT}/stats/ajax/stats_xmlhttprequest.php?token={TOKEN}&stats_keyword=1&id=' + divid);
609 xhr_object.onreadystatechange = function() 608 xhr_object.onreadystatechange = function()
610 { 609 {
611 if ( xhr_object.readyState == 4 && xhr_object.status == 200 && xhr_object.responseText != '' ) 610 if ( xhr_object.readyState == 4 && xhr_object.status == 200 && xhr_object.responseText != '' )
612 { 611 {
613 jQuery('#url' + divid).fadeToggle(); 612 jQuery('#url' + divid).fadeToggle();
614 document.getElementById('url' + divid).innerHTML = xhr_object.responseText; 613 document.getElementById('url' + divid).innerHTML = xhr_object.responseText;
615 document.getElementById('load' + divid).innerHTML = ''; 614 document.getElementById('load' + divid).innerHTML = '';
616 document.getElementById('img-url-' + divid).className = 'fa fa-minus-square-o'; 615 document.getElementById('img-url-' + divid).className = 'far fa-minus-square';
617 } 616 }
618 else if ( xhr_object.readyState == 4 && xhr_object.responseText == '' ) 617 else if ( xhr_object.readyState == 4 && xhr_object.responseText == '' )
619 document.getElementById('load' + divid).innerHTML = ''; 618 document.getElementById('load' + divid).innerHTML = '';
620 } 619 }
621 xmlhttprequest_sender(xhr_object, null); 620 xmlhttprequest_sender(xhr_object, null);
622 } 621 }
623 } 622 }
624 --> 623 -->
625 </script> 624 </script>
626 625
627 <article> 626 <article>
628 <header> 627 <header>
629 <h2>{L_KEYWORD}</h2> 628 <h2>{L_KEYWORD}</h2>
630 </header> 629 </header>
631 <table> 630 <table>
632 <thead> 631 <thead>
633 <tr> 632 <tr>
634 <th> 633 <th>
635 {L_KEYWORD} 634 {L_KEYWORD}
636 </th> 635 </th>
637 <th class="total-head"> 636 <th class="total-head">
638 {L_TOTAL_VISIT} 637 {L_TOTAL_VISIT}
639 </th> 638 </th>
640 <th class="average-head"> 639 <th class="average-head">
641 {L_AVERAGE_VISIT} 640 {L_AVERAGE_VISIT}
642 </th> 641 </th>
643 <th class="last-update-head"> 642 <th class="last-update-head">
644 {L_LAST_UPDATE} 643 {L_LAST_UPDATE}
645 </th> 644 </th>
646 <th class="trend-head"> 645 <th class="trend-head">
647 {L_TREND} 646 {L_TREND}
648 </th> 647 </th>
649 </tr> 648 </tr>
650 </thead> 649 </thead>
651 # IF C_PAGINATION #
652 <tfoot>
653 <tr>
654 <td colspan="5">
655 # INCLUDE PAGINATION #
656 </td>
657 </tr>
658 </tfoot>
659 # ENDIF #
660 <tbody> 650 <tbody>
661 # START keyword_list # 651 # START keyword_list #
662 <tr> 652 <tr>
663 <td> 653 <td>
664 <a class="fa fa-plus-square-o" style="cursor: pointer;" onclick="XMLHttpRequest_referer({keyword_list.ID})" id="img-url-{keyword_list.ID}"></a> <span class="smaller">({keyword_list.NBR_LINKS})</span> {keyword_list.KEYWORD} <span id="load{keyword_list.ID}"></span> 654 <a class="far fa-plus-square" style="cursor: pointer;" onclick="XMLHttpRequest_referer({keyword_list.ID})" id="img-url-{keyword_list.ID}"></a> <span class="smaller">({keyword_list.NBR_LINKS})</span> {keyword_list.KEYWORD} <span id="load{keyword_list.ID}"></span>
665 </td> 655 </td>
666 <td> 656 <td>
667 {keyword_list.TOTAL_VISIT} 657 {keyword_list.TOTAL_VISIT}
668 </td> 658 </td>
669 <td> 659 <td>
670 {keyword_list.AVERAGE_VISIT} 660 {keyword_list.AVERAGE_VISIT}
671 </td> 661 </td>
672 <td> 662 <td>
673 {keyword_list.LAST_UPDATE} 663 {keyword_list.LAST_UPDATE}
674 </td> 664 </td>
675 <td> 665 <td>
676 {keyword_list.TREND} 666 {keyword_list.TREND}
677 </td> 667 </td>
678 </tr> 668 </tr>
679 <tr> 669 <tr>
680 <td colspan="5"> 670 <td colspan="5">
681 <div id="url{keyword_list.ID}" style="display: none;width: 100%;"></div> 671 <div id="url{keyword_list.ID}" style="display: none;width: 100%;"></div>
682 </td> 672 </td>
683 </tr> 673 </tr>
684 # END keyword_list # 674 # END keyword_list #
685 # IF NOT C_KEYWORDS # 675 # IF NOT C_KEYWORDS #
686 <tr> 676 <tr>
687 <td colspan="5"> 677 <td colspan="5">
688 {L_NO_KEYWORD} 678 {L_NO_KEYWORD}
689 </td> 679 </td>
690 </tr> 680 </tr>
691 # ENDIF # 681 # ENDIF #
692 </tbody> 682 </tbody>
683 # IF C_PAGINATION #
684 <tfoot>
685 <tr>
686 <td colspan="5">
687 # INCLUDE PAGINATION #
688 </td>
689 </tr>
690 </tfoot>
691 # ENDIF #
693 </table> 692 </table>
694 </article> 693 </article>
695 # ENDIF # 694 # ENDIF #
696 </section> 695 </section>
697 <script>
698 <!--
699 function open_submenu(myid)
700 {
701 jQuery('#' + myid).toggleClass('active');
702 }
703 -->
704 </script>
Editor
Original Text
Changed Text
Recommended videos