<!--<?php print <<<EOT
-->
<div style="border-bottom:1px solid $tablecolor;">
<div class="mode-head cc">
		<ul class="nav-cms fl">
<!--
EOT;
foreach($catedbs as $key => $value){
if($value){print <<<EOT
-->
	   		<li><a href="thread.php?fid=$key" title="$value"><span>$value</span></a></li>
<!--
EOT;
}}print <<<EOT
-->
		</ul>
		<div class="c"></div>
</div>
</div>
<div class="info mb">
		<span class="fr">
<!--
EOT;
if($admin_T[admin]){
if($db_adminshow){print <<<EOT
-->
			版主: <select name="admin" onchange="Ajump(this.options[this.selectedIndex].value);"><option value="">版主列表</option>$admin_T[admin]</select>
<!--
EOT;
}else{print <<<EOT
-->
			版主: $admin_T[admin]
<!--
EOT;
}}print <<<EOT
-->
		</span>


		位置：
<!--
EOT;
$i=0;
foreach($fidassociate as $value){
$add = $i++ ? '&raquo; ':'';
print <<<EOT
-->
			$add<a href="$value[url]">$value[name]</a>
<!--
EOT;
}print <<<EOT
-->
</div>
<!--ads begin-->
<!--
EOT;
if($advertdb['text']){print <<<EOT
-->
<div class="ad-text">
	<table width="100%" cellspacing="0" cellpadding="0">
<!--
EOT;
$id=0;
$idp = 100/$db_txtadnum;
foreach($advertdb['text'] as $value){
if($id==0){print <<<EOT
-->
		<tr class="tr3">
<!--
EOT;
}$id++;print <<<EOT
-->
			<td class="tac" width="$idp%">$value[code]</td>
<!--
EOT;
if($id==$db_txtadnum){
$id=0;print <<<EOT
-->
		</tr>
<!--
EOT;
}}if($id && $id<$db_txtadnum){
for($i=$id;$i<$db_txtadnum;$i++){print <<<EOT
-->
		<td width="$idp%"><br /></td>
<!--
EOT;
}print <<<EOT
-->
		</tr>
<!--
EOT;
}print <<<EOT
-->
	</table>
</div>
<!--
EOT;
}else{print <<<EOT
-->
<div style="margin-top:0px;"></div>
<!--
EOT;
}print <<<EOT
-->
<div class="mode-main-left-bg">

<!--布局层-->
    <div class="mode-main-left-bot">
    <div class="mode-main-left">
    <div class="pt pb pl pr">
<!--
EOT;
if($forumset['commend'] && $foruminfo['commend']){print<<<EOT
-->
        	<h2>版主推荐</h2>
            <ul class="mode-listA">
<!--
EOT;
$i = 0;
foreach($foruminfo['commend'] as $key=>$value){
$i++;
if($i<=10){
print <<<EOT
-->
					<li><a href="read.php?tid=$value[tid]" target="_blank">$value[subject]</a></li>
<!--
EOT;
}}print <<<EOT
-->
            </ul><br />
<!--
EOT;
}print <<<EOT
-->
			<h2>{user_todaypost}</h2>
            <div class="mode-u-img mode-user-list">
        	<pw id="user_todaypost" name="今日" stamp="user" num="10" />
				<loop>
					<dl>
					<dt><img src="{image}" /></dt>
                	<dd><a href="{url}">{title}</a></dd><dd>数量：&nbsp;{value}</dd>
					</dl>
				</loop>
            </div>
            <br />
        	<h2>热门点击</h2>
            <ul class="mode-listA">
				<pw stamp="subject" name="点击" id="thread_hitsort" num="5" />
					<loop>
					
						<li><a href="{url}" target="_blank">{title}</a></li>
					
					</loop>
            </ul>
			<br />
			<h2>热门点击</h2>
            <ul class="mode-listA">
				<pw stamp="subject" name="回复" id="thread_replysort" num="5" />
					<loop>
					
						<li><a href="{url}" target="_blank">{title}</a></li>
					
					</loop>
            </ul>
			<br />
			<h2>{taghot} Tags</h2>
            <div class="mode-tags-list">
				<pw id="taghot" name="最热" stamp="tag" num="10" />
					<loop>
						<span><a href="{url}">{title}</a></span>
					</loop>
            </div>
            <br />
        </div>
        </div>
        <div class="mode-main-right2">
			<div class="y-bg"></div>
			<div class="y-bg2"></div>
			<div class="y-bg3"></div>
			<div class="y-bg4">
            	<div class="thread">
                	<div class="syn">
                        <div class="c"></div>
                        <h1 class="blue fl b">$foruminfo[name]</h1>
						<a style="cursor:pointer;" class="fr t-close" onClick="return IndexDeploy('thread',0)"><img id="img_thread" src="$pwModeImg/cate_$thread_img.gif" /></a>
						<span id="shortcut">			 
