请选择 进入手机版 | 继续访问电脑版

discuz!X 帖子作者用户组图标调用代码教程

[复制链接]
查看2634 | 回复1 | 2019-11-3 23:04 | 显示全部楼层 |阅读模式
discuz!X 帖子作者用户组图标调用代码教程
  1. <!--用户组图标-->
  2. <!--{eval $_self = $thread['author'] && $post['author'] == $thread['author'] && $post['position'] !== '1';}-->
  3. <!--{if $_self }-->
  4. <img class="authicn vm" id="authicon$post[pid]" src="{IMGDIR}/ico_lz.png" />
  5. <!--{else}-->
  6. <!--{if !$post['anonymous'] && $_G['cache']['groupicon'][$post['groupid']]}-->
  7. <img class="authicn vm" id="authicon$post[pid]" src="$_G['cache']['groupicon'][$post['groupid']]" />
  8. <!--{else}-->
  9. <img class="authicn vm" id="authicon$post[pid]" src="$_G['cache']['groupicon'][0]" />
  10. <!--{/if}-->
  11. <!--{/if}-->
  12. <!--end-->
复制代码

admin | 2019-11-3 23:04 | 显示全部楼层
node中使用
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

UID
1
贡献
387
丢币
38902
主题
4607
回帖
116
注册时间
2018-9-25
最后登录
2024-3-24