<?php echo '恩斯道商业模板保护！请到官网上购买正版模板  www.eisdl.com';exit;?>
<!--{subtemplate common/header}-->

<!--{if $_G['forum']['ismoderator']}-->
	<script type="text/javascript" src="{$_G[setting][jspath]}forum_moderate.js?{VERHASH}"></script>
<!--{/if}-->
<style id="diy_style" type="text/css"></style>
<div id="pt" class="bm cl">
	<div class="z">
		<a href="./" class="nvhm" title="{lang homepage}">$_G[setting][bbname]</a><em>&raquo;</em><a href="forum.php"{if $_G['setting']['forumjump']} id="fjump" onmouseover="delayShow(this, 'showForummenu($_G[fid])');" class="showmenu" {/if}>{$_G[setting][navs][2][navname]}</a>$navigation
	</div>
</div>
<!--{if $subforumonly}-->
<!--[diy=eis_subforumonly]--><div id="eis_subforumonly" class="area"></div><!--[/diy]-->
<!--{if $subexists }-->
<!--{template forum/forumdisplay_subforum}-->
<!--{/if}-->
<!--{elseif !empty($_G['forum']['picstyle'])}-->
<!--{template forum/forumdisplay_pic}-->
<!--{else}-->

<!--[diy=diy1]--><div id="diy1" class="area"></div><!--[/diy]-->
<div class="eis_forum {if $_G['forum']['allowside']}eis_fct2{/if}">
  <div class="eis_forum_arae cl">
    <div class="eis_forum_r">
      <!--[diy=diy5]--><div id="diy5" class="area"></div><!--[/diy]-->
      <!--顶部统计-->
      <!--{template forum/forum_top}-->
			<!--[diy=diy4]--><div id="diy4" class="area"></div><!--[/diy]-->
      <!--帖子筛选-->
      <!--{template forum/forum_tb}-->
      <div class="eis_tplr">
      <!--{if $_EIS}-->
      <!--分类信息-->
      <!--{if $quicksearchlist && !$_GET['archiveid']}-->
      <!--{subtemplate forum/search_sortoption}-->
      <!--{/if}-->
      <!--帖子列表-->
			<!--{if empty($_G['forum']['sortmode'])}-->
      <!--{if $_EIS['default']==1}-->
      <!--{subtemplate forum/forumdisplay_default}-->
      <!--{else}-->
      <!--{subtemplate forum/forumdisplay_list}-->
      <!--{/if}-->      
			<!--{else}-->
			<!--{subtemplate forum/forumdisplay_sort}-->
			<!--{/if}-->
      <!--{/if}-->
      </div>
      </div><!--thread_b--></div><!--thread_c-->
      <!--{if $_EIS}-->
      <div class="pgs ptm pbm cl">
        <span id="fd_page_bottom">$multipage</span>
        <span {if $_G[setting][visitedforums]}id="visitedforumstmp" onmouseover="$('visitedforums').id = 'visitedforumstmp';this.id = 'visitedforums';showMenu({'ctrlid':this.id,'pos':'21'})"{/if} class="pgb y"><a href="forum.php">{lang return_index}</a></span>
        <!--{if !$_GET['archiveid']}--><a href="javascript:;" id="newspecialtmp" onmouseover="$('newspecial').id = 'newspecialtmp';this.id = 'newspecial';showMenu({'ctrlid':this.id})"{if !$_G['forum']['allowspecialonly'] && empty($_G['forum']['picstyle']) && !$_G['forum']['threadsorts']['required']} onclick="showWindow('newthread', 'forum.php?mod=post&action=newthread&fid=$_G[fid]')"{else} onclick="location.href='forum.php?mod=post&action=newthread&fid=$_G[fid]';return false;"{/if} title="{lang send_posts}"><img src="{STYLEIMGDIR}/forum/pn_post.gif" alt="{lang send_posts}" /></a><!--{/if}-->
        <!--{hook/forumdisplay_postbutton_bottom}-->
      </div>
			<!--[diy=diyfastposttop]--><div id="diyfastposttop" class="area"></div><!--[/diy]-->
			<!--{if $fastpost}-->
				<!--{template forum/forumdisplay_fastpost}-->
			<!--{/if}-->

			<!--{hook/forumdisplay_bottom}-->
			<!--[diy=diyforumdisplaybottom]--><div id="diyforumdisplaybottom" class="area"></div><!--[/diy]-->
      <!--{/if}-->
      
    </div>
    <!--{if $_G['forum']['allowside']}-->
    <div class="eis_forum_l">
      <h2><a href="forum.php?mod=forumdisplay&fid=$_G[fid]">$_G['forum'][name]</a></h2>
      <!--{eval $fup = $_G['forum']['fup']}-->
      <!--{eval $forums=array();$query=DB::query("SELECT * FROM ".DB::table('forum_forum')." WHERE `fup` = $fup AND `status` >=1 ORDER BY displayorder ASC");while($item=DB::fetch($query))$forums[]=$item;}-->
      <!--{eval $fnum=count($forums);}-->
      <ul class="eis_lf">
        <!--{eval $i=1}-->
        <!--{loop $forums $lf}-->
        <li {if $i==1}class="first"{elseif $i==$fnum}class="end"{/if}><a href="forum.php?mod=forumdisplay&fid=$lf[fid]" {if $lf['fid']==$_G['forum']['fid']}class="xi1"{/if}>$lf['name']</a><span>($lf['posts'])</span></li>
        <!--{eval $i++}-->
        <!--{/loop}-->
      </ul>
      <!--{hook/forumdisplay_side_top}-->
      <!--{subtemplate forum/recommend}-->
			<!--[diy=diy2]--><div id="diy2" class="area"></div><!--[/diy]-->
			<!--{hook/forumdisplay_side_bottom}-->
    </div>
    <!--{/if}-->
  </div>
