{$view->doctype()} {$DOC->renderWidgets('afterHeadOpen')} {if $DOC->getOption('handler') == 'admin' && $smarty.server.HTTP_USER_AGENT|strpos:'Trident/7' !== false} {/if} {$DOC->getTitle()|htmlspecialchars} {if !constant('SITE_LIVE')} {/if} {if $head.keywords} {/if} {if $head.description} {/if} {if $head.base} {* однинарні лапки фіксять баг хрома: http://code.google.com/p/chromium/issues/detail?id=120408 *} {/if} {include file=$DOC->getTemplate('publisher-link.tpl')} {assign var = 'SITE_REVISION_SUFFIX' value = ""}{if $SITE_REVISION}{assign var = 'SITE_REVISION_SUFFIX' value = "-`$SITE_REVISION`"}{/if} {$DOC->renderStylesheets()} {$DOC->renderInlineScripts(null, true)} {$DOC->renderScripts()} {$DOC->renderInlineScripts()} {literal} {/literal} {$DOC->renderWidgets('beforeHeadClose')} {$DOC->renderWidgets('afterBodyOpen')} {include file = $DOC->getTemplate('analytics.tpl')} {if $AFTER_BODY} {foreach from=$AFTER_BODY item='item'} {include file=$item->tpl item=$item} {/foreach} {/if} {if $BROWSER_ALERT}{include file = $BROWSER_ALERT.tpl item = $BROWSER_ALERT}{/if} {if $CSM_PREVIEW_ALERT}{include file = $CSM_PREVIEW_ALERT.tpl item = $CSM_PREVIEW_ALERT}{/if} {include file = $DOC->getBodyTemplate()} {$DOC->renderWidgets('beforeBodyClose')}