true]); if ($page['type'] == PAGE_TYPE_HTML) { makeServerStatusOutput()->show(); if (in_array($page['type'], [PAGE_TYPE_HTML_BLOCK, PAGE_TYPE_HTML])) { if (!is_null(CWebUser::$data) && isset(CWebUser::$data['debug_mode']) && CWebUser::$data['debug_mode'] == GROUP_DEBUG_MODE_ENABLED) { CProfiler::getInstance()->stop(); CProfiler::getInstance()->show(); (new CSimpleButton()) ->addClass(ZBX_STYLE_BTN_DEBUG) ->show(); } } if (!defined('ZBX_PAGE_NO_MENU')) { makePageFooter()->show(); } insertPagePostJs(true); if (CWebUser::isLoggedIn()) { require_once 'include/views/js/common.init.js.php'; } echo ''; } session_write_close(); exit();