\nD-Star Link Manager\n"; echo "\n\n\n
Command Output
"; echo exec($linkCommand); echo "
\n\n"; } if ($module == $targetRef && $_POST["Link"] == "LINK") { // Sanity Check Failed echo "
\nD-Star Link Manager\n"; echo "\n\n\n
Command Output
"; echo "Cannot link to myself - Aborting link request!"; echo "
\n
\n"; } if ($_POST["Link"] == "UNLINK") { // Allow Unlink no matter what echo "
\nD-Star Link Manager\n"; echo "\n\n\n
Command Output
"; echo exec($unlinkCommand); echo "
\n
\n"; } } unset($_POST); echo ''; else: ?>
Radio ModuleRadio Module ReflectorReflector Link / Un-LinkLink / Un-Link ActionAction
Link UnLink
\n"; echo "
\n"; echo "PiStar-Keeper Logbook\n"; echo "\n"; echo " \n"; echo " \n"; echo " \n"; exec ("tail -n 5 /var/pistar-keeper/pistar-keeper.log", $lines); $counter = 0; foreach ($lines as $line) { echo "\n"; $counter++; } echo "
PiStar-Keeper Log Entries (UTC)PiStar-Keeper Log Entries (UTC)
".$lines[$counter]."
\n"; echo "
\n"; } } ?>