<?php$islast=$class_r[$GLOBALS[navclassid]][islast]; $bclassid=$class_r[$GLOBALS[navclassid]][bclassid]; ?> <div style="float:left; padding-left:15px; text-align:left;"> <ul style="list-style-type:none;"> <?php if($islast==1 and $bclassid==0) { ?> [e:loop={"select * from phome_ecms_news where classid='".$GLOBALS[navclassid]."'",20,24,1}] <li style="list-style-type:none;">· <a href="<?=$bqsr[titleurl]?>"><?=esub($bqr[title],18)?></a></li> [/e:loop] <?php } else if($islast==1 and $bclassid!=0) { ?> [e:loop={"select * from phome_enewsclass where bclassid='".$bclassid."'",24,24,1}] <li style="list-style-type:none;">· <a href="[!--news.url--]<?=esub($bqr[classpath],200)?>"><?=esub($bqr[classname],18)?></a></li> [/e:loop] <?php } else { ?> [e:loop={"select * from phome_enewsclass where bclassid='".$GLOBALS[navclassid]."'",24,24,1}] <li style="list-style-type:none;">· <a href="[!--news.url--]<?=esub($bqr[classpath],200)?>" ><?=esub($bqr[classname],18)?></a></li> [/e:loop] <?php } ?> </ul> </div>
转载请注明:有客帮 » 帝国CMS灵动标签获取当前栏目链接与当前栏目同级的所有栏目名称