<!--
EOT;
if(strpos($winddb[shortcut],','.$fid.',') !==false){
print <<<EOT
-->
							<a style="cursor:pointer;" onclick="javascript:shortCut();" title="将本版块移除出快捷版块" class="fl aimg t-ok">收藏</a>
<!--
EOT;
}else{
print <<<EOT
-->
							<a style="cursor:pointer;" onclick="javascript:shortCut();" title="将本版块添加到快捷版块" class="fl aimg t-no">收藏</a>
<!--
EOT;
}
print <<<EOT
-->
						</span>
						<a href="rss.php?fid=$fid" target="_blank" title="RSS订阅本版面最新帖子" class="fl aimg t-rss">rss</a>
<!--
EOT;
if($admincheck || $groupid==3 || $groupid==4){print <<<EOT
-->
						<a href="forumcp.php?action=edit&fid=$fid" class="fl t-admin">版块管理</a>
<!--
EOT;
}print <<<EOT
-->
						<a class="fl t-action" href="profile.php?action=forumright&fid=$fid" title="查看您在本版块的权限">版块权限查看</a>
                        <div class="c"></div>
                    </div>
                    <div class="t-infor mode-boxC" id="cate_thread" style="$cate_thread">
                    	<table cellpadding="0" cellspacing="0">
                            <tr>
<!--
EOT;
if($foruminfo[logo]){print <<<EOT
-->
								<td><img src="$foruminfo[logo]"/></td>
<!--
EOT;
}else{
print <<<EOT
-->
								<td>
<!--
EOT;
if($foruminfo[pic]){print <<<EOT
-->
                                <img src="$imgpath/$stylepath/$foruminfo[pic].gif" />
<!--
EOT;
}print <<<EOT
-->
                                </td>
<!--
EOT;
}print <<<EOT
-->
                                <td>	<p>主题数：$foruminfo[topic]　　帖子数：$foruminfo[article]　　今日发帖： <span class="s3">$foruminfo[tpost]</span></p>
                                	<p>$foruminfo[descrip]</p>
                                </td>
                            </tr>
                        </table>
<!--
EOT;
if($foruminfo[aid]){print <<<EOT
-->
						<h2 class="mt"><div>本版须知</div></h2>
                        <div class="ml mr">
                        	<div class="c"></div>
							
							<table width="100%" border="0" cellspacing="0" cellpadding="0">
								<tr><td>$foruminfo[content]<div align="right"><a class="gray" href="notice.php?fid=$foruminfo[fid]#$foruminfo[aid]">更多</a></div></td></tr>
							</table>
                            <div class="c"></div>
                        </div>
<!--
EOT;
}print <<<EOT
-->
						<div class="c"></div>
<!--
EOT;
if($thread_children && $forumdb){
print <<<EOT
-->
                        <h2><div>子版块</div></h2>
                        <div class="ml mr">
                        	<div class="c"></div>
<!--
EOT;
foreach($forumdb as $key=>$forums){print <<<EOT
-->
                            <ul class="fl">
                                <li><a href="thread.php?fid=$forums[fid]" class="b black">$forums[name]</a></li>
                                <li class="gray">$forums[descrip]</li>
                                <li>主题数：$forums[topics]　　帖子数：$forums[article]　　今日发帖：<span class="s3">$forums[tpost]</span></li>
								<li>最新回复：<a href="$forums[ft]" class="nw" title="$forums[newtitle]">$forums[t]</a> <span class="blue">$forums[au]</span></li>
                            </ul>
<!--
EOT;
}print <<<EOT
-->
                            <div class="c"></div>
                        </div>
<!--
EOT;
}print <<<EOT
-->
                        <div class="c"></div>
                    </div>
				</div>
			</div>
			<div class="y-bg3"></div>
			<div class="y-bg2"></div>
			<div class="y-bg"></div>
			<div class="c mt"></div>
			<div class="y-bg"></div>
			<div class="y-bg2"></div>
			<div class="y-bg3"></div>
			<div class="y-bg4">
            	<div class="thread">
                    <ul class="t-list">
