易仿帝国yfdiguo.com

您当前的位置:首页 > 问题库

帝国CMS SQL调用指定终极栏目ID的方法

zcmcss发表于2017-12-11问题库
帝国CMS SQL语句调用要指定终极栏目ID,如果不想手动指定多个终极栏目ID,可以用下面方法:
select * from [!db.pre!]ecms_news where checked=1 and ".($class_r[$GLOBALS[navclassid]][islast]?"classid='$GLOBALS[navclassid]'":ReturnClass($class_r[$GLOBALS[navclassid]][sonclass]))." order by newstime desc limit 10

热门问题

©2017 易仿帝国yfdiguo.com


友情链接: 阿里云优惠网| 阿里云推荐码| 阿里云教程| 莫愁博客|
♥ www.yfdiguo.com
联系作者QQ: