{template="junkyheader" app="core" group="global" location="global" params=""}
{template="widgetContainer" group="global" app="core" params="'footer', 'horizontal'"}
{template="ipsfocus_megaFooter" if="theme.footer_enable" app="core" group="global" params=""}
{template="inlineMessage" if="member.msg_show_notification and $message = \IPS\core\Messenger\Conversation::latestUnreadMessage()" app="core" group="global" params="$message"}
{template="ipsfocus_backgroundPicker" if="theme.focus_picker" app="core" group="global" params=""}
{template="updateWarning" app="core" group="global" params=""}
{template="ipsfocus_countdown" if="theme.countdown_enable" app="core" group="global" params=""}
{template="ipsfocus_globalMessage" if="theme.global_enable" app="core" group="global" params=""}
{template="ipsfocus_guestMessage" if="(theme.guest_enable) && !\in_array('ipsLayout_minimal', \IPS\Output::i()->bodyClasses ) && !member.member_id" app="core" group="global" params=""}
{template="sidebar" if="theme.sidebar_position == 'left'" app="core" group="global" params="'left'"}
{advertisement="ad_global_header"}
{template="acknowledgeWarning" if="\IPS\Member::loggedIn()->members_bitoptions['unacknowledged_warnings']" params="\IPS\Member::loggedIn()->warnings( 1, FALSE )" group="global" app="core"}
{{if !\in_array('ipsLayout_minimal', \IPS\Output::i()->bodyClasses ) and !member.members_bitoptions['profile_completion_dismissed'] and $nextStep = member.nextProfileStep()}}
{template="profileNextStep" group="global" app="core" params="$nextStep, true"}
{{endif}}
{template="widgetContainer" group="global" app="core" params="'header', 'horizontal'"}
{$html|raw}
{template="sidebar" if="theme.sidebar_position == 'right'" app="core" group="global" params="'right'"}