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