static function PageStyle() { echo "<style>\n"; echo FSS_Settings::get('display_style'); echo "</style>\n"; echo FSS_Settings::get('display_head'); $class = ''; if (FSSJ3Helper::IsJ3()) { $class = "fss_main_j3"; } $view = FSS_Input::getCmd('view'); if ($view) { $class .= " fss_view_" . $view; } $layout = FSS_Input::getCmd('layout'); if ($layout) { $class .= " fss_layout_" . $layout; } $itemid = FSS_Input::getInt('Itemid'); if ($itemid) { $class .= " fss_itemid_" . $itemid; } $output = "<div class='fss_main {$class}'>\n"; $msgList = FSS_Helper::getMessageQueue(); if (count($msgList) > 0) { include JPATH_SITE . DS . 'components' . DS . 'com_fss' . DS . 'tmpl' . DS . 'messages.php'; } if (FSS_Settings::get('page_headingout')) { self::$open_header = $output; } else { echo $output; } }