{include file = $DOC->getTemplate('header.tpl')}
{if !empty($TOP_ITEMS)}
{if count($TOP_ITEMS) == 2} {include file = $DOC->getTemplate('Body/Layout/home-top.tpl') topItems = $TOP_ITEMS} {else} {foreach from=$TOP_ITEMS item='item' name='topItem'} {include file=$item->tpl item=$item} {/foreach} {/if}
{/if}
{if $NAVIGATION} {include file = $DOC->getTemplate('navigation.tpl')} {/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)} {if !empty($BOTTOM_ITEMS)} {foreach from=$BOTTOM_ITEMS item='item'} {include file=$item->tpl item=$item} {/foreach} {/if} {include file = $DOC->getTemplate('checkout-footer.tpl')}
{include file = $DOC->getTemplate('footer.tpl')}