[ 'files' => $data['javascript']['files'] ], 'stylesheet' => [ 'files' => $data['stylesheet']['files'] ], 'page' => [ 'title' => $data['page']['title'] ], 'user' => [ 'lang' => CWebUser::$data['lang'], 'theme' => CWebUser::$data['theme'] ], 'web_layout_mode' => $data['web_layout_mode'], 'config' => [ 'server_check_interval' => $data['config']['server_check_interval'] ] ]))->getOutput(); } function local_showSidebar(array $data): void { global $ZBX_SERVER_NAME; if ($data['web_layout_mode'] == ZBX_LAYOUT_NORMAL) { echo (new CPartial('layout.htmlpage.aside', [ 'server_name' => isset($ZBX_SERVER_NAME) ? $ZBX_SERVER_NAME : '' ]))->getOutput(); } } function local_showFooter(array $data): void { echo (new CPartial('layout.htmlpage.footer', [ 'user' => [ 'username' => CWebUser::$data['username'], 'debug_mode' => CWebUser::$data['debug_mode'] ], 'web_layout_mode' => $data['web_layout_mode'] ]))->getOutput(); } local_showHeader($data); local_showSidebar($data); echo '