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

2023-05-16 0 272

帝国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?>" rel="external nofollow" ><?=$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]?>" rel="external nofollow"  rel="external nofollow"  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]?>" rel="external nofollow"  rel="external nofollow"  title="<?=$ClassGoods[title]?>" target="_blank" class="text-con"><?=$ClassGoods[title]?></a></div></h3></li>

<?php
     }
     //显示10条
?>             
			</div>
		</div>
<?
}
?>

 

收藏 (0) 打赏

感谢您的支持,我会继续努力的!

打开微信扫一扫,即可进行扫码打赏哦,分享从这里开始,精彩与您同在
点赞 (0)

1、如非特殊说明,本站对本文提供的代码或者素材不拥有任何权利,其版权归原著者拥有。
2、以上提供的代码或者素材均为作者提供和网友推荐收集整理而来,仅供学习和研究使用。
3、如有侵犯你版权的,请来信(邮箱:admin@mail.52muban.com)指出,核实后,本站将立即改正。
4、如有链接无法下载、失效或广告,请点击下面的报错或者联系我们处理!
5、以上资源售价只是赞助,不代表代码或者素材本身价格。收取费用仅维持本站的日常运营所需!
6、本站所有资源、教程、源码,不得用于非法站点及用途,后果自负!本站不为非法站点提供任何服务。

我爱模板网 帝国cms教程 帝国cms栏目下子栏目文章循环显示 https://www.52muban.com/127808.html

专注网站开发,建设。

常见问题
  • 我们承诺演示效果图均和网站一模一样,如有不同,全额退款,并且我们的模板和数据都没有留后门,请放心使用。
查看详情
  • 本站所有源码版权归原作者所有,我爱模板网提供的源码只能用于学习研究,请勿直接商用。若由于商用引起版权纠纷,一切责任均由使用者承担。
查看详情
发表评论
暂无评论
官方客服团队

为您解决烦忧 - 24小时在线 专业服务

© 2022 我爱模板网- 52muban.com . Powered by WordPress. All rights reserved 网站地图 粤ICP备2020135806号
本站由 腾讯云 提供CDN加速/云服务