{include file = $DOC->getTemplate('header.tpl')}
{if $header}

{$header|htmlspecialchars}

{/if} {if $NAVIGATION}
{include file = $DOC->getTemplate('navigation.tpl')}
{/if}
{assign var = 'bodyLayoutTemplate' value = 'main'} {if !empty($LEFT_ITEMS)} {assign var = 'bodyLayoutTemplate' value = "left-`$bodyLayoutTemplate`"} {/if} {if !empty($RIGHT_ITEMS)} {assign var = 'bodyLayoutTemplate' value = "`$bodyLayoutTemplate`-right"} {/if} {assign var = 'bodyLayoutTemplate' value = "Body/Layout/`$bodyLayoutTemplate`.tpl"} {include file = $DOC->getTemplate($bodyLayoutTemplate)}
{include file = $DOC->getTemplate('footer.tpl')}