⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 discuz.htm

📁 解压上传到BBS目录 link_txt.txt 权限设置为可写可修改
💻 HTM
字号:
{subtemplate header}

<div id="foruminfo">
	<div id="userinfo">
		<div id="nav">
			<!--{if $gid || !$discuz_uid}--><a href="$indexname">$bbname</a><!--{/if}-->
		</div>
		<p>
		<!--{if $discuz_uid}-->
			<!--{if $allowinvisible}-->{lang online_status}:
			<span id="loginstatus"><!--{if !empty($invisible)}--><a href="member.php?action=switchstatus" onclick="ajaxget(this.href, 'loginstatus');doane(event);">{lang login_invisible_mode}</a><!--{else}--><a href="member.php?action=switchstatus" title="{lang login_switch_invisible_mode}" onclick="ajaxget(this.href, 'loginstatus');doane(event);">{lang login_normal_mode}</a><!--{/if}--></span><br />
			<!--{/if}-->
			{lang your_lastvisit}: <em>$lastvisittime</em>
			<!--{if !empty($google) && ($google & 1)}--><br /><!--{/if}-->
			<a href="search.php?srchfrom=$newthreads&amp;searchsubmit=yes">{lang show_newthreads}</a>
			<a href="member.php?action=markread" id="ajax_markread" onclick="ajaxmenu(event, this.id)">{lang mark_read}</a>
		<!--{elseif !empty($_DCOOKIE['loginuser'])}-->
			<em>$_DCOOKIE['loginuser']</em>, <a href="logging.php?action=login">{lang index_activation}</a>
		<!--{else}-->
			<form id="loginform" method="post" name="login" action="logging.php?action=login&amp;loginsubmit=true">
				<input type="hidden" name="formhash" value="{FORMHASH}" />
				<input type="hidden" name="cookietime" value="2592000" />
				<input type="hidden" name="loginfield" value="username" />
				<input type="text" id="username" name="username" size="15" maxlength="40" tabindex="1" value="{lang username}" onclick="this.value = ''" />
				<input type="password" id="password" name="password" size="10" tabindex="2" onkeypress="if((event.keyCode ? event.keyCode : event.charCode) == 13) $('loginform').submit()" />
				<button name="userlogin" type="submit" value="true">{lang login}</button>
			</form>
		<!--{/if}-->
		</p>
	</div>

	<div id="forumstats">
		<p>
			{lang index_today}: <em>$todayposts</em>, {lang index_yesterday}: <em>$postdata[0]</em>, {lang index_maxday}: <em>$postdata[1]</em> &nbsp; <a href="digest.php">{lang digest}</a>
			<!--{if $rssstatus}--><a href="rss.php?auth=$rssauth" title="{lang rss_subscribe_all}" target="_blank"><img src="images/common/xml.gif" alt="{lang rss_subscribe_all}" /></a><!--{/if}-->
		</p>
		<p>{lang index_threads}: <em>$threads</em>, {lang index_posts}: <em>$posts</em>, {lang index_members}: <em>$totalmembers</em>, {lang welcome_newmember} <cite><a href="space.php?username=$memberenc">$lastmember</a></cite></p>
	</div>
	<!--{if !empty($google) && ($google & 1)}-->
		<div id="headsearch" style="clear: both">
		<script type="text/javascript" src="forumdata/cache/google_var.js"></script>
		<script type="text/javascript" src="include/javascript/google.js"></script>
		</div>
	<!--{/if}-->
</div>

