{if ($module eq 'homepage' or $CONFIG.settings.slider_show_anywhere eq 'on') and $CONFIG.modules.slider.avail eq 'Y'}
{include file="slider/slider.html"}
{/if}
{if $module eq 'homepage'}
{include file="navigation.html" dotted=true}
{else}
{include file="navigation.html" dotted=false}
{/if}
{if not $error404}
{if $banner_ct}
{include file="banners/banner_block.html" banner=$banner_ct}
{/if}
{if $module eq 'homepage'}
{foreach from=$cblocks item=cblock}
{if $cblock.name}
{include file="_system_/blocks/`$cblock.name`.html"}
{else}
{include file="_system_/center_block.html" title=$cblock.caption content=$cblock.content noinner=true}
{/if}
{/foreach}
{else}
{include file="`$module`/`$module`.html"}
{/if}
{if $banner_cb}
{include file="banners/banner_block.html" banner=$banner_cb}
{/if}
{else}
{capture name=error404}
{$LABEL.err_404}
{/capture} {include file="_system_/center_block.html" title=$LABEL.lbl_404_page_not_found content=$smarty.capture.error404} {/if}
{if not $is_checkout}
{include file="right_menu.html"}
{/if}