Discuz!官方免费开源建站系统

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索

仿D4主题列表和主题内容,最新官方风格(原仿D4增强)

[复制链接]
fengshen34 发表于 2005-10-14 20:39:27 | 显示全部楼层
这到把我问傻了。我去看看的说。对了这个是不是支持2.5SP1的?
回复

使用道具 举报

 楼主| 1223 发表于 2005-10-14 20:42:24 | 显示全部楼层
原帖由 fengshen34 于 2005-10-14 20:39 发表
这到把我问傻了。我去看看的说。对了这个是不是支持2.5SP1的?



应该可以,但要改个别参数,你看#14 #16 #17楼。
回复

使用道具 举报

fengshen34 发表于 2005-10-14 20:51:53 | 显示全部楼层
我实在不记得我用的是谁的最近访问的论坛了。
这是我的forumdisplay.htm

如果你能帮修改,我很高兴的说。
{template header}
<table cellspacing="0" cellpadding="0" border="0" width="{TABLEWIDTH}" align="center" style="table-layout: fixed">
<tr><td class="nav" width="90%" align="left" nowrap>&nbsp;<a href="index.php">$bbname</a> $navigation</td>
<td align="right" width="10%"><a href="rss.php?fid=$fid" target="_blank"><img src="images/common/xml.gif" border="0" align="absmiddle" alt="RSS 订阅当前论坛"></a>&nbsp;<a href="#bottom"><img src="{IMGDIR}/arrow_dw.gif" border="0" align="absmiddle"></a></td>        
</tr></table><br>

<table width="{TABLEWIDTH}" cellspacing="0" cellpadding="{TABLESPACE}" align="center">
<tr class="mediumtxt"><td class="smalltxt">({lang forum_modedby}: <span class="bold">
<!--{if $moderatedby}-->$moderatedby<!--{else}-->{lang forum_opening}<!--{/if}-->
</span>)</td><td align="right" class="smalltxt"><img src="{IMGDIR}/showdigest.gif" border="0" align="absmiddle">
<!--{if $filter == 'digest'}-->
        <a href="forumdisplay.php?fid=$fid">{lang forum_viewall}</a>
<!--{else}-->
        <a href="forumdisplay.php?fid=$fid&filter=digest">{lang forum_viewdigest}</a>
<!--{/if}-->
&nbsp;
<img src="{IMGDIR}/mytopic.gif" border="0" align="absmiddle">
<a href="search.php?srchuid=$discuz_uid&srchfid=$fid&mytopics=yes&searchsubmit=yes">{lang show_mytopics}</a>
<!--{if $ismoderator && $allowdelpost && $threadcount && !$modshortcut}-->
        &nbsp; &nbsp; <img src="{IMGDIR}/delthread.gif" border="0" align="absmiddle"> <a href="###" onclick="this.document.moderate.submit();">{lang forum_delthreads}</a>
<!--{/if}-->
</td></tr>
<tr><td></td></tr>
</table>

<!--{if $whosonlinestatus}-->
        <table border="0" cellspacing="0" cellpadding="0" width="{TABLEWIDTH}" align="center" class="tableborder">
        <tr><td>
        <table border="0" cellspacing="{BORDERWIDTH}" cellpadding="{TABLESPACE}" width="100%">
        <tr class="header"><td width="80%">{lang forum_activeusers}</td>
        <td align="center" nowrap><a href="javascript:this.location.reload();" style="color: {HEADERTEXT}; font-weight: normal">{lang refresh}</a></td>
        <td align="center" nowrap><a href="forumdisplay.php?fid=$fid&page=$page&showoldetails=no" style="color: {HEADERTEXT}; font-weight: normal">{lang index_hideonlinedetails}</a></td>
        </tr>

        <tr><td bgcolor="{ALTBG2}" colspan="3" onMouseOver ="this.style.backgroundColor='{ALTBG1}'" onMouseOut ="this.style.backgroundColor='{ALTBG2}'">
        <table cellspacing="0" cellpadding="0" border="0" width="98%" align="center">

        <tr><td nowrap>
        <!--{loop $whosonline $key $online}-->
                <!--{if $key % 7 == 0}--></td></tr><tr><td width="15%" nowrap><!--{else}--></td><td width="15%" nowrap><!--{/if}-->
                <img src="images/common/$online[icon]" align="absmiddle">
                <a href="viewpro.php?uid=$online[uid]" title="{lang time}: $online[lastactivity]{LF}
                {lang action}: $online[action]{LF}
                {lang forum}: $forumname">$online[username]</a>
        <!--{/loop}-->
        </td></tr></table></td></tr>
        </table></td></tr></table>
