117 lines
6.1 KiB
PHP
117 lines
6.1 KiB
PHP
<?php echo 'Discuz!应用中心开发者-简约设计';exit;?>
|
|
|
|
<style type="text/css">
|
|
.group_index_new{ padding: .1rem; background: #fff;}
|
|
.group_index_new .z{ line-height: .2rem; padding: .02rem .06rem .02rem .03rem; font-size: .13rem; background: $_G['style']['zhuti']; color: #fff; border-radius: .04rem;}
|
|
.group_index_new .z img{ height: .14rem; margin: .03rem; vertical-align: top;}
|
|
.group_index_new .y{ line-height: .24rem; font-size: .14rem;}
|
|
|
|
.threadlist.byg_threadlist{ margin: 0;}
|
|
|
|
<!--{if $_G['style']['liebiaotu'] == "on"}-->
|
|
.list_img1_box .list_top{ float: left; width: 2.32rem; height: .44rem; margin-bottom: .06rem; padding-right: 0; overflow: hidden;}
|
|
.list_img1_box .list_img1{ float: right; width: 1.15rem; padding: .1rem .1rem .1rem 0;}
|
|
.list_img1_box .list_img1 a{ width: 100%; height: .76rem; padding: 0; border-radius: .04rem; overflow: hidden; display: block; background-position: center center; background-repeat: no-repeat; background-size: cover; -webkit-background-size: cover;}
|
|
.list_img1_box .list_bottom{ float: left; width: 2.28rem; margin-right: 0;}
|
|
<!--{/if}-->
|
|
</style>
|
|
<div class="group_index_new cl">
|
|
<a href="forum.php?mod=post&action=newthread&fid=$_G[fid]" class="z"><img src="{$_G['style']['styleimgdir']}/fatie.png" alt="{lang send_posts}" />{lang send_posts}</a>
|
|
<a href="forum.php?mod=group&fid=$_G[fid]" class="y">{lang return_index}›</a>
|
|
</div>
|
|
<!--{if $_G['forum']['threadtypes']}-->
|
|
<div class="byg_thread_types">
|
|
<ul id="thread_types" class="swiper-wrapper">
|
|
<li id="ttp_all" class="swiper-slide{if !$_GET['typeid']} a{/if}"><a href="forum.php?mod=forumdisplay&action=list&fid=$_G[fid]">{lang forum_viewall}</a></li>
|
|
<!--{loop $_G['forum']['threadtypes']['types'] $id $name}-->
|
|
<li class="swiper-slide{if $_GET['typeid'] == $id} a{/if}"><a href="forum.php?mod=forumdisplay&action=list&fid=$_G[fid]{if $_GET['typeid'] != $id}&filter=typeid&typeid=$id$forumdisplayadd[typeid]{/if}">$name</a></li>
|
|
<!--{/loop}-->
|
|
</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">
|
|
if(jQuery(".byg_thread_types .a").length > 0) {
|
|
var tab_initial = jQuery(".byg_thread_types .a").offset().left + jQuery(".byg_thread_types .a").width() + 20 >= jQuery(window).width() ? jQuery(".byg_thread_types .a").index() : 0;
|
|
}else{
|
|
var tab_initial = 0;
|
|
}
|
|
var byg_thread_types = new Swiper('.byg_thread_types', {
|
|
initialSlide : tab_initial,
|
|
slidesPerView : 'auto',
|
|
freeMode : true,
|
|
});
|
|
</script>
|
|
<!--{/if}-->
|
|
<!--{if $_G['forum_threadcount']}-->
|
|
<!--{eval require_once(DISCUZ_ROOT.'./template/bygsjw_sj/touch/php/function_bygsjw.php');}-->
|
|
<ul class="threadlist byg_threadlist">
|
|
<!--{loop $_G['forum_threadlist'] $key $thread}-->
|
|
<!--{eval}-->
|
|
if ($_G['style']['liebiaotu'] == "on") {
|
|
$list_img1 = byg_threadlist_img($thread['tid'], $thread['authorid'], 3);
|
|
$img_number = count($list_img1);
|
|
}
|
|
<!--{/eval}-->
|
|
<li class="cl{if $img_number == 1 || $img_number == 2} list_img1_box{/if}">
|
|
<!--{hook/forumdisplay_thread_mobile $key}-->
|
|
<div class="list_top cl">
|
|
<a href="forum.php?mod=viewthread&tid=$thread[tid]&extra=$extra" $thread[highlight] class="over_two">
|
|
<!--{if $thread[folder] == 'lock'}-->
|
|
<img src="{IMGDIR}/folder_lock.gif" alt="锁定" />
|
|
<!--{elseif $thread['special'] == 1}-->
|
|
<img src="{IMGDIR}/pollsmall.gif" alt="{lang thread_poll}" />
|
|
<!--{elseif $thread['special'] == 2}-->
|
|
<img src="{IMGDIR}/tradesmall.gif" alt="{lang thread_trade}" />
|
|
<!--{elseif $thread['special'] == 3}-->
|
|
<img src="{IMGDIR}/rewardsmall.gif" alt="{lang thread_reward}" />
|
|
<!--{elseif $thread['special'] == 4}-->
|
|
<img src="{IMGDIR}/activitysmall.gif" alt="{lang thread_activity}" />
|
|
<!--{elseif $thread['special'] == 5}-->
|
|
<img src="{IMGDIR}/debatesmall.gif" alt="{lang thread_debate}" />
|
|
<!--{elseif in_array($thread['displayorder'], array(1, 2, 3, 4))}-->
|
|
<img src="{IMGDIR}/pin_$thread[displayorder].gif" alt="$_G[setting][threadsticky][3-$thread[displayorder]]" />
|
|
<!--{else}-->
|
|
<img src="{IMGDIR}/folder_$thread[folder].gif" alt="普通" />
|
|
<!--{/if}-->
|
|
<!--{eval preg_match("/<a href=\"(.*?)\".*?>(.*?)<\/a>/i", $thread['typehtml'], $thread_typehtml);}-->
|
|
<!--{if $thread_typehtml['2']}--><span class="list_typename">{$thread_typehtml['2']}</span><!--{/if}-->
|
|
{$thread[subject]}</a>
|
|
</div>
|
|
<!--{if $img_number == 1 || $img_number == 2}-->
|
|
<!--{eval $list_img1 = array_slice($list_img1,0,1);}-->
|
|
<!--{loop $list_img1 $list_img1_1}-->
|
|
<div class="list_img1 cl">
|
|
<a href="forum.php?mod=viewthread&tid=$thread[tid]&extra=$extra" style="background-image:url({if $list_img1_1[remote] == 0}{eval echo(getforumimg($list_img1_1['aid'],0,230,150))}{else}{$_G['setting']['ftp']['attachurl']}forum/{$list_img1_1[attachment]}{/if});"></a>
|
|
</div>
|
|
<!--{/loop}-->
|
|
<!--{elseif $img_number > 2}-->
|
|
<ul class="list_img3 cl">
|
|
<!--{loop $list_img1 $list_img1_1}-->
|
|
<li>
|
|
<a href="forum.php?mod=viewthread&tid=$thread[tid]&extra=$extra" style="background-image:url({if $list_img1_1[remote] == 0}{eval echo(getforumimg($list_img1_1['aid'],0,230,150))}{else}{$_G['setting']['ftp']['attachurl']}forum/{$list_img1_1[attachment]}{/if});"></a>
|
|
</li>
|
|
<!--{/loop}-->
|
|
</ul>
|
|
<!--{/if}-->
|
|
<div class="list_bottom cl">
|
|
<!--{if $thread['authorid'] && $thread['author']}-->
|
|
<a href="home.php?mod=space&uid=$thread[authorid]&do=profile" class="z">{$thread[author]}</a>
|
|
<!--{else}-->
|
|
<a href="javascript:;" class="z">{$_G[setting][anonymoustext]}</a>
|
|
<!--{/if}-->
|
|
<em class="z"> {$thread[dateline]} </em>
|
|
<span class="y">
|
|
<img src="{$_G['style']['styleimgdir']}/forum_posts.png" alt="回复数"/>{$thread[allreplies]}
|
|
</span>
|
|
<span class="y">
|
|
<img src="{$_G['style']['styleimgdir']}/chakan.png" alt="查看数"/>{$thread[views]}
|
|
</span>
|
|
</div>
|
|
</li>
|
|
<!--{/loop}-->
|
|
</ul>
|
|
{$multipage}
|
|
<!--{else}-->
|
|
<div class="home_no_data">{lang forum_nothreads}</div>
|
|
<!--{/if}-->
|