Subversion Repositories wimsdev

Rev

Rev 5978 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

  1.  
  2. !read adm/title.phtml 3\
  3. \
  4. $title
  5.  
  6. <p class="wimstech">$name_servor_time: $nowtime.</p>
  7. !if $load15!=$empty
  8.  $name_Load: $load1% ($name_last 1 $name_min), $load5% ($name_last 5 $name_mins),
  9.  $load15% ($name_last 15 $name_mins).
  10. !endif
  11. $table_header
  12. <caption>$name_requests</caption>
  13. $table_hdtr
  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>
  18. $table_tr
  19. <td>$access10m</td>
  20. <td>$access30m</td>
  21. <td>$access1h</td>
  22. <td>$access3h</td></tr>
  23. $table_end
  24.  
  25. <a id="sessions"></a>
  26. $table_header
  27. <caption>$name_activesessions
  28. <span class="small">[
  29. !href cmd=reply#sessions $wims_name_refresh
  30. ]</span>
  31. </caption>
  32. $table_hdtr<th>#</th>
  33. <th>$name_session</th><th>$name_IP</th>
  34. <th>$name_Requests</th>
  35. <th>$name_module</th><th>$wims_name_class</th></tr>
  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
  43.   <td style="text-align:right;">$k</td>
  44.   <td><span class="tt small">
  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. </span></td>
  52.   <td><span class="tt">$i_</span></td>
  53.   <td>$r_</td>
  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
  64. $table_end
  65.  
  66.  
  67.