电脑技术学习

6.0首页横排图标,完美解决

dn001

将discuz.htm中

<th width="$cat[forumcolwidth]"{$forum[folder]}>
<h2><a href="forumdisplay.php?fid=$forum[fid]">$forum[name]</a><!--{if $forum[todayposts]}--><em> ({lang index_today}: $forum[todayposts])</em><!--{/if}--></h2>
<p>{lang forum_threads}: $forum[threads], {lang forum_posts}: $forum[posts]</p>
<p>{lang forum_lastpost}:
<!--{if is_array($forum['lastpost'])}-->
<a href="redirect.php?tid=$forum[lastpost][tid]&goto=lastpost#lastpost">$forum[lastpost][dateline]</a>
{lang forum_lastpost_by} <!--{if $forum['lastpost']['author']}-->$forum['lastpost']['author']<!--{else}-->{lang anonymous}<!--{/if}-->
<!--{else}-->
{lang never}
<!--{/if}-->
</p>
</th>


换成

<td width="$cat[forumcolwidth]" valign="top" class="altbg2" onMouseOver="this.style.backgroundColor='{ALTBG1}'" onMouseOut="this.style.backgroundColor='{ALTBG2}'">
<table cellspacing="0" cellpadding="0" width="100%">
<tr><td rowspan="3" align="center" width="15%">$forum[icon]</td><td colspan="3" class="bold subject"><a href="forumdisplay.php?fid=$forum[fid]">$forum[name]</a>
<b> $forum[moderators]</span></td></tr>
<tr class="smalltxt"><td colspan="3">
$forum[description]<!--{if $forum['subforums']}--><br><span class="bold">{lang forum_subforums}:</span> $forum['subforums']<!--{/if}-->

</td></tr><tr class="smalltxt"><td>{lang forum_threads}: $forum[threads]</td><td>{lang forum_posts}: $forum[posts]</td><td>{lang forum_todayposts}: $forum[todayposts]</td></tr></table>
</td>