<{if $xoBlocks.canvas_right}> <{assign var="i" value=0}> <{assign var="total" value=1}>
<{foreach item=block from=$xoBlocks.canvas_right}> <{if $i==0}>
<{/if}> <{if $block.content}>
<{includeq file="$xoops_rootpath/modules/tadtools/themes_tpl/blockTitle.html"}>
<{$block.content}>
<{/if}> <{assign var="i" value=$i+1}> <{assign var="total" value=$total+1}> <{if $i == 5 || $total==5}>
<{assign var="i" value=0}> <{/if}> <{/foreach}>
<{/if}>