<br>
<!--{/if}-->
<!--{if !empty($forum[cntwrules])}-->
        <table border="0" cellspacing="{BORDERWIDTH}" cellpadding="{TABLESPACE}" width="{TABLEWIDTH}" align="center" class="tableborder">
        <tr class="header"><td><a href="###" onclick="toggle_collapse('rules_$fid');"><img src="{IMGDIR}/collapsed_no.gif" align="right" border="0"></a>{lang forum_rules}</td></tr>
        <tbody id="rules_$fid" style="$collapserules">
        <tr><td bgcolor="{ALTBG2}" colspan="2" onMouseOver ="this.style.backgroundColor='{ALTBG1}'" onMouseOut ="this.style.backgroundColor='{ALTBG2}'">$forum[cntwrules]</td></tr>
        </tbody></table>
<!--{/if}-->
<!-- Hot hack -->
{template gg}
<!-- Hot hack end -->
<!--{if !empty($newpmexists)}-->
        {template pmprompt}
<!--{/if}-->

<!--{if $subexists}-->
        {template forumdisplay_subforum}
<!--{/if}-->

<form method="post" name="moderate" action="topicadmin.php?action=moderate&fid=$fid&page=$page">
<input type="hidden" name="formhash" value="{FORMHASH}">
<table width="{TABLEWIDTH}" cellspacing="0" cellpadding="0" align="center">
<tr><td class="multi">$multipage</td>
<td align="right">
<!--{if $allowpost}--><a href="post.php?action=newthread&fid=$fid"><img src="{IMGDIR}/newtopic.gif" border="0"></a><!--{/if}-->
<!--{if $allowpostpoll}--><a href="post.php?action=newthread&fid=$fid&poll=yes"><img src="{IMGDIR}/poll.gif" border="0"></a><!--{/if}-->
</td></tr></table>

