| Current Path : /var/www/html/mmishra/indem/phq/admin/ |
| Current File : /var/www/html/mmishra/indem/phq/admin/sessions.php |
<b>Active Sessions</b>
<?php
$tbl = 'users';
?>
<table width='100%'>
<tr><th nowrap>LoginID (SystemIP)</th><th nowrap>LoginTime (Role)</th><th>Access Scope</th></tr>
<?php
$rs = mysql_query("select * from users where time_of_login like '" . date("Y-m-d") . "%' order by time_of_login", $link);
while ($o = mysql_fetch_object($rs)){
echo "<tr valign='top'><td nowrap><a href='$PHP_SELF?url=accesslog&user_name=$o->login_id'>$o->login_id</a> ($o->system_ip)</td>";
echo "<td nowrap>$o->time_of_login ($o->role)</td><td>$o->scope_level ($o->scope_value)</td></tr>";
}
?>
</table>