dbFields = array( 'head'=>'', 'header'=>'', 'footer'=>'', 'adminHead'=>'', 'adminHeader'=>'', 'adminFooter'=>'' ); } public function form() { global $L; $html = ''; $html .= '

'.$L->g('Website').'

'; $html .= '
'; $html .= ''; $html .= ''; $html .= ''.$L->get('insert-code-in-the-theme-inside-the-tag-head').''; $html .= '
'; $html .= '
'; $html .= ''; $html .= ''; $html .= ''.$L->get('insert-code-in-the-theme-at-the-top').''; $html .= '
'; $html .= '
'; $html .= ''; $html .= ''; $html .= ''.$L->get('insert-code-in-the-theme-at-the-bottom').''; $html .= '
'; $html .= '

'.$L->g('Admin area').'

'; $html .= '
'; $html .= ''; $html .= ''; $html .= ''.$L->get('insert-code-in-the-theme-inside-the-tag-head').''; $html .= '
'; $html .= '
'; $html .= ''; $html .= ''; $html .= ''.$L->get('insert-code-in-the-theme-at-the-top').''; $html .= '
'; $html .= '
'; $html .= ''; $html .= ''; $html .= ''.$L->get('insert-code-in-the-theme-at-the-bottom').''; $html .= '
'; return $html; } public function siteHead() { return html_entity_decode($this->getValue('head')); } public function siteBodyBegin() { return html_entity_decode($this->getValue('header')); } public function siteBodyEnd() { return html_entity_decode($this->getValue('footer')); } public function adminHead() { return html_entity_decode($this->getValue('adminHead')); } public function adminBodyBegin() { return html_entity_decode($this->getValue('adminHeader')); } public function adminBodyEnd() { return html_entity_decode($this->getValue('adminFooter')); } }