Welcome to Delicate template
Header
Just another WordPress site
Header

帝国cms循环显示子栏目并且显示自定义字段

5月 8th, 2013 | Posted by 无 名 in ecms

如何循环显示父栏目下的子栏目,并且输出子栏目的自定义字段呢。

有如下代码:

[e:loop={"select * from [!db.pre!]enewsclass where bclassid=4 order by classid asc",26,24,0}]
<li><p class="llnavc"><a href="<?=$bqsr&#91;classurl&#93;?>"><?=$bqsr&#91;classname&#93;?></a></p><p class="llnave"><?=ReturnClassAddField($bqr&#91;classid&#93;,'enlm')?></p></li>
[/e:loop]

You can follow any responses to this entry through the RSS 2.0 Both comments and pings are currently closed.