pbootcms多条件筛选示例

    <p>

    类型:{pboot:selectall field=ext_leixing text=全部 class='btn btn-light'  active='btnbtn-info'} |

    {pboot:select field=ext_leixing}

    {pboot:if([select:i]>1)}|{/pboot:if}

    <a href="[select:link]"{pboot:if('[select:value]'=='[select:current]')}class="active" {/pboot:if}>[select:value]</a>

    {/pboot:select}

    </p>

    <p>

    颜色:{pboot:selectall field=ext_yanse text=全部 class='btn btn-light' active='btnbtn-info'} |

    {pboot:select field=ext_yanse}

    {pboot:if([select:i]>1)}|{/pboot:if}

    <a href="[select:link]"{pboot:if('[select:value]'=='[select:current]')}class="active" {/pboot:if}>[select:value]</a>

    {/pboot:select}

    </p>