<!--{if empty($gid) && $announcements}-->
	<div id="announcement" onmouseover="annstop = 1" onmouseout="annstop = 0">
		<div id="announcementbody"><ul>$announcements</ul></div>
	</div>
	<script type="text/javascript">
		var anndelay = 3000;
		var annst = 0;
		var annstop = 0;
		var annrowcount = 0;
		var anncount = 0;
		var annlis = $('announcementbody').getElementsByTagName("LI");
		var annrows = new Array();
		var annstatus;

		function announcementScroll() {
			if(annstop) {
				annst = setTimeout('announcementScroll()', anndelay);
				return;
			}
			if(!annst) {
				var lasttop = -1;
				for(i = 0;i < annlis.length;i++) {

					if(lasttop != annlis[i].offsetTop) {
						if(lasttop == -1) {
							lasttop = 0;
						}
						annrows[annrowcount] = annlis[i].offsetTop - lasttop;
						annrowcount++;
					}
					lasttop = annlis[i].offsetTop;
				}

				if(annrows.length == 1) {
					$('announcement').onmouseover = $('announcement').onmouseout = null;
				} else {
					annrows[annrowcount] = annrows[1];
					$('announcementbody').innerHTML += '<br style="clear:both" />' + $('announcementbody').innerHTML;
					annst = setTimeout('announcementScroll()', anndelay);
				}
				annrowcount = 1;
				return;
			}

			if(annrowcount >= annrows.length) {
				$('announcementbody').scrollTop = 0;
				annrowcount = 1;
				annst = setTimeout('announcementScroll()', anndelay);
			} else {
				anncount = 0;
				announcementScrollnext(annrows[annrowcount]);
			}
		}

		function announcementScrollnext(time) {
			$('announcementbody').scrollTop++;
			anncount++;
			if(anncount != time) {
				annst = setTimeout('announcementScrollnext(' + time + ')', 10);
			} else {
				annrowcount++;
				annst = setTimeout('announcementScroll()', anndelay);
			}
		}
	</script>
<!--{/if}-->

<!--{if $admode && empty($insenz['hardadstatus']) && !empty($advlist['text'])}--><div class="ad_text" id="ad_text"><table summary="Text Ad" cellpadding="0" cellspacing="1">$advlist[text]</table></div><!--{else}--><div id="ad_text"></div><!--{/if}-->

<table summary="HeadBox" class="portalbox" cellpadding="0" cellspacing="1">
	<tr>
	<!--{if $hottagstatus}-->
		<td>
		<!--{if $hottagstatus}-->
			<div id="hottags"><h3><a href="tag.php" target="_blank">{lang hottags}</a></h3>
			$_DCACHE[tags]
			</div>
		<!--{/if}-->
		</td>
	<!--{/if}-->
	<!--{if !empty($qihoo['status']) && ($qihoo['searchbox'] & 1)}-->
		<td id="qihoosearch"{if $hottagstatus} style="width: 242px;"{/if}>
		<!--{if !empty($qihoo['status']) && ($qihoo['searchbox'] & 1)}-->
			<form method="post" action="search.php?srchtype=qihoo" onSubmit="this.target='_blank';">
				<input type="hidden" name="searchsubmit" value="yes" />
				<input type="text" name="srchtxt" value="$qihoo_searchboxtxt" size="20" />
				<select name="stype">
					<option value="" selected="selected">{lang qihoo_search_filltext}</option>
					<option value="1">{lang qihoo_search_title}</option>
					<option value="2">{lang qihoo_search_author}</option>
				</select>
				&nbsp;<button name="searchsubmit" type="submit" value="true">{lang search}</button>
			</form>

			<!--{if !empty($qihoo['links']['keywords'])}-->
				<strong>{lang qihoo_hot_searches}</strong>
				<!--{loop $qihoo['links']['keywords'] $link}-->
					$link&nbsp;
				<!--{/loop}-->
			<!--{/if}-->

			<!--{if $customtopics}-->
				<strong>{lang qihoo_custom_topics}</strong>&nbsp;&nbsp;$customtopics [<a href="###" onclick="window.open('misc.php?action=customtopics', '', 'width=320,height=450,resizable=yes,scrollbars=yes');">{lang edit}</a>]<br />
			<!--{/if}-->

			<!--{if !empty($qihoo['links']['topics'])}-->
				<strong>{lang qihoo_topics}</strong>&nbsp;
				<!--{loop $qihoo['links']['topics'] $url}-->
					{$url} &nbsp;
				<!--{/loop}-->
			<!--{/if}-->
		<!--{/if}-->
		</td>
	<!--{/if}-->
	</tr>
</table>

<!--{if !empty($insenz['vfstatus'])}--><script type="text/javascript" src="campaign.php?action=list"></script><!--{/if}-->

