rendered paste body<?@include('kquery.class.php');$hlquery = new hlquery('83.142.80.40', '27015');$information = $hlquery->info();$player_information = $hlquery->players();echo('Serveradresse: '.$information['address'].'<br />');echo('Hostname: '.$information['hostname'].'<br />');echo('Map: '.$information['map'].'<br />');echo('Mod Verzeichnis: '.$information['mod_dir'].'<br />');echo('Modname: '.$information['mod_name'].'<br />');echo('Spieler: '.$information['cur_players'].'<br />');echo('Spieler Max.: '.$information['max_players'].'<br />');echo('Protokol: '.$information['protocol'].'<br />');if ($information['dedicated'] == false) { $information_dedicated = ('Keine');} else { $information_dedicated = ('Dedicated');}echo('Servertyp: '.$information_dedicated.'<br />');echo('Betriebssystem: '.$information['os'].'<br />');if ($information['password'] == false) { $information_password = ('Nein');} else { $information_password = ('Ja');}echo('Passwort: '.$information_password.'<br />');echo('Mod Url: '.$information['mod']['url_info'].'<br />');echo('Download: '.$information['mod']['url_dl'].'<br />');echo('Version: '.$information['mod']['version'].'<br />');$mod_groesse = $information['mod']['size'] / 1000000;echo('Mod Größe: '.$mod_groesse.' MB<br />');if ($information['mod']['sv_only'] == false) { $information_mod_sv_only = ('Internet');} else { $information_mod_sv_only = ('Lan');}echo('sv_only: '.$information_mod_sv_only.'<br />');echo('cl_dll: '.$information['mod']['cl_dll'].'<br />');if ($information['secure'] == false) { $information_secure = ('Kein Anticheat');} else { $information_secure = ('VAC2');}echo('Anticheat: '.$information_secure.'<br />');echo('Anzahl der Bots: '.$information['num_bots'].'<br />');?><br /><table width="100%" border="0" cellpadding="0" cellspacing="5"> <tr> <td width="10%" bgcolor="#efefef">ID:</td> <td width="30%" bgcolor="#efefef">Username:</td> <td width="30%" bgcolor="#efefef">Frags:</td> <td width="30%" bgcolor="#efefef">Spielzeiten:</td> </tr></table><?foreach ($player_information as $playerliste){ echo('<table width="100%" border="0" cellpadding="0" cellspacing="5"> <tr> <td width="10%">'.$playerliste['id'].'</td> <td width="30%">'.$playerliste['name'].'</td> <td width="30%">'.$playerliste['frags'].'</td> <td width="30%">'.$playerliste['time'].'</td> </tr> </table>');}?>