'; $DbResult = $this->Database->select('hosts', '*', 'type=0 AND user='.$this->System->Modules['User']->User['Member']); while($Host = $DbResult->fetch_array()) { if($Host['online'] == 1) $Style = 'font-weight: bold; color: blue;'; else $Style = ''; if($Host['IP'] == '') $Host['IP'] = ' '; if($Host['name'] == '') $Host['name'] = ' '; if($Host['czfree_ip'] == '') $Host['czfree_ip'] = ' '; if($Host['external_ip'] == '') $Host['external_ip'] = ' '; if($Host['MAC'] == '') $Host['MAC'] = ' '; $Output .= ''; } $Output .= '
Jméno počítačeMístní IP adresaVeřejná IP adresaCZFree IP adresaNaposledy onlineFyzická adresa
'.$Host['name'].''.$Host['IP'].''.$Host['external_ip'].''.$Host['czfree_ip'].''.HumanDate($Host['last_online']).''.$Host['MAC'].'

'; return($Output); } } $System->AddModule(new NetworkHostList()); $System->Modules['NetworkHostList']->GetOutput(); ?>