'."\n";
$testMMDVModeDSTARnet = getConfigItem("D-Star Network", "Enable", $mmdvmconfigs);
if ( $testMMDVModeDSTARnet == 1 ) { // If D-Star network is enabled, add these extra features.
if ($_SERVER["PHP_SELF"] == "/admin/index.php") { // Admin Only Option
echo ''."\n";
echo '
'."\n";
include 'dstarrepeater/active_reflector_links.php'; // dstarrepeater gateway config
echo '
'."\n";
echo '
'."\n";
include 'dstarrepeater/link_manager.php'; // D-Star Link Manager
echo "
\n";
}
echo ''."\n";
echo '
'."\n";
include 'dstarrepeater/css_connections.php'; // dstarrepeater gateway config
echo '
'."\n";
}
if ($_SERVER["PHP_SELF"] == "/admin/index.php") { // Admin Only Option
echo ''."\n";
echo '
'."\n";
include 'mmdvmhost/bm_links.php'; // BM Links
echo '
'."\n";
}
if ($_SERVER["PHP_SELF"] == "/admin/index.php") { // Admin Only Options
include 'mmdvmhost/bm_manager.php'; // BM DMR Link Manager
}
if ($_SERVER["PHP_SELF"] == "/admin/index.php") { // Admin Only Option
echo ''."\n";
echo '
'."\n";
include 'mmdvmhost/tgif_links.php'; // TGIF Links
echo '
'."\n";
}
if ($_SERVER["PHP_SELF"] == "/admin/index.php") { // Admin Only Options
include 'mmdvmhost/tgif_manager.php'; // TGIF DMR Link Manager
}
$testMMDVModeYSFnet = getConfigItem("System Fusion Network", "Enable", $mmdvmconfigs);
if ( $testMMDVModeYSFnet == 1 ) { // If YSF network is enabled, add these extra features.
if ($_SERVER["PHP_SELF"] == "/admin/index.php") { // Admin Only Option
include 'mmdvmhost/ysf_manager.php'; // YSF Links
}
}
$testMMDVModeP25net = getConfigItem("P25 Network", "Enable", $mmdvmconfigs);
if ( $testMMDVModeP25net == 1 ) { // If P25 network is enabled, add these extra features.
if ($_SERVER["PHP_SELF"] == "/admin/index.php") { // Admin Only Option
include 'mmdvmhost/p25_manager.php'; // P25 Links
}
}
$testMMDVModeNXDNnet = getConfigItem("NXDN Network", "Enable", $mmdvmconfigs);
if ( $testMMDVModeNXDNnet == 1 ) { // If NXDN network is enabled, add these extra features.
if ($_SERVER["PHP_SELF"] == "/admin/index.php") { // Admin Only Option
include 'mmdvmhost/nxdn_manager.php'; // NXDN Links
}
}
$testMMDVModeM17net = getConfigItem("M17 Network", "Enable", $mmdvmconfigs);
if ( $testMMDVModeM17net == 1 ) { // If NXDN network is enabled, add these extra features.
if ($_SERVER["PHP_SELF"] == "/admin/index.php") { // Admin Only Option
include 'mmdvmhost/m17_manager.php'; // M17 Links
}
}
echo ''."\n";
echo '
'."\n";
include 'mmdvmhost/lh.php'; // MMDVMDash Last Herd
echo '
'."\n";
echo "
\n";
echo '
'."\n";
include 'mmdvmhost/localtx.php'; // MMDVMDash Local Trasmissions
echo '
'."\n";
// If POCSAG is enabled, show the information pannel
$testMMDVModePOCSAG = getConfigItem("POCSAG Network", "Enable", $mmdvmconfigfile);
if ( $testMMDVModePOCSAG == 1 ) {
echo ''."\n";
echo "
\n";
echo '
'."\n";
include 'mmdvmhost/pages.php'; // POCSAG Messages
echo '
'."\n";
}
} elseif (file_exists('/etc/dstar-radio.dstarrepeater')) {
echo '
'."\n";
include 'dstarrepeater/gateway_software_config.php'; // dstarrepeater gateway config
echo ''."\n";
echo '
'."\n";
echo '
'."\n";
include 'dstarrepeater/active_reflector_links.php'; // dstarrepeater gateway config
echo '
'."\n";
echo '
'."\n";
if ($_SERVER["PHP_SELF"] == "/admin/index.php") { // Admin Only Options
include 'dstarrepeater/link_manager.php'; // D-Star Link Manager
echo "
\n";
}
echo ''."\n";
echo '
'."\n";
include 'dstarrepeater/css_connections.php'; // dstarrepeater gateway config
echo '
'."\n";
echo ''."\n";
echo '
'."\n";
include 'dstarrepeater/last_herd.php'; //dstarrepeater Last Herd
echo '
'."\n";
echo "
\n";
echo '
'."\n";
include 'dstarrepeater/local_tx.php'; //dstarrepeater Local Transmissions
echo '
'."\n";
echo '
'."\n";
} else {
echo '
'."\n";
//We dont know what mode we are in - fail...
echo "
未定义工作模式...
\n";
echo ''."\n";
}
?>
\n"; } ?>