phpcms 列表页显示所有栏目列表

{if $CATEGORYS[$catid]['child'] == 1}
{pc:content action="category" catid="$catid" num="25" siteid="$siteid" order="listorder ASC" return="ta"}
{loop $ta $r}
{/loop}
{/pc}
{else}
{pc:content action="category" catid="$CATEGORYS[$catid]['parentid']" num="25" siteid="$siteid" order="listorder ASC" return="ta"}
{loop $ta $r}
  • $r[url]}" {if $catid == $r['catid']} class="jcdzz" {/if}>{$r[catname]}.............................................. class="fl mt4">>>>
  • {/loop} {/pc} {/if}

     

    转载于:https://www.cnblogs.com/Dong-Ge/articles/5973580.html

    你可能感兴趣的:(phpcms 列表页显示所有栏目列表)