<table cellspacing="0" cellpadding="0" border="0" width="{TABLEWIDTH}" align="center" class="tableborder"><tr><td>
<table border="0" cellspacing="{BORDERWIDTH}" cellpadding="{TABLESPACE}" width="100%">
          <tr class="header">
            <td colspan="3" align="center">{lang subject}</td>
            <td width="14%" align="center" nowrap>{lang author}</td>
            <td width="6%" align="center" nowrap>{lang replies}</td>
            <td width="6%" align="center" nowrap>{lang views}</td>
            <td width="19%" align="center">{lang lastpost}</td>
          </tr>
         
          <!--{if $page == 1 && count($announcement_list)}-->
                        <!--{loop $announcement_list $key $announcement}-->

          <tr>
            <!--{if !$announcement[posturl]}-->
            <td width="4%" align="center" bgcolor="{ALTBG2}"><a href="announcement.php?id=$announcement[id]#$announcement[id]" target="_blank"><img src="{IMGDIR}/announcement.gif" border="0"></a></td>
            <td bgcolor="{ALTBG2}" colspan="2" onMouseOver ="this.style.backgroundColor='{ALTBG1}'" onMouseOut ="this.style.backgroundColor='{ALTBG2}'"><B>{lang
              announcement}$announcement[id] :</B> <a href="announcement.php?id=$announcement[id]#$announcement[id]">$announcement[subject]</a></td>
            <!--{else}-->
            <td bgcolor="{ALTBG2}" align="center"><a href="$announcement[posturl]" target="_blank"><img src="{IMGDIR}/announcement.gif" border="0"></a></td>
            <td bgcolor="{ALTBG2}" colspan="2" onMouseOver ="this.style.backgroundColor='{ALTBG1}'" onMouseOut ="this.style.backgroundColor='{ALTBG2}'"><B>{lang
              announcement}$announcement[id] :</B> <a href="$announcement[posturl]"target="_blank">$announcement[subject]</a></td>
            <!--{/if}-->
            <td bgcolor="{ALTBG1}" align="center"><a href="viewpro.php?username=$announcement[authorencode]">$announcement[author]</a></td>
            <td bgcolor="{ALTBG2}" align="center">-</td>
            <td bgcolor="{ALTBG1}" align="center">-</td>
            <td bgcolor="{ALTBG2}" align="center" class="smalltxt">$announcement[starttime]<br>
              $announcement[message]</td>
          </tr>
                        <!--{/loop}-->   
                  <!--{/if}-->

          <!--{if $threadcount}-->
          <!--{loop $threadlist $key $thread}-->
          <!--{if $tr != $thread['displayorder']}-->
          <tr class="category"><td> </td><td colspan="6">
          <!--{if $thread['displayorder'] == 1}-->
          <span class="bold"><font style="filter: glow(color=Green,strength=3); height:10px; color:white; padding:1px">{lang forum_important_threads2}</font></span>
          <!--{elseif $thread['displayorder'] == 2}-->
          <span class="bold"><font style="filter: glow(color=Brown,strength=3); height:10px; color:white; padding:1px">{lang forum_important_threads1}</font></span>
          <!--{elseif $thread['displayorder'] == 3}-->
          <span class="bold"><font style="filter: glow(color=red,strength=3); height:10px; color:white; padding:1px">{lang forum_important_threads}</font></span>
          </b><!--{else}-->
          <span class="bold"><font style="filter: glow(color=blue,strength=3); height:10px; color:white; padding:1px">{lang forum_normal_threads}</font></span>
          <!--{/if}-->
          </td></tr>
          <!--{eval $tr = $thread['displayorder'];}-->
          <!--{/if}-->
          <tr>
            <td bgcolor="{ALTBG2}" align="center"><a href="viewthread.php?tid=$thread[tid]" target="_blank"><img src="{IMGDIR}/$thread[folder]" border="0"></a></td>
            <td width="4%" align="center" bgcolor="{ALTBG1}">$thread[icon]</td>
            <td width="47%" bgcolor="{ALTBG2}" onMouseOver ="this.style.backgroundColor='{ALTBG1}'" onMouseOut ="this.style.backgroundColor='{ALTBG2}'">
              <table cellpadding="0" cellspacing="0" border="0" width="100%" style="table-layout: fixed; word-wrap: break-word">
                <tr>
                  <td>
                    <!--{if $ismoderator }-->
                    <input type="checkbox" name="moderate[]" value="$thread[tid]">
                    <!--{/if}-->
                    <!--{if $thread['new']}-->
                    <a href="redirect.php?tid=$thread[tid]&goto=newpost$highlight#newpost"><img src="{IMGDIR}/firstnew.gif" border="0" align="absmiddle"></a>
                    <!--{/if}-->
                    <!--{if $thread['moved']}-->
                    <!--{if $ismoderator}-->
                    <a href="topicadmin.php?action=delete&tid=$thread[moved]">{lang
                    thread_moved}:</a>
                    <!--{else}-->
                    {lang thread_moved}:
                    <!--{/if}-->
                    <!--{elseif $thread['digest']}-->
                    <img src="{IMGDIR}/digest.gif" align="absmiddle"> {lang thread_digest}<b>{echo
                    substr('III', - $thread['digest'])}</b>:&nbsp;
                    <!--{elseif $thread['displayorder']}-->
                    <img src="{IMGDIR}/pin.gif" align="absmiddle"> {lang thread_sticky}<b>{echo
                    substr('III', - $thread['displayorder'])}</b>:&nbsp;
                    <!--{elseif $thread['poll']}-->
                    <img src="{IMGDIR}/pollsmall.gif" align="absmiddle"> {lang
                    thread_poll}:&nbsp;
                    <!--{/if}-->
                    $thread[attachment]<a href="viewthread.php?tid=$thread[tid]&fpage=$page" $thread[highlight]>$thread[subject]</a>
                    <!--{if $thread['creditsrequire']}-->
                    - [{lang credit_title} <span class="bold">$thread[creditsrequire]</span>{lang
                    credit_unit}]
                    <!--{/if}-->
                    <!--{if $thread['readpopes']}-->
                    - [{lang readpope_title} <span class="bold">$thread[readpopes]</span>]
                    <!--{/if}-->
                    $thread[multipage] </td>
                </tr>
              </table></td>
            <td bgcolor="{ALTBG1}" align="center">
              <!--{if $thread['authorid']}-->
              <a href="viewpro.php?uid=$thread[authorid]">$thread[author]</a>
              <!--{else}-->
              {lang guest}
              <!--{/if}-->
              <br> <span class="smalltxt">$thread[dateline]</span></td>
            <td bgcolor="{ALTBG2}" align="center">$thread[replies]</td>
            <td bgcolor="{ALTBG1}" align="center">$thread[views]</td>
            <td bgcolor="{ALTBG2}"> <table cellpadding="0" cellspacing="0" border="0" width="100%">
                <tr align="right">
                  <td nowrap><font class="smalltxt">$thread[lastpost]<br>
                    by
                    <!--{if $thread['lastposter']}-->
                    <a href="viewpro.php?username=$thread[lastposterenc]">$thread[lastposter]</a>
                    <!--{else}-->
                    {lang guest}
                    <!--{/if}-->
                    </font></td>
                  <td nowrap>&nbsp;<a href="redirect.php?tid=$thread[tid]&goto=lastpost&fpage=$page$highlight#lastpost"><img src="{IMGDIR}/lastpost.gif" border="0"></a>
                  </td>
                </tr>
              </table></td>
          </tr>
          <!--{/loop}-->
          <!--{if $ismoderator && $modshortcut}-->
          <tr>
            <td colspan="7" bgcolor="{ALTBG1}" align="center"> <span class="bold">
              {lang moderate_option} </span> &nbsp; <input type="checkbox" name="chkall" onclick="checkall(this.form, 'moderate')">
              {lang checkall}
              <!--{if $allowdelpost}-->
              <input type="radio" name="operation" value="delete">
              {lang moderate_delete}
              <!--{/if}-->
              <!--{if $allowmove}-->
              <input type="radio" name="operation" value="move">
              {lang moderate_move}
              <!--{/if}-->
              <!--{if $allowclose}-->
              <input type="radio" name="operation" value="close">
              {lang moderate_close}
              <!--{/if}-->
              <!--{if $allowtop}-->
              <input type="radio" name="operation" value="stick">
              {lang moderate_stick}
              <!--{/if}-->
              <!--{if $allowdigest}-->
              <input type="radio" name="operation" value="digest">
              {lang moderate_digest}
              <!--{/if}-->
              &nbsp;<a href="###" onclick="document.moderate.submit()" class="bold">
              {lang moderate_submit} </a> </td>
          </tr>
          <!--{elseif $ismoderator && !$modshortcut && allowdelpost}-->
          <input type="hidden" name="operation" value='delete'>
          <!--{/if}-->
          <!--{else}-->
          <tr>
            <td colspan="7" bgcolor="{ALTBG1}">{lang forum_nothreads}</td>
          </tr>
          <!--{/if}-->
        </table></td></tr></table>

