線上書籍

Home

[1001]XOOPS網站門面專業設計

<div class="block">
    <{if $block.title|regex_replace:"/.*\[hide\].*/":"hide" ne "hide"}>
        <{if $block.title|regex_replace:"/.*\[pic\].*/":"Picture True" eq "Picture True"}>
        <div align="left"><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 $block.title|regex_replace:"/.*\[icon\].*/":"Icon True" eq "Icon True"}>
            <img src="<{$xoops_imageurl}><{$block.title|regex_replace:"/.*\[icon\]/":""}>" alt="<{$block.title|regex_replace:"/\[icon\].*/":""}>" title="<{$block.title|regex_replace:"/\[icon\].*/":""}>" align="right" hspace=2  />
            <{$block.title|regex_replace:"/\[icon\].*/":""}>
            <{elseif $block.title|regex_replace:"/.*\[link\].*/":"Link True" eq "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}>
    <{/if}>
   
    <div class="blockContent">
        <{$block.content}>
    </div>
</div>