403Webshell
Server IP : 156.238.232.47  /  Your IP : 216.73.216.150
Web Server : nginx/1.25.3
System : Linux C202504152095410 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64
User : www ( 1000)
PHP Version : 8.3.25
Disable Function : passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /www/data/wwwroot/2026_06_02_05/data/template/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /www/data/wwwroot/2026_06_02_05/data/template/3_diy_forum_forumdisplay.tpl.php
<?php if(!defined('IN_DISCUZ')) exit('Access Denied'); hookscriptoutput('forumdisplay');
0
|| checktplrefresh('/www/data/wwwroot/2026_06_02_05/data/diy/./template/dingzhi_2024_cnbl//forum/forumdisplay.htm', '/www/data/wwwroot/2026_06_02_05/./template/dingzhi_2024_cnbl/forum/forumdisplay_leftside.htm', 1783133052, 'diy', './template/3_diy_forum_forumdisplay.tpl.php', 'data/diy/./template/dingzhi_2024_cnbl/', 'forum/forumdisplay')
|| checktplrefresh('/www/data/wwwroot/2026_06_02_05/data/diy/./template/dingzhi_2024_cnbl//forum/forumdisplay.htm', '/www/data/wwwroot/2026_06_02_05/./template/dingzhi_2024_cnbl/forum/recommend.php', 1783133052, 'diy', './template/3_diy_forum_forumdisplay.tpl.php', 'data/diy/./template/dingzhi_2024_cnbl/', 'forum/forumdisplay')
|| checktplrefresh('/www/data/wwwroot/2026_06_02_05/data/diy/./template/dingzhi_2024_cnbl//forum/forumdisplay.htm', '/www/data/wwwroot/2026_06_02_05/./template/dingzhi_2024_cnbl/common/seccheck.htm', 1783133052, 'diy', './template/3_diy_forum_forumdisplay.tpl.php', 'data/diy/./template/dingzhi_2024_cnbl/', 'forum/forumdisplay')
|| checktplrefresh('/www/data/wwwroot/2026_06_02_05/data/diy/./template/dingzhi_2024_cnbl//forum/forumdisplay.htm', '/www/data/wwwroot/2026_06_02_05/./template/dingzhi_2024_cnbl/forum/forumdisplay_list.htm', 1783133052, 'diy', './template/3_diy_forum_forumdisplay.tpl.php', 'data/diy/./template/dingzhi_2024_cnbl/', 'forum/forumdisplay')
|| checktplrefresh('/www/data/wwwroot/2026_06_02_05/data/diy/./template/dingzhi_2024_cnbl//forum/forumdisplay.htm', '/www/data/wwwroot/2026_06_02_05/./template/default/forum/forumdisplay_sort.php', 1783133052, 'diy', './template/3_diy_forum_forumdisplay.tpl.php', 'data/diy/./template/dingzhi_2024_cnbl/', 'forum/forumdisplay')
|| checktplrefresh('/www/data/wwwroot/2026_06_02_05/data/diy/./template/dingzhi_2024_cnbl//forum/forumdisplay.htm', '/www/data/wwwroot/2026_06_02_05/./template/dingzhi_2024_cnbl/forum/search_sortoption.htm', 1783133052, 'diy', './template/3_diy_forum_forumdisplay.tpl.php', 'data/diy/./template/dingzhi_2024_cnbl/', 'forum/forumdisplay')
|| checktplrefresh('/www/data/wwwroot/2026_06_02_05/data/diy/./template/dingzhi_2024_cnbl//forum/forumdisplay.htm', '/www/data/wwwroot/2026_06_02_05/./template/dingzhi_2024_cnbl/forum/search_sortoption.htm', 1783133052, 'diy', './template/3_diy_forum_forumdisplay.tpl.php', 'data/diy/./template/dingzhi_2024_cnbl/', 'forum/forumdisplay')
;
block_get('21,20,18,19');if(defined('IN_RESTFUL')) {$GLOBALS['_L'] = get_defined_vars();exit;}?><?php include template('common/header'); if($_G['forum']['ismoderator']) { ?>
<script src="<?php echo $_G['setting']['jspath'];?>forum_moderate.js?<?php echo VERHASH;?>" type="text/javascript"></script>
<?php } ?>
<link rel="stylesheet" type="text/css" id="time_diy" href="template/dingzhi_2024_cnbl/dingzhi/css/portal.css?<?php echo VERHASH;?>" />
<link rel="stylesheet" type="text/css" id="time_diy" href="template/dingzhi_2024_cnbl/dingzhi/css/font_3860064_d92w4zcuegc.css?<?php echo VERHASH;?>" />
<style id="diy_style" type="text/css"></style>

