{strip} {if $wa->mini && !empty($theme_settings.enable_acceleration) && !waRequest::isXMLHttpRequest()}{capture mini_html assign=mini_html}{/if} {* supreme 1.7.3 *} {* TOP NAV 1 *} {if $theme_settings.top_nav1_src == 'site'} {$top_nav1 = $wa->site->pages()} {else if $theme_settings.top_nav1_src == 'shop'} {$top_nav1 = $wa->shop->pages()} {/if} {if $wa->shop} {$categories = $wa->shop->categories(0, null, true, true)} {/if} {* TOP NAV 2 *} {if $theme_settings.top_nav2_src == 'site'} {$top_nav2 = $wa->site->pages()} {else if $theme_settings.top_nav2_src == 'shop' && $wa->shop} {$top_nav2 = $wa->shop->pages()} {else if $theme_settings.top_nav2_src == 'categories' && $wa->shop} {$top_nav2 = $categories} {else} {$top_nav2 = false} {/if} {$top_nav2_original = $top_nav2} {$top_nav2_prepend = 0} {if $theme_settings.show_top_nav2_home} {$top_nav2_prepend = array(['url' => $wa_url, 'name' => '[`Home`]', 'id' => 'home'])} {/if} {if $theme_settings.show_top_nav2_categories} {if $theme_settings.show_top_nav2_categories_depth > 0} {$tn2c_depth=$theme_settings.show_top_nav2_categories_depth+1} {else} {$tn2c_depth=0} {/if} {if isset($theme_settings.show_top_nav2_categories_sub_type)} {$tn2c_sub_type=$theme_settings.show_top_nav2_categories_sub_type} {else} {$tn2c_sub_type='one'} {/if} {if isset($theme_settings.show_top_nav2_categories_sub_cols)} {$tn2c_sub_cols=$theme_settings.show_top_nav2_categories_sub_cols} {else} {$tn2c_sub_cols=2} {/if} {$tn2_categories = array([ 'url' => '#', 'name' => '[`Catalog`]', 'id' => '-1', 'params' => [ 'subtype' => $tn2c_sub_type, 'depth' => $tn2c_depth, 'cols' => $tn2c_sub_cols ], 'childs' => $categories ])} {if $top_nav2_prepend} {$top_nav2_prepend = array_merge($top_nav2_prepend, $tn2_categories)} {else} {$top_nav2_prepend = $tn2_categories} {/if} {/if} {if $top_nav2_prepend} {$top_nav2 = array_merge($top_nav2_prepend, $top_nav2)} {/if} {$theme_color = str_replace('img/themesettings/','', str_replace(array('.png','.jpg'),'', $theme_settings.color_scheme))} {$body_class = ""} {if $theme_settings.color_scheme} {$body_class = "`$body_class` theme-`$theme_color`"} {/if} {if $theme_settings.color_scheme_type == 'flat'} {$theme_color_type = '-flat'} {$body_class = "`$body_class` theme_flat"} {else} {$theme_color_type = ''} {$body_class = "`$body_class` theme_not_flat"} {/if} {if !$theme_settings.show_top_nav1} {$body_class = "`$body_class` hide_top_nav1"} {/if} {if !$theme_settings.show_top_nav2} {$body_class = "`$body_class` hide_top_cat_menu"} {/if} {if !empty($theme_settings.site_max_width)} {$body_class = "`$body_class` site_max_width"} {else} {$body_class = "`$body_class` site_max_width_default"} {/if} {$theme_settings.mob_fixed_panel_pos = $theme_settings.mob_fixed_panel_pos|default:"top"} {$body_class = "`$body_class` mob_fixed_panel_pos-`$theme_settings.mob_fixed_panel_pos`"} {$site_bg = ""} {if $theme_settings.site_bg != 'no'} {if $theme_settings.bg_color} {$site_bg = "background-color:`$theme_settings.bg_color`;"} {/if} {$bg_img_url = "background-image: url('`$wa_theme_url`img/themesettings/%s');"} {if $theme_settings.bg_custom} {$site_bg = "`$site_bg` background-image: url('`$wa_theme_url``$theme_settings.bg_custom`');"} {else} {if $theme_settings.site_bg == 'bg_tex'} {$site_bg = sprintf("`$site_bg` `$bg_img_url`", "bg_tex/`$theme_settings.bg_tex`")} {else if $theme_settings.site_bg == 'bg_img'} {$site_bg = sprintf("`$site_bg` `$bg_img_url`", "bg_img/`$theme_settings.bg_img`")} {/if} {/if} {$site_bg_class = "`$theme_settings.site_bg`"} {if $theme_settings.bg_fixed} {$site_bg_class = "`$site_bg_class` bg_fixed"} {/if} {if $theme_settings.site_bg == 'bg_img'} {if $theme_settings.bg_stretch} {$site_bg_class = "`$site_bg_class` `$theme_settings.bg_stretch`"} {/if} {/if} {/if} {if !isset($theme_settings.admin_sidebar)} {$theme_settings.admin_sidebar = true} {/if} {$s_app = $wa->param('app')} {$s_action = $wa->param('action')} {$s_plugin = $wa->param('plugin')} {include file="function.menu.html" inline} {/strip} globals('isMyAccount')} class="my"{/if} lang="{if $wa->locale()}{$wa->locale()|regex_replace:"/_/":"-"}{else}en{/if}"> {include file="index.head.html" inline} {if $supreme_body_start = $wa->block("supreme.body.start")} {$supreme_body_start} {/if} {if isset($theme_settings.pp_comments_fb_enable) && $theme_settings.pp_comments_fb_enable}
{/if}
{if $theme_settings.mob_fixed_panel_pos == 'top'} {include file="index.fixed-toolbar.html" inline} {/if}
{include file="index.topnav.html" inline} {include file="index.header.html" inline} {include file="index.menubar.html" inline}
{if !$wa->globals('isMyAccount') && !($wa_app == 'shop' && $theme_settings.homepage_bxslider_type == 'stacked' && $theme_settings.sidebar_show_homepage)} {include file="`$wa_active_theme_path`/banner.html" inline} {/if}
{if $wa->globals('isMyAccount')} {* focused personal accounts navigation *}
{$content}
{elseif strpos($wa->currentUrl(),'login') || strpos($wa->currentUrl(),'signup') || strpos($wa->currentUrl(),'forgotpassword')}
{$content}
{else} {include file="`$wa_active_theme_path`/main.html" inline} {/if}
{include file="index.footer.html" inline}
{if $theme_settings.show_scroll_to_top_button} {/if} {if $theme_settings.mob_fixed_panel_pos == 'bottom'} {include file="index.fixed-toolbar.html" inline} {/if}
{* admin-only sidebar *} {if $theme_settings.admin_sidebar} {if $wa->userRights('backend')} {include file="index.admin-sidebar.html" app=$s_app action=$s_action plugin=$s_plugin inline} {/if} {/if} {if $supreme_body_end = $wa->block("supreme.body.end")} {$supreme_body_end} {/if} {if $wa->mini && !empty($theme_settings.enable_acceleration) && !waRequest::isXMLHttpRequest()} {if $wa->block("supreme.critical.css")} {capture mini_css assign=mini_css} {if !empty($theme_settings.site_max_width)} {$jsVars = $wa->globals("jsVars")} .site_max_width .container-fluid { max-width: {$theme_settings.site_max_width + 30}px; } #homeslider_photos.stacked .item-in{ width: {$jsVars.content_width}px; } #homeslider_photos.fw .item-in, #homeslider_photos.not_fw .item-in { width: {$jsVars.site_max_width}px; } .bg_tex .site_wrap, .bg_img .site_wrap { max-width: {$theme_settings.site_max_width + 80}px; } {/if} {* supreme.critical.css supreme.critical.default.css supreme.critical.category.css supreme.critical.product.css supreme.critical.search.css supreme.critical.cart.css *} {if empty($theme_settings.debug_disable_block_critical) && empty($theme_settings.debug_disable_all_blocks)} {if !empty($action) && $wa->block("supreme.critical.`$action`.css")} {$wa->block("supreme.critical.`$action`.css")} {else} {$wa->block("supreme.critical.css")} {/if} {/if} {/capture} {else} {$mini_css=false} {/if} {/capture} {* close mini_html *} {$wa->mini->html($mini_html, $mini_css)} {/if}