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

admin 2024年1月19日10:28:57帝国cms技巧评论1,234 次浏览阅读模式

内容摘要

$smalltext='esub(strip_tags($r[smalltext]),120)';$listtemp='<li><a href="/showinfo-14-218-0.html" target="_blank">[!--title--]</a> <span>发表日期:[!-

文章正文

$smalltext='esub(strip_tags($r[smalltext]),120)';
$listtemp='<li><a href="/showinfo-14-218-0.html" target="_blank">[!--title--]</a> 
<span>发表日期:[!--newstime--]</span><p>'.$smalltext.'...</p></li>';

代码注释

相关文章
weinxin
我的微信
微信扫一扫
admin
  • 本文由 发表于 2024年1月19日10:28:57
  • 转载请务必保留本文链接:https://anyun.org/a/webtips/ecmstips/2024/0119/17877.html

发表评论

匿名网友 填写信息

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen: