{strip} {if !isset($wa_parent_theme_path) || !$wa_parent_theme_path || $wa_app == 'site'} {$themePath = $wa_active_theme_path} {else} {$themePath = $wa_parent_theme_path} {/if} {$themeActive = $wa_active_theme_path} {$ts = $theme_settings} {$wa->title()|escape} {* META *} {if !empty($action) && $action == 'category' && $wa->get("page", 1) > 1} {/if} {if !empty($canonical)} {/if} {* ICO *} {if $wa->blog} {if $rss=$wa->blog->rssUrl()} {/if} {/if} {* CSS *} {* CSS SCHEME *} {include file="`$themePath`/head.scheme.color.html" inline} {$wa->css()} {* JS *} {$checkBottom = 1} {if !empty($action) && ($action=='product' || $action=='productReviews' || $action=='cart' || $action=='checkout' || $action=='order' || $action=='checkoutone' || $action=='onestep' || $action=='compare') || $wa_app=='blog' || $wa_app=='photos' || $wa_app=='hub'} {$checkBottom = 0} {$wa->js()} {include file="`$themeActive`/head.html" inline} {$wa->head()} {/if} {* HEADER *} {include file="`$themePath`/header.html" inline} {include file="`$themePath`/header-mobile.html" inline} {* CONTENT *}
{* MAIN *} {include file="`$themeActive`/main.html" inline}
{* FOOTER *} {include file="`$themePath`/footer.html" inline} {* JS *} {if $checkBottom} {$wa->js()} {include file="`$themeActive`/head.html" inline} {$wa->head()} {/if} {* CSS *} {* FILTERS CATEGORY *} {if !empty($filters)} {/if} {* CUSTOM FILE, DELETE PROM *} {if !empty($product)} {/if} {if $wa->shop && class_exists('shopBelllightPlugin')} {shopBelllightPlugin::head()} {shopBelllightPlugin::display()} {/if} {$wa->block("profitshop.metrika")} {if !empty($action) && $action == 'product' && $wa->user()->isAdmin('shop')} {/if} {/strip}