{strip} {$themeActive = $wa_active_theme_path} {$ts = $theme_settings} {$wa->title()|escape} {* META *} {if $ts.header_mobile_bg} {/if} {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} {* SETTINGS THEME *} {include file="./settings.html" inline} {* CSS *} {* CUSTOM FILE, DELETE PROM *} {* JQUERY *} {if $ts.load_jquery} {include file="./header/jquery.html" inline} {else} {/if} {* HEAD *} {if !$ts.load_scripts_plugin_bottom} {include file="./header/head.html" inline} {/if} {if $wa->user()->isAdmin($wa->app()) || !$ts.site_develop} {if $ts.header_catalog_parent} {$categ = $wa->shop->categories($ts.header_catalog_parent, null, true, true)} {else} {$categ = $wa->shop->categories(0, null, true, true)} {/if} {if $ts.colors_bg_fon}
{/if} {* HEADER *} {include file="./header.html" inline} {* CONTENT *}
{* MAIN *} {include file="`$themeActive`/main.html" inline categ=$categ}
{* FOOTER *} {include file="./footer.html" inline} {if $ts.colors_bg_fon}
{/if} {* FONT CONNECTION *} {$fonts = ['roboto','open-sans','montserrat','source-sans-pro','raleway','ubuntu']} {* CSS *} {if $wa->shop && $wa->shop->currency() == 'RUB' && $ts.is_ruble} {/if} {* JS *} {$currencies = $wa->shop->currencies()} {$currency = $currencies[$wa->shop->currency()]} {* CUSTOM FILE, DELETE PROM *} {* HEAD *} {if $ts.load_scripts_plugin_bottom} {include file="./header/head.html" inline} {/if} {if $wa_app=='shop'} {* @event frontend_footer.%plugin_id% *} {foreach $frontend_footer as $_}{$_}{/foreach} {/if} {include file="./banner.base.html" inline} {include file="./panel.edit.html" inline} {$wa->block("insale.metrika")} {else} {* IN DEVELOPMENT*} {include file="./development.html" inline} {/if} {/strip}