diff --git a/dashboard/pgs/peers.php b/dashboard/pgs/peers.php index 3b8ea77..960aba2 100644 --- a/dashboard/pgs/peers.php +++ b/dashboard/pgs/peers.php @@ -1,3 +1,20 @@ +GetElement($INPUT, "reflectorlist"); +$Reflectors = $XML->GetAllElements($Reflectorlist, "reflector"); + +?>
# | @@ -25,8 +42,16 @@ for ($i=0;$i<$Reflector->PeerCount();$i++) { echo '||||||
---|---|---|---|---|---|---|
'.($i+1).' | -'.$Reflector->Peers[$i]->GetCallSign().' | +'.($i+1).' | '; + $Name = $Reflector->Peers[$i]->GetCallSign(); + for ($j=1;$j'.$Name.' | '.date("d.m.Y H:i", $Reflector->Peers[$i]->GetLastHeardTime()).' | '.FormatSeconds(time()-$Reflector->Peers[$i]->GetConnectTime()).' s | '.$Reflector->Peers[$i]->GetProtocol().' |