<{foreach from=$blocks_arr item=block}>
<{if $block.type=="system"}> <{block id=$block.func}> <{else}> <{if "$xoops_rootpath/modules/tad_web/plugins/`$block.plugin`/tpls/`$block.tpl`"|file_exists}> <{includeq file="$xoops_rootpath/modules/tad_web/plugins/`$block.plugin`/tpls/`$block.tpl`"}> <{/if}> <{/if}>
<{/foreach}>