?
Lv 4
? asked in 電腦與網際網路程式設計 · 1 decade ago

要怎樣在DZ!論壇的ID加上性別顏色

要怎樣在DZ!論壇的ID加上性別顏色

我的論壇想要弄可愛一點︿。︿

是否可以麻煩大大交一下

1 Answer

Rating
  • Favorite Answer

    敬愛的樓主您好

    只需在viewthread.htm修改

    查找

    <a href="viewpro.php?uid=$post[authorid]" target="_blank" class="bold">$post[author]</a>替換為

    <!--{if $post['gender'] == 1}-->

    <a href="viewpro.php?uid=$post[authorid]" target="_blank" class="bold"><font style='filter: glow(color=#00B02D,strength=3); height:10px; padding:2px' color=#FFFFC8 face=Comic Sans MS><span class="bold">$post[author]</span></font></a>

    <!--{elseif $post['gender'] != 0}-->

    <a href="viewpro.php?uid=$post[authorid]<!--{else}-->

    <a href="viewpro.php?uid=$post[authorid]" target="_blank" class="bold"><font style='filter: glow(color=blue,strength=3); height:10px; padding:2px' color=#FFFFC8 face=Comic Sans MS><span class="bold">$post[author]</span></font></a>

    <!--{/if}-->效果是頭像圖片+邊框@@

    像這樣↓

    ┌────┐

    │ 圖片 │

    │ │

    └────┘

Still have questions? Get your answers by asking now.