<{assign var=theme_name value=$xoTheme->folderName}> <{assign var=theme_name value=$xoTheme->folderName|cat:'/xotpl'}> <{assign var=theme_plugin value=$xoTheme->folderName|cat:'/xoplugins'}> <{includeq file="$theme_name/xometas.html"}> <{includeq file="$theme_name/xoscripts.html"}> <{if $xoBlocks.canvas_left and $xoBlocks.canvas_right}><{assign var=columns_layout value='threecolumns-layout'}> <{elseif $xoBlocks.canvas_left}><{assign var=columns_layout value='leftcolumn-layout'}> <{elseif $xoBlocks.canvas_right}><{assign var=columns_layout value='rightcolumn-layout'}> <{/if}>
class="<{$columns_layout}>"<{/if}>>
<{includeq file="$theme_name/xotopheader.html"}>
<{$xoops_banner}>
<{includeq file="$theme_name/globalnav.html"}>
<{if $xoBlocks.canvas_left}>
<{foreach item=block from=$xoBlocks.canvas_left}><{includeq file="$theme_name/theme_blockleft.html"}><{/foreach}>
<{/if}> <{if $xoBlocks.canvas_right}>
<{foreach item=block from=$xoBlocks.canvas_right}><{includeq file="$theme_name/theme_blockright.html"}><{/foreach}>
<{/if}>
<{if $xoBlocks.page_topleft or $xoBlocks.page_topcenter or $xoBlocks.page_topright}>
<{foreach item=block from=$xoBlocks.page_topcenter}><{includeq file="$theme_name/theme_blockcenter_c.html"}><{/foreach}>
<{foreach item=block from=$xoBlocks.page_topleft}><{includeq file="$theme_name/theme_blockcenter_l.html"}><{/foreach}>
<{foreach item=block from=$xoBlocks.page_topright}><{includeq file="$theme_name/theme_blockcenter_r.html"}><{/foreach}>
<{/if}> <{if $xoops_contents}>
<{$xoops_contents}>
<{/if}> <{if $xoBlocks.page_bottomleft or $xoBlocks.page_bottomright or $xoBlocks.page_bottomcenter}>
<{if $xoBlocks.page_bottomcenter}>
<{foreach from=$xoBlocks.page_bottomcenter item=block}><{include file="$theme_name/theme_blockcenter_c.html"}><{/foreach}>
<{/if}> <{if $xoBlocks.page_bottomleft or $xoBlocks.page_bottomright}>
<{foreach from=$xoBlocks.page_bottomleft item=block}><{include file="$theme_name/theme_blockcenter_l.html"}><{/foreach}>
<{foreach from=$xoBlocks.page_bottomright item=block}><{include file="$theme_name/theme_blockcenter_r.html"}><{/foreach}>
<{/if}>
<{/if}>