<{assign var="i" value=0}> <{assign var="total" value=1}>
<{foreach item=block from=$xoBlocks.canvas_left}> <{if $i==0}>
<{/if}> <{if $block.content}>
<{if $block.title}> <{if $xoops_isadmin}>
<{/if}> <{includeq file="$theme_name/tpl/blockTitle.html"}> <{/if}>
<{$block.content}>
<{/if}> <{assign var="i" value=$i+1}> <{assign var="total" value=$total+1}> <{if $i == 4 || $total==$count}>
<{assign var="i" value=0}> <{/if}> <{/foreach}>