灵动标签调用栏目导航技巧
通过用灵动标签的SQL语句查询来调用栏目导航。(当然栏目导航一般我们用现成的showclasstemp或listshowclass栏目导航标签调用) 例一:灵动标签显示栏目导航 <table width=”200″ border=”0″ cellpadding=”3″ cellspacing=”1″ bgcolor=”#4FB4DE”> <tr> <td height=”25″><strong><font color=”#FFFFFF”>栏目导航</font></strong></td> </tr> [e:loop={“select classid,classname from {$dbtbpre}enewsclass where bclassid=父栏目id order by myorder,classid desc”,0,24,0}] <?php $classurl=sys_ReturnBqClassname($bqr,9);//取得栏目地址 ?> <tr> <td height=”25″ bgcolor=”#FFFFFF”><a href=”<?=$classurl?>”><?=$bqr[classname]?></a></td> </tr> [/e:loop] </table> 例二:灵动标签显示栏目导航,且给当前终极栏目的背景设为蓝色 <table width=”200″ border=”0″ cellpadding=”3″ cellspacing=”1″ bgcolor=”#4FB4DE”> <tr> <td height=...