查找(在第2行)
require("../../class/connect.php"); require("../../class/db_sql.php"); require("../../data/dbcache/class.php"); require("../../class/q_functions.php"); require "../".LoadLang("pub/fun.php");
修改为:
require('../../class/connect.php'); require('../../class/db_sql.php'); require('../../class/functions.php'); require('../../class/t_functions.php'); require('../../data/dbcache/class.php'); require "../".LoadLang("pub/fun.php");
//替换公共模板变量 $listtemp=$tempr[temptext];
在上面添加如下代码
//页面支持标签 $tempr[temptext]=DtNewsBq('list'.$tempid,$tempr[temptext],0);
修改完成,这样就可以在搜索模板中灵活使用帝国cms强大的灵动和万能标签了。
标签:
本文链接:https://www.xiaba.cc/html/202103/603.html
版权声明:站内所有文章皆来自网络转载,只供模板演示使用,并无任何其它意义!