{foreach item=block from=$xoops_lblocks name=lbloop}> <{if $block.weight == 0 }> <{if $block.title|strstr:"[["}>