织梦channelartlist判断是否有下级栏目输出不同的html代码
在织梦/include/extend.func.php 文件最后面添加一下代码 function display_ul($i,$var=0){ global $dsql; $row = $dsql-GetOne(SELECT COUNT(id) as num FROM dede_arctype WHERE reid = $i)); if($row[num]0 ){ if($var==0){ return ul; }else{ return...