{template="navBar" app="core" group="global" params=""}
{template="ipsfocus_backgroundPicker" if="theme.ipsf_backgroundType == 'ipsfocus_backgroundPicker'" app="core" group="global" params=""}
{template="ipsfocus_socialButtons" if="theme.ipsf_social" app="core" group="global" params=""} {template="breadcrumb" app="core" group="global" params="true, 'top'"}
{template="ipsfocus_globalMessage" if="theme.globalMessage" app="core" group="global" params=""} {{if !member.member_id}}{template="ipsfocus_guestMessage" if="theme.ipsf_guest" app="core" group="global" params=""}{{endif}} {template="ipsfocus_countdown" if="theme.ipsf_countdown" app="core" group="global" params=""}
{template="sidebar" if="theme.sidebar_position == 'left'" app="core" group="global" params="'left'"}
{template="offlineMessage" if="!settings.site_online && \IPS\Member::loggedIn()->group['g_access_offline']" app="core" group="global" params=""} {template="updateWarning" app="core" group="global" params=""} {template="lkeyWarning" app="core" group="global" location="global" params=""} {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"} {template="widgetContainer" group="global" app="core" params="'header', 'horizontal'"} {$html|raw} {template="widgetContainer" group="global" app="core" params="'footer', 'horizontal'"}
{template="sidebar" if="theme.sidebar_position == 'right'" app="core" group="global" params="'right'"}
{template="ipsfocus_megaFooter" if="theme.ipsf_megaFooter" app="core" group="global" params=""}
{template="inlineMessage" if="member.msg_show_notification and $conversation = \IPS\core\Messenger\Conversation::latestUnreadConversation()" app="core" group="global" params="$conversation->comments( 1, 0, 'date', 'desc' )"}