<table width="{TABLEWIDTH}" cellspacing="0" cellpadding="0" align="center">
<tr><td class="multi" valign="top">$multipage</td><td align="right"><br>
<!--{if $allowpost}--><a href="post.php?action=newthread&fid=$fid"><img src="{IMGDIR}/newtopic.gif" border="0"></a><!--{/if}-->
<!--{if $allowpostpoll}--><a href="post.php?action=newthread&fid=$fid&poll=yes"><img src="{IMGDIR}/poll.gif" border="0"></a><!--{/if}-->
</td></tr></table></form>

<!--{if $fastpost && $allowpost}-->
        <script language="JavaScript">
        var postminchars = $minpostsize;
        var postmaxchars = $maxpostsize;
        var disablepostctrl = $disablepostctrl;
        function validate(theform) {
                if (theform.subject.value == "" || theform.message.value == "") {
                        alert("{lang post_subject_or_message_isnull}");
                        return false;
                }
                if (!disablepostctrl && ((postminchars != 0 && theform.message.value.length < postminchars) || (postmaxchars != 0 && theform.message.value.length > postmaxchars))) {
                        alert("{lang post_message_length_invalid}\n\n{lang post_currlength}: "+theform.message.value.length+" {lang bytes}\n{lang board_allowed}: "+postminchars+" {lang to} "+postmaxchars+" {lang bytes}");
                        return false;
                }                       
                theform.topicsubmit.disabled = true;
                return true;
        }
        </script>
        <form method="post" name="input" action="post.php?action=newthread&fid=$fid&topicsubmit=yes" onSubmit="return validate(this)">
        <input type="hidden" name="formhash" value="{FORMHASH}">
        <table cellspacing="0" cellpadding="0" border="0" width="{TABLEWIDTH}" align="center" class="tableborder"><tr><td>
        <table border="0" cellspacing="{BORDERWIDTH}" cellpadding="{TABLESPACE}" width="100%">
        <tr><td colspan="2" class="header">{lang post_fastpost}</td></tr>
        <tr>
        <td width="18%" bgcolor="{ALTBG1}">{lang subject}:</td>
        <td width="82%" bgcolor="{ALTBG2}"><input type="text" name="subject" size="90" value="" tabindex="1"></td>
        </tr>
        <tr>
        <td width="18%" bgcolor="{ALTBG1}" valign="top">{lang options}:<br><span class="smalltxt">
        <input type="checkbox" name="parseurloff" value="1">&nbsp;{lang disable}&nbsp;{lang post_parseurl}<br>
        <input type="checkbox" name="smileyoff" value="1" $smileyoffcheck>&nbsp;{lang disable} <a href="faq.php?page=messages#6" target="_blank">{lang post_smilies}</a><br>
        <input type="checkbox" name="bbcodeoff" value="1" $codeoffcheck>&nbsp;{lang disable} <a href="faq.php?page=misc#1" target="_blank">{lang post_discuzcode}</a><br>
        <input type="checkbox" name="usesig" value="1" $usesigcheck>&nbsp;{lang post_show_sig}<br>
        <input type="checkbox" name="emailnotify" value="1">&nbsp;{lang post_email_notify}</span>
        </td>
        <td width="82%" bgcolor="{ALTBG2}" valign="middle" class="smalltxt"><textarea rows="7" cols="90" name="message" onKeyDown="javascript: ctlent();" tabindex="2"></textarea><br>
        <input type="submit" name="topicsubmit" value="{lang post_topicsubmit}" tabindex="3">&nbsp; &nbsp;
        <input type="submit" name="previewpost" value="{lang post_previewpost}" tabindex="4">&nbsp; &nbsp;
        <input type="reset" name="topicsreset" value="{lang post_topicreset}" tabindex="5">&nbsp; &nbsp;{lang post_submit_hotkey}</td>
        </tr></table></td></tr></table></form>
