diff --git a/dashboard/index.php b/dashboard/index.php index f72d7fb..19b8833 100755 --- a/dashboard/index.php +++ b/dashboard/index.php @@ -138,7 +138,8 @@ else { Users / Modules Repeaters / Nodes (NodeCount(); ?>) Peers (PeerCount(); ?>) - Reflectorlist + Modules list + Reflectors list + + Module + Name + Users + DPlus + DExtra + DCS + DMR + + + URCALL + DTMF + URCALL + DTMF + URCALL + DTMF + +GetReflectorName(), 3, 3); +$NumberOfModules = isset($PageOptions['NumberOfModules']) ? min(max($PageOptions['NumberOfModules'],0),26) : 26; + +$odd = ""; + +for ($i = 1; $i <= $NumberOfModules; $i++) { + + $module = chr(ord('A')+($i-1)); + + if ($odd == "#FFFFFF") { $odd = "#F1FAFA"; } else { $odd = "#FFFFFF"; } + + echo ' + + '. $module .' + '. (empty($PageOptions['ModuleNames'][$module]) ? '-' : $PageOptions['ModuleNames'][$module]) .' + '. count($Reflector->GetNodesInModulesByID($module)) .' + '. 'REF' . $ReflectorNumber . $module . 'L' .' + '. (is_numeric($ReflectorNumber) ? '*' . sprintf('%01d',$ReflectorNumber) . (($i<=4)?$module:sprintf('%02d',$i)) : '-') .' + '. 'XRF' . $ReflectorNumber . $module . 'L' .' + '. (is_numeric($ReflectorNumber) ? 'B' . sprintf('%01d',$ReflectorNumber) . (($i<=4)?$module:sprintf('%02d',$i)) : '-') .' + '. 'DCS' . $ReflectorNumber . $module . 'L' .' + '. (is_numeric($ReflectorNumber) ? 'D' . sprintf('%01d',$ReflectorNumber) . (($i<=4)?$module:sprintf('%02d',$i)) : '-') .' + '. (4000+$i) .' + '; +} + +?> + +