<!--
EOT;
foreach($t_typedb as $key=>$value){
if($value){
print <<<EOT
-->
						<li id="thread_type_$key"><a href="thread.php?fid=$fid&type=$key#c">{$value}</a></li>
<!--
EOT;
}}print<<<EOT
-->
                    </ul>
                    <div class="c"></div>
                    <div class="t-post">
                    	<div class="c"></div>
<!--
EOT;
if($N_allowtypeopen){print <<<EOT
-->
							<a href="post.php?fid=$fid" class="post" id="td_post">发贴</a>
							<div id="menu_post" class="menu menu-post cc f14 tac" style="display:none;">
								<div class="menu-b" style="width:67px;">
<!--
EOT;
if($foruminfo['allowtype'] & 1){print <<<EOT
-->
									<a href="post.php?fid=$fid">新  帖</a>
<!--
EOT;
}if($foruminfo['allowtype'] & 2 && $_G[allownewvote]){print <<<EOT
-->
									<a href="post.php?fid=$fid&special=1">投  票</a>
<!--
EOT;
}if($foruminfo['allowtype'] & 4 && $_G[allowactive]){print <<<EOT
-->
									<a href="post.php?fid=$fid&special=2">活  动</a>
<!--
EOT;
}if($foruminfo['allowtype'] & 8 && $_G['allowreward']){print<<<EOT
-->
									<a href="post.php?fid=$fid&special=3">悬  赏</a>
<!--
EOT;
}if($foruminfo['allowtype'] & 16 && $_G['allowgoods']){print <<<EOT
-->
									<a href="post.php?fid=$fid&special=4">商  品</a>
<!--
EOT;
}if($foruminfo['allowtype'] & 32 && $_G['allowdebate']){print <<<EOT
-->
									<a href="post.php?fid=$fid&special=5">辩  论</a>
<!--
EOT;
}print <<<EOT
-->
								</div>
							</div>
<!--
EOT;
}print <<<EOT
-->
                        <span class="fl">
                            $pages
                            <div class="c"></div>
                        </span>
                        <div class="c"></div>
                    </div>
                    <div class="c"></div>
                    <div class="thread-t">
                    	<table cellpadding="0" cellspacing="0" width="100%" id="ajaxtable">
                        	<tr>
                            	<td colspan="5" class="t-h">按类型查看：<a href="thread.php?fid=$fid#c" id="thread_type_all">全部</a>
								<span id="t_typedb">
								<a href="thread.php?fid=$fid&search=digest#c" id="thread_type_digest">精华</a>
<!--
EOT;
if($groupid!='guest' && $foruminfo['f_check']){print <<<EOT
-->
								<a href="thread.php?fid=$fid&search=check#c" id="thread_type_check">未验证主题</a>
<!--
EOT;
}print <<<EOT
-->								
								</span>
								<a href="thread.php?fid=$fid&special=0">新  帖</a>
								<a href="thread.php?fid=$fid&special=1">投  票</a>
								<a href="thread.php?fid=$fid&special=2">活  动</a>
								<a href="thread.php?fid=$fid&special=3">悬  赏</a>
								<a href="thread.php?fid=$fid&special=4">商  品</a>
								<a href="thread.php?fid=$fid&special=5">辩  论</a>

								</td>
                            </tr>
							$trd_adminhide
                        	<tr class="one">
								<td width="40" class="tac">状态</td>
                            	<td class="tac">文章</td>
                                <td style="width:100px;">作者</td>
                                <td class="tac" style="width:100px;">回复/人气</td>
                                <td style="width:100px;">最后发表</td>
                            </tr>
							<tbody>
