version: '.$version.''; } */ UI::loadTemplate('_layout_footer_section'); } public static function gora() { UI::startHtml(); } public static function startHtml() { Lib::loadClass('S'); UI::loadTemplate('_layout_gora'); } public static function dol() { UI::endHtml(); } public static function fixFooterPosition($type) { $fixFooterPosition = true;// from config? if (!$fixFooterPosition) return; switch ($type) { case 'footer_style': return 'position:absolute; bottom:0; left:0; width:100%; '; case 'body_style': return 'position:relative; padding-bottom:32px;'; case 'footer_js_tag': return "\n"; } } public static function endHtml() { $version = (file_exists(APP_PATH_ROOT . '/VERSION'))? file_get_contents(APP_PATH_ROOT . '/VERSION') : null; if ($version) { echo '