{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
- Python-translate
- Shell Script 筆記
- <calc-input>, a custom input element that accepts mathematical formulas
- How to upload and preview images in ReactJS?
- 英尺(inch)、厘米(cm) JS转换
- Functional Programming Challenge; Words with Indexes
- 实时预览敢让你敲 <script>:自研 Markdown 渲染器的「先转义后拼装」
- Embracing Playful Imperfection With The CSS `random()` Function
- Astro Tutorial: Build a Static Site with Interactive Components
- polyxslt:给浏览器补上一个轻量级XSLT处理器