<!--{/if}-->

<br>
<form method="post" action="forumdisplay.php?fid=$fid">
<input type="hidden" name="formhash" value="{FORMHASH}">
<table width="{TABLEWIDTH}" cellspacing="0" cellpadding="0" align="center">
<tr class="mediumtxt"><td align="left" class="smalltxt">
<!--{if $forumjump}-->
        <span class="bold">{lang forum_jump}: </span>
        <select onchange="if(this.options[this.selectedIndex].value != '') {
        window.location=('forumdisplay.php?fid='+this.options[this.selectedIndex].value+'&sid=$sid') }">
        $forumselect
        </select>
<!--{/if}-->

&nbsp;</td><td align="right" class="smalltxt">
{lang show} <select name="filter">
<option value="digest" $check[digest]>{lang threads_digest}</option>
<option value="0" $check[0]>{lang threads_all}</option>
<option value="86400" $check[86400]>{lang last_1_days}</option>
<option value="172800" $check[172800]>{lang last_2_days}</option>
<option value="604800" $check[604800]>{lang last_7_days}</option>
<option value="2592000" $check[2592000]>{lang last_30_days}</option>
<option value="7948800" $check[7948800]>{lang last_90_days}</option>
<option value="15897600" $check[15897600]>{lang last_180_days}</option>
<option value="31536000" $check[31536000]>{lang last_356_days}</option>
</select>&nbsp;&nbsp;排序方式 <select name="order">
<option value="lastpost" $check[lastpost]>最後回覆時間</option>
<option value="views" $check[views]>查看次數</option>
<option value="replies" $check[replies]>回覆次數</option>
<option value="dateline" $check[dateline]>發佈時間</option>
</select><select name="ascdesc">
<option value="ASC" $check[asc]>{lang order_asc}</option>
<option value="DESC" $check[desc]>{lang order_desc}</option>
</select>&nbsp;
<input type="submit" value="{lang submit}">
</td></tr></table></form>

