Files
2025-06-27 21:04:18 +08:00

399 lines
16 KiB
PHP

<?php echo 'Discuz!应用中心开发者-简约设计';exit;?>
<!--{if ($_G['setting']['mobile']['mobilehotthread'] || $_G['setting']['mobile']['portal']['catnav']) && $_GET['forumlist'] != 1}-->
<!--{if !$_GET['gid']}-->
<!--{eval dheader('Location:portal.php?mod=index&mobile=2');exit;}-->
<!--{/if}-->
<!--{/if}-->
<!--{template common/header}-->
<!--{eval require_once(DISCUZ_ROOT.'./template/bygsjw_sj/touch/php/forum_discuz.php');}-->
<script type="text/javascript">
function getvisitclienthref() {
var visitclienthref = '';
if(ios) {
visitclienthref = 'https://itunes.apple.com/cn/app/zhang-shang-lun-tan/id489399408?mt=8';
} else if(andriod) {
visitclienthref = 'https://www.discuz.vip/mobile.php?platform=android';
}
return visitclienthref;
}
</script>
<!--{if $_GET['visitclient']}-->
<header class="header">
<div class="nav"> <span>{lang warmtip}</span> </div>
</header>
<div class="cl">
<div class="clew_con">
<h2 class="tit">{lang zsltmobileclient}</h2>
<p>{lang visitbbsanytime}
<input class="redirect button" id="visitclientid" type="button" value="{lang clicktodownload}" href="" />
</p>
<h2 class="tit">{lang iphoneandriodmobile}</h2>
<p>{lang visitwapmobile}
<input class="redirect button" type="button" value="{lang clicktovisitwapmobile}" href="$_GET[visitclient]" />
</p>
</div>
</div>
<script type="text/javascript">
var visitclienthref = getvisitclienthref();
if(visitclienthref) {
jQuery('#visitclientid').attr('href', visitclienthref);
} else {
window.location.href = '$_GET[visitclient]';
}
</script>
<!--{else}-->
<!--{if $showvisitclient}-->
<div class="visitclienttip vm" style="display:block;"> <a href="javascript:;" id="visitclientid" class="btn_download">{lang downloadnow}</a>
<p> {lang downloadzslttoshareview} </p>
</div>
<script type="text/javascript">
var visitclienthref = getvisitclienthref();
if(visitclienthref) {
jQuery('#visitclientid').attr('href', visitclienthref);
jQuery('.visitclienttip').css('display', 'block');
}
</script>
<!--{/if}-->
<!-- header start -->
<header class="header_xin">
<link rel="stylesheet" href="{$_G['style']['styleimgdir']}/kapian.css" type="text/css">
<style type="text/css">
.hdc_xin .header_search_y{ float: right; width: .26rem; height: .26rem; line-height: 999em; margin-right: .03rem; overflow: hidden; background: #fff url({$_G['style']['styleimgdir']}/sousuo_hui.png) no-repeat center center; background-size: .16rem .16rem; border-radius: .12rem;}
.linear_bg{ padding-top: .02rem; margin-top: -.02rem; background: linear-gradient(to top,#f1f1f1 30%,$_G['style']['zhuti'] 100%);}
<!--{if $_G['style']['gonggao'] == 'on'}-->
<!--{if $announcements}-->
body div.byg_tongji{ margin: 1px .08rem .08rem; border-radius: 0 0 .1rem .1rem;}
<!--{/if}-->
<!--{/if}-->
<!--{if $_G['style']['tongji'] == "on"}-->
body div.byg_an{ margin: .08rem .08rem 1px; border-radius: .1rem .1rem 0 0;}
<!--{/if}-->
</style>
<div id="byg_header">
<div class="hdc_xin">
<div class="header_z cl header_index_y">
<a href="javascript:;" class="shouye">
<img src="<!--{avatar($_G['uid'], 'middle', true)}-->" alt="头像" class="header_index_avatar"/>
<!--{if $_G[member][newpm] || $post_notice_new}-->
<img src="{$_G['style']['styleimgdir']}/new_pm.png" alt="提醒" class="new_pm"/>
<!--{/if}-->
</a>
</div>
<h1 style="text-align: left;">
<a href="./" title="$_G[setting][bbname]">
<!--{if $bygsjw_logo}-->
<img src="{$bygsjw_logo['pic']}" alt="LOGO"/>
<!--{else}-->
<img src="{$_G['style']['boardimg']}" alt="LOGO"/>
<!--{/if}-->
</a>
</h1>
<form method="post" autocomplete="off" action="search.php?mod=forum&mobile=2" id="searchform" class="header_search">
<input type="hidden" name="formhash" value="{FORMHASH}" />
<input value="$keyword" autocomplete="off" name="srchtxt" placeholder="请输入搜索内容" id="scform_srchtxt" class="header_search_z" />
<input type="hidden" name="searchsubmit" value="yes" />
<input type="submit" value="{lang search}" id="scform_submit" class="header_search_y" />
</form>
</div>
<!--{template common/header_nav}-->
</div>
</header>
<div class="header_nav_cover"></div>
<script type="text/javascript">
jQuery(".header_search_z").click(function(){jQuery(".bg_xin").addClass("header_search_big");});
jQuery(".header_nav_cover").click(function(){jQuery(".bg_xin").removeClass("header_search_big");});
</script>
<!-- header end -->
<!--{if $forum_gg1 || $forum_gg2 || $forum_gg3}-->
<!--【论坛首页广告幻灯片】-->
<div class="linear_bg">
<div data-byginto class="forum_gg">
<div class="forum_gg_sl_bd">
<ul class="swiper-wrapper">
<!--{if $forum_gg1}-->
<li class="swiper-slide">{$forum_gg1}</li>
<!--{/if}-->
<!--{if $forum_gg2}-->
<li class="swiper-slide">{$forum_gg2}</li>
<!--{/if}-->
<!--{if $forum_gg3}-->
<li class="swiper-slide">{$forum_gg3}</li>
<!--{/if}-->
</ul>
</div>
</div>
</div>
<!--{/if}-->
<!--{hook/global_header_mobile}-->
<!--{hook/index_top}-->
<!--{hook/index_top_mobile}-->
<!--{if $_G['setting']['mobile']['forum']['index'] == 3}-->
<!--【X3.5论坛首页四格】-->
<link rel="stylesheet" type="text/css" href="{$_G['style']['styleimgdir']}/swiper.min.css">
<script type="text/javascript" src="{$_G['style']['styleimgdir']}/swiper.jquery.min.js"></script>
<!--{if !empty($_G['setting']['grid']['showgrid']) && !$_G['setting']['grid']['gridtype']}-->
<div class="dz-swiper_box dz-swiper">
<ul class="swiper-wrapper">
<!--{loop $grids['slide'] $stid $svalue}-->
<li class="swiper-slide"><a href="{$svalue['url']}"><img src="$svalue['image']" width="100%" class="vm"><span>$svalue['subject']</span></a></li>
<!--{/loop}-->
</ul>
<div class="swiper-forum"></div>
</div>
<script>
var swiper = new Swiper('.dz-swiper', {
loop : true,
speed: 800,
autoplay: {
delay: 3000,
disableOnInteraction: false,
},
pagination: {
el: '.swiper-forum',
type: 'fraction',
},
});
</script>
<!--{/if}-->
<!--{eval loadcache(array('forums'));$i=0;}-->
<!--{if !empty($_G['cache']['heats']['message'])}-->
<div class="hotbox cl">
<h2><span>{lang mobredian}</span>{lang mobtuijian}</h2>
<div class="hotbox-toutiao cl">
<ul>
<!--{loop $_G['cache']['heats']['message'] $data}-->
<li><a href="forum.php?mod=viewthread&tid=$data['tid']"><span>$data['subject']</span>$data['message']</a></li>
<!--{/loop}-->
</ul>
</div>
<div class="listbox hotbox-list cl">
<ul>
<!--{loop $_G['cache']['heats']['subject'] $data}-->
<li><a href="forum.php?mod=viewthread&tid=$data['tid']"><span class="mbk">$_G['cache']['forums'][$data['fid']]['name']</span><span class="mx">|</span>$data['subject']</a></li>
<!--{/loop}-->
</ul>
</div>
</div>
<!--{/if}-->
<!--{hook/index_catlist_top}-->
<!--{if !empty($_G['setting']['grid']['showgrid'])}-->
<div class="discuz_4grid_box">
<div class="tabs flex-box cl">
<a href="javascript:;" class="flex mon">{lang collection_lastthread}</a>
<a href="javascript:;" class="flex">{lang show_newthreads}</a>
<a href="javascript:;" class="flex">{$_G['setting']['navs'][2]['navname']}{lang hot_thread}</a>
<a href="javascript:;" class="flex">{lang post_digest_thread}</a>
<!--{if $_G['setting']['mobile']['forum']['index'] == 2}--><a href="forum.php?forumlist=1" class="flex redirect">{lang forum_list}</a><!--{/if}-->
</div>
<div id="tabs-box" class="swiper-container listbox cl">
<div class="swiper-wrapper">
<div class="swiper-slide">
<ul>
<!--{loop $grids['newthread'] $thread}-->
<!--{if !$thread['forumstick'] && $thread['closed'] > 1 && ($thread['isgroup'] == 1 || $thread['fid'] != $_G['fid'])}-->
<!--{eval $thread['tid']=$thread['closed'];}-->
<!--{/if}-->
<li><a href="forum.php?mod=viewthread&tid=$thread['tid']"{if $thread['highlight']} $thread['highlight']{/if} title="$thread['oldsubject']"><span class="mybk">$thread['dateline']</span><span class="mico"></span>{$thread['oldsubject']}</a></li>
<!--{/loop}-->
</ul>
</div>
<div class="swiper-slide">
<ul>
<!--{loop $grids['newreply'] $thread}-->
<!--{if !$thread['forumstick'] && $thread['closed'] > 1 && ($thread['isgroup'] == 1 || $thread['fid'] != $_G['fid'])}-->
<!--{eval $thread['tid']=$thread['closed'];}-->
<!--{/if}-->
<li><a href="forum.php?mod=viewthread&tid=$thread['tid']"{if $thread['highlight']} $thread['highlight']{/if} title="$thread['oldsubject']"><span class="mybk">$thread['replies'] {lang reply}</span><span class="mico"></span>{$thread['oldsubject']}</a></li>
<!--{/loop}-->
</ul>
</div>
<div class="swiper-slide">
<ul>
<!--{loop $grids['hot'] $thread}-->
<!--{if !$thread['forumstick'] && $thread['closed'] > 1 && ($thread['isgroup'] == 1 || $thread['fid'] != $_G['fid'])}-->
<!--{eval $thread['tid']=$thread['closed'];}-->
<!--{/if}-->
<!--{eval $i++;}-->
<li><a href="forum.php?mod=viewthread&tid=$thread['tid']"{if $thread['highlight']} $thread['highlight']{/if} title="$thread['oldsubject']"><span class="mybk">$thread['views'] {lang mobrenqi}</span><span class="mnum">$i</span>{$thread['oldsubject']}</a></li>
<!--{/loop}-->
</ul>
</div>
<div class="swiper-slide">
<ul>
<!--{loop $grids['digest'] $thread}-->
<!--{if !$thread['forumstick'] && $thread['closed'] > 1 && ($thread['isgroup'] == 1 || $thread['fid'] != $_G['fid'])}-->
<!--{eval $thread['tid']=$thread['closed'];}-->
<!--{/if}-->
<li><a href="forum.php?mod=viewthread&tid=$thread['tid']"{if $thread['highlight']} $thread['highlight']{/if} title="$thread['oldsubject']"><span class="mybk">$thread['author']</span><span class="mico"></span>{$thread['oldsubject']}</a></li>
<!--{/loop}-->
</ul>
</div>
</div>
</div>
<script type="text/javascript">
window.onload = function() {
var tabsSwiper = new Swiper('#tabs-box', {
speed: 500,
on: {
slideChangeTransitionStart: function() {
$(".tabs .mon").removeClass('mon');
$(".tabs a").eq(this.activeIndex).addClass('mon');
}
}
})
$(".tabs a").on('click', function(e) {
e.preventDefault()
$(".tabs .mon").removeClass('mon')
$(this).addClass('mon')
tabsSwiper.slideTo($(this).index())
})
}
</script>
</div>
<!--{/if}-->
<!--{/if}-->
<!--{if $_G['style']['gonggao'] == 'on'}-->
<!--{if $announcements}-->
<!--【论坛公告】-->
<div data-byginto class="byg_an">
<img src="{$_G['style']['styleimgdir']}/an.gif" alt="{lang announcement}" class="byg_an_i"/>
<div class="byg_an_ul_box">
<ul class="swiper-wrapper">$announcements</ul>
</div>
<link rel="stylesheet" type="text/css" href="{$_G['style']['styleimgdir']}/swiper.min.css">
<script type="text/javascript" src="{$_G['style']['styleimgdir']}/swiper.jquery.min.js"></script>
<script type="text/javascript">
var an_slide = new Swiper('.byg_an_ul_box', {
slideClass : 'byg_an_ul_box li',
direction: 'vertical',
loop : true,
speed: 500,
autoplay: {
delay: 3000,
disableOnInteraction: false,
},
});
</script>
</div>
<!--{/if}-->
<!--{/if}-->
<!--{if $_G['style']['tongji'] == "on"}-->
<!--【论坛统计】-->
<div data-byginto class="byg_tongji">
<ul class="cl">
<li>
<div>
<img src="{$_G['style']['styleimgdir']}/today.png" alt="{lang index_today}"/>
<span>
<p>{lang index_today}</p>
<p>{$todayposts}</p>
</span>
</div>
</li>
<li>
<div>
<img src="{$_G['style']['styleimgdir']}/posts.png" alt="{lang index_posts}"/>
<span>
<p>{lang index_posts}</p>
<p>{$posts}</p>
</span>
</div>
</li>
<li style="border:0;">
<div>
<img src="{$_G['style']['styleimgdir']}/members.png" alt="{lang index_members}"/>
<span>
<p>{lang index_members}</p>
<p>{$_G['cache']['userstats']['totalmembers']}</p>
</span>
</div>
</li>
</ul>
</div>
<!--{/if}-->
<!-- main forumlist start -->
<div class="wp wm_xin" id="wp">
<!--{loop $catlist $key $cat}-->
<div data-byginto class="bm bmw fl">
<div href="#sub_forum_$cat[fid]" class="subforumshow bm_xin cl">
<img src="{$_G['style']['styleimgdir']}/<!--{if !$_G[setting][mobile][mobileforumview]}-->kai<!--{else}-->guan<!--{/if}-->.png" alt="开关"/>
<h2><a href="javascript:;">$cat[name]</a></h2>
</div>
<div id="sub_forum_$cat[fid]" class="sub_forum {if $_G['style']['luntan_bankuai'] == 1}byg_forum1{elseif $_G['style']['luntan_bankuai'] == 2}byg_forum2{elseif $_G['style']['luntan_bankuai'] == 3}byg_forum3{elseif $_G['style']['luntan_bankuai'] == 4}byg_forum4{else}{if $cat['forumcolumns'] > 3}byg_forum4{elseif $cat['forumcolumns'] == 3}byg_forum3{elseif $cat['forumcolumns'] == 2}byg_forum2{else}byg_forum1{/if}{/if}">
<ul class="cl">
<!--{loop $cat[forums] $forumid}-->
<!--{eval $forum=$forumlist[$forumid];}-->
<li class="cl">
<!--{if $forum[icon]}-->
<div class="forum_img cl">
$forum[icon]
</div>
<!--{else}-->
<a href="forum.php?mod=forumdisplay&fid={$forum['fid']}" class="forum_img cl">
<img src="{$_G['style']['styleimgdir']}/forum.png" alt="$forum[name]"/>
</a>
<!--{/if}-->
<a href="forum.php?mod=forumdisplay&fid={$forum['fid']}" class="forum_name cl"{if $cat['forumcolumns'] < 2 && $forum['description']} style="padding: 0; height: .4rem;"{/if}>
<div class="forum_names over_one">{$forum[name]}<!--{if $forum[todayposts] && !$forum['redirect']}--><em>($forum[todayposts])</em><!--{/if}--></div>
<!--{if $cat['forumcolumns'] < 2 && $forum['description']}-->
<div class="forum_names over_one" style="font-size: .12rem; color: #999;">$forum['description']</div>
<!--{/if}-->
<div class="y">
<span class="forum_threads over_one">
<img src="{$_G['style']['styleimgdir']}/forum_threads.png" alt="主题数"/><!--{echo dnumber($forum[threads])}-->
</span>
<span class="forum_posts over_one">
<img src="{$_G['style']['styleimgdir']}/forum_posts.png" alt="帖子数"/><!--{echo dnumber($forum[posts])}-->
</span>
</div>
</a>
</li>
<!--{/loop}-->
</ul>
</div>
</div>
<!--{/loop}-->
</div>
<!-- main forumlist end -->
<script type="text/javascript">
(function() {
<!--{if !$_G[setting][mobile][mobileforumview]}-->
jQuery('.sub_forum').css('display', 'block');
<!--{else}-->
jQuery('.sub_forum').css('display', 'none');
<!--{/if}-->
jQuery('.subforumshow').on('click', function() {
var obj = jQuery(this);
var subobj = jQuery(obj.attr('href'));
if(subobj.css('display') == 'none') {
subobj.css('display', 'block');
obj.find('img').attr('src', '{$_G['style']['styleimgdir']}/kai.png');
} else {
subobj.css('display', 'none');
obj.find('img').attr('src', '{$_G['style']['styleimgdir']}/guan.png');
}
});
})();
</script>
<!--{hook/index_middle_mobile}-->
<!--{/if}-->
<!--{template common/footer}-->