织梦的搜索页面支持dede标签的方法一
require_once(DEDEINC."/taglib/channel.lib.php");require_once(DEDEINC."/taglib/arclist.lib.php");require_once(DEDEINC."/taglib/channelartlist.lib.php");require_once(DEDEINC."/taglib/myad.lib.php");require_once(DEDEINC."/taglib/php.lib.php");require_once(DEDEINC."/taglib/sql.lib.php"); |
else if($tagname=="arclist"){$this->dtp->Assign($tagid,lib_arclist($ctag,$this));}else if($tagname=="channelartlist"){$this->dtp->Assign($tagid,lib_channelartlist($ctag,$this));}else if($tagname=="myad"){$this->dtp->Assign($tagid,lib_myad($ctag,$this));} else if($tagname=="php"){$this->dtp->Assign($tagid,lib_php($ctag,$this));}else if($tagname=="sql"){$this->dtp->Assign($tagid,lib_sql($ctag,$this));} |
新闻热点
疑难解答