</div>









<!--{/if}-->
<!--{if $_G['group']['allowpost'] && ($_G['group']['allowposttrade'] || $_G['group']['allowpostpoll'] || $_G['group']['allowpostreward'] || $_G['group']['allowpostactivity'] || $_G['group']['allowpostdebate'] || $_G['setting']['threadplugins'] || $_G['forum']['threadsorts'])}-->
	<ul class="p_pop" id="newspecial_menu" style="display: none">
		<!--{if !$_G['forum']['allowspecialonly']}--><li><a href="forum.php?mod=post&action=newthread&fid=$_G[fid]">{lang post_newthread}</a></li><!--{/if}-->
		<!--{if $_G['forum']['threadsorts'] && !$_G['forum']['allowspecialonly']}-->
			<!--{loop $_G['forum']['threadsorts']['types'] $id $threadsorts}-->
				<!--{if $_G['forum']['threadsorts']['show'][$id]}-->
					<li class="popupmenu_option"><a href="forum.php?mod=post&action=newthread&fid=$_G[fid]&extra=$extra&sortid=$id">$threadsorts</a></li>
				<!--{/if}-->
			<!--{/loop}-->
		<!--{/if}-->
		<!--{if $_G['group']['allowpostpoll']}--><li class="poll"><a href="forum.php?mod=post&action=newthread&fid=$_G[fid]&special=1">{lang post_newthreadpoll}</a></li><!--{/if}-->
		<!--{if $_G['group']['allowpostreward']}--><li class="reward"><a href="forum.php?mod=post&action=newthread&fid=$_G[fid]&special=3">{lang post_newthreadreward}</a></li><!--{/if}-->
		<!--{if $_G['group']['allowpostdebate']}--><li class="debate"><a href="forum.php?mod=post&action=newthread&fid=$_G[fid]&special=5">{lang post_newthreaddebate}</a></li><!--{/if}-->
		<!--{if $_G['group']['allowpostactivity']}--><li class="activity"><a href="forum.php?mod=post&action=newthread&fid=$_G[fid]&special=4">{lang post_newthreadactivity}</a></li><!--{/if}-->
		<!--{if $_G['group']['allowposttrade']}--><li class="trade"><a href="forum.php?mod=post&action=newthread&fid=$_G[fid]&special=2">{lang post_newthreadtrade}</a></li><!--{/if}-->
		<!--{if $_G['setting']['threadplugins']}-->
			<!--{loop $_G['forum']['threadplugin'] $tpid}-->
				<!--{if array_key_exists($tpid, $_G['setting']['threadplugins']) && @in_array($tpid, $_G['group']['allowthreadplugin'])}-->
					<li class="popupmenu_option"{if $_G['setting']['threadplugins'][$tpid][icon]} style="background-image:url(source/plugin/$tpid/$_G[setting][threadplugins][$tpid][icon])"{/if}><a href="forum.php?mod=post&action=newthread&fid=$_G[fid]&specialextra=$tpid">{$_G[setting][threadplugins][$tpid][name]}</a></li>
				<!--{/if}-->
			<!--{/loop}-->
		<!--{/if}-->
	</ul>
<!--{/if}-->

<!--{if $_G['setting']['visitedforums'] && $_G['forum']['status'] != 3}-->
	<div id="visitedforums_menu" class="p_pop blk cl" style="display: none;">
		<table cellspacing="0" cellpadding="0">
			<tr>
				<td id="v_forums">
					<h3 class="mbn pbn bbda xg1">{lang viewed_forums}</h3>
					<ul class="xl xl1">
						$_G['setting']['visitedforums']
					</ul>
				</td>
			</tr>
		</table>
	</div>
<!--{/if}-->
<!--{if $_G['setting']['threadmaxpages'] > 1 && $page && !$subforumonly}-->
	<script type="text/javascript">document.onkeyup = function(e){keyPageScroll(e, <!--{if $page > 1}-->1<!--{else}-->0<!--{/if}-->, <!--{if $page < $_G['setting']['threadmaxpages'] && $page < $_G['page_next']}-->1<!--{else}-->0<!--{/if}-->, 'forum.php?mod=forumdisplay&fid={$_G[fid]}&filter={$filter}&orderby={$_GET[orderby]}{$forumdisplayadd[page]}&{$multipage_archive}', $page);}</script>
<!--{/if}-->

<!--{if empty($_G['forum']['picstyle']) && $_GET['orderby'] == 'lastpost' && empty($_GET['filter']) }-->
	<script type="text/javascript">checkForumnew_handle = setTimeout(function () {checkForumnew($_G[fid], lasttime);}, checkForumtimeout);</script>
<!--{/if}-->

<div class="wp mtn">
	<!--[diy=diy3]--><div id="diy3" class="area"></div><!--[/diy]-->
</div>
<!--{subtemplate common/footer}-->