<!--{loop $catlist $key $cat}-->
	<!--{if $cat['forumscount']}-->
		<div class="mainbox forumlist">
			<span class="headactions">
				<!--{if $cat['moderators']}-->{lang forum_category_modedby}: $cat[moderators]<!--{/if}-->
				<img id="category_$cat[fid]_img" src="{IMGDIR}/$cat[collapseimg]" title="{lang spread}" alt="{lang spread}" onclick="toggle_collapse('category_$cat[fid]');" />
			</span>
			<h3><a href="$indexname?gid=$cat[fid]">$cat[name]</a></h3>
			<table id="category_$cat[fid]" summary="category$cat[fid]" cellspacing="0" cellpadding="0" style="$collapse['category_'.$cat[fid]]">
			<!--{if !$cat['forumcolumns']}-->
				<thead class="category">
					<tr>
						<th>{lang forum_name}</th>
						<td class="nums">{lang forum_threads}</td>
						<td class="nums">{lang forum_posts}</td>
						<td class="lastpost">{lang forum_lastpost}</td>
					</tr>
				</thead>
				<!--{loop $cat[forums] $forumid}-->
					<!--{eval $forum=$forumlist[$forumid];}-->
					<tbody id="forum$forum[fid]">
						<tr>
							<th$forum[folder]>
								$forum[icon]
								<h2><a href="forumdisplay.php?fid=$forum[fid]">$forum[name]</a><!--{if $forum[todayposts] && !$forum['redirect']}--><em> ({lang index_today}: $forum[todayposts])</em><!--{/if}--></h2>
								<!--{if $forum[description]}--><p>$forum[description]</p><!--{/if}-->
								<!--{if $forum['subforums']}--><p>{lang forum_subforums}: $forum['subforums']</p><!--{/if}-->
								<!--{if $forum['moderators']}--><!--{if $moddisplay == 'flat'}--><p class="moderators">{lang forum_moderators}: $forum[moderators]</p><!--{else}--><span class="dropmenu" id="mod$forum[fid]" onmouseover="showMenu(this.id)">{lang forum_moderators}</span><ul class="moderators popupmenu_popup" id="mod$forum[fid]_menu" style="display: none">$forum[moderators]</ul><!--{/if}--><!--{/if}-->
							</th>
							<td class="nums">{if $forum['redirect']}--{else}$forum[threads]{/if}</td>
							<td class="nums">{if $forum['redirect']}--{else}$forum[posts]{/if}</td>
							<td class="lastpost">
							<!--{if $forum['permission'] == 1}-->
								{lang private_forum}
							<!--{else}-->
								<!--{if $forum['redirect']}-->
									--
								<!--{elseif is_array($forum['lastpost'])}-->
									<a href="redirect.php?tid=$forum[lastpost][tid]&amp;goto=lastpost#lastpost">{echo cutstr($forum[lastpost][subject], 40)}</a>
									<cite>{lang forum_lastpost_by} <!--{if $forum['lastpost']['author']}-->$forum['lastpost']['author']<!--{else}-->{lang anonymous}<!--{/if}--> - $forum[lastpost][dateline]</cite>
								<!--{else}-->
									{lang never}
								<!--{/if}-->
							<!--{/if}-->
							</td>
						</tr>
					</tbody>
				<!--{/loop}-->
			<!--{else}-->
					<tr>
					<!--{loop $cat['forums'] $forumid}-->
						<!--{eval $forum=$forumlist[$forumid];}-->
						<!--{if $forum['orderid'] && ($forum['orderid'] % $cat['forumcolumns'] == 0)}-->
							</tr></tbody>
							<!--{if $forum['orderid'] < $cat['forumscount']}-->
								<tbody><tr>
							<!--{/if}-->
						<!--{/if}-->
						<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>
							<!--{if $forum['permission'] == 1}-->
								<p>{lang private_forum}
							<!--{else}-->
								<p>{lang forum_lastpost}:
									<!--{if is_array($forum['lastpost'])}-->
										<a href="redirect.php?tid=$forum[lastpost][tid]&amp;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>
							<!--{/if}-->
						</th>
					<!--{/loop}-->
				$cat['endrows']
			<!--{/if}-->
			</table>
		</div>
		<!--{if $admode && empty($insenz['hardadstatus']) && !empty($advlist['intercat']) && ($advlist['intercat'][$key] = array_merge(($advlist['intercat'][0] ? $advlist['intercat'][0] : array()), ($advlist['intercat'][$key] ? $advlist['intercat'][$key] : array())))}--><div class="ad_column" id="ad_intercat_$key"><!--{echo $advitems[$advlist['intercat'][$key][array_rand($advlist['intercat'][$key])]]}--></div><!--{else}--><div id="ad_intercat_$key"></div><!--{/if}-->
	<!--{/if}-->
<!--{/loop}-->

