弟6步不知道怎么改了,和我的index.htm有点不同.
下面是我的index.htm文件请修改过的朋友帮下帮
{template header}
<table cellspacing="{INNERBORDERWIDTH}" cellpadding="{TABLESPACE}" width="{TABLEWIDTH}" align="center" bgcolor="9bb6db">
<tr>
<td class="altbg2">
<table cellspacing="{INNERBORDERWIDTH}" cellpadding="0" border="0" width="{TABLEWIDTH}" align="center" class="outertxt">
<tr><td class="nav" align="left" nowrap><a href="index.php">$bbname</a> $navigation</td>
<td align="right" class="smalltxt"><!--{if $rssstatus}--><a href="rss.php?auth=$rssauth" target="_blank"><img src="images/common/xml.gif" border="0" align="absmiddle" alt="{lang rss_subscribe_all}"></a><!--{/if}-->
<a href="#bottom"><img src="{IMGDIR}/arrow_dw.gif" border="0" align="absmiddle"></a>
<br></td></tr>
<tr>
<td class="smalltxt">
{lang timenow} $currenttime, {lang your_lastvisit} $lastvisittime<br>
{lang credits}: <span class="bold">$credits</span>
<!--{loop $extcredits $id $credit}-->
$credit[title]: <span class="bold">$GLOBALS[extcredits.$id]</span>$credit[unit]
<!--{/loop}-->
/ {lang index_status}:
<!--{if $validdays}--><a href="member.php?action=groupexpiry"><span class="bold">$grouptitle</span>($validdays)</a><!--{else}--><span class="bold">$grouptitle</span><!--{/if}-->
<!--{if !empty($invisible)}--> / {lang login_invisible_mode}<!--{/if}-->
</td>
<td align="right" nowrap class="smalltxt">
<a href="search.php?srchfrom=$newthreads&searchsubmit=yes">{lang show_newthreads}</a> |
<!--{if $discuz_uid}-->
<a href="search.php?srchuid=$discuz_uid&mytopics=yes&searchsubmit=yes">{lang show_mytopics}</a> |
<!--{if $allowuseblog}-->
<a href="blog.php?uid=$discuz_uid" target="_blank">{lang blog}</a> |
<!--{/if}-->
<!--{/if}-->
<a href="digest.php">{lang digest}</a> |
<a href="member.php?action=markread">{lang mark_read}</a>
| {lang welcome_newmember} <a href="viewpro.php?username=$memberenc"><span class="bold">$lastmember</span></a><br>
{lang total} <span class="bold">$threads</span> {lang index_threads} / <span class="bold">$posts</span> {lang index_posts} / {lang index_today} <span class="bold">$todayposts</span> {lang index_posts} / <span class="bold">$totalmembers</span> {lang index_members}
</td>
</tr>
</table>
</td>
</tr>
</table></div>
<div class="maintable">
<table width="{TABLEWIDTH}" height="4" border="0" cellpadding="0" cellspacing="0">
<tr>
<td></td>
</tr>
</table>
</div>
<!--{if empty($gid)}-->
<div class="maintable">
<table cellspacing="{INNERBORDERWIDTH}" cellpadding="{TABLESPACE}" width="{TABLEWIDTH}" align="center" class="tableborder">
<tr class="header"><td colspan="3">$bbname {lang index_announcements}</td></tr>
<tr class="altbg2" align="center">
<td colspan="3" align="center">
<!--{if empty($announcements)}-->
{lang index_noannouncement}
<!--{else}-->
<marquee direction="left" scrollamount="3" onMouseOver="this.stop();" onMouseOut="this.start();">
$announcements
</marquee>
<!--{/if}-->
</td></tr>
<!--{if $qihoo_status && $searchboxstatus}-->
<tr class="altbg2"><td>
<table width="100%" border="0" cellpadding="1" cellspacing="0">
<tr><td width="50%">
<!--{if $qihoo_links['keywords']}-->
<span class="bold">{lang qihoo_hot_searches}</span>
<!--{loop $qihoo_links['keywords'] $link}-->
$link
<!--{/loop}-->
<!--{/if}-->
</td><td align="right">
<img src="{IMGDIR}/search.gif" border="0" align="bottom" width="16" height="16"> <input type="text" name="searchbox" value="{lang qihoo_keyword}" size="30" class="altbg2" onmouseover="this.focus()" onfocus="this.select()">
<select name="stype"><option value="" selected>{lang qihoo_search_filltext}</option><option value="1">{lang qihoo_search_title}</option></select>
<input name="button" type="button" style="height: 1.8em" onclick="window.open('search.php?srchtype=qihoo&srchtxt='+findobj('searchbox').value+'&stype='+findobj('stype').value+'&searchsubmit=yes');" value="{lang qihoo_search}">
</td></tr>
<tr><td>
<!--{if $qihoo_links['topics']}-->
<span class="bold">{lang qihoo_topics}</span>
<!--{loop $qihoo_links['topics'] $url}-->
{$url}
<!--{/loop}-->
<!--{/if}-->
</td><td align="right">
<!--{if $customtopics}-->
<span class="bold">{lang qihoo_custom_topics}</span> $customtopics [<a href="###" onclick="window.open('misc.php?action=customtopics', '', 'width=320,height=450,resizable=yes,scrollbars=yes');">{lang edit}</a>]
<!--{/if}-->
</td></tr>
</table>
</td></tr>
<!--{/if}-->
</table></div>
<!--{/if}-->
<!--{if !empty($newpmexists)}-->
<div class="maintable">
{template pmprompt}
</div>
<!--{/if}-->
<!--{if !empty($advlist['text'])}--><div class="maintable"><table cellspacing="{INNERBORDERWIDTH}" cellpadding="{TABLESPACE}" width="{TABLEWIDTH}" align="center" class="tableborder">$advlist[text]</table><br></div><!--{/if}-->
<div class="maintable">
<table width="{TABLEWIDTH}" height="4" border="0" cellpadding="0" cellspacing="0">
<tr>
<td></td>
</tr>
</table>
</div>
<div class="maintable">
<table width="{TABLEWIDTH}" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="140" height="100%" valign="top">
<table width="{TABLEWIDTH}" height="100%" border="0" cellpadding="0" cellspacing="1" bgcolor="9bb6db">
<tr>
<td height="100%" valign="top" bgcolor="f7f7f7" background="{IMGDIR}/left-bg.gif" style="background-repeat=repeat-x">
<table width="{TABLEWIDTH}" border="0" cellspacing="0" cellpadding="0">
<tr>
<td align="center"><img src="{IMGDIR}/site-na.gif" width="90" height="12"></td>
</tr>
</table>
{template forum}
</td>
</tr>
</table>
</td>
<td width="3"><img src="{IMGDIR}/space.gif" width="1" height="1"></td>
<td valign="top">
<!--{loop $forumlist $key $forum}-->
<!--{if $forum['type'] == 'group' && $forumlist[($key + 1)]['type'] == 'forum'}-->
<!--{if $key}--></tbody></table></div><div class="maintable">
<table width="{TABLEWIDTH}" height="4" border="0" cellpadding="0" cellspacing="0">
<tr>
<td></td>
</tr>
</table>
</div><!--{/if}-->
<div class="maintable">
<table cellspacing="{INNERBORDERWIDTH}" cellpadding="{TABLESPACE}" width="{TABLEWIDTH}" align="center" class="tableborder">
<tr><td colspan="6" class="header"><table cellspacing="0" cellpadding="0" width="100%">
<tr class="smalltxt"><td class="bold"><a href="index.php?gid=$forum[fid]">$forum[name]</a></td><td align="right">
<!--{if $forum['moderators']}--><font color="{HEADERTEXT}">{lang forum_category_modedby}: $forum[moderators]</font> <!--{/if}-->
<a href="###" onclick="toggle_collapse('category_$forum[fid]');"><img id="category_$forum[fid]_img" src="{IMGDIR}/$forum[collapseimg]" border="0"></a>
</td></tr></table></td></tr>
<tr class="category" align="center">
<td width="5%"> </td>
<td width="51%">{lang forum_name}</td>
<td width="5%">{lang forum_threads}</td>
<td width="5%">{lang forum_posts}</td>
<td width="13%">{lang forum_lastpost}</td>
<td width="16%">{lang forum_moderators}</td>
</tr><tbody id="category_$forum[fid]" style="$collapse['category_'.$forum[fid]]">
<!--{elseif $forum['permission']}-->
<tr>
<td class="altbg1" align="center">$forum[folder]</td>
<td bgcolor="FFFFFF" align="left" background="{IMGDIR}/bg-a.gif" onMouseOver=background="{IMGDIR}/bg-b.gif"; onMouseOut=background="{IMGDIR}/bg-a.gif";>
$forum[icon]<a href="forumdisplay.php?fid=$forum[fid]"><span class="bold">$forum[name]</span></a>
<br><span class="smalltxt">$forum[description]<!--{if isset($forum['subforums'])}--><br><span class="bold">{lang forum_subforums}:</span> $forum[subforums]<!--{/if}--></span></td>
<td class="altbg1" align="center">$forum[threads]</td>
<td class="altbg2" align="center">$forum[posts]</td>
<!--{if $forum['permission'] == 1}-->
<td class="altbg2" align="center"><span class="smalltxt"></span>{lang private_forum}</span></td>
<!--{else}-->
<!--{if is_array($forum['lastpost'])}-->
<td class="altbg2"><table cellpadding="0" cellspacing="0" border="0" width="100%">
<tr><td align="right" class="smalltxt" title="{lang forum_lastpost_in}: $forum[lastpost][subject]" nowrap>
$forum[lastpost][dateline]<br>{lang forum_lastpost_by} <!--{if $forum['lastpost']['author']}-->$forum['lastpost']['author']<!--{else}-->{lang anonymous}<!--{/if}--></td>
<td nowrap> <a href="redirect.php?tid=$forum[lastpost][tid]&goto=lastpost#lastpost"><img src="{IMGDIR}/lastpost.gif" border="0"></a></td>
</tr></table></td>
<!--{else}-->
<td class="altbg2" align="center"><span class="smalltxt">{lang never}</span></td>
<!--{/if}-->
<!--{/if}-->
<td class="altbg1" align="center" style="word-break: keep-all"><span class="smalltxt">$forum[moderators]</span></td></tr>
<!--{/if}-->
<!--{/loop}-->
<!--{if empty($gid) && ($_DCACHE['forumlinks'] || $whosonlinestatus || $bdaystatus == 1 || $bdaystatus == 3)}-->
<!--{if empty($forumlist)}--><br><br><!--{else}--></table></div><div class="maintable">
<table width="{TABLEWIDTH}" height="4" border="0" cellpadding="0" cellspacing="0">
<tr>
<td></td>
</tr>
</table>
</div>
<div class="maintable"><!--{/if}-->
<table cellspacing="{INNERBORDERWIDTH}" cellpadding="{TABLESPACE}" width="{TABLEWIDTH}" align="center" class="tableborder">
<!--{/if}-->
<!--{if empty($gid)}-->
<!--{if $_DCACHE['forumlinks']}-->
<tr><td colspan="3" class="header"><a href="###" onclick="toggle_collapse('forumlinks');"><img id="forumlinks_img" src="{IMGDIR}/$linkcollapseimg" align="right" border="0"></a>
<span class="bold">{lang board_links}</span></td></tr>
<tbody id="forumlinks" style="$collapse[forumlinks]">
<!--{loop $_DCACHE['forumlinks'] $flink}-->
<!--{if $flink['type'] == 1}-->
<tr>
<td class="altbg1" width="5%" align="center" valign="middle"><img src="{IMGDIR}/forumlink.gif"></td>
<td class="altbg2" width="77%" valign="middle" onMouseOver="this.className='altbg1'" onMouseOut="this.className='altbg2'">$flink[content]</td>
<td class="altbg2" width="18%" align="center" valign="middle"><img src="$flink[logo]" border="0"></a></td>
</tr>
<!--{elseif $flink['type'] == 2}-->
<tr>
<td class="altbg1" width="5%" align="center" valign="middle"><img src="{IMGDIR}/forumlink.gif"></td>
<td class="altbg2" width="95%" colspan="2" valign="middle" style="word-break: keep-all" onMouseOver="this.className='altbg1'" onMouseOut="this.className='altbg2'">$flink[content]</td>
</tr>
<!--{else}-->
<tr>
<td class="altbg1" width="5%" align="center" valign="middle"><img src="{IMGDIR}/forumlink.gif"></td>
<td class="altbg2" width="95%" colspan="2" valign="middle" style="word-break: keep-all" onMouseOver="this.className='altbg1'" onMouseOut="this.className='altbg2'">$flink[content]</td>
</tr>
<!--{/if}-->
<!--{/loop}-->
</tbody>
<!--{/if}-->
<!--{if $bdaystatus == 1 || $bdaystatus == 3}-->
<tr><td colspan="3" class="header"><a href="###" onclick="toggle_collapse('birthdays');"><img id="birthdays_img" src="{IMGDIR}/$linkcollapseimg" align="right" border="0"></a>
<span class="bold">{lang todays_birthdays}</span></td></tr>
<tbody id="birthdays" style="$collapse[birthdays]">
<tr>
<td class="altbg1" width="5%" align="center" valign="middle"><img src="{IMGDIR}/birthday.gif"></td>
<td class="altbg2" width="95%" colspan="2" valign="middle" style="word-break: keep-all" onMouseOver="this.className='altbg1'" onMouseOut="this.className='altbg2'">
<!--{if $_DCACHE['settings']['todaysbdays']}-->$_DCACHE['settings']['todaysbdays']<!--{else}-->{lang todays_birthdays_none}<!--{/if}-->
</td></tr>
</tbody>
<!--{/if}-->
<!--{if $whosonlinestatus}-->
<!--{if $detailstatus}-->
<tr class="header"><td colspan="3" class="smalltxt" style="font-weight: normal; color: {HEADERTEXT}">
<a name="online"></a><a href="index.php?showoldetails=no#online"><img src="{IMGDIR}/collapsed_no.gif" align="right" border="0"> </a>
<span class="bold"><a href="member.php?action=online">{lang index_activeusers}</a></span> -
<span class="bold">$onlinenum</span> {lang onlines} - <span class="bold">$membercount</span> {lang index_members}(<span class="bold">$invisiblecount</span> {lang index_invisibles}),
<span class="bold">$guestcount</span> {lang index_guests} | {lang index_mostonlines} <span class="bold">$onlineinfo[0]</span> {lang on} <span class="bold">$onlineinfo[1]</span>.
</td></tr>
<!--{else}-->
<tr class="header"><td colspan="3" class="smalltxt" style="font-weight: normal; color: {HEADERTEXT}">
<a name="online"></a><a href="index.php?showoldetails=yes#online"><img src="{IMGDIR}/collapsed_yes.gif" align="right" border="0"></a>
<span class="bold"><a href="member.php?action=online">{lang index_activeusers}</a></span> -
{lang total} <span class="bold">$onlinenum</span> {lang onlines} | {lang index_mostonlines} <span class="bold">$onlineinfo[0]</span> {lang on} <span class="bold">$onlineinfo[1]</span>.
</td></tr>
<!--{/if}-->
<tr><td class="altbg1" width="5%" align="center"><img src="{IMGDIR}/online.gif"></td>
<td class="altbg2" colspan="2" onMouseOver="this.className='altbg1'" onMouseOut="this.className='altbg2'">
<table cellspacing="0" cellpadding="0" border="0" width="98%" align="center" class="smalltxt">
<tr><td colspan="7" valign="middle">$_DCACHE[onlinelist][legend]</td></tr>
<!--{if $detailstatus}-->
<tr><td colspan="7"><hr noshade size="0" width="100%" color="{BORDERCOLOR}" align="center"></td></tr><tr><td nowrap>
<!--{if $whosonline}-->
<!--{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]
<!--{if $online['fid']}-->{LF}{lang forum}: $online[fid]<!--{/if}-->
">$online[username]</a>
<!--{/loop}-->
<!--{else}-->
{lang online_only_guests}
<!--{/if}-->
<!--{/if}-->
</td></tr></table></td></tr>
<!--{/if}-->
<!--{/if}-->
</table></div>
<div class="maintable">
<table width="{TABLEWIDTH}" height="4" border="0" cellpadding="0" cellspacing="0">
<tr>
<td></td>
</tr>
</table>
</div>
<div class="maintable">
<table width="{TABLEWIDTH}" border="0" cellpadding="1" cellspacing="1" bgcolor="9bb6db">
<tr>
<td bgcolor="d8e2ea"><table width="{TABLEWIDTH}" border="0" cellpadding="3" cellspacing="0" bgcolor="#FFFFFF">
<tr>
<td>
<table cellspacing="0" cellpadding="0" border="0" width="{TABLEWIDTH}" align="center" class="outertxt">
<tr><td align="center" class="smalltxt">
<img src="{IMGDIR}/red_forum.gif" align="absmiddle"> {lang forum_newposts}
<img src="{IMGDIR}/forum.gif" align="absmiddle"> {lang forum_nonewpost}</td></tr></table>
</td>
</tr>
</table></td>
</tr>
</table></div>
</td>
</tr>
</table>
{template footer}
除了这个文件其他1样,请问在4.1装还需要改那里吗? |