<br><table class="tableborder" cellspacing="0" cellpadding="0" width="365" align="center">
<tr><td align="center" width="30%">
<table border="0" cellspacing="{BORDERWIDTH}" width="100%">
<tr><td bgcolor="{ALTBG2}" align="center" class="smalltxt" nowrap>
{lang forum_post_credits} {lang credit_title} $postcredits {lang credit_unit} - {lang forum_reply_credits} {lang credit_title} $replycredits {lang credit_unit}
</td></tr></table></td></tr></table>

<br>
<table cellspacing="0" cellpadding="0" border="0" width="365" align="center" class="smalltxt">
<tr><td><img src="{IMGDIR}/red_folder.gif" alt="{lang thread_newposts}" align="absmiddle">&nbsp; {lang thread_newposts}</td><td class="smalltxt">(&nbsp;<img src="{IMGDIR}/hot_red_folder.gif" alt="{lang thread_more_replies}" align="absmiddle">&nbsp; {lang thread_more_replies} )</td><td class="smalltxt"><img src="{IMGDIR}/lock_folder.gif" alt="{lang thread_closed}" align="absmiddle">&nbsp; {lang thread_closed}</td></tr>
<tr><td><img src="{IMGDIR}/folder.gif" alt="{lang thread_nonewpost}" align="absmiddle">&nbsp; {lang thread_nonewpost}</td><td class="smalltxt">(&nbsp;<img src="{IMGDIR}/hot_folder.gif" alt="{lang thread_more_replies}" align="absmiddle">&nbsp; {lang thread_more_replies} )</td><td class="smalltxt">&nbsp;</td></tr>
</table>
{template footer}
回复

使用道具 举报

 楼主| 1223 发表于 2005-10-14 21:01:40 | 显示全部楼层
原帖由 fengshen34 于 2005-10-14 20:51 发表
我实在不记得我用的是谁的最近访问的论坛了。
这是我的forumdisplay.htm

如果你能帮修改,我很高兴的说。

你如果装的位置在页数上边,那就在这下边这段代码里。


  1. <form method="post" name="moderate" action="topicadmin.php?action=moderate&fid=$fid&page=$page">
  2. <input type="hidden" name="formhash" value="{FORMHASH}">
  3. <table width="{TABLEWIDTH}" cellspacing="0" cellpadding="0" align="center">
  4. <tr><td class="multi">$multipage</td>
  5. <td align="right">
  6. <!--{if $allowpost}--><a href="post.php?action=newthread&fid=$fid"><img src="{IMGDIR}/newtopic.gif" border="0"></a><!--{/if}-->
  7. <!--{if $allowpostpoll}--><a href="post.php?action=newthread&fid=$fid&poll=yes"><img src="{IMGDIR}/poll.gif" border="0"></a><!--{/if}-->
  8. </td></tr></table>

  9. <table cellspacing="0" cellpadding="0" border="0" width="{TABLEWIDTH}" align="center" class="tableborder"><tr><td>
  10. <table border="0" cellspacing="{BORDERWIDTH}" cellpadding="{TABLESPACE}" width="100%">
  11.           <tr class="header">
  12.             <td colspan="3" align="center">{lang subject}</td>
  13.             <td width="14%" align="center" nowrap>{lang author}</td>
  14.             <td width="6%" align="center" nowrap>{lang replies}</td>
  15.             <td width="6%" align="center" nowrap>{lang views}</td>
  16.             <td width="19%" align="center">{lang lastpost}</td>
  17.           </tr>
复制代码


我只装过COOKIE版的,不知道你装的什么,我可以教你怎么找。你在templates.lang.php里查找最近到访,然后相对应的标识字母,在模版里找。
回复

使用道具 举报

