帝国cms栏目下子栏目文章循环显示

   2024-04-01 02:37:59  

帝国cms栏目下子栏目文章循环显示 - 我爱模板网

		<?php$Result = sys_ReturnEcmsLoopBq("select classid,classname from {$dbtbpre}enewsclass where bclassid='$GLOBALS[navclassid]' order by myorder,classid asc",0,24,0);while($IndexClass=$empire->fetch($Result)){  $ClassLink = sys_ReturnBqClassname($IndexClass,9);?>		<div class="mod-content modclearfix" id="l22">			<div class="content-con content-con-first">							<h2 class="content-title"><a href="<?=$ClassLink?>"><?=$IndexClass[classname]?></a></h2>			 	<ul class="content-link">   	       <?php$bqno=0;  $ResultG = sys_ReturnEcmsLoopBq($IndexClass[classid],'1,30',0,0,'','newstime DESC');  while($ClassGoods=$empire->fetch($ResultG)){    $bqsr=sys_ReturnEcmsLoopStext($ResultG);$bqsr=sys_ReturnEcmsLoopStext($ClassGoods);$bqno++;?> <li><h3><div><a href="<?=$ClassGoods[ftitle]?>" class="dian1" style="background:url(<?=$ClassGoods[titlepic]?$ClassGoods[titlepic]:'/e/data/images/notimg.gif'?>) no-repeat 0 center;background-size: 16px 16px;" target="_blank" title="<?=$ClassGoods[title]?>"><?=$ClassGoods[title]?></a><a data-siteid="318" href="<?=$ClassGoods[ftitle]?>" title="<?=$ClassGoods[title]?>" target="_blank" class="text-con"><?=$ClassGoods[title]?></a></div></h3></li><?php     }     //显示10条?>             			</div>		</div><?}?>

 



声明:本文系互联网搜索百度而收集整理,不以盈利性为目的,文字、图文资料源于互联网且共享于互联网。
如有侵权,请联系 hzy98999#qq.com (#改@) 删除。