本帖最后由 guoliang8848 于 2011-5-10 10:09 编辑
打开template/你目前使用的风格/forum/forumdisplay_list.htm
查找: (165行)
- <a href="forum.php?mod=viewthread&tid=$thread[tid]&{if $_G['gp_archiveid']}archiveid={$_G['gp_archiveid']}&{/if}extra=$extra"$thread[highlight]{if $thread['isgroup'] == 1 || $thread['forumstick']} target="_blank"{else}{/if} class="xst" >$thread[subject]</a>
复制代码
替换为:
- {eval $days=date('Y-n-j',time());}
- <!--{if $thread[dateline]==$days}-->
- <a href="forum.php?mod=viewthread&tid=$thread[tid]&{if $_G['gp_archiveid']}archiveid={$_G['gp_archiveid']}&{/if}extra=$extra"$thread[highlight]{if $thread['isgroup'] == 1} target="_blank"{/if}{if $simplestyle} class="xs2"{/if}><font color="Red">$thread[subject]</font></a>
- <!--{else}-->
- <a href="forum.php?mod=viewthread&tid=$thread[tid]&{if $_G['gp_archiveid']}archiveid={$_G['gp_archiveid']}&{/if}extra=$extra"$thread[highlight]{if $thread['isgroup'] == 1} target="_blank"{/if}{if $simplestyle} class="xs2"{/if}>$thread[subject]</a>
- <!--{/if}-->
复制代码
|