重新弄了一下,好像这样还好看一些
打开viewthread_node.htm文件,
搜索
- <!--{hook/viewthread_postheader $postcount}-->
- </div>
- </div>
- </div>
复制代码 在下面添加
- <!--{if $post['number']==1}-->
- <table cellspacing="0" cellpadding="0" width="100%" >
- <tr>
- <td class="plc ptm pbn">
- <!--{if !IS_ROBOT}-->
- <div class="y">
- <span class="xg1">{lang show}:</span> <font style="font-size:20px"><span class="xi1">$_G[forum_thread][views]</span></font>
- <span class="pipe">|</span>
- <span class="xg1">{lang reply}:</span> <font style="font-size:20px"><span class="xi1">$_G[forum_thread][replies]</span></font>
- </div>
- <!--{/if}-->
- <h1 class="ts" style="line-height:30px">
- <!--{if $_G['forum_thread']['typeid'] && $_G['forum']['threadtypes']['types'][$_G['forum_thread']['typeid']]}-->
- <!--{if !IS_ROBOT && ($_G['forum']['threadtypes']['listable'] || $_G['forum']['status'] == 3)}-->
- <a href="forum.php?mod=forumdisplay&fid=$_G[fid]&filter=typeid&typeid=$_G[forum_thread][typeid]">[{$_G['forum']['threadtypes']['types'][$_G['forum_thread']['typeid']]}]</a>
- <!--{else}-->
- [{$_G['forum']['threadtypes']['types'][$_G['forum_thread']['typeid']]}]
- <!--{/if}-->
- <!--{/if}-->
- <!--{if $threadsorts && $_G['forum_thread']['sortid']}-->
- <a href="forum.php?mod=forumdisplay&fid=$_G[fid]&filter=sortid&sortid=$_G[forum_thread][sortid]">[{$_G['forum']['threadsorts']['types'][$_G['forum_thread']['sortid']]}]</a>
- <!--{/if}-->
- <a href="forum.php?mod=viewthread&tid=$_G[tid]" id="thread_subject">$_G[forum_thread][subject]</a>
- <span class="xw0 xs1 xg1">
- <!--{if $_G['forum_thread'][displayorder] == -2}-->({lang moderating})
- <!--{elseif $_G['forum_thread'][displayorder] == -3}-->({lang have_ignored})
- <!--{elseif $_G['forum_thread'][displayorder] == -4}-->({lang draft})
- <!--{/if}-->
- <!--{if $_G['forum_thread']['recommendlevel']}-->
- <img src="{IMGDIR}/recommend_$_G['forum_thread']['recommendlevel'].gif" alt="" title="{lang thread_recommend} $_G['forum_thread'][recommends]" />
- <!--{/if}-->
- <!--{if $_G['forum_thread'][heatlevel]}-->
- <img src="{IMGDIR}/hot_$_G['forum_thread'][heatlevel].gif" alt="" title="$_G['forum_thread'][heatlevel] {lang heats}" />
- <!--{/if}-->
- <!--{if $_G['forum_thread']['closed'] == 1}-->
- <img src="{IMGDIR}/locked.gif" alt="{lang close}" title="{lang close}" class="vm" />
- <!--{/if}-->
- <a href="forum.php?mod=viewthread&tid=$_G[tid]$fromuid" onclick="return copyThreadUrl(this)" title="{lang share_url_copy_comment}">[{lang share_url_copy}]</a>
- </span>
- <!--{hook/viewthread_title_extra}-->
- </h1>
- </p>
- </td>
- </tr>
- </table>
- <br>
- <!--{/if}-->
复制代码 其中
- <!--{if $post['number']==1}-->
- <!--{/if}-->
复制代码 是判断是否是一楼的代码。
演示:http://www.luzhnet.com/thread-5595-1-1.html
|