12345678910{php $sonid=get_sonid_all(栏目ID)}{cms:rs field="count(1) as tnum" top="1" table="cms_content" where="islock=1 and classid in($sonid)"}内容数量是:{$rs[tnum]}{/cms:rs}
将栏目ID换成你的栏目ID
上一篇: 判断某个栏目是否包含子栏目的标签教程
下一篇:单独调用某个栏目的名称/链接等方法