Online'; else $status = 'Offline'; return($status); } $Realm = new Realm($System, $_COOKIE['RealmIndex']); $db = $Realm->CharactersDatabase; $sql = 'SELECT name, totaltime, online FROM characters ORDER BY totaltime DESC LIMIT '.$top; $result = $db->query($sql); $i = 0; echo('
'.$i.') | '.$vypis['name'].' | '.getTime($vypis['totaltime']).' | '.getOnline($vypis['online']).' |
---|