GetElement($INPUT, "reflectorlist");
$Reflectors = $XML->GetAllElements($Reflectorlist, "reflector");
?>
# |
Reflector |
Country |
Service |
Comment |
GetElement($Reflectors[$i], "name");
$COUNTRY = $XML->GetElement($Reflectors[$i], "country");
$LASTCONTACT = $XML->GetElement($Reflectors[$i], "lastcontact");
$COMMENT = $XML->GetElement($Reflectors[$i], "comment");
$DASHBOARDURL = $XML->GetElement($Reflectors[$i], "dashboardurl");
echo '
'.($i+1).' |
'.$NAME.' |
'.$COUNTRY.' |
![](./img/'; if ($LASTCONTACT<(time()-600)) { echo 'down'; } ELSE { echo 'up'; } echo '.png) |
'.$COMMENT.' |
';
}
?>