易仿帝国yfdiguo.com

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

帝国CMS子栏目页调用父栏目的自定义字段

zcmcss发表于2017-12-11问题库
通过以下方法可以在帝国CMS子栏目页调用父栏目的自定义字段内容:
<?php
global $empire;
$r=$empire->fetch1("select * from phome_enewsclassadd where classid=".$class_r[$GLOBALS[navclassid]][bclassid]."");
echo $r[about];
?>

热门问题

©2017 易仿帝国yfdiguo.com


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