Changeset 268

Show
Ignore:
Timestamp:
11/03/04 22:14:55 (9 years ago)
Author:
benoitg
Message:

2004-11-04 Benoit Gr�goire <bock@…>

  • wifidog/admin/hotspot_log.php: Add number of currently connected users here as well.
Location:
trunk/wifidog-auth
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • trunk/wifidog-auth/ChangeLog

    r267 r268  
    11# $Header$ 
     22004-11-04 Benoit Gr�goire  <bock@step.polymtl.ca> 
     3        * wifidog/admin/hotspot_log.php: Add number of currently connected users here as well. 
     4 
    252004-11-03 Benoit Gr�goire  <bock@step.polymtl.ca> 
    36        * wifidog/ping/index.php: Log user-agent 
  • trunk/wifidog-auth/wifidog/admin/hotspot_log.php

    r267 r268  
    7171 
    7272        echo "<tr class='spreadsheet'><th class='spreadsheet'>Successfull connections<br />(successfull means with data actually transferred)</th><td class='spreadsheet'>\n"; 
     73        $num_online_users = $stats->getNumOnlineUsers($node_row['node_id']); 
     74        echo "Currently online: $num_online_users<br />\n"; 
    7375        $results = null; 
    7476        $db->ExecSqlUniqueRes("SELECT COUNT(conn_id) FROM connections WHERE node_id='$node_row[node_id]' AND incoming!=0",$results, false); 
    75         echo "Number: $results[count]<br />\n"; 
     77        echo "Cumulative: $results[count]<br />\n"; 
    7678 
    7779        $results = null;