'; } } return implode("\n", $html); } ?> <?php echo validHtmlStr(ZM_WEB_TITLE_PREFIX); ?> - <?php echo validHtmlStr($title) ?> "; } else { echo ' '; } ?> '; global $error_message; if ( $error_message ) { echo '
'.$error_message.'
'; } } // end function getBodyTopHTML function getNavBarHTML($reload = null) { # Provide a facility to turn off the headers if you put navbar=0 into the url if ( isset($_REQUEST['navbar']) and $_REQUEST['navbar']=='0' ) return ''; $versionClass = (ZM_DYN_DB_VERSION&&(ZM_DYN_DB_VERSION!=ZM_VERSION))?'errorText':''; global $running; global $user; global $bandwidth_options; global $view; global $filterQuery; global $sortQuery; global $limitQuery; if (!$sortQuery) { parseSort(); } if ( (!$filterQuery) and isset($_REQUEST['filter']) ) { parseFilter($_REQUEST['filter']); $filterQuery = $_REQUEST['filter']['query']; } if ( $reload === null ) { ob_start(); if ( $running == null ) $running = daemonCheck(); if ( $running ) { $state = dbFetchOne('SELECT Name FROM States WHERE isActive=1', 'Name'); if ( $state == 'default' ) $state = ''; } $status = $running ? ($state ? $state : translate('Running')) : translate('Stopped'); ?>