gzwolf 发表于 2005-10-14 21:13:42 | 显示全部楼层
呵呵,想开始我和1223一样为了表头搞了好长时间,自己有时间琢磨一下,还是能学到不少东东的

1223发表此帖的前一天晚上,我参照D4的样式,修改了viewthread.htm,将“最近访问的论坛”移到帖内标题,感觉不错,正想一鼓作气将forumdisplay.htm也搞定,就是这个表头作怪,反复改了好久就是不象D4,嘿,第二天上来就看到1223这篇帖子了

我的论坛核心基本上是DISCUZ 2.5,装了不少插件,数据库和模板改动较大,就没有完全升级到2.5SP1和仿D4版本了,我想类似这样的论坛还是有不少的,我将forumdisplay.htm修改完整贴出来吧,大家可以对照看看,也就是改了两个参数而已,凡事多动动脑筋 :)



  1. <table cellspacing="0" cellpadding="0" border="0" width="100%" align="center"><tr><td>
  2. <table border="0" cellspacing="{BORDERWIDTH}" cellpadding="{TABLESPACE}" width="100%">
  3. <table cellspacing="1" cellpadding="4" width="{TABLEWIDTH}" align="center" class="tableborder">
  4. <tr class="header"><td colspan="7">
  5. <table cellspacing="0" cellpadding="0" width="100%" border="0">
  6. <tr><td width="65%" class="smalltxt"><a href="forumdisplay.php?fid=$fid" class="bold"><font color="#FFFFFF">$forum[name]</font></a></td>
  7. <td align="right" width="35%" nowrap>$recentselect<table cellspacing="0" cellpadding="0" border="0"></tr>
  8. </tr></table></td></tr></table></td>
  9. <tr class="category">
  10. <td width="4%">&nbsp;</td>
  11. <td width="4%">&nbsp;</td>
  12. <td width="47%" align="center">{lang subject}</td>
  13. <td width="14%" align="center" nowrap>{lang author}</td>
  14. <td width="6%" align="center" nowrap>{lang replies}</td>
  15. <td width="6%" align="center" nowrap>{lang views}</td>
  16. <td width="19%" align="center">{lang lastpost}</td>
  17. </tr>
复制代码
回复

使用道具 举报

 楼主| 1223 发表于 2005-10-14 21:21:04 | 显示全部楼层
原帖由 gzwolf 于 2005-10-14 21:13 发表
呵呵,想开始我和1223一样为了表头搞了好长时间,自己有时间琢磨一下,还是能学到不少东东的

1223发表此帖的前一天晚上,我参照D4的样式,修改了viewthread.htm,将“最近访问的论坛”移到帖内标题,感觉不错, ...


谢谢楼上支持,我已在首页写上你的大名了。
回复

使用道具 举报

gzwolf 发表于 2005-10-14 21:26:26 | 显示全部楼层
谢谢,互相学习

~ 。~
回复

使用道具 举报

fengshen34 发表于 2005-10-15 11:09:29 | 显示全部楼层
原帖由 1223 于 2005-10-14 21:01 发表

你如果装的位置在页数上边,那就在这下边这段代码里。


[code]<form method="post" name="moderate" action="topicadmin.php?action=moderate&fid=$fid&page=$page&qu ...




我在语言包里搜索了。并没有发现。最近访问的论坛这个。
说明。我安装的那个版本。根本没有在语言包里添加过什么!
那这个是什么版本呢?
回复

使用道具 举报

gzwolf 发表于 2005-10-15 11:24:51 | 显示全部楼层
原帖由 fengshen34 于 2005-10-15 11:09 发表
我在语言包里搜索了。并没有发现。最近访问的论坛这个。
说明。我安装的那个版本。根本没有在语言包里添加过什么!
那这个是什么版本呢?


仿D4官方最近到访论坛转跳(Cookie版)For Discuz 2.5F/Sp1 (修正版)

https://discuz.dismall.com/viewthread.php?tid=121426
回复

使用道具 举报

xmzyy 发表于 2005-10-15 11:28:27 | 显示全部楼层
纯支持
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|小黑屋|Discuz! 官方站 ( 皖ICP备16010102号 )star

GMT+8, 2024-5-22 01:05 , Processed in 0.132609 second(s), 15 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

快速回复 返回顶部 返回列表