{{if theme.aXenMFluent_Widget_Top == 1}}
{template="breadcrumb" app="core" group="global" params="'top'"}
{template="aXenSlider_See" if="theme.aXenMFluent_Slider_position == 1 AND theme.aXenMFluent_Slider_on == 1" app="core" group="global" location="global" params=""}
{{endif}}
{template="inlineMessage" if="member.msg_show_notification and $message = \IPS\core\Messenger\Conversation::latestUnreadMessage()" app="core" group="global" params="$message"}
{{if theme.aXenMFluent_Widget_Top == 0}}
{template="breadcrumb" app="core" group="global" params="'top'"}
{template="aXenSlider_See" if="theme.aXenMFluent_Slider_position == 1 AND theme.aXenMFluent_Slider_on == 1" app="core" group="global" location="global" params=""}
{{endif}}
{{if ( \IPS\Member::loggedIn()->bday_day == \IPS\DateTime::create()->format( 'd' ) AND \IPS\Member::loggedIn()->bday_month == \IPS\DateTime::create()->format( 'm' ) AND \IPS\Settings::i()->profile_birthday_type == 'public' ) AND theme.aXenMFluent_Birthday_Block == 1 }}
{lang="aXenMessageBirthday_Block1"} {member="name"}! {lang="aXenMessageBirthday_Block2"}
{{endif}}
{{if \IPS\Member::loggedIn()->group['g_max_messages'] > 0 AND !\IPS\Member::loggedIn()->group['gbw_pm_override_inbox_full'] AND \IPS\Member::loggedIn()->msg_count_total >= \IPS\Member::loggedIn()->group['g_max_messages'] AND theme.aXenMFluent_Main_FullPM == 1}}
{lang="ipsaXenPMError"}
{{endif}}
{{if theme.aXenMFluent_Mobile_Nav == 2}}
{{if \count( \IPS\Output::i()->breadcrumb )}}
{{if \count( \IPS\Output::i()->breadcrumb ) == 1}}
{lang="home"}
{{else}}
{{$i = 0;}}
{{foreach \IPS\Output::i()->breadcrumb as $k => $b}}
{{if $i + 2 == \count( \IPS\Output::i()->breadcrumb )}}
{$b[1]}
{{endif}}
{{$i++;}}
{{endforeach}}
{{endif}}
{{endif}}
{{endif}}
{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="updateWarning" app="core" group="global" params=""}
{template="aXenSlider_See" if="theme.aXenMFluent_Slider_position == 2 AND theme.aXenMFluent_Slider_on == 1" app="core" group="global" location="global" params=""}
{{if theme.aXenMFluent_Widget_Top == 0}}
{template="widgetContainer" group="global" app="core" params="'header', 'horizontal'"}
{{endif}}
{$html|raw}
{template="widgetContainer" if="theme.aXenMFluent_Widget_Bottom == 0" group="global" app="core" params="'footer', 'horizontal'"}
{template="sidebar" if="theme.sidebar_position == 'right'" app="core" group="global" params="'right'"}