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

来自:互联网
时间:2019-08-21
阅读:

通过以下方法可以在帝国CMS子栏目页调用父栏目的自定义字段内容:

<?php
global $empire;
$r=$empire->fetch1("select * from phome_enewsclassadd where classid=".$class_r[$GLOBALS[navclassid]][bclassid]."");
echo $r[about];
?>
返回顶部
顶部