
(一)、当前栏目ID或专题ID:$GLOBALS[navclassid]
通过这个变量可以输出这个栏目id的所稀有据(如:select * from phome_enewsclass where class)
(两)、使用范例:调用当前栏目下的栏目简介。
用SQL标签调用:
[e:loop={"select intro from phome_enewsclass where class",1,24,0}]
<?=$bqr[intro]?>
[/e:loop]
或用PHP调用:
<?php
$cr=$empire->fetch1("select intro from phome_enewsclass where class");
echo $cr[intro];
?>
转载请注明: 帝国CMS模板 » 帝国CMS调用当前栏目下的栏目简介等信息
*
回帖描述:*
链接类型:*
下载链接:*
描述:*
回帖描述:*
链接类型:*
阅读权限:*
下载链接:



聚优部落技术论坛 © 版权所有 鲁ICP备15007479号-6
Copyright(C)web.com, All Rights Reserved.