<!--{if $_DCACHE['forumlinks']}-->
<div class="box">
	<span class="headactions"><img id="forumlinks_img" src="{IMGDIR}/$collapseimg[forumlinks]" alt="" onclick="toggle_collapse('forumlinks');" /></span>
	<h4>{lang board_links} $hooks['friendlink_link_applications'] >>><a href="friendlink.php">[更多链接...]</a></h4>
	<table summary="{lang board_links}" id="forumlinks" cellpadding="0" cellspacing="0" style="table-layout: fixed; $collapse[forumlinks]">
		<!--{loop $_DCACHE['forumlinks'] $flink}-->
			<tr>
				<td>
					<!--{if $flink['type'] == 1}--><img src="$flink[logo]" alt="" class="forumlink_logo" /><!--{/if}-->
					$flink[content]
				</td>
			</tr>
		<!--{/loop}-->
	</table>
</div>
<!--{/if}-->

<!--{if empty($gid) && ($whosonlinestatus || $maxbdays)}-->
	<div class="box" id="online">
	<!--{if $whosonlinestatus}-->
		<!--{if $detailstatus}-->
			<span class="headactions"><a href="$indexname?showoldetails=no#online" title="{lang pm_close}"><img src="{IMGDIR}/collapsed_no.gif" alt="{lang pm_close}" /></a></span>
			<h4>
				<strong><a href="member.php?action=online">{lang onlinemember}</a></strong>
				- <em>$onlinenum</em> {lang onlines}
				- <em>$membercount</em> {lang index_members}(<em>$invisiblecount</em> {lang index_invisibles}),
				<em>$guestcount</em> {lang index_guests}
				- {lang index_mostonlines} <em>$onlineinfo[0]</em> {lang on} <em>$onlineinfo[1]</em>.
			</h4>
		<!--{else}-->
			<span class="headactions"><a href="$indexname?showoldetails=yes#online" class="nobdr"><img src="{IMGDIR}/collapsed_yes.gif" alt="" /></a></span>
			<h4>
				<strong><a href="member.php?action=online">{lang onlinemember}</a></strong>
				- {lang total} <em>$onlinenum</em> {lang onlines}
				- {lang index_mostonlines} <em>$onlineinfo[0]</em> {lang on} <em>$onlineinfo[1]</em>.
			</h4>
		<!--{/if}-->
	<!--{else}-->
		<h4><strong><a href="member.php?action=online">{lang onlinemember}</a></strong></h4>
	<!--{/if}-->
	<!--{if $maxbdays}-->
		<div id="bdayslist">
			<!--{if $_DCACHE['birthdays_index']['todaysbdays']}--><a href="member.php?action=list&amp;type=birthdays">{lang todays_birthdays}</a>: $_DCACHE[birthdays_index][todaysbdays]<!--{else}-->{lang todays_birthdays_none}<!--{/if}-->
		</div>
	<!--{/if}-->
	<!--{if $whosonlinestatus}-->
		<dl id="onlinelist">
		<dt>$_DCACHE[onlinelist][legend]</dt>
		<!--{if $detailstatus}-->
			<dd>
			<ul class="userlist">
			<!--{if $whosonline}-->
				<!--{loop $whosonline $key $online}-->
					<li title="{lang time}: $online[lastactivity]{LF} {lang action}: $online[action] <!--{if $online['fid']}-->{LF}{lang forum}: $online[fid]<!--{/if}-->">
					<img src="images/common/$online[icon]" alt="" />
					<!--{if $online['uid']}-->
						<a href="space.php?uid=$online[uid]">$online[username]</a>
					<!--{else}-->
						$online[username]
					<!--{/if}-->
					</li>
				<!--{/loop}-->
			<!--{else}-->
				<li style="width: auto">{lang online_only_guests}</li>
			<!--{/if}-->
			</ul>
			</dd>
		<!--{/if}-->
		</dl>
	<!--{/if}-->
	</div>
<!--{/if}-->

<div class="legend">
	<label><img src="{IMGDIR}/forum_new.gif" alt="{lang forum_newposts}" />{lang forum_newposts}</label>
	<label><img src="{IMGDIR}/forum.gif" alt="{lang forum_nonewpost}" />{lang forum_nonewpost}</label>
</div>
<!--{if empty($gid) && $announcements}-->
	<script type="text/javascript">announcementScroll();</script>
<!--{/if}-->

{subtemplate footer}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -