<{if $block.title|regex_replace:"/.*\[hide\].*/":"hide" != "hide"}>
	<{if $block.title|regex_replace:"/.*\[pic\].*/":"Picture True" == "Picture True"}>
    <div style="border:none;">
      <{if $xoops_isadmin}>
        <a href="<{$xoops_url}>/modules/system/admin.php?fct=blocksadmin&op=edit&bid=<{$block.id}>" class="block_config"></a>
      <{/if}>
      <img src="<{$xoops_imageurl}><{$block.title|regex_replace:"/.*\[pic\]/":""}>" alt="<{$block.title|regex_replace:"/\[pic\].*/":""}>" title="<{$block.title|regex_replace:"/\[pic\].*/":""}>" align="absmiddle" hspace=2 />
    </div>
	<{else}>
    <div class="blockTitle">
      <{if $xoops_isadmin}>
        <a href="<{$xoops_url}>/modules/system/admin.php?fct=blocksadmin&op=edit&bid=<{$block.id}>" class="block_config"></a>
      <{/if}>

      <{if $block.title|regex_replace:"/.*\[icon\].*/":"Icon True" == "Icon True"}>
        <img src="<{$xoops_imageurl}><{$block.title|regex_replace:"/.*\[icon\]/":""}>" alt="<{$block.title|regex_replace:"/\[icon\].*/":""}>" title="<{$block.title|regex_replace:"/\[icon\].*/":""}>" align="absmiddle" hspace=2 />
        <{$block.title|regex_replace:"/\[icon\].*/":""}>
      <{elseif $block.title|regex_replace:"/.*\[link\].*/":"Link True" == "Link True"}>
        <a href="<{$block.title|regex_replace:"/.*\[link\]/":""}>" alt="<{$block.title|regex_replace:"/\[link\].*/":""}>" title="<{$block.title|regex_replace:"/\[link\].*/":""}>"><{$block.title|regex_replace:"/\[link\].*/":""}></a>
      <{else}>
        <{$block.title}>
      <{/if}>
    </div>
	<{/if}>
<{else}>
  <div>
    <{if $xoops_isadmin}>
      <a href="<{$xoops_url}>/modules/system/admin.php?fct=blocksadmin&op=edit&bid=<{$block.id}>" class="block_config"></a>
    <{/if}>
  </div>
<{/if}>