aboutsummaryrefslogtreecommitdiffstats
path: root/template/default/admin/stats.vtp
blob: c5ad4fb30721b00bd3f1e968e02d69a03fc9fb4c (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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
<style>
      .commentsAuthor,.commentsTitle,.commentsInfos,.commentsContent,.commentsNavigationBar {
        color:{#text_color};
        font-family:arial,sans-Serif;
        font-size:12px;
      }
      .commentsTitle,.commentsAuthor {
        text-align:center;
        font-weight:bold;
      }
      .commentsInfos {
        text-align:right;
        margin:3px 3px 3px 10px;
        font-size:11px;
      }
      .commentsContent {
        margin:10px;
      }
      .commentsTitle {
        margin-top:15px;
      }
      .commentsAuthor {
        margin:5px;
      }
      .commentsNavigationBar {
        margin:10px;
      }
      .tableComment {
        width:100%;
        border:2px solid #006699;
        margin:10px;
      }
      .cellAuthor {
        border-right:1px solid #006699;
        width:100px;
      }
      .cellInfo {
        border-bottom:1px solid #006699;
      }
      .imgLink {
        border:1px solid black;
      }
</style>
<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} ]
    </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>