| 37 |
|
|
| 38 |
$db_conn=include "./db_open.inc.php"; |
$db_conn=include "./db_open.inc.php"; |
| 39 |
|
|
| 40 |
$rs=mysql_query("select user_online.UID from user_online". |
$rs=mysql_query("select user_online.SID from user_online". |
| 41 |
" where UID=0 and current_action not in". |
" where UID=0 and current_action not in". |
| 42 |
" ('max_user_limit','max_ip_limit','max_session_limit','exit')". |
" ('max_user_limit','max_ip_limit','max_session_limit','exit')". |
| 43 |
" group by SID") |
" group by SID") |
| 45 |
$guest_count=mysql_num_rows($rs); |
$guest_count=mysql_num_rows($rs); |
| 46 |
mysql_free_result($rs); |
mysql_free_result($rs); |
| 47 |
|
|
| 48 |
$rs=mysql_query("select user_online.UID from user_online". |
$rs=mysql_query("select user_online.SID from user_online". |
| 49 |
" where UID<>0 and current_action not in". |
" where UID<>0 and current_action not in". |
| 50 |
" ('max_user_limit','max_ip_limit','max_session_limit','exit')". |
" ('max_user_limit','max_ip_limit','max_session_limit','exit')". |
| 51 |
" group by SID") |
" group by SID") |