{* Template Name:首页 * Template Type:index *} {template:header}
{template:navbar}
{if $type == 'index' && $page == '1' && $zbp->Config('tpure')->PostSLIDEON == '1' && $zbp->Config('tpure')->PostSLIDEPLACE == '1'} {php}$slidedata = json_decode($zbp->Config('tpure')->PostSLIDEDATA,true);{/php}
{if isset($slidedata)} {foreach $slidedata as $value} {if $value['isused']} Config('tpure')->PostBLANKSTYLE == 2} target="_blank"{/if} class="swiper-slide" style="background-color:#{$value['color']};">{$value['title']} {/if} {/foreach} {/if}
{if count((array)$slidedata) > 1} {if $zbp->Config('tpure')->PostSLIDEPAGEON == '1'}
{/if} {if $zbp->Config('tpure')->PostSLIDEBTNON == '1'}
{/if} {/if}
{elseif $zbp->Config('tpure')->PostBANNERON == '1'} {/if}
Config('tpure')->PostFIXSIDEBARSTYLE == '0'} id="hcsticky"{/if} class="wrap">
{php}$slidedata = json_decode($zbp->Config('tpure')->PostSLIDEDATA,true);{/php} {if $type == 'index' && $page == '1' && $zbp->Config('tpure')->PostSLIDEON == '1' && $zbp->Config('tpure')->PostSLIDEPLACE == '0' && count((array)$slidedata)>0}
{if isset($slidedata)} {foreach $slidedata as $value} {if $value['isused']} Config('tpure')->PostBLANKSTYLE == 2} target="_blank"{/if} class="swiper-slide" style="background-color:#{$value['color']};">{$value['title']} {/if} {/foreach} {/if}
{if count((array)$slidedata) > 1} {if $zbp->Config('tpure')->PostSLIDEPAGEON == '1'}
{/if} {if $zbp->Config('tpure')->PostSLIDEBTNON == '1'}
{/if} {/if}
{/if}
{if $zbp->Config('tpure')->PostINDEXSTYLE == '1'} {foreach $articles as $article} {if $article.IsTop} {template:post-forumistop} {else} {template:post-forummulti} {/if} {/foreach} {elseif $zbp->Config('tpure')->PostINDEXSTYLE == '2'}
{foreach $articles as $article} {if $article.IsTop} {template:post-albumistop} {else} {template:post-albummulti} {/if} {/foreach}
{else} {foreach $articles as $article} {if $article.IsTop} {template:post-istop} {else} {template:post-multi} {/if} {/foreach} {/if}
{if $pagebar && $pagebar.PageAll > 1}
{template:pagebar}
{/if} {if $type == 'index' && $page == '1' && $zbp->Config('tpure')->PostFRIENDLINKON == '1' && !tpure_isMobile()} {elseif tpure_isMobile() && $zbp->Config('tpure')->PostFRIENDLINKMON == '1'} {/if}
{template:sidebar}
{template:footer}