phpcms调用文章不显示推荐文章怎么办

   2025-07-06 admin00110

phpcms调用文章不显示推荐文章怎么办?列表页不显示某个推荐位文章的办法

此效果仅满足特殊需要,用的人不多,所以不过多说明。

 

立即学习“PHP免费学习笔记(深入)”;

详细标签如下:

{pc:get sql="SELECT `id` FROM `v9_position_data` WHERE `posid`='2' AND `catid`=$catid ORDER BY `v9_position_data`.`id` DESC" num="10"}{loop $data $d}{pc:get sql="SELECT `url`,`title` FROM `v9_news` where `id`<>$d[id] AND `catid`=$catid ORDER BY `v9_news`.`inputtime` DESC" num="10" return="info"}{loop $info $r}<li"><a href="{$r[url]}" title="{$r[title]}">{$r[title]}</a></li>{/loop}{/pc}{/loop}{/pc}
 
举报收藏 0打赏 0评论 0
 
更多>同类资讯
推荐图文
推荐资讯
点击排行
网站首页  |  关于我们  |  联系方式  |  用户协议  |  隐私政策  |  版权声明  |  网站地图  |  RSS订阅
Powered By DESTOON