GetElement($INPUT, "reflectorlist"); $Reflectors = $XML->GetAllElements($Reflectorlist, "reflector"); ?>
# | XLX Peer | Last Heard | Linked for | Protocol | Module | IP'; } ?>||
---|---|---|---|---|---|---|---|
'.($i+1).' | '; $Name = $Reflector->Peers[$i]->GetCallSign(); $URL = ''; for ($j=1;$j'.$Name.' | ' } else { echo ''.$Name.' | ' } echo ''.date("d.m.Y H:i", $Reflector->Peers[$i]->GetLastHeardTime()).' | '.FormatSeconds(time()-$Reflector->Peers[$i]->GetConnectTime()).' s | '.$Reflector->Peers[$i]->GetProtocol().' | '.$Reflector->Peers[$i]->GetLinkedModule().' | '; if ($PageOptions['PeerPage']['IPModus'] != 'HideIP') { echo ''; $Bytes = explode(".", $Reflector->Peers[$i]->GetIP()); if ($Bytes !== false && count($Bytes) == 4) { switch ($PageOptions['PeerPage']['IPModus']) { case 'ShowLast1ByteOfIP' : echo $PageOptions['PeerPage']['MasqueradeCharacter'].'.'.$PageOptions['PeerPage']['MasqueradeCharacter'].'.'.$PageOptions['PeerPage']['MasqueradeCharacter'].'.'.$Bytes[3]; break; case 'ShowLast2ByteOfIP' : echo $PageOptions['PeerPage']['MasqueradeCharacter'].'.'.$PageOptions['PeerPage']['MasqueradeCharacter'].'.'.$Bytes[2].'.'.$Bytes[3]; break; case 'ShowLast3ByteOfIP' : echo $PageOptions['PeerPage']['MasqueradeCharacter'].'.'.$Bytes[1].'.'.$Bytes[2].'.'.$Bytes[3]; break; default : echo $Reflector->Peers[$i]->GetIP(); } } echo ' | '; } echo '