<style type="text/css">
.avatar1 img { width: 36px; height: 36px; border-radius: 50%; float: left; margin-top: -5px}
#forumnewshow { display: none !important}
.flow1 { width: 175px}
.divide {
    height: 1px;
    border-bottom: 1px solid #e9ecef;
}
img, svg { vertical-align: middle}
.vote_tip {
    font-size: 12px;
    color: #ff931f;
    border: solid 1px #ff931f;
    border-radius: 4px;
    padding: 0 4px;
    position: relative;
    top: -2px;
display: none
}
.vote_tip i { display: inline-block}
.vote_tip svg { float: left; vertical-align: top; margin-top: 1px}
.flow { width: 270px}
.bdl { padding: 15px; border-radius: 5px; background: #FFFFFF; box-sizing: border-box}
#sd_bdl { margin: 0 !important}
.bdl dt { display: none}
.bdl dd { display: block !important}
.bm { background: none}
#separatorline { display: none}
.f_box, .f_box a { color: #FFFFFF}
.showhide.y { display: none}
.forum_icon { width: 40px; height: 40px; border-radius: 50%}
.pipe { margin: 0 8px}
.banzhu { padding: 0 0 8px 0; color: #868e96}
.banzhu a { color: #868e96}
.tl th a:visited, .tl td.fn a:visited { color: #868e96}
.nav-pills .nav-link { height: 25px; line-height: 25px}
.avatar-2 { float: left; display: inline-block; width: 25px; height: 25px}
.forumList li:nth-child(1) .avatar-2 { background: url(template/dingzhi_2024_cnbl/icons/1.png) no-repeat center center; background-size: 25px 25px}
.forumList li:nth-child(2) .avatar-2 { background: url(template/dingzhi_2024_cnbl/icons/2.png) no-repeat center center; background-size: 25px 25px}
.forumList li:nth-child(3) .avatar-2 { background: url(template/dingzhi_2024_cnbl/icons/3.png) no-repeat center center; background-size: 25px 25px}
.forumList li:nth-child(4) .avatar-2 { background: url(template/dingzhi_2024_cnbl/icons/4.png) no-repeat center center; background-size: 25px 25px}
.forumList li:nth-child(5) .avatar-2 { background: url(template/dingzhi_2024_cnbl/icons/5.png) no-repeat center center; background-size: 25px 25px}
.forumList li:nth-child(6) .avatar-2 { background: url(template/dingzhi_2024_cnbl/icons/6.png) no-repeat center center; background-size: 25px 25px}
.forumList li:nth-child(7) .avatar-2 { background: url(template/dingzhi_2024_cnbl/icons/7.png) no-repeat center center; background-size: 25px 25px}
.forumList li:nth-child(8) .avatar-2 { background: url(template/dingzhi_2024_cnbl/icons/8.png) no-repeat center center; background-size: 25px 25px}
.forumList li:nth-child(9) .avatar-2 { background: url(template/dingzhi_2024_cnbl/icons/9.png) no-repeat center center; background-size: 25px 25px}
.forumList li:nth-child(10) .avatar-2 { background: url(template/dingzhi_2024_cnbl/icons/1.png) no-repeat center center; background-size: 25px 25px}
.forumList li:nth-child(11) .avatar-2 { background: url(template/dingzhi_2024_cnbl/icons/2.png) no-repeat center center; background-size: 25px 25px}
.forumList li:nth-child(12) .avatar-2 { background: url(template/dingzhi_2024_cnbl/icons/3.png) no-repeat center center; background-size: 25px 25px}
.forumList li:nth-child(13) .avatar-2 { background: url(template/dingzhi_2024_cnbl/icons/4.png) no-repeat center center; background-size: 25px 25px}
.forumList li:nth-child(14) .avatar-2 { background: url(template/dingzhi_2024_cnbl/icons/5.png) no-repeat center center; background-size: 25px 25px}
.forumList li:nth-child(15) .avatar-2 { background: url(template/dingzhi_2024_cnbl/icons/6.png) no-repeat center center; background-size: 25px 25px}
.forumList li:nth-child(16) .avatar-2 { background: url(template/dingzhi_2024_cnbl/icons/7.png) no-repeat center center; background-size: 25px 25px}
.forumList li:nth-child(17) .avatar-2 { background: url(template/dingzhi_2024_cnbl/icons/8.png) no-repeat center center; background-size: 25px 25px}
.forumList li:nth-child(18) .avatar-2 { background: url(template/dingzhi_2024_cnbl/icons/9.png) no-repeat center center; background-size: 25px 25px}
@media (max-width: 800px) {
.section1xs { margin-top: 10px !important}
.mn { width: 100% !important; margin: 0 auto !important}
.sd { display: none}
.picBtnTop-wrap { margin: 15px 0 0 0 !important}
.rightbox { display: none}
.v2_dot { display: none}
.v2_cont-title em { display: none}
.qin-rt-icon { display: none}
.v2_cont { padding: 15px !important}
.v2_reply { right: 15px !important}
.thread_tit a.xst { line-height: 20px !important; font-size: 16px !important}
.list_au_info { padding-top: 5px !important}
.forum_icon { width: 40px; height: 40px}
.module_box1 { padding: 12px !important}
.tabx_cont { padding: 2px 0 12px 0 !important}
.icon_box1 { margin: 0 12px 0 0 !important}
.tl .icn { padding-left: 0}
#moderate .thread_tit { padding-right: 0}
.icon.fas { margin-top: 2px !important; margin-bottom: 10px !important}
.vote_tip, .shoujia { top: -1px !important}
.bdl_box { display: none}
}
@media (min-width: 9999px) {
.mn { width: 960px !important}
}
</style>

<!--[diy=diynavtop]--><div id="diynavtop" class="area"></div><!--[/diy]-->

<div id="pt" class="bm cl" style="display: none;">
<div class="z">
<a href="./" title="首页" class="nvhm">首页</a><em></em><a href="forum.php?mod=forumdisplay&amp;fid=<?php echo $_G['fid'];?>" style="color: #868e96 !important;"><?php echo $_G['forum']['name'];?></a>
</div>
</div>

</div>
</div>

<div class="section1x section1xs cl" style="padding-top: 15px;"><?php echo adshow("text/wp a_t");?><div class="wp">
<!--[diy=diy1]--><div id="diy1" class="area"></div><!--[/diy]-->
</div>

<div class="boardnav">
<div id="ct" class="wp cl">
         <div class="bdl_box cl" style="position: relative; float: left; width: 175px;">
         <div class="flow1">
<div id="sd_bdl" class="bdl" onmouseover="showMenu({'ctrlid':this.id, 'pos':'dz'});" style="float: none; width: 175px;">
<?php if(!empty($_G['setting']['pluginhooks']['forumdisplay_leftside_top'])) echo $_G['setting']['pluginhooks']['forumdisplay_leftside_top'];?>
<!--[diy=diyleftsidetop]--><div id="diyleftsidetop" class="area"></div><!--[/diy]--><div class="navs1 flex-column nav-pills" id="v-pills-tab" role="tablist" aria-orientation="vertical">
        <a class="nav-link<?php if($_GET['filter'] == 'lastpost' || $_GET['filter'] == 'heat' || $_GET['filter'] == 'digest' || $_GET['orderby'] == 'dateline') { } else { ?> active<?php } ?>" href="forum.php?mod=forumdisplay&amp;fid=<?php echo $_G['fid'];?><?php if($_GET['archiveid']) { ?>&amp;archiveid=<?php echo $_GET['archiveid'];?><?php } ?>">
          <i class="iconfont icon-faxian1 ml-1 mr-2 hidden-sm hidden-md"></i>
          最新</a>
     					<li class="nav-item">

<a class="nav-link nav-digest<?php if($_GET['filter'] == 'digest') { ?> active<?php } ?>" href="forum.php?mod=forumdisplay&amp;fid=<?php echo $_G['fid'];?>&amp;filter=digest&amp;digest=1<?php echo $forumdisplayadd['digest'];?><?php if($_GET['archiveid']) { ?>&amp;archiveid=<?php echo $_GET['archiveid'];?><?php } ?>">
<span class="hidden-sm hidden-md"><i class="iconfont icon-huiyuan1 ml-1 mr-2"></i></span>
精华</a>
</li>
                    <li class="nav-item">
<a class="nav-link nav-digest<?php if($_GET['filter'] == 'digest') { } else { if($_GET['orderby'] == 'dateline') { ?> active<?php } } ?>" href="forum.php?mod=forumdisplay&amp;fid=<?php echo $_G['fid'];?>&amp;filter=author&amp;orderby=dateline">
<span class="hidden-sm hidden-md"><i class="iconfont icon-shijian1 ml-1 mr-2 hidden-sm hidden-md"></i></span>
新帖</a>
</li>
      <div class="divide"></div>
     <div class="forumList">
           <?php if(isset($leftside['forums']) && is_array($leftside['forums'])) foreach($leftside['forums'] as $upfid => $gdata) { if($gdata['sub']) { if(isset($gdata['sub']) && is_array($gdata['sub'])) foreach($gdata['sub'] as $subfid => $name) { ?>    <li<?php if($_G['fid'] == $subfid || $_G['forum']['fup'] == $subfid) { ?> class="active"<?php } ?>>
    <?php if(!empty($_G['cache']['forums'][$subfid]['domain']) && !empty($_G['setting']['domain']['root']['forum'])) { ?>
<a class="nav-link<?php if($_G['fid'] == $subfid || $_G['forum']['fup'] == $subfid) { ?> active<?php } ?>" href="<?php echo $_G['scheme'];?>://<?php echo $_G['cache']['forums'][$subfid]['domain'];?>.<?php echo $_G['setting']['domain']['root']['forum'];?>"><em class="avatar-2 mr-2 rounded"></em><?php echo $name;?></a>
<?php } else { ?>
            <a class="nav-link<?php if($_G['fid'] == $subfid || $_G['forum']['fup'] == $subfid) { ?> active<?php } ?>" href="forum.php?mod=forumdisplay&amp;fid=<?php echo $subfid;?>"><em class="avatar-2 mr-2 rounded"></em><?php echo $name;?></a>
<?php } ?>
 
      </li>
<?php } } } ?>
      
          </div>
    </div><!--[diy=diyleftsidebottom]--><div id="diyleftsidebottom" class="area"></div><!--[/diy]-->
<?php if(!empty($_G['setting']['pluginhooks']['forumdisplay_leftside_bottom'])) echo $_G['setting']['pluginhooks']['forumdisplay_leftside_bottom'];?>
</div>
            <!--[diy=diy_left_tab_bottom]--><div id="diy_left_tab_bottom" class="area"><div id="frameADbZl9" class="frame move-span cl frame-1"><div id="frameADbZl9_left" class="column frame-1-c"><div id="frameADbZl9_left_temp" class="move-span temp"></div><?php block_display('21');?></div></div></div><!--[/diy]-->
            </div>
         </div>

<div class="mn" style="float: left; width: 645px; margin: 0 0 0 15px; overflow: visible;">
          <div class="module_box1 cl">
<div class="tabx_cont" style="padding: 12px 20px; border-bottom: 1px solid #EEEEEE; background: none; position: relative; z-index: 100; box-shadow: none; display: none;">
<div class="cl">
<div class="th" style="padding: 0; margin-bottom: 0; border: 0; background: none;">

<table cellspacing="0" cellpadding="0" style="width: 100%;">

<tr>

<th colspan="<?php if(!$_GET['archiveid'] && $_G['forum']['ismoderator']) { ?>3<?php } else { ?>2<?php } ?>" style="border-top: 0; margin: 0; padding: 0;">

<?php if(CURMODULE != 'guide') { ?>

<div class="tf">
<a id="filter_dateline" href="javascript:;" class="showmenu showmenu2 xi2<?php if($_GET['dateline']) { ?> xw1<?php } ?>" onclick="showMenu(this.id)" style="float: right; display: none;">更多排序</a>
<span id="atarget" <?php if($_G['cookie']['atarget'] > 0) { ?>onclick="setatarget(-1)" class="y atarget_1"<?php } else { ?>onclick="setatarget(1)" class="y"<?php } ?> title="在新窗口中打开帖子" style="margin-top: 5px; display: none;">新窗</span>

<?php if($_GET['specialtype'] == 'reward') { ?>

<a id="filter_reward" href="javascript:;" class="showmenu xi2<?php if($_GET['rewardtype']) { ?> xw1<?php } ?>" onclick="showMenu(this.id)"><?php if($_GET['rewardtype'] == '') { ?>全部悬赏<?php } elseif($_GET['rewardtype'] == '1') { ?>进行中<?php } elseif($_GET['rewardtype'] == '2') { ?>已解决<?php } ?></a>&nbsp;

<?php } ?>

<a href="forum.php?mod=forumdisplay&amp;fid=<?php echo $_G['fid'];?><?php if($_GET['archiveid']) { ?>&amp;archiveid=<?php echo $_GET['archiveid'];?><?php } ?>" class="dfsj_latest xi2<?php if($_GET['filter'] == 'lastpost' || $_GET['filter'] == 'heat' || $_GET['filter'] == 'digest') { } else { ?> xw1<?php } ?>" style="padding-left: 0; margin-right: 22px; background: none;">最新</a>

<a href="forum.php?mod=forumdisplay&amp;fid=<?php echo $_G['fid'];?>&amp;filter=digest&amp;digest=1<?php echo $forumdisplayadd['digest'];?><?php if($_GET['archiveid']) { ?>&amp;archiveid=<?php echo $_GET['archiveid'];?><?php } ?>" class="dfsj_digest xi2<?php if($_GET['filter'] == 'digest') { ?> xw1<?php } ?>" style="padding-left: 0; background: none;">精华</a>
            

<a id="filter_special" href="javascript:;" class="showmenu xi2<?php if($_GET['specialtype']) { ?> xw1<?php } ?>" onclick="showMenu(this.id)" style="display: none;"><?php if($_GET['specialtype'] == 'poll') { ?>投票<?php } elseif($_GET['specialtype'] == 'trade') { ?>商品<?php } elseif($_GET['specialtype'] == 'reward') { ?>悬赏<?php } elseif($_GET['specialtype'] == 'activity') { ?>活动<?php } elseif($_GET['specialtype'] == 'debate') { ?>辩论<?php } else { ?>全部主题<?php } ?></a>&nbsp;

                        <a id="th_type" href="javascript:;" class="showmenu xi2" onclick="showMenu(this.id)" style="display: none;">最新</a>

<?php if(empty($_G['forum']['picstyle']) && $_GET['orderby'] == 'lastpost' && (!$_G['setting']['forumseparator'] || !$separatepos) && !$_GET['filter']) { ?>

<a href="javascript:;" onclick="checkForumnew_btn('<?php echo $_G['fid'];?>')" title="查看更新" class="forumrefresh"></a>

<?php } if($_GET['filter'] == 'hot') { ?>

<script src="<?php echo $_G['setting']['jspath'];?>calendar.js?<?php echo VERHASH;?>" type="text/javascript"></script>

<span><?php echo $ctime;?></span>

<img src="<?php echo IMGDIR;?>/date_magnify.png" class="cur1" alt="" id="hottime" value="<?php echo $ctime;?>" fid="<?php echo $_G['fid'];?>" onclick="showcalendar(event, this, false, false, false, false, function(){viewhot(this);});" align="absmiddle" />

<?php } ?>

<span id="clearstickthread" style="display: none;">

<a href="javascript:;" onclick="clearStickThread()" class="xi2" title="显示置顶" style="margin-right: 22px; display: inline-block;">显示置顶</a>

</span>


</div>

<?php } else { ?>

标题

<?php } ?>

</th>

<?php if(empty($_G['forum']['picstyle'])) { if(CURMODULE == 'guide') { ?>

<td class="by" style="width: 0; border-top: 0;"></td>

<?php } ?>

<td class="by" style="width: 0; border-top: 0;"></td>

<td class="num" style="width: 0; border-top: 0;"></td>

<td class="by" style="width: 0; border-top: 0;"></td>

<?php } else { ?>

<td class="by" colspan="3" style="width: 70px; border-top: 0; padding-left: 12px; float: right; margin: 7px 0 0 0;">

<a<?php if(empty($_G['cookie']['forumdefstyle'])) { ?> href="forum.php?mod=forumdisplay&amp;fid=<?php echo $_G['fid'];?>&amp;forumdefstyle=yes" class="chked"<?php } else { ?> href="forum.php?mod=forumdisplay&amp;fid=<?php echo $_G['fid'];?>&amp;forumdefstyle=no" class="unchk"<?php } ?> title="图片模式浏览帖子">图片模式</a>

</td>

<?php } ?>

</tr>

</table>

</div>
</div>
</div>
            		<?php if(($_G['forum']['threadtypes'] && $_G['forum']['threadtypes']['listable']) || (isset($_G['forum']['threadsorts']['types']) && is_array($_G['forum']['threadsorts']['types']) && count($_G['forum']['threadsorts']['types']) > 0)) { ?>

<ul id="thread_types" class="ttp bm cl" style="padding: 25px 25px; margin: 0; border: 0 !important; box-sizing: border-box;">

<?php if(!empty($_G['setting']['pluginhooks']['forumdisplay_threadtype_inner'])) echo $_G['setting']['pluginhooks']['forumdisplay_threadtype_inner'];?>

<li id="ttp_all" <?php if(!$_GET['typeid'] && !$_GET['sortid']) { ?>class="xw1 a"<?php } ?> style="padding-left: 0; background: none;"><a href="forum.php?mod=forumdisplay&amp;fid=<?php echo $_G['fid'];?><?php if($_G['forum']['threadsorts']['defaultshow']) { ?>&amp;filter=sortall&amp;sortall=1<?php } if($_GET['archiveid']) { ?>&amp;archiveid=<?php echo $_GET['archiveid'];?><?php } ?>">全部</a></li>

<?php if($_G['forum']['threadtypes']) { if(isset($_G['forum']['threadtypes']['types']) && is_array($_G['forum']['threadtypes']['types'])) foreach($_G['forum']['threadtypes']['types'] as $id => $name) { if($_GET['typeid'] == $id) { ?>

<li class="xw1 a"><a href="forum.php?mod=forumdisplay&amp;fid=<?php echo $_G['fid'];?><?php if($_GET['sortid']) { ?>&amp;filter=sortid&amp;sortid=<?php echo $_GET['sortid'];?><?php } if($_GET['archiveid']) { ?>&amp;archiveid=<?php echo $_GET['archiveid'];?><?php } ?>"><?php if($_G['forum']['threadtypes']['icons'][$id] && $_G['forum']['threadtypes']['prefix'] == 2) { ?><img class="vm" src="<?php echo $_G['forum']['threadtypes']['icons'][$id];?>" alt="" /> <?php } ?><?php echo $name;?><?php if($showthreadclasscount['typeid'][$id]) { ?><span class="xg1 num"><?php echo $showthreadclasscount['typeid'][$id];?></span><?php } ?></a></li>

<?php } else { ?>

<li><a href="forum.php?mod=forumdisplay&amp;fid=<?php echo $_G['fid'];?>&amp;filter=typeid&amp;typeid=<?php echo $id;?><?php echo $forumdisplayadd['typeid'];?><?php if($_GET['archiveid']) { ?>&amp;archiveid=<?php echo $_GET['archiveid'];?><?php } ?>"><?php if($_G['forum']['threadtypes']['icons'][$id] && $_G['forum']['threadtypes']['prefix'] == 2) { ?><img class="vm" src="<?php echo $_G['forum']['threadtypes']['icons'][$id];?>" alt="" /> <?php } ?><?php echo $name;?><?php if($showthreadclasscount['typeid'][$id]) { ?><span class="xg1 num"><?php echo $showthreadclasscount['typeid'][$id];?></span><?php } ?></a></li>

<?php } } } if($_G['forum']['threadsorts']) { if($_G['forum']['threadtypes']) { ?><li><span class="pipe">|</span></li><?php } if(isset($_G['forum']['threadsorts']['types']) && is_array($_G['forum']['threadsorts']['types'])) foreach($_G['forum']['threadsorts']['types'] as $id => $name) { if($_GET['sortid'] == $id) { ?>

<li class="xw1 a"><a href="forum.php?mod=forumdisplay&amp;fid=<?php echo $_G['fid'];?><?php if($_GET['typeid']) { ?>&amp;filter=typeid&amp;typeid=<?php echo $_GET['typeid'];?><?php } if($_GET['archiveid']) { ?>&amp;archiveid=<?php echo $_GET['archiveid'];?><?php } ?>"><?php echo $name;?><?php if($showthreadclasscount['sortid'][$id]) { ?><span class="xg1 num"><?php echo $showthreadclasscount['sortid'][$id];?></span><?php } ?></a></li>

<?php } else { ?>

<li><a href="forum.php?mod=forumdisplay&amp;fid=<?php echo $_G['fid'];?>&amp;filter=sortid&amp;sortid=<?php echo $id;?><?php echo $forumdisplayadd['sortid'];?><?php if($_GET['archiveid']) { ?>&amp;archiveid=<?php echo $_GET['archiveid'];?><?php } ?>"><?php echo $name;?><?php if($showthreadclasscount['sortid'][$id]) { ?><span class="xg1 num"><?php echo $showthreadclasscount['sortid'][$id];?></span><?php } ?></a></li>

<?php } } } ?>

<?php if(!empty($_G['setting']['pluginhooks']['forumdisplay_filter_extra'])) echo $_G['setting']['pluginhooks']['forumdisplay_filter_extra'];?>

</ul>

<script type="text/javascript">showTypes('thread_types');</script>

<?php } ?>

            <?php if((!$simplestyle || !$_G['forum']['allowside'] && $page == 1) && !empty($announcement)) { ?>

            <div class="cl" style="padding: 15px; background: #FFFFFF;">

            <div style="font-size: 16px;" class="gonggao"><?php if(empty($announcement['type'])) { ?><a href="forum.php?mod=announcement&amp;id=<?php echo $announcement['id'];?>#<?php echo $announcement['id'];?>" target="_blank">公告:<?php echo $announcement['subject'];?></a><?php } else { ?><a href="<?php echo $announcement['message'];?>" target="_blank">公告:<?php echo $announcement['subject'];?></a><?php } ?></div>

            </div>

            <?php } ?>


<?php if(!empty($_G['setting']['pluginhooks']['forumdisplay_top'])) echo $_G['setting']['pluginhooks']['forumdisplay_top'];?>


<div class="drag">

<!--[diy=diy4]--><div id="diy4" class="area"></div><!--[/diy]-->

</div>



<?php if(!empty($_G['forum']['recommendlist'])) { ?>

<div class="bm bmw">

<div class="bm_h cl">

<h2>推荐主题</h2>

</div>

<div class="bm_c cl"><?php if($_G['forum']['recommendlist']['images'] && $_G['forum']['modrecommend']['imagenum']) { ?>
<div class="cl" style="width: <?php echo $_G['forum']['modrecommend']['imagewidth'];?>px; margin: 0 auto; float:left;">
<script type="text/javascript">
var slideSpeed = 5000;
var slideImgsize = [<?php echo $_G['forum']['modrecommend']['imagewidth'];?>,<?php echo $_G['forum']['modrecommend']['imageheight'];?>];
var slideBorderColor = '<?php echo $_G['style']['specialborder'];?>';
var slideBgColor = '<?php echo $_G['style']['commonbg'];?>';
var slideImgs = new Array();
var slideImgLinks = new Array();
var slideImgTexts = new Array();
var slideSwitchColor = '<?php echo $_G['style']['tabletext'];?>';
var slideSwitchbgColor = '<?php echo $_G['style']['commonbg'];?>';
var slideSwitchHiColor = '<?php echo $_G['style']['specialborder'];?>';<?php if(isset($_G['forum']['recommendlist']['images']) && is_array($_G['forum']['recommendlist']['images'])) foreach($_G['forum']['recommendlist']['images'] as $k => $imginfo) { ?>slideImgs[<?php echo $k+1; ?>] = '<?php echo $imginfo['filename'];?>';
slideImgLinks[<?php echo $k+1; ?>] = 'forum.php?mod=viewthread&tid=<?php echo $imginfo['tid'];?>';
slideImgTexts[<?php echo $k+1; ?>] = '<?php echo $imginfo['subject'];?>';
<?php } ?>
</script>
<script src="<?php echo $_G['setting']['jspath'];?>forum_slide.js?<?php echo VERHASH;?>" type="text/javascript"></script>
</div>
<?php } ?>
<div class="recommend cl"<?php if($_G['forum']['recommendlist']['images'] && $_G['forum']['modrecommend']['imagenum']) { ?> style="margin-left: <?php echo $_G['forum']['modrecommend']['imagewidth'];?>px; padding-left: 20px;"<?php } ?>><?php unset($_G['forum']['recommendlist']['images']);?><ul class="xl<?php if(!$_G['forum']['allowside']) { ?> xl2<?php } ?> cl"><?php if(isset($_G['forum']['recommendlist']) && is_array($_G['forum']['recommendlist'])) foreach($_G['forum']['recommendlist'] as $rtid => $recommend) { ?><li class="f14">
<a href="forum.php?mod=viewthread&amp;tid=<?php echo $rtid;?>" <?php echo $recommend['subjectstyles'];?> target="_blank"><?php echo $recommend['subject'];?></a>
</li>
<?php } ?>
</ul>
</div></div>

</div>

<?php } ?>



<?php if(!empty($_G['setting']['pluginhooks']['forumdisplay_middle'])) echo $_G['setting']['pluginhooks']['forumdisplay_middle'];?>



<?php if(!$subforumonly) { if($recommendgroups && !$_G['forum']['allowside']) { ?>

<div class="bm bmw fl<?php if($_G['forum']['forumcolumns']) { ?> flg<?php } ?>" style="background: #FFFFFF; display: none;">

<div class="bm_h cl" style="padding: 15px; margin: 0; border: 0;">

<span class="o"><img id="recommendgroups_<?php echo $_G['forum']['fid'];?>_img" src="<?php echo IMGDIR;?>/<?php echo $collapseimg['recommendgroups'];?>" title="收起/展开" alt="收起/展开" onclick="toggle_collapse('recommendgroups_<?php echo $_G['forum']['fid'];?>');" /></span>

<h2 style="font-size: 16px;">推荐圈子</h2>

</div>

<div class="cl" id="recommendgroups_<?php echo $_G['forum']['fid'];?>" style="padding: 15px; margin-bottom: 20px; background: #F9F9F9; <?php echo $collapse['recommendgroups'];?>">

<table cellspacing="0" cellpadding="0" class="fl_tb"><?php if(isset($recommendgroups) && is_array($recommendgroups)) foreach($recommendgroups as $key => $group) { if($_G['forum']['forumcolumns']) { if($key && ($key % $_G['forum']['forumcolumns'] == 0)) { ?>

</tr>

<?php if($key < $_G['forum']['forumcolumns']) { ?>

<tr class="fl_row">

<?php } } ?>

<td class="fl_g">

<div class="fl_icn_g">

<a href="forum.php?mod=group&amp;fid=<?php echo $group['fid'];?>" title="<?php echo $group['name'];?>" target="_blank"><img src="<?php echo $group['icon'];?>" alt="<?php echo $group['name'];?>" width="32" /></a>

</div>

<dl>

<dt><a href="forum.php?mod=group&amp;fid=<?php echo $group['fid'];?>" target="_blank"><?php echo $group['name'];?></a><span class="xg1 xw0"> (<?php echo $group['membernum'];?> 人)</span>

<dd><em>主题: <?php echo $group['threads'];?></em></dd>

<dd>

<?php if(is_array($group['lastpost'])) { if($_G['forum']['forumcolumns'] < 3) { ?>

<a href="forum.php?mod=redirect&amp;tid=<?php echo $group['lastpost']['tid'];?>&amp;goto=lastpost#lastpost" class="xi2"><?php echo cutstr($group['lastpost']['subject'], 30); ?></a> <cite><?php echo $group['lastpost']['dateline'];?> <?php if($group['lastpost']['author']) { ?><a href="home.php?mod=space&amp;username=<?php echo $group['lastpost']['encode_author'];?>"><?php echo $group['lastpost']['author'];?></a><?php } else { ?><?php echo $_G['setting']['anonymoustext'];?><?php } ?></cite>

<?php } else { ?>

<a href="forum.php?mod=redirect&amp;tid=<?php echo $group['lastpost']['tid'];?>&amp;goto=lastpost#lastpost" class="xi2"><?php echo $group['lastpost']['dateline'];?></a>

<?php } ?>				<?php } else { ?>

从未

<?php } ?>

</dd>

</dl>

</td>

<?php } else { ?>

<tr <?php if($key != 0) { ?>class="fl_row"<?php } ?>>

<td class="fl_icn">

<a href="forum.php?mod=group&amp;fid=<?php echo $group['fid'];?>" title="<?php echo $group['name'];?>" target="_blank"><img src="<?php echo $group['icon'];?>" alt="<?php echo $group['name'];?>" width="32" /></a>

</td>

<td>

<h2><a href="forum.php?mod=group&amp;fid=<?php echo $group['fid'];?>" target="_blank"><?php echo $group['name'];?></a><span class="xg1 xw0"> (<?php echo $group['membernum'];?> 人)</span></h2>

<p><?php echo cutstr($group['description'], 100); ?></p>

</td>

<td class="fl_i">

<span class="xi2"><?php echo $group['threads'];?> 主题</span>

</td>

<td class="fl_by">

<div>

<?php if(is_array($group['lastpost'])) { ?>

<a href="forum.php?mod=redirect&amp;tid=<?php echo $group['lastpost']['tid'];?>&amp;goto=lastpost#lastpost" class="xi2"><?php echo cutstr($group['lastpost']['subject'], 30); ?></a> <cite><?php echo $group['lastpost']['dateline'];?> <?php if($group['lastpost']['author']) { ?><a href="home.php?mod=space&amp;username=<?php echo $group['lastpost']['encode_author'];?>"><?php echo $group['lastpost']['author'];?></a><?php } else { ?><?php echo $_G['setting']['anonymoustext'];?><?php } ?></cite>

<?php } else { ?>

从未

<?php } ?>

</div>

</td>

</tr>

<?php } } ?>

</table>

</div>

</div>

<?php } if($threadmodcount) { ?><div class="bm"><div class="ntc_l hm xi2"><strong><a href="home.php?mod=space&amp;uid=<?php echo $_G['uid'];?>&amp;do=thread&amp;view=me&amp;type=thread&amp;from=&amp;filter=aduit">您有 <?php echo $threadmodcount;?> 个主题正等待审核中,点击查看</a></strong></div></div><?php } if($livethread) { ?>

<div id="livethread" class="tl bm bmw cl" style="padding:10px 15px;">

<div class="livethreadtitle vm">

<span class="replynumber xg1">回复 <span id="livereplies" class="xi1"><?php echo $livethread['replies'];?></span></span>

<a href="forum.php?mod=viewthread&amp;tid=<?php echo $livethread['tid'];?>" target="_blank"><?php echo $livethread['subject'];?></a> <img src="<?php echo IMGDIR;?>/livethreadtitle.png" />

</div>

<div class="livethreadcon"><?php echo $livemessage;?></div>

<div id="livereplycontentout">

<div id="livereplycontent">

</div>

</div>

<div id="liverefresh">有新的发言了,点击刷新</div>

<div id="livefastreply">

<form id="livereplypostform" method="post" action="forum.php?mod=post&amp;action=reply&amp;fid=<?php echo $_G['fid'];?>&amp;tid=<?php echo $livethread['tid'];?>&amp;replysubmit=yes&amp;infloat=yes&amp;handlekey=livereplypost&amp;inajax=1" onsubmit="return livereplypostvalidate(this)">

<div id="livefastcomment">

<textarea id="livereplymessage" name="message" style="color:gray;<?php if(!$liveallowpostreply) { ?>display:none;<?php } ?>">#在这里快速回复#</textarea>

<?php if(!$liveallowpostreply) { ?>

<div>

<?php if(!$_G['uid']) { ?>

您需要登录后才可以回帖 <a href="member.php?mod=logging&amp;action=login" onclick="showWindow('login', this.href)" class="xi2">登录</a> | <a href="member.php?mod=<?php echo $_G['setting']['regname'];?>" class="xi2"><?php echo $_G['setting']['reglinkname'];?></a>

<?php } else { ?>

您现在无权发帖。<a href="javascript:;" onclick="ajaxpost('livereplypostform', 'livereplypostreturn', 'livereplypostreturn', 'onerror', $('livereplysubmit'));" class="xi2">点击查看原因</a>

<?php } ?>

</div>

<?php } ?>

</div>

<div id="livepostsubmit" style="display:none;">

<?php if($secqaacheck || $seccodecheck) { ?><?php
$sectpl = <<<EOF
<sec> <span id="sec<hash>" onclick="showMenu(this.id)"><sec></span><div id="sec<hash>_menu" class="p_pop p_opt" style="display:none"><sec></div>
EOF;
?>

<div class="mtm sec" style="text-align:right;"><?php $sechash = !isset($sechash) ? 'S'.($_G['inajax'] ? 'A' : '').$_G['sid'] : $sechash.random(3);
$sectpl = str_replace("'", "\'", $sectpl);?><?php if($secqaacheck) { ?>
<span id="secqaa_q<?php echo $sechash;?>"></span>		
<script type="text/javascript" reload="1">updatesecqaa('q<?php echo $sechash;?>', '<?php echo $sectpl;?>', '<?php echo $_G['basescript'];?>::<?php echo CURMODULE;?>');</script>
<?php } if($seccodecheck) { ?>
<span id="seccode_c<?php echo $sechash;?>"></span>		
<script type="text/javascript" reload="1">updateseccode('c<?php echo $sechash;?>', '<?php echo $sectpl;?>', '<?php echo $_G['basescript'];?>::<?php echo CURMODULE;?>');</script>
<?php } ?></div>

<?php } ?>

<p class="ptm pnpost" style="margin-bottom:10px;">

<button type="submit" name="replysubmit" class="pn pnc vm" style="float:right;" value="replysubmit" id="livereplysubmit">

<strong>发表</strong>

</button>

</p>

</div>

<input type="hidden" name="formhash" value="<?php echo FORMHASH;?>">

<input type="hidden" name="subject" value="  ">

</form>

</div>

<span id="livereplypostreturn"></span>

</div>

<script type="text/javascript">

var postminchars = parseInt('<?php echo $_G['setting']['minpostsize'];?>');

var postmaxchars = parseInt('<?php echo $_G['setting']['maxpostsize'];?>');

var disablepostctrl = parseInt('<?php echo $_G['group']['disablepostctrl'];?>');

var replycontentlist = new Array();

var addreplylist = new Array();

var timeoutid = timeid = movescrollid = waitescrollid = null;

var replycontentnum = 0;

getnewlivepostlist(1);

timeid = setInterval(getnewlivepostlist, 5000);

$('livereplycontent').style.position = 'absolute';

$('livereplycontent').style.width = ($('livereplycontentout').clientWidth - 50) + 'px';

$('livereplymessage').onfocus = function() {

if(this.style.color == 'gray') {

this.value = '';

this.style.color = 'black';

$('livepostsubmit').style.display = 'block';

this.style.height = '56px';

$('livefastcomment').style.height = '57px';

}

};

$('livereplymessage').onblur = function() {

if(this.value == '') {

this.style.color = 'gray';

this.value = '#在这里快速回复#';

}

};



$('liverefresh').onclick = function() {

$('livereplycontent').style.position = 'absolute';

getnewlivepostlist();

this.style.display = 'none';

};



$('livereplycontentout').onmouseover = function(e) {



if($('livereplycontent').style.position == 'absolute' && $('livereplycontent').clientHeight > 215) {

$('livereplycontent').style.position = 'static';

this.scrollTop = this.scrollHeight;

}



if(this.scrollTop + this.clientHeight != this.scrollHeight) {

clearInterval(timeid);

clearTimeout(timeoutid);

clearInterval(movescrollid);

timeid = timeoutid = movescrollid = null;



if(waitescrollid == null) {

waitescrollid = setTimeout(function() {

$('liverefresh').style.display = 'block';

}, 60000 * 10);

}

} else {

clearTimeout(waitescrollid);

waitescrollid = null;

}

};



$('livereplycontentout').onmouseout = function(e) {

if(this.scrollTop + this.clientHeight == this.scrollHeight) {

$('livereplycontent').style.position = 'absolute';

clearInterval(timeid);

timeid = setInterval(getnewlivepostlist, 10000);

}

};



function getnewlivepostlist(first) {

var x = new Ajax('JSON');

x.getJSON('forum.php?mod=misc&action=livelastpost&fid=<?php echo $livethread['fid'];?>', function(s, x) {

var count = s.data.count;

$('livereplies').innerHTML = count;

var newpostlist = s.data.list;

for(i in newpostlist) {

var postid = i;

var postcontent = '';

postcontent += newpostlist[i].authorid ? '<dt><a href="home.php?mod=space&amp;uid=' + newpostlist[i].authorid + '" target="_blank">' + newpostlist[i].avatar + '</a></dt>' : '<dt></dt>';

postcontent += newpostlist[i].authorid ? '<dd><a href="home.php?mod=space&amp;uid=' + newpostlist[i].authorid + '" target="_blank">' + newpostlist[i].author + '</a></dd>' : '<dd>' + newpostlist[i].author + '</dd>';

postcontent += '<dd>' + htmlspecialchars(newpostlist[i].message) + '</dd>';

postcontent += '<dd class="dateline">' + newpostlist[i].dateline + '</dd>';

if(replycontentlist[postid]) {

$('livereply_' + postid).innerHTML = postcontent;

continue;

}

addreplylist[postid] = '<dl id="livereply_' + postid + '">' + postcontent + '</dl>';

}

if(first) {

for(i in addreplylist) {

replycontentlist[i] = addreplylist[i];

replycontentnum++;

var div = document.createElement('div');

div.innerHTML = addreplylist[i];

$('livereplycontent').appendChild(div);

delete addreplylist[i];

}

} else {

livecontentfacemove();

}

});

}



function livecontentfacemove() {

//note 从队列中取出数据

var reply = '';

for(i in addreplylist) {

reply = replycontentlist[i] = addreplylist[i];

replycontentnum++;

delete addreplylist[i];

break;

}

if(reply) {

var div = document.createElement('div');

div.innerHTML = reply;

var oldclientHeight = $('livereplycontent').clientHeight;

$('livereplycontent').appendChild(div);

$('livereplycontentout').style.overflowY = 'hidden';

$('livereplycontent').style.bottom = oldclientHeight - $('livereplycontent').clientHeight + 'px';



if(replycontentnum > 20) {

$('livereplycontent').removeChild($('livereplycontent').firstChild);

for(i in replycontentlist) {

delete replycontentlist[i];

break;

}

replycontentnum--;

}



if(!movescrollid) {

movescrollid = setInterval(function() {

if(parseInt($('livereplycontent').style.bottom) < 0) {

$('livereplycontent').style.bottom =

((parseInt($('livereplycontent').style.bottom) + 5) > 0 ? 0 : (parseInt($('livereplycontent').style.bottom) + 5)) + 'px';

} else {

$('livereplycontentout').style.overflowY = 'auto';

clearInterval(movescrollid);

movescrollid = null;

timeoutid = setTimeout(livecontentfacemove, 1000);

}

}, 100);

}

}

}



function livereplypostvalidate(theform) {

var s;

if(theform.message.value == '' || $('livereplymessage').style.color == 'gray') {

s = '抱歉,您尚未输入内容';

}

if(!disablepostctrl && ((postminchars != 0 && mb_strlen(theform.message.value) < postminchars) || (postmaxchars != 0 && mb_strlen(theform.message.value) > postmaxchars))) {

s = '您的帖子长度不符合要求。\n\n当前长度: ' + mb_strlen(theform.message.value) + ' 字节\n系统限制: ' + postminchars + ' 到 ' + postmaxchars + ' 字节';

}

if(s) {

showError(s);

doane();

$('livereplysubmit').disabled = false;

return false;

}

$('livereplysubmit').disabled = true;

theform.message.value = theform.message.value.replace(/([^>=\]"'\/]|^)((((https?|ftp):\/\/)|www\.)([\w\-]+\.)*[\w\-\u4e00-\u9fa5]+\.([\.a-zA-Z0-9]+|\u4E2D\u56FD|\u7F51\u7EDC|\u516C\u53F8)((\?|\/|:)+[\w\.\/=\?%\-&~`@':+!]*)+\.(jpg|gif|png|bmp))/ig, '$1[img]$2[/img]');

theform.message.value = parseurl(theform.message.value);

ajaxpost('livereplypostform', 'livereplypostreturn', 'livereplypostreturn', 'onerror', $('livereplysubmit'));

return false;

}



function succeedhandle_livereplypost(url, msg, param) {

$('livereplymessage').value = '';

$('livereplycontent').style.position = 'absolute';

if(param['sechash']) {

updatesecqaa(param['sechash']);

updateseccode(param['sechash']);

}

getnewlivepostlist();

}

</script>

<?php } ?>



<?php if(!empty($_G['setting']['pluginhooks']['forumdisplay_postbutton_top'])) echo $_G['setting']['pluginhooks']['forumdisplay_postbutton_top'];?>

<?php if(!empty($_G['setting']['pluginhooks']['forumdisplay_threadtype_extra'])) echo $_G['setting']['pluginhooks']['forumdisplay_threadtype_extra'];?>

<?php if(empty($_G['forum']['sortmode'])) { ?><div id="threadlist" class="tl bm bmw"<?php if($_G['uid']) { ?> style="position: relative;"<?php } ?>>

<?php if($quicksearchlist && !$_GET['archiveid']) { ?><script type="text/javascript">
var forum_optionlist = <?php if($forum_optionlist) { ?>'<?php echo $forum_optionlist;?>'<?php } else { ?>''<?php } ?>;
</script>
<script src="<?php echo $_G['setting']['jspath'];?>threadsort.js?<?php echo VERHASH;?>" type="text/javascript"></script>
<style type="text/css">
.ptn.pbn { width: 100%; border-radius: 4px}
.tsm th { color: #999999}
.tsm th {
    padding: 5px 0 5px 10px;
    border: none;
    vertical-align: top;
}
.tsm td {
    padding: 5px 10px 5px 0;
    border: none;
    vertical-align: top;
}
.tsm th {
    padding-left: 20px;
    width: 50px !important;
}
.tl .tf { padding: 0 !important}
.tl .tsm .th, .tl .tsm th, .tl .tsm td { border: 0}
#thread_types, .annoucement, .tabx_cont, .pgb, .pgs #newspecialtmp { display: none}

.listbox { width: 1140px; margin: 0; border-radius: 0 !important; background: none !important}

body { background: #F6F6F6}
.bm, .thread_box { box-shadow: none !important; background: none !important}

#threadlist { padding: 0 !important}

.ptn.pbn { padding: 10px 0 !important; margin: 0 0 20px 0 !important; border-bottom: 0 !important; background: #FFFFFF}
#hour24 { background: #FFFFFF}
.tsm { margin: 0; font-size: 14px}
.tsm th { padding-left: 20px}

#ct { margin-left: auto !important; margin-right: auto !important}
.drag, .sd, #pt { display: none}
.mn { width: calc(100% - 190px) !important}

.tsm .a a { font-weight: 400 !important; color: #91c700 !important}

#thread_types { padding-top: 0 !important}/
.td_tit, .tpi, .pgs #newspecialtmp, #thread_types, .bm.bml.pbn, .y.pgb a { display: none}

.liebiao li { position: relative; float: left; width: 208px; margin: 0 20px 20px 0; border-radius: 4px; box-shadow: 0 3px 12px rgba(0,0,0,0.1); overflow: hidden; background: #FFFFFF}
.liebiao li h3 { height: 20px; line-height: 20px; padding: 0 10px; margin: 10px 0; font-weight: 400}
.score[data-v-4f4c42cd] {
    position: absolute;
    text-align: center;
    line-height: 22px;
display: block;
    font-size: 12px;
    right: 0;
    top: 0;
    width: 40px;
    height: 22px;
    font-weight: 700;
    color: #fff;
    background: #ffb800;
    border-radius: 0 10px 0 10px;
}
.pcb h1, .pcb h2 { margin: 0}
.bg-white {
    background-color: #fff;
}
.tsj-book-cover { float: left; width: 90px; height: 130px; margin-right: 15px; box-shadow: 0 1px 1px 0 rgb(0 0 0 / 14%), 0 2px 1px -1px rgb(0 0 0 / 20%), 0 1px 3px 0 rgb(0 0 0 / 12%); border-radius: 2px; overflow: hidden}
.tsj-book-cover img { width: 90px; height: 130px; border-radius: 2px}
.flex-col { float: left; width: 260px}
.text-color-high { color: rgba(0,0,0,.87); font-size: 18px !important; margin-bottom: 3px !important}
.text-color-medium { color: rgba(0,0,0,.6)}
.text-sm { font-size: 14px}
.leading-normal { line-height: 26px}
#tsj-book-star-chart { float: right; padding-left: 18px; border-left: 1px solid rgb(234, 234, 234); margin-right: 35px}
.text-xs { font-size: 12px}
.text-color-low { color: rgba(0,0,0,.4)}
.leading-snug { float: left; color: rgb(250, 158, 20)}
.text-4xl { font-size: 36px}
.ml-1 { margin-left: 5px}
.tsj-rate {
width: 125px;
    padding-bottom: 10px;
background: url(template/dingzhi_2024_cnbl/dingzhi/bk.png) no-repeat left top
}
.tsj-rate .tsj-rate__star {
    display: inline-block;
    font-weight: 100;
    width: 24px;
    height: 19px;
    font-size: 16px;
    color: #e0e0e0;
    text-align: center;
    vertical-align: middle;
}
.text-xss {
    font-size: 12px;
}
.mr-2 { float: left}
.w-full.items-center { float: left; margin-left: 8px}
.mr-1 {
    margin-right: 5px;
}
.h-2 {
    height: 8px;
}
.rounded-xl {
float: left;
margin-right: 10px;
height: 22px;
line-height: 22px;
padding: 0 10px !important;
border: 1px solid #4caf50 !important;
color: #4caf50 !important;
    border-radius: 22px;
}
.pt-2 {
    padding-top: 10px;
}
.max-l-2 {
    max-height: 48px;
}
.max-l-1 { max-height: none !important}
.whitespace-pre-line {}

.text-justify {
    text-align: justify;
}
.relative {
    position: relative;
}
.overflow-hidden {
    overflow: hidden;
}
.leading-relaxed {
    line-height: 26px;
overflow: hidden
}
.text-color-primary {
    color: #4caf50;
}

.z-10 {
    z-index: 10;
}
.bottom-0 {
    bottom: 0;
}
.right-0 {
    right: 0;
}
.absolute {
    position: absolute;
}
.py-1 {
    padding-top: 5px;
    padding-bottom: 10px;
}
.btn-primary, .btn-quaternary, .btn-secondary, .btn-tertiary {
    display: inline-block;
    position: relative;
    margin: 0;
    background: transparent;
    border: none;
    outline: none;
    border-radius: 3px;
    cursor: pointer;
    text-decoration: none;
    color: #000;
    min-width: 64px;
    overflow: hidden;
    font-size: 14px;
    line-height: 1;
    opacity: 1;
    padding: 0 16px;
    text-align: center;
    line-height: 34px;
    vertical-align: middle;
    letter-spacing: 0;
    will-change: box-shadow;
    transition: box-shadow .2s cubic-bezier(.4,0,1,1),background-color .2s cubic-bezier(.4,0,.2,1),color .2s cubic-bezier(.4,0,.2,1);
}
.btn-quaternary.tsj-button--colored, .btn-secondary, .btn-tertiary, .btn-tertiary.tsj-button--colored {
    color: #4caf50 !important;
}
.btn-quaternary.tsj-button--colored.tsj-button--outlined, .btn-secondary, .btn-secondary.tsj-button--outlined, .btn-tertiary.tsj-button--colored.tsj-button--outlined, .btn-tertiary.tsj-button--outlined {
    border: 1px solid #4caf50;
}
.btn-primary, .btn-quaternary, .btn-quaternary.tsj-button--ripple, .btn-secondary, .btn-tertiary, .btn-tertiary.tsj-button--ripple {
    position: relative;
    overflow: hidden;
width: 206px
}
.btn-primary {
    background-color: hsla(0,0%,62%,.2);
}
.btn-primary, .btn-primary.tsj-button--colored {
    background-color: #4caf50;
    color: #fff;
}
.mx-2 {
    margin-left: 10px;
    margin-right: 10px;
}
.max-l-1 .read_all { display: none}
.max-l-1 .read_all1 { display: block !important}
.author { position: absolute; padding: 0 10px; height: 22px; line-height: 22px; background: rgba(0,0,0,0.5); color: #FFFFFF; top: 186px; right: 0; font-size: 12px}
.author a { color: #FFFFFF !important; font-size: 12px}
.tf a.xi2 { display: inline-block; padding: 0 15px !important; height: 32px; line-height: 32px; color: #333333; background: #F6F6F6 !important; border-radius: 6px; margin-right: 10px !important; font-weight: 400 !important}
.tf a.xi2.xw1 { color: #FFFFFF; background: #ffb800 !important; font-weight: 400 !important}
.fenye, .fenye1 { background: none !important}
</style><?php if(isset($quicksearchlist) && is_array($quicksearchlist)) foreach($quicksearchlist as $optionid => $option) { $formsearch = '';?>        <?php if(getstatus($option['search'], 1)) { ?>
        <?php
$__VERHASH = VERHASH;$formsearch = <<<EOF

            <div style="
EOF;
 if($option['type'] == 'checkbox') { 
$formsearch .= <<<EOF
clear:left;padding-bottom: 5px;
EOF;
 } else { 
$formsearch .= <<<EOF
float: left;width: 48%;height: 30px; overflow: hidden;
EOF;
 } 
$formsearch .= <<<EOF
">
                <span style="padding-right: 1em;">{$option['title']}:</span>
                
EOF;
 if(in_array($option['type'], array('radio', 'checkbox', 'select', 'range'))) { 
$formsearch .= <<<EOF

                    <span id="select_{$option['identifier']}">
                    
EOF;
 if($option['type'] == 'select') { 
$formsearch .= <<<EOF

                        
EOF;
 if($_GET['searchoption'][$optionid]['value']) { 
$formsearch .= <<<EOF

                            <script type="text/javascript">
                                changeselectthreadsort('{$_GET['searchoption'][$optionid]['value']}', {$optionid}, 'search');
                            </script>
                        
EOF;
 } else { 
$formsearch .= <<<EOF

                            <select name="searchoption[{$optionid}][value]" id="{$option['identifier']}" onchange="changeselectthreadsort(this.value, '{$optionid}', 'search');" class="ps vm">
                                <option value="0">请选择</option>
                            
EOF;
 if(isset($option['choices']) && is_array($option['choices'])) foreach($option['choices'] as $id => $value) { 
$formsearch .= <<<EOF
                                
EOF;
 if(!$value['foptionid']) { 
$formsearch .= <<<EOF

                                <option value="{$id}">{$value['content']} 
EOF;
 if($value['level'] != 1) { 
$formsearch .= <<<EOF
&raquo;
EOF;
 } 
$formsearch .= <<<EOF
</option>
                                
EOF;
 } 
$formsearch .= <<<EOF

                            
EOF;
 } 
$formsearch .= <<<EOF

                            </select>
<input type="hidden" name="searchoption[{$optionid}][type]" value="{$option['type']}">
                        
EOF;
 } 
$formsearch .= <<<EOF

                    
EOF;
 } elseif($option['type'] != 'checkbox') { 
$formsearch .= <<<EOF

                        <select name="searchoption[{$optionid}][value]" id="{$option['identifier']}" class="ps vm">
                            <option value="0">请选择</option>
                        
EOF;
 if(isset($option['choices']) && is_array($option['choices'])) foreach($option['choices'] as $id => $value) { 
$formsearch .= <<<EOF
                            <option value="{$id}" 
EOF;
 if($_GET['searchoption'][$optionid]['value'] == $id) { 
$formsearch .= <<<EOF
selected="selected"
EOF;
 } 
$formsearch .= <<<EOF
>{$value}</option>
                        
EOF;
 } 
$formsearch .= <<<EOF

                        </select>
                        <input type="hidden" name="searchoption[{$optionid}][type]" value="{$option['type']}">
                    
EOF;
 } else { 
$formsearch .= <<<EOF

                        
EOF;
 if(isset($option['choices']) && is_array($option['choices'])) foreach($option['choices'] as $id => $value) { 
$formsearch .= <<<EOF
                            <label><input type="checkbox" class="pc" name="searchoption[{$optionid}][value][{$id}]" value="{$id}" 
EOF;
 if(is_array($_GET['searchoption'][$optionid]) && $_GET['searchoption'][$optionid]['value'][$id]) { 
$formsearch .= <<<EOF
checked="checked"
EOF;
 } 
$formsearch .= <<<EOF
>{$value}</label>
                        
EOF;
 } 
$formsearch .= <<<EOF

                        <input type="hidden" name="searchoption[{$optionid}][type]" value="checkbox">
                    
EOF;
 } 
$formsearch .= <<<EOF

                    </span>
                
EOF;
 } else { 
$formsearch .= <<<EOF

                    
EOF;
 if($option['type'] == 'calendar') { 
$formsearch .= <<<EOF

                        <script src="{$_G['setting']['jspath']}calendar.js?{$__VERHASH}" type="text/javascript"></script>
                        <input type="text" name="searchoption[{$optionid}][value]" size="15" class="px vm" value="
EOF;
 if(is_array($_GET['searchoption'][$optionid])) { 
$formsearch .= <<<EOF
{$_GET['searchoption'][$optionid]['value']}
EOF;
 } 
$formsearch .= <<<EOF
" onclick="showcalendar(event, this, false)" />
                    
EOF;
 } else { 
$formsearch .= <<<EOF

                        <input type="text" name="searchoption[{$optionid}][value]" size="15" class="px vm" value="
EOF;
 if(is_array($_GET['searchoption'][$optionid])) { 
$formsearch .= <<<EOF
{$_GET['searchoption'][$optionid]['value']}
EOF;
 } 
$formsearch .= <<<EOF
" />
                    
EOF;
 } 
$formsearch .= <<<EOF

                
EOF;
 } 
$formsearch .= <<<EOF

            </div>
            
EOF;
?>
<?php } ?>
    <?php $formsearch_html .= $formsearch;?><?php $fontsearch = '';$showoption = array();$tmpcount = 0;?><?php if(getstatus($option['search'], 2)) { ?>
    <?php
$fontsearch = <<<EOF

<tr>
<th width="8%">{$option['title']}:</th>
            <td>
                <ul class="cl">
                    <li
EOF;
 if($_GET[''.$option['identifier']] == 'all') { 
$fontsearch .= <<<EOF
 class="a"
EOF;
 } 
$fontsearch .= <<<EOF
><a href="forum.php?mod=forumdisplay&amp;fid={$_G['fid']}&amp;filter=sortid&amp;sortid={$_GET['sortid']}&amp;searchsort=1{$filterurladd}&amp;{$option['identifier']}=all{$sorturladdarray[$option['identifier']]}" class="xi2">不限</a></li>

EOF;
 if($option['type'] == 'select') { if(isset($option['choices']) && is_array($option['choices'])) foreach($option['choices'] as $id => $value) { if($value['foptionid'] == 0) { 
$fontsearch .= <<<EOF

<li
EOF;
 if(preg_match('/^'.$value['optionid'].'\./i', $_GET[''.$option['identifier']]) || preg_match('/^'.$value['optionid'].'$/i', $_GET[''.$option['identifier']])) { 
$fontsearch .= <<<EOF
 class="a"
EOF;
 } 
$fontsearch .= <<<EOF
><a href="forum.php?mod=forumdisplay&amp;fid={$_G['fid']}&amp;filter=sortid&amp;sortid={$_GET['sortid']}&amp;searchsort=1&amp;{$option['identifier']}={$id}{$sorturladdarray[$option['identifier']]}" class="xi2">{$value['content']}</a></li>

EOF;
 } } if(!($_GET[''.$option['identifier']] == 'all' || !isset($_GET[''.$option['identifier']]))) { if(isset($option['choices']) && is_array($option['choices'])) foreach($option['choices'] as $id => $value) { if((preg_match('/^'.$value['foptionid'].'\./i', $_GET[''.$option['identifier']]) || preg_match('/^'.$value['foptionid'].'$/i', $_GET[''.$option['identifier']])) && ($showoption[$value['count']][$id] = $value)) { } } if(ksort($showoption)) { } if(isset($showoption) && is_array($showoption)) foreach($showoption as $optioncount => $values) { if($tmpcount != $optioncount && ($tmpcount = $optioncount)) { 
$fontsearch .= <<<EOF

</ul><ul class="subtsm cl">
EOF;
 if(isset($values) && is_array($values)) foreach($values as $id => $value) { 
$fontsearch .= <<<EOF
<li
EOF;
 if(preg_match('/^'.$value['optionid'].'\./i', $_GET[''.$option['identifier']]) || preg_match('/^'.$value['optionid'].'$/i', $_GET[''.$option['identifier']])) { 
$fontsearch .= <<<EOF
 class="a"
EOF;
 } 
$fontsearch .= <<<EOF
><a href="forum.php?mod=forumdisplay&amp;fid={$_G['fid']}&amp;filter=sortid&amp;sortid={$_GET['sortid']}&amp;searchsort=1&amp;{$option['identifier']}={$id}{$sorturladdarray[$option['identifier']]}" class="xi2">{$value['content']}</a></li>

EOF;
 } 
$fontsearch .= <<<EOF

</ul><ul>

EOF;
 } } } } else { if(isset($option['choices']) && is_array($option['choices'])) foreach($option['choices'] as $id => $value) { 
$fontsearch .= <<<EOF
<li
EOF;
 if($_GET[''.$option['identifier']] && !strcmp($id, $_GET[''.$option['identifier']])) { 
$fontsearch .= <<<EOF
 class="a"
EOF;
 } 
$fontsearch .= <<<EOF
><a href="forum.php?mod=forumdisplay&amp;fid={$_G['fid']}&amp;filter=sortid&amp;sortid={$_GET['sortid']}&amp;searchsort=1&amp;{$option['identifier']}={$id}{$sorturladdarray[$option['identifier']]}" class="xi2">{$value}</a></li>

EOF;
 } } 
$fontsearch .= <<<EOF

                </ul>
            </td>
</tr>

EOF;
?>
     <?php } ?>
     <?php $fontsearch_html .= $fontsearch;?><?php } if($formsearch_html || $fontsearch_html) { ?>
<div>
<?php if($fontsearch_html) { ?>
    <div class="ptn pbn mbm bbs">
    <table id="fontsearch" class="tsm cl">
         <?php echo $fontsearch_html;?>
    </table>
    </div>
<?php } ?>
    <div class="tabx_conts" style="width: calc(100% - 40px); padding: 15px 20px; margin: 0 0 20px 0; border-bottom: 0; background: #FFFFFF; position: relative; z-index: 100; box-shadow: none; border-radius: 4px;">
<div class="cl">
<div class="th" style="padding: 0; margin-bottom: 0; border: 0; background: none;">

<table cellspacing="0" cellpadding="0" style="width: 100%;">

<tr>

<th colspan="<?php if(!$_GET['archiveid'] && $_G['forum']['ismoderator']) { ?>3<?php } else { ?>2<?php } ?>" style="border-top: 0; margin: 0; padding: 0;">

<?php if(CURMODULE != 'guide') { ?>

<div class="tf" style="height: 32px; line-height: 32px;">
<a id="filter_dateline" href="javascript:;" class="showmenu showmenu2 xi2<?php if($_GET['dateline']) { ?> xw1<?php } ?>" onclick="showMenu(this.id)" style="float: right; display: none;">更多排序</a>
<span id="atarget" <?php if($_G['cookie']['atarget'] > 0) { ?>onclick="setatarget(-1)" class="y atarget_1"<?php } else { ?>onclick="setatarget(1)" class="y"<?php } ?> title="在新窗口中打开帖子" style="margin-top: 8px !important;">新窗</span>

<?php if($_GET['specialtype'] == 'reward') { ?>

<a id="filter_reward" href="javascript:;" class="showmenu xi2<?php if($_GET['rewardtype']) { ?> xw1<?php } ?>" onclick="showMenu(this.id)"><?php if($_GET['rewardtype'] == '') { ?>全部悬赏<?php } elseif($_GET['rewardtype'] == '1') { ?>进行中<?php } elseif($_GET['rewardtype'] == '2') { ?>已解决<?php } ?></a>&nbsp;

<?php } ?>

<a href="forum.php?mod=forumdisplay&amp;fid=<?php echo $_G['fid'];?>&amp;filter=lastpost&amp;orderby=lastpost<?php echo $forumdisplayadd['lastpost'];?><?php if($_GET['archiveid']) { ?>&amp;archiveid=<?php echo $_GET['archiveid'];?><?php } ?>" class="dfsj_latest xi2<?php if($_GET['filter'] == 'lastpost') { ?> xw1<?php } ?>" style="padding-left: 0; margin-right: 22px; background: none;">最新</a>

<a href="forum.php?mod=forumdisplay&amp;fid=<?php echo $_G['fid'];?>&amp;filter=heat&amp;orderby=heats<?php echo $forumdisplayadd['heat'];?><?php if($_GET['archiveid']) { ?>&amp;archiveid=<?php echo $_GET['archiveid'];?><?php } ?>" class="xi2<?php if($_GET['filter'] == 'heat') { ?> xw1<?php } ?>">热门</a>

<a href="forum.php?mod=forumdisplay&amp;fid=<?php echo $_G['fid'];?>&amp;filter=digest&amp;digest=1<?php echo $forumdisplayadd['digest'];?><?php if($_GET['archiveid']) { ?>&amp;archiveid=<?php echo $_GET['archiveid'];?><?php } ?>" class="dfsj_digest xi2<?php if($_GET['filter'] == 'digest') { ?> xw1<?php } ?>" style="padding-left: 0; background: none;">精华</a>
            <span class="pipe display_none">|</span>
            <a href="forum.php?mod=forumdisplay&amp;fid=<?php echo $_G['fid'];?>&amp;orderby=<?php echo $_GET['orderby'];?>&amp;filter=dateline<?php echo $forumdisplayadd['dateline'];?><?php if($_GET['archiveid']) { ?>&amp;archiveid=<?php echo $_GET['archiveid'];?><?php } ?>" class="xi2 display_none <?php if(!$_GET['dateline']) { ?>xw1<?php } ?>">全部时间</a>
            <a href="forum.php?mod=forumdisplay&amp;fid=<?php echo $_G['fid'];?>&amp;orderby=<?php echo $_GET['orderby'];?>&amp;filter=dateline&amp;dateline=86400<?php echo $forumdisplayadd['dateline'];?><?php if($_GET['archiveid']) { ?>&amp;archiveid=<?php echo $_GET['archiveid'];?><?php } ?>" class="xi2 display_none <?php if($_GET['dateline'] == '86400') { ?>xw1<?php } ?>">一天</a>
<a href="forum.php?mod=forumdisplay&amp;fid=<?php echo $_G['fid'];?>&amp;orderby=<?php echo $_GET['orderby'];?>&amp;filter=dateline&amp;dateline=172800<?php echo $forumdisplayadd['dateline'];?><?php if($_GET['archiveid']) { ?>&amp;archiveid=<?php echo $_GET['archiveid'];?><?php } ?>" class="xi2 display_none <?php if($_GET['dateline'] == '172800') { ?>xw1<?php } ?>">两天</a>
<a href="forum.php?mod=forumdisplay&amp;fid=<?php echo $_G['fid'];?>&amp;orderby=<?php echo $_GET['orderby'];?>&amp;filter=dateline&amp;dateline=604800<?php echo $forumdisplayadd['dateline'];?><?php if($_GET['archiveid']) { ?>&amp;archiveid=<?php echo $_GET['archiveid'];?><?php } ?>" class="xi2 display_none <?php if($_GET['dateline'] == '604800') { ?>xw1<?php } ?>">一周</a>
<a href="forum.php?mod=forumdisplay&amp;fid=<?php echo $_G['fid'];?>&amp;orderby=<?php echo $_GET['orderby'];?>&amp;filter=dateline&amp;dateline=2592000<?php echo $forumdisplayadd['dateline'];?><?php if($_GET['archiveid']) { ?>&amp;archiveid=<?php echo $_GET['archiveid'];?><?php } ?>" class="xi2 display_none <?php if($_GET['dateline'] == '2592000') { ?>xw1<?php } ?>">一个月</a>
<a href="forum.php?mod=forumdisplay&amp;fid=<?php echo $_G['fid'];?>&amp;orderby=<?php echo $_GET['orderby'];?>&amp;filter=dateline&amp;dateline=7948800<?php echo $forumdisplayadd['dateline'];?><?php if($_GET['archiveid']) { ?>&amp;archiveid=<?php echo $_GET['archiveid'];?><?php } ?>" class="xi2 display_none <?php if($_GET['dateline'] == '7948800') { ?>xw1<?php } ?>">三个月</a>
            

<a id="filter_special" href="javascript:;" class="showmenu xi2<?php if($_GET['specialtype']) { ?> xw1<?php } ?>" onclick="showMenu(this.id)" style="display: none;"><?php if($_GET['specialtype'] == 'poll') { ?>投票<?php } elseif($_GET['specialtype'] == 'trade') { ?>商品<?php } elseif($_GET['specialtype'] == 'reward') { ?>悬赏<?php } elseif($_GET['specialtype'] == 'activity') { ?>活动<?php } elseif($_GET['specialtype'] == 'debate') { ?>辩论<?php } else { ?>全部主题<?php } ?></a>&nbsp;

                        <a id="th_type" href="javascript:;" class="showmenu xi2" onclick="showMenu(this.id)" style="display: none;">最新</a>

<?php if(empty($_G['forum']['picstyle']) && $_GET['orderby'] == 'lastpost' && (!$_G['setting']['forumseparator'] || !$separatepos) && !$_GET['filter']) { ?>

<a href="javascript:;" onclick="checkForumnew_btn('<?php echo $_G['fid'];?>')" title="查看更新" class="forumrefresh"></a>

<?php } if($_GET['filter'] == 'hot') { ?>

<script src="<?php echo $_G['setting']['jspath'];?>calendar.js?<?php echo VERHASH;?>" type="text/javascript"></script>

<span><?php echo $ctime;?></span>

<img src="<?php echo IMGDIR;?>/date_magnify.png" class="cur1" alt="" id="hottime" value="<?php echo $ctime;?>" fid="<?php echo $_G['fid'];?>" onclick="showcalendar(event, this, false, false, false, false, function(){viewhot(this);});" align="absmiddle" />

<?php } ?>

<span id="clearstickthread" style="display: none;">

<a href="javascript:;" onclick="clearStickThread()" class="xi2" title="显示置顶" style="margin-right: 22px; display: inline-block;">显示置顶</a>

</span>


</div>

<?php } else { ?>

标题

<?php } ?>

</th>

<?php if(empty($_G['forum']['picstyle'])) { if(CURMODULE == 'guide') { ?>

<td class="by" style="width: 0; border-top: 0;"></td>

<?php } ?>

<td class="by" style="width: 0; border-top: 0;"></td>

<td class="num" style="width: 0; border-top: 0;"></td>

<td class="by" style="width: 0; border-top: 0;"></td>

<?php } else { ?>

<td class="by" colspan="3" style="width: 70px; border-top: 0; padding-left: 12px;">

<a<?php if(empty($_G['cookie']['forumdefstyle'])) { ?> href="forum.php?mod=forumdisplay&amp;fid=<?php echo $_G['fid'];?>&amp;forumdefstyle=yes" class="chked"<?php } else { ?> href="forum.php?mod=forumdisplay&amp;fid=<?php echo $_G['fid'];?>&amp;forumdefstyle=no" class="unchk"<?php } ?> title="图片模式浏览帖子">图片模式</a>

</td>

<?php } ?>

</tr>

</table>

</div>
</div>
</div>
<?php if($formsearch_html) { ?>
    <form method="post" autocomplete="off" name="searhsort" id="searhsort" class="bbs bm_c pns mfm cl" action="forum.php?mod=forumdisplay&amp;fid=<?php echo $_G['fid'];?>&amp;filter=sortid&amp;sortid=<?php echo $_GET['sortid'];?>">
        <input type="hidden" name="formhash" value="<?php echo FORMHASH;?>" />
        <?php echo $formsearch_html;?>
        <div class="ptm cl"><button type="submit" class="pn pnc" name="searchsortsubmit"><em>搜索</em></button></div>
    </form>
<?php } ?>
</div>
<?php } } ?>

<div class="bm_c">

<?php if(empty($_G['forum']['picstyle']) || $_G['cookie']['forumdefstyle']) { ?>

<script type="text/javascript">var lasttime = <?php echo $_G['timestamp'];?>;var listcolspan= '<?php if(!$_GET['archiveid'] && $_G['forum']['ismoderator']) { ?>6<?php } else { ?>5<?php } ?>';</script>

<?php } ?>

<div id="forumnew" style="display:none"></div>

<form method="post" autocomplete="off" name="moderate" id="moderate" action="forum.php?mod=topicadmin&amp;action=moderate&amp;fid=<?php echo $_G['fid'];?>&amp;infloat=yes&amp;nopost=yes">

<input type="hidden" name="formhash" value="<?php echo FORMHASH;?>" />

<input type="hidden" name="listextra" value="<?php echo $extra;?>" />

<table summary="forum_<?php echo $_G['fid'];?>" cellspacing="0" cellpadding="0" id="threadlisttableid">

<?php if((!$simplestyle || !$_G['forum']['allowside'] && $page == 1) && !empty($announcement)) { ?>

<tbody>

<tr>

<td class="icn" style="border-top: 0;"></td>

<?php if($_G['forum']['ismoderator'] && !$_GET['archiveid']) { ?><td class="o" style="border-top: 0;"></td><?php } ?>

<th style="border-top: 0;"></th>

<td class="by" style="border-top: 0;">

</td>

<td class="num" style="border-top: 0;"></td>

<td class="by" style="border-top: 0;"></td>

</tr>

</tbody>

<?php } if(!$separatepos || !$_G['setting']['forumseparator']) { ?>

<tbody id="separatorline" class="emptb"><tr><td class="icn"></td><?php if(!$_GET['archiveid'] && $_G['forum']['ismoderator']) { ?><td class="o"></td><?php } ?><th></th><?php if(CURMODULE == 'guide') { ?><td class="by"></td><?php } ?><td class="by"></td><td class="num"></td><td class="by"></td></tr></tbody>

<?php } if($_G['forum_threadcount']) { if(empty($_G['forum']['picstyle']) || $_G['cookie']['forumdefstyle']) { if(isset($_G['forum_threadlist']) && is_array($_G['forum_threadlist'])) foreach($_G['forum_threadlist'] as $key => $thread) { if($_G['setting']['forumseparator'] == 1 && $separatepos == $key + 1) { ?>

<tbody id="separatorline">

<tr class="ts">

<td>&nbsp;</td>

<?php if($_G['forum']['ismoderator'] && !$_GET['archiveid']) { ?><td>&nbsp;</td><?php } ?>

<th><?php if(empty($_G['forum']['picstyle']) && $_GET['orderby'] == 'lastpost' && !$_GET['filter']) { ?><a href="javascript:;" onclick="checkForumnew_btn('<?php echo $_G['fid'];?>')" title="查看更新" class="forumrefresh">版块主题</a><?php } else { ?>&nbsp;<?php } ?></th><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td>

</tr>

</tbody>

<script type="text/javascript">hideStickThread();</script>

<?php } if($separatepos <= $key + 1) { ?><?php echo adshow("threadlist");?><?php } ?>
                            <?php if(!empty($_G['setting']['pluginhooks']['forumdisplay_filter_extra'])) echo $_G['setting']['pluginhooks']['forumdisplay_filter_extra'];?>
<tbody id="<?php echo $thread['id'];?>"<?php if($_G['hiddenexists'] && $thread['hidden']) { ?> style='display:none'<?php } ?>>

<tr>

<td class="icn">
<?php if($thread['authorid'] && $thread['author']) { ?>
<a target="_blank" href="home.php?mod=space&amp;uid=<?php echo $thread['authorid'];?>" class="avatar1" style="width: 26px; height: 26px; margin-right: 10px;">
              <?php echo avatar($thread['authorid'],'middle');?>            </a>
<?php } else { ?>
<a target="_blank" class="avatar1" style="width: 26px; height: 26px; margin-right: 10px;">
              <img src="template/dingzhi_2024_cnbl/dingzhi/hidden.png" width="36" height="36" style="border-radius: 50%; float: left; margin-top: -5px;">
            </a>
<?php } ?>

</td>

<?php if(!$_GET['archiveid'] && $_G['forum']['ismoderator']) { ?>

<td class="o">

<?php if($thread['fid'] == $_G['fid']) { if($thread['displayorder'] <= 3 || $_G['adminid'] == 1) { ?>

<input onclick="tmodclick(this)" type="checkbox" name="moderate[]" value="<?php echo $thread['tid'];?>" />

<?php } else { ?>

<input type="checkbox" disabled="disabled" />

<?php } } else { ?>

<input type="checkbox" disabled="disabled" />

<?php } ?>

</td>

<?php } ?>

<th class="<?php echo $thread['folder'];?> thread_tit" style="position: relative;">
                                    <?php if(in_array($thread['displayorder'], array(1, 2, 3, 4))) { ?>
<i class="icon fas fa-thumbtack thread-top-<?php echo $thread['displayorder'];?>" title="全站置顶" style="float: left; margin: 5px 3px 0 0; font-size: 18px;"></i>
<?php } if(in_array($thread['displayorder'], array(1, 2, 3, 4))) { ?>

<a href="javascript:void(0);" onclick="hideStickThread('<?php echo $thread['tid'];?>')" class="showhide y" title="隐藏置顶帖">隐藏置顶帖</a></em>

<?php } ?>

<?php if(!empty($_G['setting']['pluginhooks']['forumdisplay_thread'][$key])) echo $_G['setting']['pluginhooks']['forumdisplay_thread'][$key];?>

<?php if(!$thread['forumstick'] && $thread['closed'] > 1 && ($thread['isgroup'] == 1 || $thread['fid'] != $_G['fid'])) { $thread[tid]=$thread[closed];?><?php } ?>

<?php echo $thread['typehtml'];?> <?php echo $thread['sorthtml'];?>

<?php if($thread['moved']) { ?>

移动:<?php $thread[tid]=$thread[closed];?><?php } ?>

<a href="forum.php?mod=viewthread&amp;tid=<?php echo $thread['tid'];?>&amp;<?php if($_GET['archiveid']) { ?>archiveid=<?php echo $_GET['archiveid'];?>&amp;<?php } ?>extra=<?php echo $extra;?>"<?php echo $thread['highlight'];?><?php echo $thread['highlight'];?><?php if($thread['isgroup'] == 1 || $thread['forumstick']) { ?> target="_blank"<?php } else { ?> onclick="atarget(this)"<?php } ?> class="s xst"><?php echo $thread['subject'];?></a>

<?php if($thread['icon'] >= 0) { ?>

<img src="<?php echo STATICURL;?>image/stamp/<?php echo $_G['cache']['stamps'][$thread['icon']]['url'];?>" alt="<?php echo $_G['cache']['stamps'][$thread['icon']]['text'];?>" align="absmiddle" / style="margin-top: -4px; display: none;">

<?php } if($thread['rushreply']) { ?>

<img src="<?php echo IMGDIR;?>/rushreply_s.png" alt="抢楼" align="absmiddle" / style="margin-top: -4px; display: none;">

<?php if($rushinfo[$thread['tid']]) { ?>

<span id="rushtimer_<?php echo $thread['tid'];?>"> 【还有 <span id="rushtimer_body_<?php echo $thread['tid'];?>"></span> <script language="javascript">settimer(<?php echo $rushinfo[$thread['tid']]['timer'];?>, 'rushtimer_body_<?php echo $thread['tid'];?>');</script><?php if($rushinfo[$thread['tid']]['timertype'] == 'start') { ?> 开始 <?php } else { ?> 结束 <?php } ?> 】</span>

<?php } } if($stemplate && $sortid) { ?><?php echo $stemplate[$sortid][$thread['tid']];?><?php } if($thread['readperm']) { ?> - [阅读权限 <span class="xw1"><?php echo $thread['readperm'];?></span>]<?php } if($thread['price'] > 0) { if($thread['special'] == '3') { ?>

<a href="forum.php?mod=forumdisplay&amp;fid=<?php echo $_G['fid'];?>&amp;filter=specialtype&amp;specialtype=reward<?php echo $forumdisplayadd['specialtype'];?><?php if($_GET['archiveid']) { ?>&amp;archiveid=<?php echo $_GET['archiveid'];?><?php } ?>&amp;rewardtype=1" title="只看进行中的" style="font-size: 12px;
    color: #ff931f;
    border: solid 1px #ff931f;
    border-radius: 4px;
    padding: 0 4px;
    position: relative;
    top: -2px;" class="shoujia"><span>悬赏 <span><?php echo $thread['price'];?></span> <?php echo $_G['setting']['extcredits'][$_G['setting']['creditstransextra'][2]]['unit'];?><?php echo $_G['setting']['extcredits'][$_G['setting']['creditstransextra'][2]]['title'];?></span></a>

<?php } else { ?>

<a style="font-size: 12px;
    color: #ff931f;
    border: solid 1px #ff931f;
    border-radius: 4px;
    padding: 0 4px;
    position: relative;
    top: -2px;" class="shoujia">售价 <span><?php echo $thread['price'];?></span> <?php echo $_G['setting']['extcredits'][$_G['setting']['creditstransextra'][1]]['unit'];?><?php echo $_G['setting']['extcredits'][$_G['setting']['creditstransextra'][1]]['title'];?></a>

<?php } } elseif($thread['special'] == '3' && $thread['price'] < 0) { ?>

- <a href="forum.php?mod=forumdisplay&amp;fid=<?php echo $_G['fid'];?>&amp;filter=specialtype&amp;specialtype=reward<?php echo $forumdisplayadd['specialtype'];?><?php if($_GET['archiveid']) { ?>&amp;archiveid=<?php echo $_GET['archiveid'];?><?php } ?>&amp;rewardtype=2" title="只看已解决的">[已解决]</a>

<?php } if($thread['attachment'] == 2) { ?>

<span class="vote_tip" title="图片"><i class="antanticon-picture"><svg viewBox="64 64 896 896" focusable="false" fill="currentColor" width="1em" height="1em" data-icon="picture" aria-hidden="true"><path d="M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-40 632H136v-39.9l138.5-164.3 150.1 178L658.1 489 888 761.6V792zm0-129.8L664.2 396.8c-3.2-3.8-9-3.8-12.2 0L424.6 666.4l-144-170.7c-3.2-3.8-9-3.8-12.2 0L136 652.7V232h752v430.2zM304 456a88 88 0 100-176 88 88 0 000 176zm0-116c15.5 0 28 12.5 28 28s-12.5 28-28 28-28-12.5-28-28 12.5-28 28-28z"></path></svg></i> 1P+</span>
<?php } if($thread['attachment'] == 1) { ?>

<span class="vote_tip" title="附件"><i class="antanticon-paper-clip"><svg viewBox="64 64 896 896" focusable="false" fill="currentColor" width="1em" height="1em" data-icon="paper-clip" aria-hidden="true"><path d="M779.3 196.6c-94.2-94.2-247.6-94.2-341.7 0l-261 260.8c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l261-260.8c32.4-32.4 75.5-50.2 121.3-50.2s88.9 17.8 121.2 50.2c32.4 32.4 50.2 75.5 50.2 121.2 0 45.8-17.8 88.8-50.2 121.2l-266 265.9-43.1 43.1c-40.3 40.3-105.8 40.3-146.1 0-19.5-19.5-30.2-45.4-30.2-73s10.7-53.5 30.2-73l263.9-263.8c6.7-6.6 15.5-10.3 24.9-10.3h.1c9.4 0 18.1 3.7 24.7 10.3 6.7 6.7 10.3 15.5 10.3 24.9 0 9.3-3.7 18.1-10.3 24.7L372.4 653c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l215.6-215.6c19.9-19.9 30.8-46.3 30.8-74.4s-11-54.6-30.8-74.4c-41.1-41.1-107.9-41-149 0L463 364 224.8 602.1A172.22 172.22 0 00174 724.8c0 46.3 18.1 89.8 50.8 122.5 33.9 33.8 78.3 50.7 122.7 50.7 44.4 0 88.8-16.9 122.6-50.7l309.2-309C824.8 492.7 850 432 850 367.5c.1-64.6-25.1-125.3-70.7-170.9z"></path></svg></i> 1F</span>

<?php } if($thread['mobile']) { ?>

<img src="<?php echo IMGDIR;?>/mobile-attach-<?php echo $thread['mobile'];?>.png" alt="手机发帖" align="absmiddle" / style="margin-top: -4px;">

<?php } if($thread['digest'] > 0 && $filter != 'digest') { ?>

<img src="template/dingzhi_2024_cnbl/dingzhi/dingzhi_icon/jinghua_<?php echo $thread['digest'];?>.png" align="absmiddle" alt="digest" title="精华 <?php echo $thread['digest'];?>" / style="margin-top: -4px;">

<?php } if($thread['displayorder'] == 0) { if($thread['recommendicon'] && $filter != 'recommend') { ?>

<img src="template/dingzhi_2024_cnbl/dingzhi/dingzhi_icon/recommend_<?php echo $thread['recommendicon'];?>.gif" align="absmiddle" alt="recommend" title="评价指数 <?php echo $thread['recommends'];?>" / style="margin-top: -4px; display: none;">

<?php } if($thread['heatlevel']) { ?>

<img src="template/dingzhi_2024_cnbl/dingzhi/dingzhi_icon/hot_<?php echo $thread['heatlevel'];?>.gif" align="absmiddle" alt="heatlevel" title="热度: <?php echo $thread['heats'];?>" / style="margin-top: -4px; display: none;">

<?php } if($thread['rate'] > 0) { ?>

<img src="template/dingzhi_2024_cnbl/dingzhi/dingzhi_icon/agree.gif" align="absmiddle" alt="agree" title="帖子被加分" / style="margin-top: -4px; display: none;">

<?php } elseif($thread['rate'] < 0) { ?>

<img src="template/dingzhi_2024_cnbl/dingzhi/dingzhi_icon/disagree.gif" align="absmiddle" alt="disagree" title="帖子被减分" / style="margin-top: -4px; display: none;">

<?php } } if($thread['replycredit'] > 0) { ?>

- <span class="xi1">[回帖奖励 <strong> <?php echo $thread['replycredit'];?></strong> ]</span>

<?php } ?>

<?php if(!empty($_G['setting']['pluginhooks']['forumdisplay_thread_subject'][$key])) echo $_G['setting']['pluginhooks']['forumdisplay_thread_subject'][$key];?>

                                        

                                         <a href="forum.php?mod=viewthread&amp;tid=<?php echo $thread['icontid'];?>&amp;<?php if($_GET['archiveid']) { ?>archiveid=<?php echo $_GET['archiveid'];?>&amp;<?php } ?>extra=<?php echo $extra;?>" title="<?php if($thread['displayorder'] == 1) { ?>本版置顶主题 - <?php } if($thread['displayorder'] == 2) { ?>分类置顶主题 - <?php } if($thread['displayorder'] == 3) { ?>全局置顶主题 - <?php } if($thread['displayorder'] == 4) { ?>多版置顶主题 - <?php } if($thread['folder'] == 'lock') { ?>关闭的主题 - <?php } if($thread['special'] == 1) { ?>投票 - <?php } if($thread['special'] == 2) { ?>商品 - <?php } if($thread['special'] == 3) { ?>悬赏 - <?php } if($thread['special'] == 4) { ?>活动 - <?php } if($thread['special'] == 5) { ?>辩论 - <?php } if($thread['folder'] == "new") { ?>有新回复 - <?php } ?>
新窗口打开" target="_blank">

<?php if($thread['folder'] == 'lock') { ?>

<img src="template/dingzhi_2024_cnbl/dingzhi/dingzhi_icon/folder_lock.gif" / style="margin-top: -4px; display: none;">

<?php } elseif($thread['special'] == 1) { ?>

<img src="template/dingzhi_2024_cnbl/dingzhi/dingzhi_icon/pollsmall.gif" alt="投票" / style="margin-top: -4px; display: none;">

<?php } elseif($thread['special'] == 2) { ?>

<img src="template/dingzhi_2024_cnbl/dingzhi/dingzhi_icon/tradesmall.gif" alt="商品" / style="margin-top: -4px; display: none;">

<?php } elseif($thread['special'] == 3) { ?>

<img src="template/dingzhi_2024_cnbl/dingzhi/dingzhi_icon/rewardsmall.gif" alt="悬赏" / style="margin-top: -4px; display: none;">

<?php } elseif($thread['special'] == 4) { ?>

<img src="template/dingzhi_2024_cnbl/dingzhi/dingzhi_icon/activitysmall.gif" alt="活动" / style="margin-top: -4px; display: none;">

<?php } elseif($thread['special'] == 5) { ?>

<img src="template/dingzhi_2024_cnbl/dingzhi/dingzhi_icon/debatesmall.gif" alt="辩论" / style="margin-top: -4px; display: none;">

<?php } elseif(in_array($thread['displayorder'], array(1, 2, 3, 4))) { } ?>

</a>



                                        

                                        

<?php if($thread['multipage']) { ?>

<span class="tps" style="display: none;"><?php echo $thread['multipage'];?></span>

<?php } if($thread['weeknew']) { ?>

<a href="forum.php?mod=redirect&amp;tid=<?php echo $thread['tid'];?>&amp;goto=lastpost#lastpost" class="xi1" style="display: none;">New</a>

<?php } if(!$thread['forumstick'] && ($thread['isgroup'] == 1 || $thread['fid'] != $_G['fid'])) { if($thread['related_group'] == 0 && $thread['closed'] > 1) { $thread[tid]=$thread[closed];?><?php } if($groupnames[$thread['tid']]) { ?>

<span class="fromg xg1"> [来自: <a href="forum.php?mod=group&amp;fid=<?php echo $groupnames[$thread['tid']]['fid'];?>" target="_blank" class="xg1"><?php echo $groupnames[$thread['tid']]['name'];?></a>]</span>

<?php } } ?>

                                        

                                       

                                        <div class="emt_box">

                                          <?php if(!empty($_G['setting']['pluginhooks']['time_summary'][$key])) echo $_G['setting']['pluginhooks']['time_summary'][$key];?>

                                        </div>

                                        <div class="list_au_info cl" style="padding-top: 2px;"> 

                                        <i class="z">

                                        <?php if(!empty($_G['setting']['pluginhooks']['forumdisplay_author'][$key])) echo $_G['setting']['pluginhooks']['forumdisplay_author'][$key];?>

                                      <span style="margin-left: 0; font-weight: 400;"><?php if($thread['authorid'] && $thread['author']) { ?>
<a href="home.php?mod=space&amp;uid=<?php echo $thread['authorid'];?>" c="1"<?php if($groupcolor[$thread['authorid']]) { ?> style="color: <?php echo $groupcolor[$thread['authorid']];?>;"<?php } ?>><?php echo $thread['author'];?></a>
<?php } else { ?>
<?php echo $_G['setting']['anonymoustext'];?>
<?php } ?></span>
<em style="padding: 0 0 0 10px; color: rgba(134, 142, 150, 0.8) !important;"><?php echo $thread['dateline'];?></em>

</i>


                                        <?php if(!$_G['setting']['forumdisplaythreadpreview'] && !($thread['readperm'] && $thread['readperm'] > $_G['group']['readaccess'] && !$_G['forum']['ismoderator'] && $thread['authorid'] != $_G['uid'])) { ?>

<a class="tdpre y" href="javascript:void(0);" onclick="previewThread('<?php echo $thread['tid'];?>', '<?php echo $thread['id'];?>');" style="display: none;">预览</a> 

<?php } ?>

<div class="text-muted small y" style="font-size: 12px;">
   <span class="ml-2"><i class="icon far fa-eye"></i> <?php echo $thread['views'];?></span>
   <span class="ml-2"><i class="icon far fa-comment"></i> <?php echo $thread['replies'];?></span>
</div>

                                        </div>

                                        

                                        

</th>

</tr>

</tbody>

<?php } ?>

</table><!-- end of table "forum_G[fid]" branch 1/3 -->

<?php if($_G['hiddenexists']) { ?>							

<div id="hiddenthread"<?php if($thread['hidden']) { ?> class="last"<?php } ?>><a href="javascript:;" onclick="display_blocked_thread()">还有一些帖子被系统自动隐藏,点此展开</a></div>

<?php } } else { ?>

</table><!-- end of table "forum_G[fid]" branch 2/3 -->
<style type="text/css">
.mn { width: 930px !important}
.sd { display: none}
@media (max-width: 800px) {
.mn { width: 100% !important}
}
</style>
                        <div class="cl" style="padding: 15px; border: 0;">

<ul id="waterfall" class="ml waterfall cl" style="margin-top: 0;"><?php if(isset($_G['forum_threadlist']) && is_array($_G['forum_threadlist'])) foreach($_G['forum_threadlist'] as $key => $thread) { if($_G['hiddenexists'] && $thread['hidden']) { continue;?><?php } if(!$thread['forumstick'] && ($thread['isgroup'] == 1 || $thread['fid'] != $_G['fid'])) { if($thread['related_group'] == 0 && $thread['closed'] > 1) { $thread[tid]=$thread[closed];?><?php } } $waterfallwidth = $_G['setting']['forumpicstyle']['thumbwidth'] + 24;?><li style="width:<?php echo $waterfallwidth;?>px">

<?php if(!$_GET['archiveid'] && $_G['forum']['ismoderator']) { ?>

<div style="position:absolute;margin:1px;padding:2px;background:#FFF">

<?php if($thread['fid'] == $_G['fid']) { if($thread['displayorder'] <= 3 || $_G['adminid'] == 1) { ?>

<input onclick="tmodclick(this)" type="checkbox" name="moderate[]" value="<?php echo $thread['tid'];?>" />

<?php } else { ?>

<input type="checkbox" disabled="disabled" />

<?php } } else { ?>

<input type="checkbox" disabled="disabled" />

<?php } ?>

</div>

<?php } ?>

<div class="c cl">

<a href="forum.php?mod=viewthread&amp;tid=<?php echo $thread['tid'];?>&amp;<?php if($_GET['archiveid']) { ?>archiveid=<?php echo $_GET['archiveid'];?>&amp;<?php } ?>extra=<?php echo $extra;?>"<?php echo $thread['highlight'];?> <?php if($thread['isgroup'] == 1 || $thread['forumstick'] || CURMODULE == 'guide') { ?> target="_blank"<?php } else { ?> onclick="atarget(this)"<?php } ?> title="<?php echo $thread['subject'];?>" class="z">

<?php if($thread['cover']) { ?>

<img src="<?php echo $thread['coverpath'];?>" alt="<?php echo $thread['subject'];?>" width="<?php echo $_G['setting']['forumpicstyle']['thumbwidth'];?>" />

<?php } else { ?>

<span class="nopic" style="width:<?php echo $_G['setting']['forumpicstyle']['thumbwidth'];?>px; height:<?php echo $_G['setting']['forumpicstyle']['thumbwidth'];?>px;"></span>

<?php } ?>

</a>

</div>

<h3 class="xw0">

<?php if(!empty($_G['setting']['pluginhooks']['forumdisplay_thread'][$key])) echo $_G['setting']['pluginhooks']['forumdisplay_thread'][$key];?>

<a href="forum.php?mod=viewthread&amp;tid=<?php echo $thread['tid'];?>&amp;<?php if($_GET['archiveid']) { ?>archiveid=<?php echo $_GET['archiveid'];?>&amp;<?php } ?>extra=<?php echo $extra;?>"<?php echo $thread['highlight'];?><?php echo $thread['highlight'];?><?php if($thread['isgroup'] == 1 || $thread['forumstick']) { ?> target="_blank"<?php } else { ?> onclick="atarget(this)"<?php } ?> title="<?php echo $thread['subject'];?>"><?php echo $thread['subject'];?></a>

</h3>

<div class="auth cl">

<cite class="xg1 y">

喜欢: <?php if($thread['recommends']) { ?><?php echo $thread['recommends'];?><?php } else { ?>0<?php } ?>

 &nbsp; 回复: <a href="forum.php?mod=viewthread&amp;tid=<?php echo $thread['tid'];?>&amp;extra=<?php echo $extra;?>" title="<?php echo $thread['replies'];?> 回复"><?php echo $thread['replies'];?></a>

</cite>

<?php if(!empty($_G['setting']['pluginhooks']['forumdisplay_author'][$key])) echo $_G['setting']['pluginhooks']['forumdisplay_author'][$key];?>

<?php if($thread['authorid'] && $thread['author']) { ?>

<a href="home.php?mod=space&amp;uid=<?php echo $thread['authorid'];?>"><?php echo $thread['author'];?></a><?php if(!empty($verify[$thread['authorid']])) { ?> <?php echo $verify[$thread['authorid']];?><?php } } else { ?>

<?php echo $_G['setting']['anonymoustext'];?>

<?php } ?>

</div>

</li>

<?php } ?>

</ul>

                        </div>

<div id="tmppic" style="display: none;"></div>

<script src="<?php echo $_G['setting']['jspath'];?>redef.js?<?php echo VERHASH;?>" type="text/javascript"></script>

<script type="text/javascript" reload="1">

var wf = {};



_attachEvent(window, "load", function () {

if($("waterfall")) {

wf = waterfall();

}



<?php if($page < $_G['page_next'] && !$subforumonly) { ?>

var page = <?php echo $page;?> + 1,

maxpage = Math.min(<?php echo $page;?> + 10,<?php echo $maxpage;?> + 1),

stopload = 0,

scrolltimer = null,

tmpelems = [],

tmpimgs = [],

markloaded = [],

imgsloaded = 0,

loadready = 0,

showready = 1,

nxtpgurl = 'forum.php?mod=forumdisplay&fid=<?php echo $_G['fid'];?>&filter=<?php echo $filter;?>&orderby=<?php echo $_GET['orderby'];?><?php echo $forumdisplayadd['page'];?>&page=',

wfloading = "<img src=\"<?php echo IMGDIR;?>/loading.gif\" alt=\"\" width=\"16\" height=\"16\" class=\"vm\" /> 加载中...",

pgbtn = $("pgbtn").getElementsByTagName("a")[0];



function loadmore() {

var url = nxtpgurl + page + '&t=' + parseInt((+new Date()/1000)/(Math.random()*1000));

var x = new Ajax("HTML");

x.get(url, function (s) {

s = s.replace(/\n|\r/g, "");

if(s.indexOf("id=\"pgbtn\"") == -1) {

$("pgbtn").style.display = "none";

stopload++;

window.onscroll = null;

}



s = s.substring(s.indexOf("<ul id=\"waterfall\""), s.indexOf("<div id=\"tmppic\""));

s = s.replace("id=\"waterfall\"", "");

$("tmppic").innerHTML = s;

loadready = 1;

});

}



window.onscroll = function () {

if(scrolltimer == null) {

scrolltimer = setTimeout(function () {

try {

if(page < maxpage && stopload < 2 && showready && ((document.documentElement.scrollTop || document.body.scrollTop) + document.documentElement.clientHeight + 500) >= document.documentElement.scrollHeight) {

pgbtn.innerHTML = wfloading;

loadready = 0;

showready = 0;

loadmore();

tmpelems = $("tmppic").getElementsByTagName("li");

var waitingtimer = setInterval(function () {

stopload >= 2 && clearInterval(waitingtimer);

if(loadready && stopload < 2) {

if(!tmpelems.length) {

page++;

pgbtn.href = nxtpgurl + Math.min(page, <?php echo $maxpage;?>);

pgbtn.innerHTML = "下一页 &raquo;";

showready = 1;

clearInterval(waitingtimer);

}

for(var i = 0, j = tmpelems.length; i < j; i++) {

if(tmpelems[i]) {

tmpimgs = tmpelems[i].getElementsByTagName("img");

imgsloaded = 0;

for(var m = 0, n = tmpimgs.length; m < n; m++) {

tmpimgs[m].onerror = function () {

this.style.display = "none";

};

markloaded[m] = tmpimgs[m].complete ? 1 : 0;

imgsloaded += markloaded[m];

}

if(imgsloaded == tmpimgs.length) {

$("waterfall").appendChild(tmpelems[i]);

wf = waterfall({

"index": wf.index,

"totalwidth": wf.totalwidth,

"totalheight": wf.totalheight,

"columnsheight": wf.columnsheight

});

}

}

}

}

}, 40);

}

} catch(e) {}

scrolltimer = null;

}, 320);

}

};

<?php } ?>



});



</script>

<?php } } else { ?>

<tbody class="bw0_all"><tr><th colspan="<?php if(!$_GET['archiveid'] && $_G['forum']['ismoderator']) { ?>6<?php } else { ?>5<?php } ?>"><p class="emp">本版块或指定的范围内尚无主题</p></th></tr></tbody>

</table><!-- end of table "forum_G[fid]" branch 3/3 -->

<?php } if($_G['forum']['ismoderator'] && $_G['forum_threadcount']) { include template('forum/topicadmin_modlayer'); } ?>

</form>

</div>

<?php if(!empty($_G['setting']['pluginhooks']['forumdisplay_threadlist_bottom'])) echo $_G['setting']['pluginhooks']['forumdisplay_threadlist_bottom'];?>

</div>



<?php if(!IS_ROBOT) { ?>

<div id="filter_special_menu" class="p_pop" style="display:none" change="location.href='forum.php?mod=forumdisplay&fid=<?php echo $_G['fid'];?>&filter='+$('filter_special').value">

<ul>

<li><a href="forum.php?mod=forumdisplay&amp;fid=<?php echo $_G['fid'];?><?php if($_GET['archiveid']) { ?>&amp;archiveid=<?php echo $_GET['archiveid'];?><?php } ?>">全部主题</a></li>

<?php if($showpoll) { ?><li><a href="forum.php?mod=forumdisplay&amp;fid=<?php echo $_G['fid'];?>&amp;filter=specialtype&amp;specialtype=poll<?php echo $forumdisplayadd['specialtype'];?><?php if($_GET['archiveid']) { ?>&amp;archiveid=<?php echo $_GET['archiveid'];?><?php } ?>">投票</a></li><?php } if($showtrade) { ?><li><a href="forum.php?mod=forumdisplay&amp;fid=<?php echo $_G['fid'];?>&amp;filter=specialtype&amp;specialtype=trade<?php echo $forumdisplayadd['specialtype'];?><?php if($_GET['archiveid']) { ?>&amp;archiveid=<?php echo $_GET['archiveid'];?><?php } ?>">商品</a></li><?php } if($showreward) { ?><li><a href="forum.php?mod=forumdisplay&amp;fid=<?php echo $_G['fid'];?>&amp;filter=specialtype&amp;specialtype=reward<?php echo $forumdisplayadd['specialtype'];?><?php if($_GET['archiveid']) { ?>&amp;archiveid=<?php echo $_GET['archiveid'];?><?php } ?>">悬赏</a></li><?php } if($showactivity) { ?><li><a href="forum.php?mod=forumdisplay&amp;fid=<?php echo $_G['fid'];?>&amp;filter=specialtype&amp;specialtype=activity<?php echo $forumdisplayadd['specialtype'];?><?php if($_GET['archiveid']) { ?>&amp;archiveid=<?php echo $_GET['archiveid'];?><?php } ?>">活动</a></li><?php } if($showdebate) { ?><li><a href="forum.php?mod=forumdisplay&amp;fid=<?php echo $_G['fid'];?>&amp;filter=specialtype&amp;specialtype=debate<?php echo $forumdisplayadd['specialtype'];?><?php if($_GET['archiveid']) { ?>&amp;archiveid=<?php echo $_GET['archiveid'];?><?php } ?>">辩论</a></li><?php } ?>

</ul>

</div>

    <div id="th_type_menu" class="p_pop" style="display:none">

<ul>

<li><a href="forum.php?mod=forumdisplay&amp;fid=<?php echo $_G['fid'];?>&amp;filter=lastpost&amp;orderby=lastpost<?php echo $forumdisplayadd['lastpost'];?><?php if($_GET['archiveid']) { ?>&amp;archiveid=<?php echo $_GET['archiveid'];?><?php } ?>" class="xi2<?php if($_GET['filter'] == 'lastpost') { ?> xw1<?php } ?>">最新</a></li>

<li><a href="forum.php?mod=forumdisplay&amp;fid=<?php echo $_G['fid'];?>&amp;filter=heat&amp;orderby=heats<?php echo $forumdisplayadd['heat'];?><?php if($_GET['archiveid']) { ?>&amp;archiveid=<?php echo $_GET['archiveid'];?><?php } ?>" class="xi2<?php if($_GET['filter'] == 'heat') { ?> xw1<?php } ?>">热门</a></li>

<li><a href="forum.php?mod=forumdisplay&amp;fid=<?php echo $_G['fid'];?>&amp;filter=hot" class="xi2<?php if($_GET['filter'] == 'hot') { ?> xw1<?php } ?>">热帖</a></li>

<li><a href="forum.php?mod=forumdisplay&amp;fid=<?php echo $_G['fid'];?>&amp;filter=digest&amp;digest=1<?php echo $forumdisplayadd['digest'];?><?php if($_GET['archiveid']) { ?>&amp;archiveid=<?php echo $_GET['archiveid'];?><?php } ?>" class="xi2<?php if($_GET['filter'] == 'digest') { ?> xw1<?php } ?>">精华</a></li>

</ul>

</div>

<div id="filter_reward_menu" class="p_pop" style="display:none" change="forum.php?mod=forumdisplay&amp;fid=<?php echo $_G['fid'];?>&amp;filter=specialtype&amp;specialtype=reward<?php echo $forumdisplayadd['specialtype'];?><?php if($_GET['archiveid']) { ?>&amp;archiveid=<?php echo $_GET['archiveid'];?><?php } ?>&amp;rewardtype='+$('filter_reward').value">

<ul>

<li><a href="forum.php?mod=forumdisplay&amp;fid=<?php echo $_G['fid'];?>&amp;filter=specialtype&amp;specialtype=reward<?php echo $forumdisplayadd['specialtype'];?><?php if($_GET['archiveid']) { ?>&amp;archiveid=<?php echo $_GET['archiveid'];?><?php } ?>">全部悬赏</a></li>

<?php if($showpoll) { ?><li><a href="forum.php?mod=forumdisplay&amp;fid=<?php echo $_G['fid'];?>&amp;filter=specialtype&amp;specialtype=reward<?php echo $forumdisplayadd['specialtype'];?><?php if($_GET['archiveid']) { ?>&amp;archiveid=<?php echo $_GET['archiveid'];?><?php } ?>&amp;rewardtype=1">进行中</a></li><?php } if($showtrade) { ?><li><a href="forum.php?mod=forumdisplay&amp;fid=<?php echo $_G['fid'];?>&amp;filter=specialtype&amp;specialtype=reward<?php echo $forumdisplayadd['specialtype'];?><?php if($_GET['archiveid']) { ?>&amp;archiveid=<?php echo $_GET['archiveid'];?><?php } ?>&amp;rewardtype=2">已解决</a></li><?php } ?>

</ul>

</div>

<div id="filter_dateline_menu" class="p_pop" style="display:none">

<ul class="pop_moremenu">

<li>排序: 

<a href="forum.php?mod=forumdisplay&amp;fid=<?php echo $_G['fid'];?>&amp;filter=author&amp;orderby=dateline<?php echo $forumdisplayadd['author'];?><?php if($_GET['archiveid']) { ?>&amp;archiveid=<?php echo $_GET['archiveid'];?><?php } ?>" <?php if($_GET['orderby'] == 'dateline') { ?>class="xw1"<?php } ?>>发帖时间</a><span class="pipe">|</span>

<a href="forum.php?mod=forumdisplay&amp;fid=<?php echo $_G['fid'];?>&amp;filter=reply&amp;orderby=replies<?php echo $forumdisplayadd['reply'];?><?php if($_GET['archiveid']) { ?>&amp;archiveid=<?php echo $_GET['archiveid'];?><?php } ?>" <?php if($_GET['orderby'] == 'replies') { ?>class="xw1"<?php } ?>>回复/查看</a><span class="pipe">|</span>

<a href="forum.php?mod=forumdisplay&amp;fid=<?php echo $_G['fid'];?>&amp;filter=reply&amp;orderby=views<?php echo $forumdisplayadd['view'];?><?php if($_GET['archiveid']) { ?>&amp;archiveid=<?php echo $_GET['archiveid'];?><?php } ?>" <?php if($_GET['orderby'] == 'views') { ?>class="xw1"<?php } ?>>查看</a>

</li>

<li>时间: 

<a href="forum.php?mod=forumdisplay&amp;fid=<?php echo $_G['fid'];?>&amp;orderby=<?php echo $_GET['orderby'];?>&amp;filter=dateline<?php echo $forumdisplayadd['dateline'];?><?php if($_GET['archiveid']) { ?>&amp;archiveid=<?php echo $_GET['archiveid'];?><?php } ?>" <?php if(!$_GET['dateline']) { ?>class="xw1"<?php } ?>>全部时间</a><span class="pipe">|</span>

<a href="forum.php?mod=forumdisplay&amp;fid=<?php echo $_G['fid'];?>&amp;orderby=<?php echo $_GET['orderby'];?>&amp;filter=dateline&amp;dateline=86400<?php echo $forumdisplayadd['dateline'];?><?php if($_GET['archiveid']) { ?>&amp;archiveid=<?php echo $_GET['archiveid'];?><?php } ?>" <?php if($_GET['dateline'] == '86400') { ?>class="xw1"<?php } ?>>一天</a><span class="pipe">|</span>

<a href="forum.php?mod=forumdisplay&amp;fid=<?php echo $_G['fid'];?>&amp;orderby=<?php echo $_GET['orderby'];?>&amp;filter=dateline&amp;dateline=172800<?php echo $forumdisplayadd['dateline'];?><?php if($_GET['archiveid']) { ?>&amp;archiveid=<?php echo $_GET['archiveid'];?><?php } ?>" <?php if($_GET['dateline'] == '172800') { ?>class="xw1"<?php } ?>>两天</a><span class="pipe">|</span>

<a href="forum.php?mod=forumdisplay&amp;fid=<?php echo $_G['fid'];?>&amp;orderby=<?php echo $_GET['orderby'];?>&amp;filter=dateline&amp;dateline=604800<?php echo $forumdisplayadd['dateline'];?><?php if($_GET['archiveid']) { ?>&amp;archiveid=<?php echo $_GET['archiveid'];?><?php } ?>" <?php if($_GET['dateline'] == '604800') { ?>class="xw1"<?php } ?>>一周</a><span class="pipe">|</span>

<a href="forum.php?mod=forumdisplay&amp;fid=<?php echo $_G['fid'];?>&amp;orderby=<?php echo $_GET['orderby'];?>&amp;filter=dateline&amp;dateline=2592000<?php echo $forumdisplayadd['dateline'];?><?php if($_GET['archiveid']) { ?>&amp;archiveid=<?php echo $_GET['archiveid'];?><?php } ?>" <?php if($_GET['dateline'] == '2592000') { ?>class="xw1"<?php } ?>>一个月</a><span class="pipe">|</span>

<a href="forum.php?mod=forumdisplay&amp;fid=<?php echo $_G['fid'];?>&amp;orderby=<?php echo $_GET['orderby'];?>&amp;filter=dateline&amp;dateline=7948800<?php echo $forumdisplayadd['dateline'];?><?php if($_GET['archiveid']) { ?>&amp;archiveid=<?php echo $_GET['archiveid'];?><?php } ?>" <?php if($_GET['dateline'] == '7948800') { ?>class="xw1"<?php } ?>>三个月</a>

</li>

</ul>

</div>

<?php if(!$_G['setting']['closeforumorderby']) { ?>

<div id="filter_orderby_menu" class="p_pop" style="display:none">

<ul>

<li><a href="forum.php?mod=forumdisplay&amp;fid=<?php echo $_G['fid'];?><?php if($_GET['archiveid']) { ?>&amp;archiveid=<?php echo $_GET['archiveid'];?><?php } ?>">默认排序</a></li>

<li><a href="forum.php?mod=forumdisplay&amp;fid=<?php echo $_G['fid'];?>&amp;filter=author&amp;orderby=dateline<?php echo $forumdisplayadd['author'];?><?php if($_GET['archiveid']) { ?>&amp;archiveid=<?php echo $_GET['archiveid'];?><?php } ?>">发帖时间</a></li>

<li><a href="forum.php?mod=forumdisplay&amp;fid=<?php echo $_G['fid'];?>&amp;filter=reply&amp;orderby=replies<?php echo $forumdisplayadd['reply'];?><?php if($_GET['archiveid']) { ?>&amp;archiveid=<?php echo $_GET['archiveid'];?><?php } ?>">回复/查看</a></li>

<li><a href="forum.php?mod=forumdisplay&amp;fid=<?php echo $_G['fid'];?>&amp;filter=reply&amp;orderby=views<?php echo $forumdisplayadd['view'];?><?php if($_GET['archiveid']) { ?>&amp;archiveid=<?php echo $_GET['archiveid'];?><?php } ?>">查看</a></li>

<li><a href="forum.php?mod=forumdisplay&amp;fid=<?php echo $_G['fid'];?>&amp;filter=lastpost&amp;orderby=lastpost<?php echo $forumdisplayadd['lastpost'];?><?php if($_GET['archiveid']) { ?>&amp;archiveid=<?php echo $_GET['archiveid'];?><?php } ?>">最后发表</a></li>

<li><a href="forum.php?mod=forumdisplay&amp;fid=<?php echo $_G['fid'];?>&amp;filter=heat&amp;orderby=heats<?php echo $forumdisplayadd['heat'];?><?php if($_GET['archiveid']) { ?>&amp;archiveid=<?php echo $_GET['archiveid'];?><?php } ?>">热门</a></li>

</ul>

</div>

<?php } } if($multipage && $filter != 'hot') { ?>

<div style="display: none;">

<?php if(!($_G['forum']['picstyle'] && !$_G['cookie']['forumdefstyle'])) { ?>

<a class="bm_h" href="javascript:;" rel="<?php echo $multipage_more;?>" curpage="<?php echo $page;?>" id="autopbn" totalpage="<?php echo $maxpage;?>" picstyle="<?php echo $_G['forum']['picstyle'];?>" forumdefstyle="<?php echo $_G['cookie']['forumdefstyle'];?>">下一页</a>

<script src="<?php echo $_G['setting']['jspath'];?>autoloadpage.js?<?php echo VERHASH;?>" type="text/javascript"></script>

<?php } else { ?>

<div id="pgbtn" class="pgbtn"><a href="forum.php?mod=forumdisplay&amp;fid=<?php echo $_G['fid'];?>&amp;filter=<?php echo $filter;?>&amp;orderby=<?php echo $_GET['orderby'];?><?php echo $forumdisplayadd['page'];?>&amp;<?php echo $multipage_archive;?>&amp;page=<?php echo $nextpage;?>" hidefocus="true">下一页 &raquo;</a></div>

<?php } ?>

</div>

<?php } ?>

<div class="bm bw0 pgs cl" style="margin: 20px 0; display: none;">
<span class="pgb y"><a href="forum.php">返&nbsp;回</a></span>
<?php if(!$_GET['archiveid']) { ?><a id="newspecialtmp" onClick="showWindow('newthread', 'forum.php?mod=post&amp;action=newthread&amp;fid=<?php echo $_G['fid'];?>')" href="javascript:;" title="发布新帖" style="margin: 0;">发布新帖</a><?php } ?>
<?php if(!empty($_G['setting']['pluginhooks']['forumdisplay_postbutton_bottom'])) echo $_G['setting']['pluginhooks']['forumdisplay_postbutton_bottom'];?>
</div><?php } else { ?><div id="threadlist" class="bm bmw"<?php if($_G['uid']) { ?> style="position: relative;"<?php } ?>>
<?php if($quicksearchlist && !$_GET['archiveid']) { ?><script type="text/javascript">
var forum_optionlist = <?php if($forum_optionlist) { ?>'<?php echo $forum_optionlist;?>'<?php } else { ?>''<?php } ?>;
</script>
<script src="<?php echo $_G['setting']['jspath'];?>threadsort.js?<?php echo VERHASH;?>" type="text/javascript"></script>
<style type="text/css">
.ptn.pbn { width: 100%; border-radius: 4px}
.tsm th { color: #999999}
.tsm th {
    padding: 5px 0 5px 10px;
    border: none;
    vertical-align: top;
}
.tsm td {
    padding: 5px 10px 5px 0;
    border: none;
    vertical-align: top;
}
.tsm th {
    padding-left: 20px;
    width: 50px !important;
}
.tl .tf { padding: 0 !important}
.tl .tsm .th, .tl .tsm th, .tl .tsm td { border: 0}
#thread_types, .annoucement, .tabx_cont, .pgb, .pgs #newspecialtmp { display: none}

.listbox { width: 1140px; margin: 0; border-radius: 0 !important; background: none !important}

body { background: #F6F6F6}
.bm, .thread_box { box-shadow: none !important; background: none !important}

#threadlist { padding: 0 !important}

.ptn.pbn { padding: 10px 0 !important; margin: 0 0 20px 0 !important; border-bottom: 0 !important; background: #FFFFFF}
#hour24 { background: #FFFFFF}
.tsm { margin: 0; font-size: 14px}
.tsm th { padding-left: 20px}

#ct { margin-left: auto !important; margin-right: auto !important}
.drag, .sd, #pt { display: none}
.mn { width: calc(100% - 190px) !important}

.tsm .a a { font-weight: 400 !important; color: #91c700 !important}

#thread_types { padding-top: 0 !important}/
.td_tit, .tpi, .pgs #newspecialtmp, #thread_types, .bm.bml.pbn, .y.pgb a { display: none}

.liebiao li { position: relative; float: left; width: 208px; margin: 0 20px 20px 0; border-radius: 4px; box-shadow: 0 3px 12px rgba(0,0,0,0.1); overflow: hidden; background: #FFFFFF}
.liebiao li h3 { height: 20px; line-height: 20px; padding: 0 10px; margin: 10px 0; font-weight: 400}
.score[data-v-4f4c42cd] {
    position: absolute;
    text-align: center;
    line-height: 22px;
display: block;
    font-size: 12px;
    right: 0;
    top: 0;
    width: 40px;
    height: 22px;
    font-weight: 700;
    color: #fff;
    background: #ffb800;
    border-radius: 0 10px 0 10px;
}
.pcb h1, .pcb h2 { margin: 0}
.bg-white {
    background-color: #fff;
}
.tsj-book-cover { float: left; width: 90px; height: 130px; margin-right: 15px; box-shadow: 0 1px 1px 0 rgb(0 0 0 / 14%), 0 2px 1px -1px rgb(0 0 0 / 20%), 0 1px 3px 0 rgb(0 0 0 / 12%); border-radius: 2px; overflow: hidden}
.tsj-book-cover img { width: 90px; height: 130px; border-radius: 2px}
.flex-col { float: left; width: 260px}
.text-color-high { color: rgba(0,0,0,.87); font-size: 18px !important; margin-bottom: 3px !important}
.text-color-medium { color: rgba(0,0,0,.6)}
.text-sm { font-size: 14px}
.leading-normal { line-height: 26px}
#tsj-book-star-chart { float: right; padding-left: 18px; border-left: 1px solid rgb(234, 234, 234); margin-right: 35px}
.text-xs { font-size: 12px}
.text-color-low { color: rgba(0,0,0,.4)}
.leading-snug { float: left; color: rgb(250, 158, 20)}
.text-4xl { font-size: 36px}
.ml-1 { margin-left: 5px}
.tsj-rate {
width: 125px;
    padding-bottom: 10px;
background: url(template/dingzhi_2024_cnbl/dingzhi/bk.png) no-repeat left top
}
.tsj-rate .tsj-rate__star {
    display: inline-block;
    font-weight: 100;
    width: 24px;
    height: 19px;
    font-size: 16px;
    color: #e0e0e0;
    text-align: center;
    vertical-align: middle;
}
.text-xss {
    font-size: 12px;
}
.mr-2 { float: left}
.w-full.items-center { float: left; margin-left: 8px}
.mr-1 {
    margin-right: 5px;
}
.h-2 {
    height: 8px;
}
.rounded-xl {
float: left;
margin-right: 10px;
height: 22px;
line-height: 22px;
padding: 0 10px !important;
border: 1px solid #4caf50 !important;
color: #4caf50 !important;
    border-radius: 22px;
}
.pt-2 {
    padding-top: 10px;
}
.max-l-2 {
    max-height: 48px;
}
.max-l-1 { max-height: none !important}
.whitespace-pre-line {}

.text-justify {
    text-align: justify;
}
.relative {
    position: relative;
}
.overflow-hidden {
    overflow: hidden;
}
.leading-relaxed {
    line-height: 26px;
overflow: hidden
}
.text-color-primary {
    color: #4caf50;
}

.z-10 {
    z-index: 10;
}
.bottom-0 {
    bottom: 0;
}
.right-0 {
    right: 0;
}
.absolute {
    position: absolute;
}
.py-1 {
    padding-top: 5px;
    padding-bottom: 10px;
}
.btn-primary, .btn-quaternary, .btn-secondary, .btn-tertiary {
    display: inline-block;
    position: relative;
    margin: 0;
    background: transparent;
    border: none;
    outline: none;
    border-radius: 3px;
    cursor: pointer;
    text-decoration: none;
    color: #000;
    min-width: 64px;
    overflow: hidden;
    font-size: 14px;
    line-height: 1;
    opacity: 1;
    padding: 0 16px;
    text-align: center;
    line-height: 34px;
    vertical-align: middle;
    letter-spacing: 0;
    will-change: box-shadow;
    transition: box-shadow .2s cubic-bezier(.4,0,1,1),background-color .2s cubic-bezier(.4,0,.2,1),color .2s cubic-bezier(.4,0,.2,1);
}
.btn-quaternary.tsj-button--colored, .btn-secondary, .btn-tertiary, .btn-tertiary.tsj-button--colored {
    color: #4caf50 !important;
}
.btn-quaternary.tsj-button--colored.tsj-button--outlined, .btn-secondary, .btn-secondary.tsj-button--outlined, .btn-tertiary.tsj-button--colored.tsj-button--outlined, .btn-tertiary.tsj-button--outlined {
    border: 1px solid #4caf50;
}
.btn-primary, .btn-quaternary, .btn-quaternary.tsj-button--ripple, .btn-secondary, .btn-tertiary, .btn-tertiary.tsj-button--ripple {
    position: relative;
    overflow: hidden;
width: 206px
}
.btn-primary {
    background-color: hsla(0,0%,62%,.2);
}
.btn-primary, .btn-primary.tsj-button--colored {
    background-color: #4caf50;
    color: #fff;
}
.mx-2 {
    margin-left: 10px;
    margin-right: 10px;
}
.max-l-1 .read_all { display: none}
.max-l-1 .read_all1 { display: block !important}
.author { position: absolute; padding: 0 10px; height: 22px; line-height: 22px; background: rgba(0,0,0,0.5); color: #FFFFFF; top: 186px; right: 0; font-size: 12px}
.author a { color: #FFFFFF !important; font-size: 12px}
.tf a.xi2 { display: inline-block; padding: 0 15px !important; height: 32px; line-height: 32px; color: #333333; background: #F6F6F6 !important; border-radius: 6px; margin-right: 10px !important; font-weight: 400 !important}
.tf a.xi2.xw1 { color: #FFFFFF; background: #ffb800 !important; font-weight: 400 !important}
.fenye, .fenye1 { background: none !important}
</style><?php if(isset($quicksearchlist) && is_array($quicksearchlist)) foreach($quicksearchlist as $optionid => $option) { $formsearch = '';?>        <?php if(getstatus($option['search'], 1)) { ?>
        <?php
$__VERHASH = VERHASH;$formsearch = <<<EOF

            <div style="
EOF;
 if($option['type'] == 'checkbox') { 
$formsearch .= <<<EOF
clear:left;padding-bottom: 5px;
EOF;
 } else { 
$formsearch .= <<<EOF
float: left;width: 48%;height: 30px; overflow: hidden;
EOF;
 } 
$formsearch .= <<<EOF
">
                <span style="padding-right: 1em;">{$option['title']}:</span>
                
EOF;
 if(in_array($option['type'], array('radio', 'checkbox', 'select', 'range'))) { 
$formsearch .= <<<EOF

                    <span id="select_{$option['identifier']}">
                    
EOF;
 if($option['type'] == 'select') { 
$formsearch .= <<<EOF

                        
EOF;
 if($_GET['searchoption'][$optionid]['value']) { 
$formsearch .= <<<EOF

                            <script type="text/javascript">
                                changeselectthreadsort('{$_GET['searchoption'][$optionid]['value']}', {$optionid}, 'search');
                            </script>
                        
EOF;
 } else { 
$formsearch .= <<<EOF

                            <select name="searchoption[{$optionid}][value]" id="{$option['identifier']}" onchange="changeselectthreadsort(this.value, '{$optionid}', 'search');" class="ps vm">
                                <option value="0">请选择</option>
                            
EOF;
 if(isset($option['choices']) && is_array($option['choices'])) foreach($option['choices'] as $id => $value) { 
$formsearch .= <<<EOF
                                
EOF;
 if(!$value['foptionid']) { 
$formsearch .= <<<EOF

                                <option value="{$id}">{$value['content']} 
EOF;
 if($value['level'] != 1) { 
$formsearch .= <<<EOF
&raquo;
EOF;
 } 
$formsearch .= <<<EOF
</option>
                                
EOF;
 } 
$formsearch .= <<<EOF

                            
EOF;
 } 
$formsearch .= <<<EOF

                            </select>
<input type="hidden" name="searchoption[{$optionid}][type]" value="{$option['type']}">
                        
EOF;
 } 
$formsearch .= <<<EOF

                    
EOF;
 } elseif($option['type'] != 'checkbox') { 
$formsearch .= <<<EOF

                        <select name="searchoption[{$optionid}][value]" id="{$option['identifier']}" class="ps vm">
                            <option value="0">请选择</option>
                        
EOF;
 if(isset($option['choices']) && is_array($option['choices'])) foreach($option['choices'] as $id => $value) { 
$formsearch .= <<<EOF
                            <option value="{$id}" 
EOF;
 if($_GET['searchoption'][$optionid]['value'] == $id) { 
$formsearch .= <<<EOF
selected="selected"
EOF;
 } 
$formsearch .= <<<EOF
>{$value}</option>
                        
EOF;
 } 
$formsearch .= <<<EOF

                        </select>
                        <input type="hidden" name="searchoption[{$optionid}][type]" value="{$option['type']}">
                    
EOF;
 } else { 
$formsearch .= <<<EOF

                        
EOF;
 if(isset($option['choices']) && is_array($option['choices'])) foreach($option['choices'] as $id => $value) { 
$formsearch .= <<<EOF
                            <label><input type="checkbox" class="pc" name="searchoption[{$optionid}][value][{$id}]" value="{$id}" 
EOF;
 if(is_array($_GET['searchoption'][$optionid]) && $_GET['searchoption'][$optionid]['value'][$id]) { 
$formsearch .= <<<EOF
checked="checked"
EOF;
 } 
$formsearch .= <<<EOF
>{$value}</label>
                        
EOF;
 } 
$formsearch .= <<<EOF

                        <input type="hidden" name="searchoption[{$optionid}][type]" value="checkbox">
                    
EOF;
 } 
$formsearch .= <<<EOF

                    </span>
                
EOF;
 } else { 
$formsearch .= <<<EOF

                    
EOF;
 if($option['type'] == 'calendar') { 
$formsearch .= <<<EOF

                        <script src="{$_G['setting']['jspath']}calendar.js?{$__VERHASH}" type="text/javascript"></script>
                        <input type="text" name="searchoption[{$optionid}][value]" size="15" class="px vm" value="
EOF;
 if(is_array($_GET['searchoption'][$optionid])) { 
$formsearch .= <<<EOF
{$_GET['searchoption'][$optionid]['value']}
EOF;
 } 
$formsearch .= <<<EOF
" onclick="showcalendar(event, this, false)" />
                    
EOF;
 } else { 
$formsearch .= <<<EOF

                        <input type="text" name="searchoption[{$optionid}][value]" size="15" class="px vm" value="
EOF;
 if(is_array($_GET['searchoption'][$optionid])) { 
$formsearch .= <<<EOF
{$_GET['searchoption'][$optionid]['value']}
EOF;
 } 
$formsearch .= <<<EOF
" />
                    
EOF;
 } 
$formsearch .= <<<EOF

                
EOF;
 } 
$formsearch .= <<<EOF

            </div>
            
EOF;
?>
<?php } ?>
    <?php $formsearch_html .= $formsearch;?><?php $fontsearch = '';$showoption = array();$tmpcount = 0;?><?php if(getstatus($option['search'], 2)) { ?>
    <?php
$fontsearch = <<<EOF

<tr>
<th width="8%">{$option['title']}:</th>
            <td>
                <ul class="cl">
                    <li
EOF;
 if($_GET[''.$option['identifier']] == 'all') { 
$fontsearch .= <<<EOF
 class="a"
EOF;
 } 
$fontsearch .= <<<EOF
><a href="forum.php?mod=forumdisplay&amp;fid={$_G['fid']}&amp;filter=sortid&amp;sortid={$_GET['sortid']}&amp;searchsort=1{$filterurladd}&amp;{$option['identifier']}=all{$sorturladdarray[$option['identifier']]}" class="xi2">不限</a></li>

EOF;
 if($option['type'] == 'select') { if(isset($option['choices']) && is_array($option['choices'])) foreach($option['choices'] as $id => $value) { if($value['foptionid'] == 0) { 
$fontsearch .= <<<EOF

<li
EOF;
 if(preg_match('/^'.$value['optionid'].'\./i', $_GET[''.$option['identifier']]) || preg_match('/^'.$value['optionid'].'$/i', $_GET[''.$option['identifier']])) { 
$fontsearch .= <<<EOF
 class="a"
EOF;
 } 
$fontsearch .= <<<EOF
><a href="forum.php?mod=forumdisplay&amp;fid={$_G['fid']}&amp;filter=sortid&amp;sortid={$_GET['sortid']}&amp;searchsort=1&amp;{$option['identifier']}={$id}{$sorturladdarray[$option['identifier']]}" class="xi2">{$value['content']}</a></li>

EOF;
 } } if(!($_GET[''.$option['identifier']] == 'all' || !isset($_GET[''.$option['identifier']]))) { if(isset($option['choices']) && is_array($option['choices'])) foreach($option['choices'] as $id => $value) { if((preg_match('/^'.$value['foptionid'].'\./i', $_GET[''.$option['identifier']]) || preg_match('/^'.$value['foptionid'].'$/i', $_GET[''.$option['identifier']])) && ($showoption[$value['count']][$id] = $value)) { } } if(ksort($showoption)) { } if(isset($showoption) && is_array($showoption)) foreach($showoption as $optioncount => $values) { if($tmpcount != $optioncount && ($tmpcount = $optioncount)) { 
$fontsearch .= <<<EOF

</ul><ul class="subtsm cl">
EOF;
 if(isset($values) && is_array($values)) foreach($values as $id => $value) { 
$fontsearch .= <<<EOF
<li
EOF;
 if(preg_match('/^'.$value['optionid'].'\./i', $_GET[''.$option['identifier']]) || preg_match('/^'.$value['optionid'].'$/i', $_GET[''.$option['identifier']])) { 
$fontsearch .= <<<EOF
 class="a"
EOF;
 } 
$fontsearch .= <<<EOF
><a href="forum.php?mod=forumdisplay&amp;fid={$_G['fid']}&amp;filter=sortid&amp;sortid={$_GET['sortid']}&amp;searchsort=1&amp;{$option['identifier']}={$id}{$sorturladdarray[$option['identifier']]}" class="xi2">{$value['content']}</a></li>

EOF;
 } 
$fontsearch .= <<<EOF

</ul><ul>

EOF;
 } } } } else { if(isset($option['choices']) && is_array($option['choices'])) foreach($option['choices'] as $id => $value) { 
$fontsearch .= <<<EOF
<li
EOF;
 if($_GET[''.$option['identifier']] && !strcmp($id, $_GET[''.$option['identifier']])) { 
$fontsearch .= <<<EOF
 class="a"
EOF;
 } 
$fontsearch .= <<<EOF
><a href="forum.php?mod=forumdisplay&amp;fid={$_G['fid']}&amp;filter=sortid&amp;sortid={$_GET['sortid']}&amp;searchsort=1&amp;{$option['identifier']}={$id}{$sorturladdarray[$option['identifier']]}" class="xi2">{$value}</a></li>

EOF;
 } } 
$fontsearch .= <<<EOF

                </ul>
            </td>
</tr>

EOF;
?>
     <?php } ?>
     <?php $fontsearch_html .= $fontsearch;?><?php } if($formsearch_html || $fontsearch_html) { ?>
<div>
<?php if($fontsearch_html) { ?>
    <div class="ptn pbn mbm bbs">
    <table id="fontsearch" class="tsm cl">
         <?php echo $fontsearch_html;?>
    </table>
    </div>
<?php } ?>
    <div class="tabx_conts" style="width: calc(100% - 40px); padding: 15px 20px; margin: 0 0 20px 0; border-bottom: 0; background: #FFFFFF; position: relative; z-index: 100; box-shadow: none; border-radius: 4px;">
<div class="cl">
<div class="th" style="padding: 0; margin-bottom: 0; border: 0; background: none;">

<table cellspacing="0" cellpadding="0" style="width: 100%;">

<tr>

<th colspan="<?php if(!$_GET['archiveid'] && $_G['forum']['ismoderator']) { ?>3<?php } else { ?>2<?php } ?>" style="border-top: 0; margin: 0; padding: 0;">

<?php if(CURMODULE != 'guide') { ?>

<div class="tf" style="height: 32px; line-height: 32px;">
<a id="filter_dateline" href="javascript:;" class="showmenu showmenu2 xi2<?php if($_GET['dateline']) { ?> xw1<?php } ?>" onclick="showMenu(this.id)" style="float: right; display: none;">更多排序</a>
<span id="atarget" <?php if($_G['cookie']['atarget'] > 0) { ?>onclick="setatarget(-1)" class="y atarget_1"<?php } else { ?>onclick="setatarget(1)" class="y"<?php } ?> title="在新窗口中打开帖子" style="margin-top: 8px !important;">新窗</span>

<?php if($_GET['specialtype'] == 'reward') { ?>

<a id="filter_reward" href="javascript:;" class="showmenu xi2<?php if($_GET['rewardtype']) { ?> xw1<?php } ?>" onclick="showMenu(this.id)"><?php if($_GET['rewardtype'] == '') { ?>全部悬赏<?php } elseif($_GET['rewardtype'] == '1') { ?>进行中<?php } elseif($_GET['rewardtype'] == '2') { ?>已解决<?php } ?></a>&nbsp;

<?php } ?>

<a href="forum.php?mod=forumdisplay&amp;fid=<?php echo $_G['fid'];?>&amp;filter=lastpost&amp;orderby=lastpost<?php echo $forumdisplayadd['lastpost'];?><?php if($_GET['archiveid']) { ?>&amp;archiveid=<?php echo $_GET['archiveid'];?><?php } ?>" class="dfsj_latest xi2<?php if($_GET['filter'] == 'lastpost') { ?> xw1<?php } ?>" style="padding-left: 0; margin-right: 22px; background: none;">最新</a>

<a href="forum.php?mod=forumdisplay&amp;fid=<?php echo $_G['fid'];?>&amp;filter=heat&amp;orderby=heats<?php echo $forumdisplayadd['heat'];?><?php if($_GET['archiveid']) { ?>&amp;archiveid=<?php echo $_GET['archiveid'];?><?php } ?>" class="xi2<?php if($_GET['filter'] == 'heat') { ?> xw1<?php } ?>">热门</a>

<a href="forum.php?mod=forumdisplay&amp;fid=<?php echo $_G['fid'];?>&amp;filter=digest&amp;digest=1<?php echo $forumdisplayadd['digest'];?><?php if($_GET['archiveid']) { ?>&amp;archiveid=<?php echo $_GET['archiveid'];?><?php } ?>" class="dfsj_digest xi2<?php if($_GET['filter'] == 'digest') { ?> xw1<?php } ?>" style="padding-left: 0; background: none;">精华</a>
            <span class="pipe display_none">|</span>
            <a href="forum.php?mod=forumdisplay&amp;fid=<?php echo $_G['fid'];?>&amp;orderby=<?php echo $_GET['orderby'];?>&amp;filter=dateline<?php echo $forumdisplayadd['dateline'];?><?php if($_GET['archiveid']) { ?>&amp;archiveid=<?php echo $_GET['archiveid'];?><?php } ?>" class="xi2 display_none <?php if(!$_GET['dateline']) { ?>xw1<?php } ?>">全部时间</a>
            <a href="forum.php?mod=forumdisplay&amp;fid=<?php echo $_G['fid'];?>&amp;orderby=<?php echo $_GET['orderby'];?>&amp;filter=dateline&amp;dateline=86400<?php echo $forumdisplayadd['dateline'];?><?php if($_GET['archiveid']) { ?>&amp;archiveid=<?php echo $_GET['archiveid'];?><?php } ?>" class="xi2 display_none <?php if($_GET['dateline'] == '86400') { ?>xw1<?php } ?>">一天</a>
<a href="forum.php?mod=forumdisplay&amp;fid=<?php echo $_G['fid'];?>&amp;orderby=<?php echo $_GET['orderby'];?>&amp;filter=dateline&amp;dateline=172800<?php echo $forumdisplayadd['dateline'];?><?php if($_GET['archiveid']) { ?>&amp;archiveid=<?php echo $_GET['archiveid'];?><?php } ?>" class="xi2 display_none <?php if($_GET['dateline'] == '172800') { ?>xw1<?php } ?>">两天</a>
<a href="forum.php?mod=forumdisplay&amp;fid=<?php echo $_G['fid'];?>&amp;orderby=<?php echo $_GET['orderby'];?>&amp;filter=dateline&amp;dateline=604800<?php echo $forumdisplayadd['dateline'];?><?php if($_GET['archiveid']) { ?>&amp;archiveid=<?php echo $_GET['archiveid'];?><?php } ?>" class="xi2 display_none <?php if($_GET['dateline'] == '604800') { ?>xw1<?php } ?>">一周</a>
<a href="forum.php?mod=forumdisplay&amp;fid=<?php echo $_G['fid'];?>&amp;orderby=<?php echo $_GET['orderby'];?>&amp;filter=dateline&amp;dateline=2592000<?php echo $forumdisplayadd['dateline'];?><?php if($_GET['archiveid']) { ?>&amp;archiveid=<?php echo $_GET['archiveid'];?><?php } ?>" class="xi2 display_none <?php if($_GET['dateline'] == '2592000') { ?>xw1<?php } ?>">一个月</a>
<a href="forum.php?mod=forumdisplay&amp;fid=<?php echo $_G['fid'];?>&amp;orderby=<?php echo $_GET['orderby'];?>&amp;filter=dateline&amp;dateline=7948800<?php echo $forumdisplayadd['dateline'];?><?php if($_GET['archiveid']) { ?>&amp;archiveid=<?php echo $_GET['archiveid'];?><?php } ?>" class="xi2 display_none <?php if($_GET['dateline'] == '7948800') { ?>xw1<?php } ?>">三个月</a>
            

<a id="filter_special" href="javascript:;" class="showmenu xi2<?php if($_GET['specialtype']) { ?> xw1<?php } ?>" onclick="showMenu(this.id)" style="display: none;"><?php if($_GET['specialtype'] == 'poll') { ?>投票<?php } elseif($_GET['specialtype'] == 'trade') { ?>商品<?php } elseif($_GET['specialtype'] == 'reward') { ?>悬赏<?php } elseif($_GET['specialtype'] == 'activity') { ?>活动<?php } elseif($_GET['specialtype'] == 'debate') { ?>辩论<?php } else { ?>全部主题<?php } ?></a>&nbsp;

                        <a id="th_type" href="javascript:;" class="showmenu xi2" onclick="showMenu(this.id)" style="display: none;">最新</a>

<?php if(empty($_G['forum']['picstyle']) && $_GET['orderby'] == 'lastpost' && (!$_G['setting']['forumseparator'] || !$separatepos) && !$_GET['filter']) { ?>

<a href="javascript:;" onclick="checkForumnew_btn('<?php echo $_G['fid'];?>')" title="查看更新" class="forumrefresh"></a>

<?php } if($_GET['filter'] == 'hot') { ?>

<script src="<?php echo $_G['setting']['jspath'];?>calendar.js?<?php echo VERHASH;?>" type="text/javascript"></script>

<span><?php echo $ctime;?></span>

<img src="<?php echo IMGDIR;?>/date_magnify.png" class="cur1" alt="" id="hottime" value="<?php echo $ctime;?>" fid="<?php echo $_G['fid'];?>" onclick="showcalendar(event, this, false, false, false, false, function(){viewhot(this);});" align="absmiddle" />

<?php } ?>

<span id="clearstickthread" style="display: none;">

<a href="javascript:;" onclick="clearStickThread()" class="xi2" title="显示置顶" style="margin-right: 22px; display: inline-block;">显示置顶</a>

</span>


</div>

<?php } else { ?>

标题

<?php } ?>

</th>

<?php if(empty($_G['forum']['picstyle'])) { if(CURMODULE == 'guide') { ?>

<td class="by" style="width: 0; border-top: 0;"></td>

<?php } ?>

<td class="by" style="width: 0; border-top: 0;"></td>

<td class="num" style="width: 0; border-top: 0;"></td>

<td class="by" style="width: 0; border-top: 0;"></td>

<?php } else { ?>

<td class="by" colspan="3" style="width: 70px; border-top: 0; padding-left: 12px;">

<a<?php if(empty($_G['cookie']['forumdefstyle'])) { ?> href="forum.php?mod=forumdisplay&amp;fid=<?php echo $_G['fid'];?>&amp;forumdefstyle=yes" class="chked"<?php } else { ?> href="forum.php?mod=forumdisplay&amp;fid=<?php echo $_G['fid'];?>&amp;forumdefstyle=no" class="unchk"<?php } ?> title="图片模式浏览帖子">图片模式</a>

</td>

<?php } ?>

</tr>

</table>

</div>
</div>
</div>
<?php if($formsearch_html) { ?>
    <form method="post" autocomplete="off" name="searhsort" id="searhsort" class="bbs bm_c pns mfm cl" action="forum.php?mod=forumdisplay&amp;fid=<?php echo $_G['fid'];?>&amp;filter=sortid&amp;sortid=<?php echo $_GET['sortid'];?>">
        <input type="hidden" name="formhash" value="<?php echo FORMHASH;?>" />
        <?php echo $formsearch_html;?>
        <div class="ptm cl"><button type="submit" class="pn pnc" name="searchsortsubmit"><em>搜索</em></button></div>
    </form>
<?php } ?>
</div>
<?php } } ?>
<?php echo $sorttemplate['header'];?>
<form method="post" autocomplete="off" name="moderate" id="moderate" action="forum.php?mod=topicadmin&amp;action=moderate&amp;fid=<?php echo $_G['fid'];?>&amp;infloat=yes&amp;nopost=yes">
<?php echo $sorttemplate['body'];?>
<?php if($_G['forum']['ismoderator'] && $_G['forum_threadcount']) { include template('forum/topicadmin_modlayer'); } ?>
</form>
<?php echo $sorttemplate['footer'];?>
</div>

<div class="bm bw0 pgs cl">
<?php echo $multipage;?>
<span <?php if($_G['setting']['visitedforums']) { ?>id="visitedforumstmp" onmouseover="$('visitedforums').id = 'visitedforumstmp';this.id = 'visitedforums';showMenu({'ctrlid':this.id,'pos':'21'})"<?php } ?> class="pgb y"><a href="forum.php">返&nbsp;回</a></span>
<?php if(!$_GET['archiveid']) { ?><a href="javascript:;" id="newspecialtmp" onmouseover="$('newspecial').id = 'newspecialtmp';this.id = 'newspecial';showMenu({'ctrlid':this.id})"<?php if(!$_G['forum']['allowspecialonly'] && empty($_G['forum']['picstyle'])) { ?> onclick="showWindow('newthread', 'forum.php?mod=post&action=newthread&fid=<?php echo $_G['fid'];?>')"<?php } else { ?> onclick="location.href='forum.php?mod=post&action=newthread&fid=<?php echo $_G['fid'];?>';return false;"<?php } ?> title="发新帖" class="pgsbtn showmenu">发新帖</a><?php } ?>
<?php if(!empty($_G['setting']['pluginhooks']['forumdisplay_postbutton_bottom'])) echo $_G['setting']['pluginhooks']['forumdisplay_postbutton_bottom'];?>
</div><?php } } ?>

<!--[diy=diyfastposttop]--><div id="diyfastposttop" class="area"></div><!--[/diy]-->

            

<?php if($fastpost) { include template('forum/forumdisplay_fastpost'); } ?>



<?php if(!empty($_G['setting']['pluginhooks']['forumdisplay_bottom'])) echo $_G['setting']['pluginhooks']['forumdisplay_bottom'];?>

<!--[diy=diyforumdisplaybottom]--><div id="diyforumdisplaybottom" class="area"></div><!--[/diy]-->

</div>
<div class="cl">
 <div class="cl">
    <span id="fd_page_bottom"><?php echo $multipage;?></span>
 </div>
</div>
</div>

<div class="sd" style="float: right; width: 270px;">

<?php if(!empty($_G['setting']['pluginhooks']['forumdisplay_side_top'])) echo $_G['setting']['pluginhooks']['forumdisplay_side_top'];?>
        <div class="module_box1 cl" style="padding: 15px; margin-bottom: 15px;">
<div class="cl">
        <div class="z icon_box1 cl" style="margin: 0 10px 0 0;"><?php if($_G['forum']['icon']) { ?><img class="forum_icon" src="data/attachment/common/<?php echo $_G['forum']['icon'];?>" alt=""><?php } else { ?><img class="forum_icon" src="template/dingzhi_2024_cnbl/dingzhi/no_icon.png" alt=""><?php } ?></div>
        <div class="cl" style="float: left; width: calc(100% - 50px); line-height: 40px;">
<div class="cl" style="margin: 0 0 6px 0;">
<h1 class="xs2">
<a href="forum.php?mod=forumdisplay&amp;fid=<?php echo $_G['fid'];?>" style="font-size: 16px; font-weight: 400; color: #333333;"><?php echo $_G['forum']['name'];?></a>
</h1>
</div>
<?php if(!empty($forumarchive)) { ?>
<div id="forumarchive_menu" class="p_pop" style="display:none">
<ul>
<li><a href="forum.php?mod=forumdisplay&amp;fid=<?php echo $_G['fid'];?>">全部主题</a></li><?php if(isset($forumarchive) && is_array($forumarchive)) foreach($forumarchive as $id => $info) { ?><li><a href="forum.php?mod=forumdisplay&amp;fid=<?php echo $_G['fid'];?>&amp;archiveid=<?php echo $id;?>"><?php echo $info['displayname'];?> (<?php echo $info['threads'];?>)</a></li>
<?php } ?>
</ul>
</div>
<?php } ?>
                </div>
</div>
<div class="cl">
                <div class="cl">						<?php if($_G['page'] == 1 && $_G['forum']['rules']) { ?>
<div id="forum_rules_<?php echo $_G['fid'];?>" style="padding: 3px 0; margin: 0 0 6px 0; <?php echo $collapse['forum_rules'];?>;">
<div style="color: #868e96; font-size: 14px;"><?php echo $_G['forum']['rules'];?></div>
</div>
<?php } ?></div>
                <div class="cl"><?php if(!$subforumonly) { ?><span class="xs1 xw0 i" style="color: #868e96; font-size: 14px !important;">今日: <strong class="xi1" style="font-weight: 400; color: #333333;"><?php echo $_G['forum']['todayposts'];?></strong><?php if($_G['forum']['todayposts']) { if($_G['forum']['todayposts'] < $_G['forum']['yesterdayposts']) { } else { } } ?><span class="pipe"></span>主题: <strong class="xi1" style="font-weight: 400; color: #333333;"><?php echo $_G['forum']['threads'];?></strong><?php if($_G['forum']['rank']) { ?><span class="pipe"></span>排名: <strong class="xi1" title="上次排名:<?php echo $_G['forum']['oldrank'];?>" style="font-weight: 400; color: #333333;"><?php echo $_G['forum']['rank'];?></strong><?php if($_G['forum']['rank'] <= $_G['forum']['oldrank']) { } else { } } ?></span><?php } ?></div>
<?php if((!empty($_G['forum']['domain']) && !empty($_G['setting']['domain']['root']['forum'])) || $moderatedby || ($_G['page'] == 1 && $_G['forum']['rules'])) { ?>
<div class="cl" style="padding: 8px 0 0 0; margin: 8px 0 0 0; border-top: 1px dashed #eaebec;">
<?php if(!empty($_G['forum']['domain']) && !empty($_G['setting']['domain']['root']['forum'])) { ?>
<div class="pbn">本版域名: <a href="<?php echo $_G['scheme'];?>://<?php echo $_G['forum']['domain'];?>.<?php echo $_G['setting']['domain']['root']['forum'];?>" id="group_link"><?php echo $_G['scheme'];?>://<?php echo $_G['forum']['domain'];?>.<?php echo $_G['setting']['domain']['root']['forum'];?></a></div>
<?php } if($moderatedby) { ?><div class="banzhu">版主: <span><?php echo $moderatedby;?></span></div><?php } ?>
</div>
<?php } ?>
</div>
<div class="cl">
<span class="z">
<?php if(helper_access::check_module('favorite')) { ?><a href="home.php?mod=spacecp&amp;ac=favorite&amp;type=forum&amp;id=<?php echo $_G['fid'];?>&amp;handlekey=favoriteforum&amp;formhash=<?php echo FORMHASH;?>" onclick="showWindow(this.id, this.href, 'get', 0);" style="color: #868e96;">收藏本版 <strong class="xi1" id="number_favorite" <?php if(!$_G['forum']['favtimes']) { ?> style="display:none;"<?php } ?>>(<span id="number_favorite_num"><?php echo $_G['forum']['favtimes'];?></span>)</strong></a><?php } ?>
<?php if(!empty($_G['setting']['pluginhooks']['forumdisplay_forumaction'])) echo $_G['setting']['pluginhooks']['forumdisplay_forumaction'];?>

<?php if($_G['forum']['ismoderator']) { if($_G['forum']['recyclebin']) { ?>
<span class="pipe display_none"></span><a href="<?php if($_G['adminid'] == 1) { ?>admin.php?mod=forum&action=recyclebin&frames=yes<?php } elseif($_G['forum']['ismoderator']) { ?>forum.php?mod=modcp&action=recyclebin&fid=<?php echo $_G['fid'];?><?php } ?>" class="display_none" target="_blank" style="color: #868e96;">回收站</a>
<?php } if($_G['forum']['ismoderator'] && !$_GET['archiveid']) { ?>
<span class="pipe display_none"></span>
<?php if($_G['forum']['status'] != 3) { ?>
<a href="forum.php?mod=modcp&amp;fid=<?php echo $_G['fid'];?>" style="color: #868e96;" class="display_none">管理面板</a>
<?php } else { ?>
<a href="forum.php?mod=group&amp;action=manage&amp;fid=<?php echo $_G['fid'];?>" style="color: #868e96;" class="display_none">管理面板</a>
<?php } } ?>
<?php if(!empty($_G['setting']['pluginhooks']['forumdisplay_modlink'])) echo $_G['setting']['pluginhooks']['forumdisplay_modlink'];?>
<?php } ?>
</span>
</div>
<a onClick="showWindow('newthread', 'forum.php?mod=post&amp;action=newthread&amp;fid=<?php echo $_G['fid'];?>')" href="javascript:;" title="发布新帖" class="btn-primaryx" style="margin: 15px 0 0 0;"><i class="icon fas fa-edit Button-icon" style="margin: 0 7px 0 0;"></i>发新帖</a>
</div>

<?php if($subexists && $_G['page'] == 1) { include template('forum/forumdisplay_subforum'); } ?>

<div class="drag">
<!--[diy=diy2]--><div id="diy2" class="area"><div id="frameBocjJe" class="frame move-span cl frame-1"><div id="frameBocjJe_left" class="column frame-1-c"><div id="frameBocjJe_left_temp" class="move-span temp"></div><?php block_display('20');?></div></div><div id="frameLYgexu" class="frame move-span cl frame-1"><div id="frameLYgexu_left" class="column frame-1-c"><div id="frameLYgexu_left_temp" class="move-span temp"></div><?php block_display('18');?></div></div><div id="framec1q4mO" class="frame move-span cl frame-1"><div id="framec1q4mO_left" class="column frame-1-c"><div id="framec1q4mO_left_temp" class="move-span temp"></div><?php block_display('19');?></div></div></div><!--[/diy]-->
</div>

<?php if(!$subforumonly) { ?>

<div class="box_1 cl" style="padding-top: 20px; padding-bottom: 0; margin-bottom: 15px; display: none;">

                   <div class="side_tit" style="padding: 0; margin: 0;">

                      <span class="span-mark"></span>

                      <h2><?php echo cutstr($_G['cache']['forums'][$_G['forum']['fup']]['name'], 22, '')?></h2>

                   </div>

<div class="bankuai bm_c" style="padding: 15px;">

<ul class="cl" style="width: 270px;"><?php if(isset($_G['cache']['forums']) && is_array($_G['cache']['forums'])) foreach($_G['cache']['forums'] as $bforum) { if($bforum['fup'] == $_G['forum']['fup'] && $bforum['status']) { ?>

<li><a href="forum.php?mod=forumdisplay&amp;fid=<?php echo $bforum['fid'];?>"><?php echo $bforum['name'];?></a></li>

<?php } } ?>

</ul>

</div>

</div>

<?php } ?>

<?php if(!empty($_G['setting']['pluginhooks']['forumdisplay_side_bottom'])) echo $_G['setting']['pluginhooks']['forumdisplay_side_bottom'];?>

</div>

</div>

</div>
<script src="template/dingzhi_2024_cnbl/dingzhi/js/sticky.js?<?php echo VERHASH;?>" type="text/javascript" type="text/javascript"></script>
<script type="text/javascript">
      jQuery(".flow1").sticky({ topSpacing: 65,bottomSpacing: 127});
</script>
<script type="text/javascript">
      jQuery(".flow").sticky({ topSpacing: 65,bottomSpacing: 176});
</script>

<?php 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">

<?php if(!$_G['forum']['allowspecialonly']) { ?><li><a href="forum.php?mod=post&amp;action=newthread&amp;fid=<?php echo $_G['fid'];?>">发表帖子</a></li><?php } if($_G['forum']['threadsorts'] && !$_G['forum']['allowspecialonly']) { if(isset($_G['forum']['threadsorts']['types']) && is_array($_G['forum']['threadsorts']['types'])) foreach($_G['forum']['threadsorts']['types'] as $id => $threadsorts) { if($_G['forum']['threadsorts']['show'][$id]) { ?>

<li class="popupmenu_option"><a href="forum.php?mod=post&amp;action=newthread&amp;fid=<?php echo $_G['fid'];?>&amp;extra=<?php echo $extra;?>&amp;sortid=<?php echo $id;?>"><?php echo $threadsorts;?></a></li>

<?php } } } if($_G['group']['allowpostpoll']) { ?><li class="poll"><a href="forum.php?mod=post&amp;action=newthread&amp;fid=<?php echo $_G['fid'];?>&amp;special=1">发起投票</a></li><?php } if($_G['group']['allowpostreward']) { ?><li class="reward"><a href="forum.php?mod=post&amp;action=newthread&amp;fid=<?php echo $_G['fid'];?>&amp;special=3">发布悬赏</a></li><?php } if($_G['group']['allowpostdebate']) { ?><li class="debate"><a href="forum.php?mod=post&amp;action=newthread&amp;fid=<?php echo $_G['fid'];?>&amp;special=5">发起辩论</a></li><?php } if($_G['group']['allowpostactivity']) { ?><li class="activity"><a href="forum.php?mod=post&amp;action=newthread&amp;fid=<?php echo $_G['fid'];?>&amp;special=4">发起活动</a></li><?php } if($_G['group']['allowposttrade']) { ?><li class="trade"><a href="forum.php?mod=post&amp;action=newthread&amp;fid=<?php echo $_G['fid'];?>&amp;special=2">出售商品</a></li><?php } if($_G['setting']['threadplugins']) { if(isset($_G['forum']['threadplugin']) && is_array($_G['forum']['threadplugin'])) foreach($_G['forum']['threadplugin'] as $tpid) { if(array_key_exists($tpid, $_G['setting']['threadplugins']) && @in_array($tpid, $_G['group']['allowthreadplugin'])) { ?>

<li class="popupmenu_option"<?php if($_G['setting']['threadplugins'][$tpid]['icon']) { ?> style="background-image:url(source/plugin/<?php echo $tpid;?>/<?php echo $_G['setting']['threadplugins'][$tpid]['icon'];?>)"<?php } ?>><a href="forum.php?mod=post&amp;action=newthread&amp;fid=<?php echo $_G['fid'];?>&amp;specialextra=<?php echo $tpid;?>"><?php echo $_G['setting']['threadplugins'][$tpid]['name'];?></a></li>

<?php } } } ?>

</ul>

<?php } 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">浏览过的版块</h3>

<ul class="xl xl1">

<?php echo $_G['setting']['visitedforums'];?>

</ul>

</td>

</tr>

</table>

</div>

<?php } if($_G['setting']['threadmaxpages'] > 1 && $page && !$subforumonly) { ?>

<script type="text/javascript">document.onkeyup = function(e){keyPageScroll(e, <?php if($page > 1) { ?>1<?php } else { ?>0<?php } ?>, <?php if($page < $_G['setting']['threadmaxpages'] && $page < $_G['page_next']) { ?>1<?php } else { ?>0<?php } ?>, 'forum.php?mod=forumdisplay&fid=<?php echo $_G['fid'];?>&filter=<?php echo $filter;?>&orderby=<?php echo $_GET['orderby'];?><?php echo $forumdisplayadd['page'];?>&<?php echo $multipage_archive;?>', <?php echo $page;?>);}</script>

<?php } if(empty($_G['forum']['picstyle']) && $_GET['orderby'] == 'lastpost' && empty($_GET['filter']) ) { ?>

<script type="text/javascript">checkForumnew_handle = setTimeout(function () {checkForumnew(<?php echo $_G['fid'];?>, lasttime);}, checkForumtimeout);</script>

<?php } ?>

<div class="wp mtn">

<!--[diy=diy3]--><div id="diy3" class="area"></div><!--[/diy]-->

</div>

<?php if(empty($_G['setting']['disfixednv_forumdisplay']) ) { ?><script>fixed_top_nv();</script><?php } include template('common/footer'); ?>

Youez - 2016 - github.com/yon3zu
LinuXploit