修改 INDEX.htm
完整代码
- {template header}
- <table cellspacing="0" cellpadding="0" border="0" width="{TABLEWIDTH}" align="center" style="table-layout: fixed">
- <tr><td class="nav" width="85%" align="left" nowrap> <a href="index.php">$bbname</a> $navigation</td>
- <td align="right" width="15%"><!--{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></td>
- </tr></table><br>
- </div>
- <div class="maintable">
- <table cellspacing="{TABLESPACE}" cellpadding="0" border="0" width="{TABLEWIDTH}" align="center" class="outertxt">
- <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>
- </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><br></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}-->
- {eval $incompact = explode(',', $index_intabulae);}
- {eval $incompact1= explode(',', $index_intabulae1);}
- {eval $incompact = explode(',', $index_intabulae);}
- {eval $incompact1= explode(',', $index_intabulae1);}
- <!--{loop $forumlist $key $forum}-->
- <!--{if $forum['type'] == 'group' && $forumlist[($key + 1)]['type'] == 'forum'}-->
- <!--{if $key}-->
- <!--{if $fcount}--><td colspan="$fcount"> </td></tr></tbody></table><br></div>
- <!--{else}-->
- <!--{if in_array($forum[fid], array_merge($incompact,$incompact1))}--></tbody></table><br></div><!--{else}--></tr></tbody></table><br></div><!--{/if}-->
- <!--{/if}-->
- <!--{else}-->
- <!--{/if}-->
- <!--{if in_array($forum[fid], $incompact)}-->
- <div class="maintable">
- <table cellspacing="{INNERBORDERWIDTH}" cellpadding="{TABLESPACE}" width="{TABLEWIDTH}" align="center" class="tableborder">
- <tr><td colspan="$index_fcount" 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>
- <tbody id="category_$forum[fid]" style="$collapse['category_'.$forum[fid]]">
- <tr class="altbg2">
- {eval $fcount = $index_fcount;}
- <!--{elseif in_array($forum[fid], $incompact1)}-->
- <div class="maintable">
- <table cellspacing="{INNERBORDERWIDTH}" cellpadding="{TABLESPACE}" width="{TABLEWIDTH}" align="center" class="tableborder">
- <tr><td colspan="$index_fcount1" 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>
- <tbody id="category_$forum[fid]" style="$collapse['category_'.$forum[fid]]">
- <tr class="altbg2">
- {eval $fcount = $index_fcount1;}
- <!--{else}-->
- <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="50%">{lang forum_name}</td>
- <td width="5%" nowrap>{lang forum_threads}</td>
- <td width="5%" nowrap>{lang forum_posts}</td>
- <td width="5%" nowrap>{lang forum_todayposts}</td>
- <td width="17%">{lang forum_lastpost}</td>
- <td width="18%">{lang forum_moderators}</td>
- </tr><tbody id="category_$forum[fid]" style="$collapse['category_'.$forum[fid]]">
- {eval $fcount = 0;}
- <!--{/if}-->
- <!--{elseif $forum['permission']}-->
- <!--{if in_array($forum[fup],$incompact)}-->
- {eval $fcount--;}
- <!--{if $fcount == -1}--></tr><tr class="altbg2">{eval $fcount = $index_fcount-1;}<!--{/if}-->
- <td width="$index_fwidth%" class="altbg2">
- <table cellpadding="0" cellspacing="3" border="0" width="100%">
- <tr>
- <td colspan="2">
- <table cellpadding="0" cellspacing="0" border="0" width="100%">
- <tr>
- <td>$forum[folder] <a href="forumdisplay.php?fid=$forum[fid]" title="$forum[description]"><span class="bold">$forum[name]</span></a></td>
- <td align="right" class=smalltxt><b>{lang forum_moderators}:</b>$forum[moderators]</td></tr></table>
- </td></tr>
- <tr>
- <td align="left" class=smalltxt><!--{if $forum['permission'] == 1}-->{lang private_forum}<!--{else}--><!--{if is_array($forum['lastpost'])}--><div style="overflow: hidden; text-overflow: ellipsis; width: 200px"> <nobr><b>{lang subject}</b>:<a href="redirect.php?tid=$forum[lastpost][tid]&goto=lastpost#lastpost" title="{lang title}:$forum['lastpost'][subject]{LF}{lang time}:$forum['lastpost'][dateline]">$forum['lastpost'][subject]</a></nobr></div><!--{else}-->{lang never}<!--{/if}--><!--{/if}--></td><td align="right">{lang forum_threads}: $forum[threads] {lang forum_posts}: $forum[posts] {lang forum_todayposts}:$forum[todayposts]</td></tr>
- </table></td>
- <!--{elseif in_array($forum[fup],$incompact1)}-->
- {eval $fcount--;}
- <!--{if $fcount == -1}--></tr><tr class="altbg2">{eval $fcount = $index_fcount1-1;}<!--{/if}-->
- <td width="$index_fwidth1%" class="altbg2" align="left" onMouseOver ="this.style.backgroundColor='{ALTBG1}'" onMouseOut ="this.style.backgroundColor='{ALTBG2}'">
- <table cellpadding="3" cellspacing="0" border="0" width="100%">
- <tr>
- <td colspan="2" valign="top">
- <table cellpadding="0" cellspacing="0" border="0" width="100%">
- <tr>
- <td>$forum[folder] <a href="forumdisplay.php?fid=$forum[fid]" title="$forum[description]"><span class="bold">$forum[name]</span></a></td>
- <td align="right" class=smalltxt><b>{lang forum_moderators}:</b>$forum[moderators]</td></tr></table>
- </td></tr>
- <tr>
- <td align="left" class=smalltxt><!--{if $forum['permission'] == 1}-->{lang private_forum}<!--{else}--><!--{if is_array($forum['lastpost'])}--><div style="overflow: hidden; text-overflow: ellipsis; width: 100px"> <nobr><b>{lang subject}</b>:<a href="redirect.php?tid=$forum[lastpost][tid]&goto=lastpost#lastpost" title="{lang title}:$forum['lastpost'][subject]{LF}{lang time}:$forum['lastpost'][dateline]">$forum['lastpost'][subject]</a></nobr></div><!--{else}-->{lang never}<!--{/if}--><!--{/if}--></td><td align="right">{lang forum_threads}: $forum[threads] {lang forum_posts}: $forum[posts] {lang forum_todayposts}:$forum[todayposts]</td></tr>
- </table>
- </td>
- <!--{else}-->
- <tr>
- <td class="altbg2" align="left">
- $forum[folder]<a href="forumdisplay.php?fid=$forum[fid]"><span class="bold">$forum[name]</span></a>
- <br><span class="smalltxt">$forum[description]<!--{if $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>
- <td class="altbg2" align="center">$forum[todayposts]</td>
- <!--{if $forum['permission'] == 1}-->
- <td class="altbg1" align="center" class="smalltxt">{lang private_forum}</td>
- <!--{else}-->
- <!--{if is_array($forum['lastpost'])}-->
- <td class="altbg1"><table cellpadding="0" cellspacing="0" border="0" width="100%">
- <tr><td class="smalltxt" nowrap>
- <div style="overflow: hidden; text-overflow: ellipsis; width: 150px"> <nobr>{lang title}: <a href="redirect.php?tid=$forum[lastpost][tid]&goto=lastpost#lastpost">$forum['lastpost'][subject]</a></nobr></div>
- {lang author}: <!--{if $forum['lastpost']['author']}-->$forum['lastpost']['author']<!--{else}-->{lang guest}<!--{/if}--><br>
- {lang time}: $forum[lastpost][dateline]</td><td align="right"><a href="redirect.php?tid=$forum[lastpost][tid]&goto=lastpost#lastpost"></a></td>
- </tr></table></td>
- <!--{else}-->
- <td class="altbg1" align="center" class="smalltxt">{lang never}</td>
- <!--{/if}-->
- <!--{/if}-->
- <td class="altbg2" align="center" class="smalltxt" style="word-break: keep-all">$forum[moderators]</td></tr>
- <!--{/if}-->
- <!--{/if}-->
- <!--{/loop}-->
- <!--{if empty($gid) && ($_DCACHE['forumlinks'] || $whosonlinestatus)}-->
- <!--{if empty($forumlist)}--><br><br></div><!--{else}--><!--{if $fcount}--><td colspan="$fcount"> </td><!--{/if}--></tr></tbody></table></div><div class="maintable"><!--{/if}--><br>
- <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><br><br></div><div class="maintable"><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>
- {template footer}
复制代码 |