{nocache} {include file="components/gtm_container_head.tpl"} {include file="components/meta.tpl" nocache} {include file="components/canonical.tpl" nocache} {if $config->bundle} {else} {include file="components/bundle_css.tpl"} {/if} {include file="components/tpl_scripts/global_vars.tpl" nocache} {include file="components/analytics/googletag.tpl"} {include file="components/analytics/ga/ga.tpl"} {if $config->is_clone}{include file="components/analytics/ya/metrika.tpl" nocache}{/if} {if $smarty.get.module != 'CartView'}{include file="components/analytics/quiz.tpl"}{/if} {include file="components/gtm_container_body.tpl"} {if !$config->is_clone} {include file="components/analytics/ya/metrika.tpl" nocache} {include file="components/analytics/roistat/main.tpl"} {else} {include file="components/analytics/roistat/clone.tpl"} {/if} {include file="mobile_head.tpl"}
{include file='components/head/head-top.tpl'} {include file='components/head/head-middle.tpl'} {include file='components/head/head-bottom.tpl'}
url == 'cart2' || $page && $page->url == 'cart3' || $page && $page->url == 'cart4'}main-for-cart{/if}"> {if $smarty.get.module=='ProductsView'} {* {include file="components/main/fast-category.tpl" cache_id=$cache_id}*} {include file="components/path.tpl" nocache} {/if} {if $smarty.get.module!='ProductView' && $smarty.get.module!='CompareView' && $smarty.get.module!='CartView' && $smarty.get.module!='OrderView' && $smarty.get.module!='UserView' && $smarty.server.REQUEST_URI != "/compare/" && $smarty.server.REQUEST_URI != "/compare"} {include file='sidebar.tpl' cache_id=$cache_id} {/if} {if $smarty.get.module == 'UserView'} {include file="components/user/path.tpl" nocache} {include file='components/user/sidebar.tpl' nocache} {/if}
{if $promo} {if $smarty.get.module=='MainView' && $promo->banner_big} {/if} {if ( $smarty.get.module=='ProductsView' || $smarty.get.module=='BlogView' ) && $promo->banner_mid} {/if} {/if} {if $smarty.get.module=='SaleOfTheDayView' && $promo->sale_of_the_day} {/if} {$content}
{if $smarty.get.module == 'UserView'} {include file='components/user/sidebar.tpl' class="user-lk-sidebar-show-on-mobile" nocache} {/if}
{if ($smarty.get.module!='CartView' || !$cart->purchases)}{include file='footer.tpl' caching}{/if}
{include file='popup.tpl'} {if $smarty.get.module!='CartView'}
{/if} {if $config->bundle} {include file="components/minimal_bundle_js.tpl"} {else} {include file="components/bundle_js.tpl"} {/if} {**} {* Для отправки pageview по мере прокрутки и определения города по ip*} {include file="components/analytics/ga/viewport.tpl"} {*{include file="components/tpl_scripts/functions.tpl"}*} {include file="components/tpl_scripts/scripts.tpl" nocache} {include file="components/tpl_scripts/collector.tpl" nocache} {/nocache}