免費論壇 繁體 | 簡體
Sclub交友聊天~加入聊天室當版主
分享
返回列表 發帖

[版型教學] 帖内上方显示性别以及UID

编辑 /templates/default/viewthread_node.htm
查找
  1. <!--{if !$post['anonymous'] && $_DCACHE['groupicon'][$post['groupid']]}-->
  2.                                         <img class="authicon" id="authicon$post[pid]" src="$_DCACHE['groupicon'][$post['groupid']]" onclick="showauthor(this, 'userinfo$post[pid]')" />
  3.                                 <!--{else}-->
  4.                                         <img class="authicon" id="authicon$post[pid]" src="images/common/online_member.gif" onclick="showauthor(this, 'userinfo$post[pid]');" />
  5.                                 <!--{/if}-->
複製代碼
替换为
  1. <!--{if $post['gender'] == 1}--><img src="http://22.66rt.com/attachments/day_120608/1206081553243e9a5f3b053a76.gif" alt="男"><!--{elseif $post['gender'] == 2}--><img src="http://22.66rt.com/attachments/day_120608/12060815536dfa25b4b0439e84.gif" alt="女"><!--{else}--><img src="http://22.66rt.com/attachments/day_120610/120610190517987fcac4f28651.gif" alt="保密">
  2.                                 <!--{/if}-->(ID:$post['authorid'])
複製代碼
演示效果图:
1.png
2012-6-10 21:00


演示效果地址:http://22.66rt.com/viewthread.php?tid=29&extra=page%3D1

不错!!

TOP

謝謝分享!!ˊ ˇ ˋ

TOP

謝謝分享!!

TOP

謝謝分享!!

TOP

感謝分享

TOP

謝謝分享
   請各位多多支持,謝謝ww

TOP

感谢分享

TOP

返回列表