<!--
EOT;
if($page==1 && $ifsort){
if($NT_A){print <<<EOT
-->
								<tr class="two">
									<td class="tac t-logo"><img src="$imgpath/$stylepath/thread/anc.gif" /></td>
									<td class="t-text">论坛公告: <a href="$NT_A[url]" target="_blank">$NT_A[subject]</a></td>
									<td class="f10"><a href="u.php?action=show&username=$NT_A[rawauthor]" target="_blank" class="blue">$NT_A[author]</a></td>
									<td class="tac f10 gray"><span class="black"></span></td>
									<td class="f10"><a href="#" class="blue" target="_blank"><!--#echo get_date($NT_A[startdate],'m-d H:i');#--></a></td>
								</tr>
<!--
EOT;
}if($NT_C){print <<<EOT
-->		
								<tr class="two">
									<td class="tac t-logo"><img src="$imgpath/$stylepath/thread/anc.gif" /></td>
									<td class="t-text">分类公告: <a href="$NT_C[url]" target="_blank">$NT_C[subject]</a></td>
									<td class="f10"><a href="u.php?action=show&username=$NT_C[rawauthor]" target="_blank" class="blue">$NT_C[author]</a></td>
									<td class="tac f10 gray"></td>
									<td class="f10"><a href="#" class="blue" target="_blank"><!--#echo get_date($NT_C[startdate],'m-d H:i');#--></a></td>
								</tr>
<!--
EOT;
}}
$tpc_topped=0;
foreach($threaddb as $key => $thread){
$forumset['cutnums'] && $thread['subject'] = substrs($thread['subject'],$forumset['cutnums']);
$thread['postdate'] = get_date($thread['postdate'],'Y-m-d');
$thread['lstptime'] = get_date($thread['lastpost'],'m-d H:i');
if($page==1 && $ifsort && $thread[topped]==0 && $tpc_topped==0){
$tpc_topped=1;
print <<<EOT
-->
							</tbody><tbody>
								<tr class="bgC">
									<td colspan="5" class="tac tree">普通主题</td>
								</tr>
							</tbody><tbody>
<!--
EOT;
}print <<<EOT
-->
								<tr class="two">
									<td class="tac t-logo"><a title="打开新窗口" href="$thread[tpcurl]" target="_blank">$thread[status]</a></td>
                            		<td class="t-text" id="td_$thread[tid]">
<!--
EOT;
if($thread[digest]){print <<<EOT
-->
									<img class="fr" src="$imgpath/$stylepath/file/digest_$thread[digest].gif" align="absmiddle" style="margin-top:4px;" title="精华帖标志" />
<!--
EOT;
}print <<<EOT
-->
$thread[adminbox]
<!--
EOT;
if($thread[topped]){print <<<EOT
-->
									<img src="$imgpath/$stylepath/file/headtopic_$thread[topped].gif" title="置顶帖标志" align="absmiddle" />
<!--
EOT;
}if($thread[toolinfo]){print <<<EOT
-->
									<span class="s2">[$thread[toolinfo]]</span>
<!--
EOT;
}print <<<EOT
-->
$thread[useriocn]
<!--
EOT;
if($forumset['addtpctype'] && $t_typedb[$thread['type']] && $thread['fid']==$fid){print <<<EOT
-->
									<a href="thread.php?fid=$fid&type=$thread[type]" target="_blank"><span class="gray">[{$t_typedb[$thread[type]]}]</span></a>
<!--
EOT;
}if($thread['state'] == 0 && $thread['rewcredit'] > 0){print <<<EOT
-->
									<span class="s0"> &#8212; 悬赏金额：$thread[rewcredit] &#8212; </span>
<!--
EOT;
}print <<<EOT
-->
									<a href="$thread[tpcurl]" id="a_ajax_$thread[tid]">$thread[subject]</a> $thread[ifmark] $thread[titleadd]
<!--
EOT;
if($timestamp-$thread[lastpost]<=$db_newtime){print <<<EOT
-->
									<img src="$imgpath/$stylepath/file/new.gif" align="absmiddle" title="新帖标志" />
<!--
EOT;
}if($forumset['inspect'] && $thread['inspect']){print <<<EOT
-->
									<span class="nw"><font color="red">[{$thread[inspect][1]} 阅至 {$thread[inspect][0]}楼]</font></span>
<!--
EOT;
}if($thread[ispage]){print <<<EOT
-->
									<span class="tpage nw blue f10">$thread[ispage]</span>
<!--
EOT;
}print <<<EOT
-->
									</td>
									<td class="f10"><a href="u.php?action=show&uid=$thread[authorid]" class="blue">$thread[author]</a><br />$thread[postdate]</td>
									<td class="tac f10 gray"><span class="black">$thread[replies]</span> / $thread[hits]</td>
									<td class="f10"><a href="read.php?tid=$thread[tid]&page=e&fpage=$page#a" class="black">$thread[lstptime]</a><br />$thread[lastposter]</td>
								</tr>
<!--
EOT;
}print <<<EOT
-->
							</tbody>
                        </table>
                    </div>
                    <div class="c"></div>
