{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}