<{foreach item=block from=$xoBlocks.canvas_left}><{includeq file="$theme_name/theme_blockleft.html"}><{/foreach}>
<{foreach item=block from=$xoBlocks.canvas_right}><{includeq file="$theme_name/theme_blockright.html"}><{/foreach}>
<{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}>