当前位置:网站首页 > 教程 > 帝国cms教程 > 帝国cms列表页smalltext去除html代码教程

帝国cms列表页smalltext去除html代码教程

蓝色枫叶 蓝色枫叶 2020-05-25 前往当前专题: 帝国cms教程
$smalltext='esub(strip_tags($r[smalltext]),120)';
$listtemp='<li><a href="[!--titleurl--]" target="_blank">[!--title--]</a> <span>发表日期:[!--newstime--]</span><p>'.$smalltext.'...</p></li>';

蓝色枫叶

蓝色枫叶

TA很懒,啥都没写...

Copyright 蓝色枫叶 www.lansefengye Rights Reserved.