原文来自:https://liye5.com/

[e:loop={"select classid,classname,islast from {$dbtbpre}enewsclass where bclassid='0' and showclass=0 and classid not in(9,10,11,12) order by myorder,classid ASC limit 11",0,24,0}]
<?php
$classurl=sys_ReturnBqClassname($bqr,9);//取得栏目地址
?>
<li class="nav_item nli ts fl">
<span><a href="<?=$classurl?>" target="_blank" title="<?=$bqr[classname]?>"><?=$bqr[classname]?></a></span>
</li>
[/e:loop]

排除栏目ID为9,10,11,12的栏目。