本站资源均来自互联网,仅供学习与参考,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
Copyright @ 2015-2020 织梦园 版权所有
Power by DedeCms
鲁ICP备15039853号-1
鲁公网安备 37132302000249号
模板标签 TAG标签 网站地图 XML地图 今日更新 返回顶部
(此图片来源于网络,如有侵权,请联系删除! )
后台-系统-基本参数-添加变量
- 变量名称 cfg_hotkeys
- 变量类型 文本
- 参数说明 热门关键词
- 变量值 牛肉,排骨,番茄,芒果,香菇,玉米
(此图片来源于网络,如有侵权,请联系删除! )
前台模板标签调用
{dede:global.cfg_hotkeys runphp="yes"} global $cfg_cmspath; $hotkeys = explode(',',@me); $result = ''; for($index=0;$index<count($hotkeys);$index++){ $result .= "<a href='{$cfg_cmspath}/plus/search.php?keyword=".urlencode($hotkeys[$index])."'>".$hotkeys[$index]."</a> "; } @me = $result; {/dede:global.cfg_hotkeys} |
(此图片来源于网络,如有侵权,请联系删除! )