Load != '') $BodyParam .= ' onload="'.$this->Load.'"'; if($this->Unload != '') $BodyParam .= ' onunload="'.$this->Unload.'"'; $Output = 'Config['Web']['Charset'].'"?>'."\n". ''. ''. ''. ''. ''. ''.$this->Config['Web']['Title'].' - '.$Path.' '.$this->ShowTopPanel(); return($Output); } function ShowTopPanel() { $Output = ''; return($Output); } function ShowFooter() { global $ScriptTimeStart; $Time = round($this->System->GetMicrotime() - $ScriptTimeStart, 2); $Output = ''; return($Output); } function CenterPanel($Content) { $Output = ''; if($this->System->Modules['User']->Data['Id'] != $this->Config['Web']['UserAnonymousId']) $Output .= ''; $Output .= ''; if(!array_key_exists('Action', $_GET)) { $NewsView = new NewsView($this->System); $Output .= $NewsView->View(); } $Output .= '
'.$this->UserMenu().''.$Content.'
'; return($Output); } function UserMenu() { $Output = 'Uživatelské menu
'; if($this->System->Modules['User']->Data['Id'] != $this->Config['Web']['UserAnonymousId']) { $Output .= '
Uzly skupiny
'; $Output .= '
Moje servery
'; //$Output .= '
Moje světy
'; //$Output .= '
Ladící záznamy
'; //$Output .= '
Zálohy
'; $Output .= '
Fronta úloh
'; //$Output .= '
Dostupné aktualizace
'; if($this->System->Modules['Permission']->Check('News', 'Add')) { $Output .= '
Přidat aktualitu
'; } } return($Output); } function GetOutput($Content) { $Output = $this->ShowHeader($this->FullTitle, $this->ShortTitle). $this->CenterPanel($Content); $Output .= $this->ShowFooter(); if($this->Config['Web']['FormatHTML'] == true) echo($this->FormatOutput($Output)); else echo($Output); } function SystemMessage($Text) { return('

Systémová zpráva

'.$Text.'
'); //ShowFooter(); //die(); } function AccessDenied() { return($this->GetOutput($this->SystemMessage($this->System->Translate('AccessDenied')))); } }