<!--
EOT;
if($managecheck){print <<<EOT
-->
                    <div class="tac mt huang black" style="padding:8px 0;margin-bottom:8px;">
                        <div>
                           管理选项:
<!--
EOT;
if($foruminfo['f_check'] && $search=='check' && ($isGM || $pwSystem['tpccheck'])){print <<<EOT
-->
							<input name="action" type="radio" value="check" />验证主题
<!--
EOT;
}if($isGM || $pwSystem[topped]){print <<<EOT
-->
							<input name="action" type="radio" value="headtopic" />置顶
<!--
EOT;
}if($isGM || $pwSystem[typeadmin]){print <<<EOT
-->
							<input name="action" type="radio" value="digest" />精华
							<input name="action" type="radio" value="lock" />锁定
							<input name="action" type="radio" value="edit" />加亮
							<input name="action" type="radio" value="pushtopic" />提前
							<input name="action" type="radio" value="downtopic" />压帖
<!--
EOT;
}if($isGM || $pwSystem[tpccheck]){print <<<EOT
-->
							<input name="action" type="radio" value="type" />主题分类
<!--
EOT;
}if($isGM || $pwSystem[moveatc]){print <<<EOT
-->
							<input name="action" type="radio" value="move" />移动
<!--
EOT;
}if($isGM || $pwSystem[copyatc]){print <<<EOT
-->
							<input name="action" type="radio" value="copy" />复制
<!--
EOT;
}if($isGM || $pwSystem[unite]){print <<<EOT
-->
							<input name="action" type="radio" value="unite" />合并
<!--
EOT;
}if($isGM || $pwSystem[delatc]){print <<<EOT
-->
							<input name="action" type="radio" value="del" checked />删除
<!--
EOT;
}print <<<EOT
-->
                        </div>
                        <div class="mt">
							<input class="menu-btn" type="button" name="chkall" value="全 选" onclick="CheckAll(this.form)" /><input class="menu-btn" type="button" name="hello" value="提 交" onclick="this.form.submit();" />
                        </div>
                    </div>
					</form>
<!--
EOT;
}print <<<EOT
-->
                    <div class="t-post">
                    	<div class="c"></div>
<!--
EOT;
if($foruminfo['allowtype']){print <<<EOT
-->
						<a href="post.php?fid=$fid" class="post" id="td_post1">发贴</a>
<!--
EOT;
}print <<<EOT
-->
                        <span class="fl">
                            <div class="mr">$pages</div>  
                            <div class="c"></div>
                        </span>
                        <div class="c"></div>
                    </div>
                    <div class="t-post">
                    	<span class="fr">
<!--
EOT;
if($winduid){print <<<EOT
-->
							<form name="jump" method="post">
								<a class="manag hui" href="javascript:;" onclick="sendmsg('pw_ajax.php?action=readlog','',this.id);" id="readlog"><span>帖子浏览记录</span></a>
								<a class="manag hui" href="javascript:;" id="threadlog" onclick="sendmsg('pw_ajax.php','action=threadlog',this.id);"><span>版块浏览记录</span></a>
							</form>
<!--
EOT;
}print <<<EOT
-->
                        </span>

						<form action="thread.php?fid=$fid&page=$page" method="post">
						<select name="search" style="margin-top:4px;">
							<option value="1">1天内的主题</option>
							<option value="digest">本版精华区</option>
							<option value="1">1天内的主题</option>
							<option value="2">2天内的主题</option>
							<option value="7">1星期内的主题</option>
							<option value="30">1个月内的主题</option>
							<option value="60">2个月内的主题</option>
							<option value="90">3个月内的主题</option>
							<option value="180">6个月内的主题</option>
							<option value="365">1年内的主题</option>
						</select>
<!--
EOT;
if($_G[alloworder]){print <<<EOT
-->
						<select name="orderway">
							<option value="lastpost" $ordersel[lastpost]>最后发表</option>
							<option value="postdate" $ordersel[postdate]>发表时间</option>
							<option value="hits" $ordersel[hits]>人气</option>
							<option value="replies" $ordersel[replies]>回复</option>
						</select>
						<select name="asc">
							<option value="ASC" $ascsel[ASC]>升序</option>
							<option value="DESC" $ascsel[DESC]>降序</option>
						</select>
<!--
EOT;
}print <<<EOT
-->
						<input class="btn" type="button" value="提 交" onclick="this.form.submit();">
						</form>

                        <div class="c"></div>
                    </div>
                    <div class="c"></div>
                </div>
            </div>
		<div class="y-bg3"></div>
        <div class="y-bg2"></div>
        <div class="y-bg"></div>
        </div>
    <div class="c"></div>
    </div>
    <div class="c"></div>
