Incorrect accessYou cannot access this file directly. If you have recently upgraded, make sure you upgraded all the relevant files."; exit(); } class public_dodatki_dodatki_protokol extends ipsCommand { public function doExecute( ipsRegistry $registry ) { /* tytul strony */ $this->registry->output->setTitle( "Protokół - " . ipsRegistry::$settings['board_name']); /* nawigacja */ $this->registry->output->addNavigation( "Dodatki", "app=dodatki", "dodatki", "app=dodatki"); $this->registry->output->addNavigation( "Protokół", "app=dodatki&module=dodatki§ion=protokol", "protokol", "protokol"); /* tagi meta */ $this->registry->output->addMetaTag( 'keywords', 'hlds, informacje, dproto, protokół, amxx, metamod, counter-strike, cs', TRUE ); $this->registry->output->addMetaTag( 'description', 'Sprawdzanie protokołu serwera oraz innych podstawowych informacji', TRUE ); $this->registry->output->addMetaTag( 'author', 'Pavulon' ); $this->registry->output->addToDocumentHead('inlinecss', "input { border: 1px solid #000000; font: normal 11px Verdana, Arial, Helvetica, sans-serif;} .wrong {background-color:#00FF00; color:#FF0000} #server td {border-top:1px solid #666666; }"); $form = $this->registry->output->buildSEOUrl( "app=dodatki&module=dodatki§ion=protokol", "public", "protokol", "protokol"); $ip = trim($this->request['ip']); $html = '
Wprowadź IP serwera o którym chcesz uzyskać informacje
Nazwa | '.htmlspecialchars($results['server']['gq_hostname']).' | |
IP | '.htmlspecialchars($results['server']['gq_address']).' | |
Port | '.($results['server']['gq_port']).' | |
Protokół | '.$typ.'||
Mapa | '.htmlspecialchars($results['server']['gq_mapname']).' | |
Gamedir | '.$info['gamedir'].' | |
Gra | '.htmlspecialchars($results['server']['game_descr']).' | |
Liczba graczy | '.$results['server']['gq_numplayers'].' | |
Max graczy | '.$results['server']['gq_maxplayers'].' | |
Hasło | '.(($results['server']['gq_password'])?'Tak | ':'Nie | ').'
Gracz | Zabójstw | |
'.$player['gq_name'].' | '.$player['gq_score'].' | |
Zmienna | Wartość | |
{$key} | {$val} | |
Serwer Nie Odpowiada ! | ||