<?
$bclassid = $class_r[$GLOBALS[navclassid]][bclassid]; //获取当前父栏目ID
?>
[e:loop={"select classid,classname,classpath from [!db.pre!]enewsclass where bclassid = '$bclassid' order by classid",0,24,0}]<!-取得父栏目下的子栏目->
<li><a href="<?=$public_r[newsurl].$bqr[classpath]?>/"><?=$bqr[classname]?></a></li>
[/e:loop]
灵动标签列表面调用当前父栏目下的所有子栏目 <? $bclassid = $class_r[$GLOBALS[navclassid]][bclassid]; //获取当前父栏目ID ?> [e:loop={"select classid,classname,classpath from [!db.pre!]enewsclass where bclassid = '$bclassid' order by classid",0,24,0}] <? $bqno%2==0?$style="style=background:#E8E8E8;":$style=""; ?> <tr> <td width="346" height="25" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0" style="padding-left:10px" <?=$style?>> <tr> <td width="346" height="25" valign="middle" style="padding-left:10px">第<?=$bqno?>版:<a href="/<?=$class_r[$GLOBALS[navclassid]][classpath]?>"><?=$bqr[classname]?></a></td> </tr> </table></td> </tr> [/e:loop] | |
本站仅提供存储服务,所有内容均由用户发布,如发现有害或侵权内容,请
点击举报。