aboutsummaryrefslogtreecommitdiffstats
path: root/template/default/admin/stats.vtp
blob: e66c1ba182776e4e4f1f5d3b60a9135cb4eddbdd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
<div style="text-align:center;margin-top:5px;">
  <!--VTP_last_day_option-->
  <a href="{#link}" style="{#style}">{#option}</a>{#separation}
  <!--/VTP_last_day_option-->
  {#stats_last_days}
</div>

<table width="100%">
  <tr>
    <th width="1%">{#date}</th>
    <th>{#login}</th>
    <th>{#IP}</th>
    <th>{#file}</th>
    <th>{#category}</th>
    <th>{#picture}</th>
  </tr>
  <tr>
    <td colspan="6" style="text-align:center;"><a href="{#emply_url}">{#stats_empty}</a></td>
  </tr>
  <!--VTP_day-->
  <tr>
    <td colspan="6">
      <a href="{#url}"><!--VTP_collapsed--><img src="./template/{#user_template}/admin/images/collapsed.gif" style="border:none;" /><!--/VTP_collapsed--><!--VTP_expanded--><img src="./template/{#user_template}/admin/images/expanded.gif" style="border:none;" /><!--/VTP_expanded--></a>
      <span style="font-weight:bold;">{#name}</span> [ {#nb_pages} {#stats_pages_seen} - {#nb_visitors} {#stats_visitors} ]
      [ <a href="{#url}">{#open_or_close}</a> ]
    </td>
  </tr>
  <!--VTP_line-->
  <tr>
    <td>{#date}</td>
    <td style="text-align:center;">{#login}</td>
    <td>{#IP}</td>
    <td>{#file}</td>
    <td>{#category}</td>
    <td>{#picture}</td>
  </tr>
  <!--/VTP_line-->
  <!--/VTP_day-->
</table>

<!-- Graph with the number of pages seen per day -->
<table style="margin:auto;margin-top:10px;margin-bottom:10px;border:1px solid black;">
<tr>
  <td colspan="3" style="text-align:center;font-weight:bold">{#stats_pages_seen_graph_title}</td>
</tr>
<!--VTP_pages_day-->
<tr>
  <td>{#date}</td>
  <td>
    <table style="border-collapse:collapse;">
      <tr>
        <td style="padding:0;"><img src="./template/{#user_template}/admin/images/stat_left.gif" width="4" height="12" /></td>
        <td style="padding:0;"><img src="./template/{#user_template}/admin/images/stat_middle.gif" width="{#width}" height="12" /></td>
        <td style="padding:0;"><img src="./template/{#user_template}/admin/images/stat_right.gif" width="4" height="12" /></td>
      </tr>
    </table>
  </td>
  <td align="center">[ {#nb_pages} ]</td>
</tr>
<!--/VTP_pages_day-->
</table>

<!-- Graph with the number of visitors per day -->
<table style="margin:auto;margin-top:10px;margin-bottom:10px;border:1px solid black;">
<tr>
  <td colspan="3" style="text-align:center;font-weight:bold">{#stats_visitors_graph_title}</td>
</tr>
<!--VTP_visitors_day-->
<tr>
  <td>{#date}</td>
  <td>
    <table style="border-collapse:collapse;">
      <tr>
        <td style="padding:0;"><img src="./template/{#user_template}/admin/images/stat_left.gif" width="4" height="12" /></td>
        <td style="padding:0;"><img src="./template/{#user_template}/admin/images/stat_middle.gif" width="{#width}" height="12" /></td>
        <td style="padding:0;"><img src="./template/{#user_template}/admin/images/stat_right.gif" width="4" height="12" /></td>
      </tr>
    </table>
  </td>
  <td align="center">[ {#nb_visitors} ]</td>
</tr>
<!--/VTP_visitors_day-->
</table>