language()->bcp47()"}" dir="{{if member.language()->isrtl}}rtl{{else}}ltr{{endif}}" class='{{if theme.vala_thememode_enable}}{{if $_COOKIE["vala_theme_mode"]=="dark"}}dark-theme {{elseif $_COOKIE["vala_theme_mode"]=="light"}}light-theme {{else}} {theme="vala_thememode_default_theme"}-theme {{endif}}{{else}}{theme="vala_thememode_mode"}-theme{{endif}}' data-thememode='{theme="vala_thememode_enable"}' data-defaulttheme='{theme="vala_thememode_default_theme"}'> {{if settings.core_datalayer_enabled}} {template="includeDataLayer" app="core" group="global" location="front"} {{endif}} {expression="output.getTitle( $title )"} {{if settings.ga_enabled}} {setting="ga_code"} {{endif}} {{if settings.matomo_enabled}} {setting="matomo_code"} {{endif}} {{if settings.googletag_enabled AND !(settings.core_datalayer_use_gtm AND settings.core_datalayer_enabled)}} {setting="googletag_head_code"} {{endif}} {template="includeMeta" app="core" group="global" location="global" params=""} {template="includeCSS" app="core" group="global" location="global" params=""} {template="includeJS" if="theme.js_include != 'footer'" app="core" group="global" location="global" params=""} {template="favico" app="core" group="global" location="front" params=""} id )}}data-pageID='{expression="(int) \IPS\Request::i()->id"}'{{endif}} {{if isset( \IPS\Dispatcher::i()->dispatcherController ) AND !\IPS\Dispatcher::i()->dispatcherController->isContentPage }}data-nocontent{{endif}} {{if output.pageName}}data-pageName="{expression="output.pageName"}"{{endif}}> {{if theme.vala_popup_enabled}} {template="valaPopup" app="core" group="vala" location="front" params=""} {{endif}} {{if theme.vala_scrollbtn_enabled}} {template="valascrolltotop" app="core" group="vala" location="front" params=""} {{endif}} {{if theme.vala_sharebar_enabled}} {template="valasharebtnbar" app="core" group="vala" location="front" params=""} {{endif}} {theme="headerHtml"} {{if settings.googletag_enabled AND !(settings.core_datalayer_use_gtm AND settings.core_datalayer_enabled)}} {setting="googletag_noscript_code"} {{endif}} {{if settings.core_datalayer_enabled}} {template="includeDataLayerBody" app="core" group="global" location="front"} {{endif}} {lang="jump_to_content"}
{template="updateWarning" app="core" group="global" params=""}
{template="logo" app="core" group="global" params=""} {template="topBarQuickLink" app="core" group="vala" location="front" params=""} {{if !\in_array('ipsLayout_minimal', \IPS\Output::i()->bodyClasses )}} {template="userBar" app="core" group="global" params=""} {template="mobileNavigationIcon" app="core" group="global" params=""} {{endif}}
{template="navBar" app="core" group="global" params=""} {{if !\in_array('ipsLayout_minimal', \IPS\Output::i()->bodyClasses )}} {{if !theme.vala_navtopm_enabled}} {template="mobileNavBar" app="core" group="global" params=""} {{else}} {template="valaMobileNavBar" app="core" group="vala" params=""} {{endif}} {{endif}}
{{if theme.vala_slider_enabled}} {{$loopstatus = 0;}} {{$loopstatus = theme.vala_slider_1?$loopstatus+1:$loopstatus;}} {{$loopstatus = theme.vala_slider_2?$loopstatus+1:$loopstatus;}} {{$loopstatus = theme.vala_slider_3?$loopstatus+1:$loopstatus;}} {{$loopstatus = theme.vala_slider_4?$loopstatus+1:$loopstatus;}} {{$cApp = \IPS\Request::i()->app;}} {{$vapps = \explode(',',theme.vala_slider_apps);}} {{if (theme.vala_slider_apps=='*') or \in_array($cApp,$vapps)}} {{if !(theme.vala_slider_apps_index and $cApp=="forums" and request.controller!='index')}} {{endif}} {{else}} {{endif}} {{endif}} {{if theme.vala_navtopm_enabled}} {template="valamobilebottomnavbar" app="core" group="vala" location="front" params=""} {{endif}} {{if !theme.vala_navtopm_create_enabled}} {template="valaMobileCreateSheet" app="core" group="vala" location="front" params=""} {{endif}}
{template="breadcrumb" app="core" group="global" params="'top'"} {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="widgetContainer" group="global" app="core" params="'footer', 'horizontal'"}
{template="sidebar" if="theme.sidebar_position == 'right'" app="core" group="global" params="'right'"} {template="breadcrumb" app="core" group="global" params="'bottom'"}
{template="inlineMessage" if="member.msg_show_notification and $message = \IPS\core\Messenger\Conversation::latestUnreadMessage()" app="core" group="global" params="$message"}
{template="actionWidget" app="core" group="vala" location="front" params=""} {template="mobileNavigation" if="theme.responsive" app="core" group="global" params=""} {template="guestTermsBar" if="!\IPS\Member::loggedIn()->member_id and \IPS\Settings::i()->guest_terms_bar" app="core" group="global" params="base64_encode( \IPS\Settings::i()->base_url )"} {template="includeJS" if="theme.js_include == 'footer'" app="core" group="global" location="global" params=""} {template="metaTagEditor" if="isset( $_SESSION['live_meta_tags'] ) and $_SESSION['live_meta_tags'] and member.isAdmin()" app="core" group="global" params=""} {expression="output.endBodyCode" raw="true"} {{if settings.fb_pixel_enabled and settings.fb_pixel_id and $noscript = \IPS\core\Facebook\Pixel::i()->noscript()}} {{endif}} {{if theme.vala_search_enabled}} {template="valaOverlaySearchTheme" group="vala" app="core" location="front" params=""} {{endif}} {{if theme.vala_loading_enabled}} {template="valaLoading" group="vala" app="core" location="front" params=""} {{endif}} {{if theme.vala_slider_enabled}} {{endif}} {{if settings.custom_body_code}} {setting="custom_body_code"} {{endif}} {theme="footerHtml"}