{pc:content action="category" catid="0" num="25" siteid="$siteid" order="listorder ASC"}
<a href="{siteurl($siteid)}">首页</a>
{loop $data $r}<!-- 一级栏目循环开始 -->
<a href="{$r[url]}">{$r[catname]}</a>
{if $r[arrchildid]} <!--是否有子栏目-->
{pc:content action="category" catid="$r[catid]" num="15" siteid="$siteid" order="listorder ASC" return="data2"}
{loop $data2 $v}<!--子栏目循环开始-->
<a href="{$v[url]}">{$v[catname]}</a>
{/loop}<!--子栏目循环结束-->
{/pc}
{/if}
{/loop}<!-- 一级栏目循环结束-->
{/pc}
PHPCMS全局循环调用二级类目导航
Find Your Interest
- 实时预览敢让你敲 <script>:自研 Markdown 渲染器的「先转义后拼装」
- 为emlog添加Gravatar头像服务功能
- PHP获取指定时区当前时间-PHP获取世界时钟
- How to Build an Accordion-Menu using CSS and a bit of jQuery
- Building a table for the nth time - Part 2
- Resurrecting a Dead Library: Part One - Resuscitation
- Stencil Store Challenge
- wsf-xxxvi
- Write CSS. Not too much. Mostly scoped.
- 7 credit card welcome offers worth a look in November 2026






