首页 > Web开发 > 详细

finecms首页获取单网页内容

时间:2018-12-30 12:41:00      阅读:170      评论:0      收藏:0      [点我收藏+]

首页获取单网页内容

{$cats[栏目id][content]} 
{strcut($cats[ID][‘content‘],字数,‘...‘)}
{strcut(,350)} 
//htmlspecialchars_decode:把一些预定义的 HTML 实体转换为字符 strip_tags:去除htm标签
{str_replace(array(‘ ‘, PHP_EOL, ‘  ‘), array(‘‘, ‘‘, ‘‘), strcut(clearhtml($cats[ID][content]),180))}
{mb_substr(clearhtml($t[‘description‘]),0,26,‘utf-8‘)}

finecms首页获取单网页内容

原文:https://www.cnblogs.com/hm21/p/10198982.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!