通过以下方法可以在帝国CMS子栏目页调用父栏目的自定义字段内容:
1
2
3
4
5
<?php
global
$empire
;
$r
=
$empire
->fetch1(
"select * from phome_enewsclassadd where classid="
.
$class_r
[
$GLOBALS
[navclassid]][bclassid].
""
);
echo
$r
[about];
?>
,再回头,便生出无限羁绊。那是彼此的刺在对方心里留下的痕迹,