discuz! 帖子作者用户组图标调用 [复制链接]

moqu8 2018-4-11

5 0
node中使用。
  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-->

最新回复 (0)
返回
支持中心
邮箱:winkill2012@qqcom
新站优化中!部分功能尚未完善,敬请谅解!
支持中心