Parašė weberiz· 2010 Vas. 1 15:02:09
#5
<?
$guests = 0; $members = array();
while ($data = dbarray($result)) {
if ($data['online_user'] == "0") {
$guests++;
} else {
array_push($members, array($data['user_id'], $data['user_name']));
}
}
echo THEME_BULLET." ".$locale['global_011'].": ".$guests."<br />\n";
echo THEME_BULLET." ".$locale['global_012'].": ".count($members)."<br />\n";
?>
rodis
neprisijungusius
ir prisijungusius
Redagavo weberiz· 2010 Vas. 1 15:02:46