找回密码
 免费注册

discuz模板参数判断‘喜欢’‘查看’'回复'函数代码

[复制链接]
发表于 2022-10-7 15:30:42 | 显示全部楼层 |阅读模式
discuz模板参数判断喜欢函数代码

  1. {lang like}: <!--{if $thread[recommends]}-->$thread[recommends]<!--{else}-->0<!--{/if}-->
复制代码
{lang like}语言为喜欢。

调用参数为:$thread[recommends]

“查看”的调用参数为:$thread[views]

回复的调用为:
  1. {lang reply}: <a href="forum.php?mod=viewthread&tid=$thread[tid]&extra=$extra" title="$thread[replies] {lang reply}">$thread[replies]</a>
复制代码


QQ|Archiver|小黑屋|网站地图|深圳市金黑网络技术有限公司 ( 粤ICP备2021124338号|粤公网安备 44030702003689号 )

GMT+8, 2026-8-8 15:59 , Processed in 0.048270 second(s), 24 queries .

Powered by Discuz! X3.5

© 2001-2026 Discuz! Team.

快速回复 返回顶部 返回列表