</div>
<!--
EOT;
$db_threadonline==1 && require_once PrintEot('thread_online');
$fastpost && require_once PrintEot($fastpost);
print <<<EOT
-->
<script language="JavaScript">
var ifcheck = true;
var fid = '$fid';
var forumtitle = "$forumname";
var imgok = "threadok";
var imgno = "threadno";
var myshortcut = "$myshortcut";
function CheckAll(form){
	for(var i=0;i<form.elements.length-12;i++){
		var e = form.elements[i];
		if(e.type=='checkbox') e.checked = ifcheck;
	}
	ifcheck = ifcheck == true ? false : true;
}
function Fjump(value){
	if(value!=''){
		window.location=('$B_url/thread.php?fid='+value);
	}
}
function Ajump(value){
	if(value!= ''){
		window.location=('$B_url/u.php?action=show&username='+value);
	}
}
var totalpage = parseInt('$totalpage');
var page = parseInt('$page');
if(totalpage > 1){
	document.onkeydown=function(e){
		var e = is_ie ? window.event : e;
		var tagname = is_ie ? e.srcElement.tagName : e.target.tagName;
		if(tagname == 'INPUT' || tagname == 'TEXTAREA'){
			return;
		}
		actualCode = e.keyCode ? e.keyCode : e.charCode;
		if(actualCode == 39 && page<totalpage) {
			window.location = 'thread.php?fid=$fid&search={$search}&{$w_add}{$typeadd}page=' + (page+1);
		}
		if(actualCode == 37 && page>1){
			window.location = 'thread.php?fid=$fid&search={$search}&{$w_add}{$typeadd}page=' + (page-1);
		}
	}
}

function shortCut() {
	ajax.send('pw_ajax.php?action=shortcut&fid='+fid,'',function(){
		ajax.guide();
		var rText = ajax.request.responseText.split('\t');
		if (typeof(rText[1]) != 'undefined' && rText[1] == 'successok') {
			getObj('shortcut').innerHTML = "<a style=\"cursor:pointer;\" onclick=\"javascript:shortCut();\" title=\"将本版块移除出快捷版块\" class=\"fl aimg t-ok\"></a>";
			var shortcutforum = getObj('shortcutforum');
			if (myshortcut == false) {
				var shortcutname = getObj('shortcutname');
				shortcutname.innerHTML = "收藏的版块:&nbsp;";
				shortcutforum.innerHTML = "<li id=\"scf_"+fid+"\"><a href=\"thread.php?fid="+fid+"\">"+forumtitle+"</a>&nbsp;</li>";
			} else {
				if (IsElement('shortcutforum')) {
					var li = document.createElement('li');
					li.id = 'scf_'+fid;
					li.innerHTML = "<a href=\"thread.php?fid='+fid+'\">"+forumtitle+"</a>&nbsp;";
					shortcutforum.appendChild(li);
				}
			}

		} else if (typeof(rText[1]) != 'undefined' && rText[1] == 'successno') {
			getObj('shortcut').innerHTML = "<a style=\"cursor:pointer;\" onclick=\"javascript:shortCut();\" title=\"将本版块添加到快捷版块\" class=\"fl aimg t-no\"></a>";
			if (IsElement('scf_'+fid)) {
				var thisnode = getObj('scf_'+fid);
				var shortcutforum = thisnode.parentNode;
				shortcutforum.removeChild(thisnode);
				var li = shortcutforum.childNodes;
				for (var i=0; i<li.length; i++) {
					if (li[i].nodeType == 1) {
						return false;
					}
				}
				myshortcut = false;
				var shortcutname = getObj('shortcutname');
				shortcutname.innerHTML = "热门版块:&nbsp;";
				shortcutforum.innerHTML = getObj('db_shortcutforum').innerHTML;
			}
		}

	});
}
</script>
<script language="JavaScript" src="js/Deploy.js"></script>
<!--
EOT;
if($ajaxcheck){print <<<EOT
-->
<script type="text/javascript" language="JavaScript" src="js/ajax_subject.js"></script>
<!--
EOT;
}?>-->