[/e:loop] - [!--temp.sitename--]
此处应该改为:
[e:loop={"select bname from [!db.pre!]enewsclass where bclassid=这里填栏目id",0,24,0}]<?=$bqr[bname]?>[/e:loop]
<div role="tablist"> [e:loop={"select bname from [!db.pre!]enewsclass where bclassid=12",0,24,0}] <?php $class=""; if($bqr[classid]==$GLOBALS[navclassid]) { $class='active'; } ?> <a href="<?=$bqsr[classurl]?>" target="_self"><?=$bqr[bname]?></a> [/e:loop] </ul> </div>