'; $Output = ' '; return $Output; } function ShowTopBar() { $User = ModuleUser::Cast($this->System->GetModule('User'))->User; $Output = '
'; $Output .= $this->ShowMainMenu(); // Show bars items $Bar = ''; foreach (Core::Cast($this->System)->Bars['Left'] as $BarItem) $Bar .= call_user_func($BarItem); if (trim($Bar) != '') $Output .= $Bar; else $Output .= ' '; $Output .= ' | '; return $Output; } function ShowFooter() { global $ScriptStartTime, $Revision, $ReleaseDate, $Version; $ScriptGenerateDuration = round(GetMicrotime() - $ScriptStartTime, 2); $Output = ' | '; $Output .= ''; // Show bars items $Bar = ''; foreach (Core::Cast($this->System)->Bars['Right'] as $BarItem) $Bar .= call_user_func($BarItem); if (trim($Bar) != '') $Output .= $Bar; else $Output .= ' '; $Output .= ' | '; $Output .= '|
'.T('Version').': '.$Version.' '.T('Revision').': '.$Revision.' ('.Core::Cast($this->System)->HumanDate($ReleaseDate).')'. ' '.T('Source code').' '. ''.T('Changelog').' '. Core::Cast($this->System)->Config['Web']['WebCounter']; $Output .= ' | |||
'.T('Generating duration').': '. $ScriptGenerateDuration.' s / '.ini_get('max_execution_time').' s '.T('Used memory').': '. HumanSize(memory_get_peak_usage(FALSE)).' / '.ini_get('memory_limit').'B HTML validator |