diff --git a/index.php b/index.php
index 2ea60a7..c59477d 100644
--- a/index.php
+++ b/index.php
@@ -117,6 +117,28 @@
echo "
";
foreach($output['data'] as $temp) { echo "$temp |
"; }
echo "
";
+
+ if($_GET['ip'] != '') {
+ echo 'Wege zu '.$_GET["ip"].'
';
+ echo '
+
+ target |
+ installed |
+ via |
+ device |
+ metric |
+ Destination ID |
+
';
+ foreach($output['routes'] as $route) {
+ if ($route['target'] == $_GET['ip']) {
+ echo "";
+ foreach($route as $temp) { echo "$temp | "; }
+ echo "
";
+ }
+ }
+ echo "
";
+ }
+
echo "Interfaces
";
echo '
@@ -223,27 +245,6 @@
echo "
";
}
- if($_GET['ip'] != '') {
- echo 'Wege zu '.$_GET["ip"].'
';
- echo '
-
- target |
- installed |
- via |
- device |
- metric |
- Destination ID |
-
';
- foreach($output['routes'] as $route) {
- if ($route['target'] == $_GET['ip'])
- {
- echo "";
- foreach($route as $temp) { echo "$temp | "; }
- echo "
";
- }
- }
- echo "
";
- }
}
?>