線上書籍

Home

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

<TABLE class='right_tbl' cellpadding=0 cellspacing=0>
  <{if $block.title|regex_replace:"/.*\[hide\].*/":"hide" ne "hide"}>
        <{if $block.title|regex_replace:"/.*\[pic\].*/":"Picture True" eq "Picture True"}>
    <TR>
        <TD class="<{cycle values='block_o , block_g , block_b'}>">
          <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 />
      </TD>
    </TR>
        <{else}>
    <TR>
        <TD class="<{cycle values='block_o , block_g , block_b'}>">
            <{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}>
      </TD>
    </TR>
        <{/if}>
    <{/if}>
<TR>
    <TD style="background-image:url(<{xoImgUrl images/block_bg1.png}>);">
  <!--主內容開始-->
    <div style="margin:5px 0px 5px 30px;"><{$block.content}></div>
  <!--主內容結束-->
  </TD>
</TR>
</TABLE>