Subversion Repositories wimsdev

Rev

Rev 3049 | Rev 5932 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
23 reyssat 1
 
1436 bpr 2
!read adm/title.phtml 3\
3
\
2486 bpr 4
$title
23 reyssat 5
 
2486 bpr 6
<p>$name_servor_time: $nowtime.
23 reyssat 7
!if $load15!=$empty
2514 bpr 8
 $name_Load: $load1% ($name_last 1 $name_min), $load5% ($name_last 5 $name_mins),
2486 bpr 9
 $load15% ($name_last 15 $name_mins).
23 reyssat 10
!endif
5894 bpr 11
$table_header
2486 bpr 12
<caption>$name_requests</caption>
23 reyssat 13
$table_hdtr
2486 bpr 14
<th>$name_since 10 $name_mins</th>
15
<th>$name_since 30 $name_mins</th>
16
<th>$name_since 1 $name_hour</th>
17
<th>$name_since 3 $name_hours</th></tr>
23 reyssat 18
$table_tr
3049 bpr 19
<td align="center">$access10m</td>
20
<td align="center">$access30m</td>
21
<td align="center">$access1h</td>
22
<td align="center">$access3h</td></tr>
23 reyssat 23
$table_end
24
 
5894 bpr 25
<a id="sessions"></a>
23 reyssat 26
$table_header
2486 bpr 27
<caption>$name_activesessions
23 reyssat 28
<small>[
2394 bpr 29
!href cmd=reply#sessions $wims_name_refresh
23 reyssat 30
 ]</small>
31
</caption>
32
$table_hdtr<th>#</th>
2497 bpr 33
<th>$name_session</th><th>$name_IP</th>
2486 bpr 34
<th>$name_Requests</th>
35
<th>$name_module</th><th>$wims_name_class</th></tr>
23 reyssat 36
!set n=!linecnt $ses
37
!set k=1
38
!for i=1 to $n
39
 !set l=!line $i of $ses
40
 !distribute words $l into r_,s_,i_,m_,c_
41
 !if o notin $s_ and - notin $s_
42
  $table_tr
3049 bpr 43
  <td align="right">$k</td>
23 reyssat 44
  <td><small><tt>
45
  !set v_=!charcnt $s_
46
  !if $v_>6
47
   !href cmd=reply&job=sess&checkses=$s_ $s_
48
  !else
49
   $s_
50
  !endif
51
</tt></small></td>
52
  <td><tt>$i_</tt></td>
3049 bpr 53
  <td align="center">$r_</td>
23 reyssat 54
  <td>$m_</td>
55
  !if , isin $c_
56
   <td>$c_</td>
57
  !else
58
   <td>--</td>
59
  !endif
60
  </tr>
61
  !advance k
62
 !endif
63
!next i
5894 bpr 64
$table_end
23 reyssat 65
 
66