94 lines
4.9 KiB
PHP
94 lines
4.9 KiB
PHP
<?php echo 'Discuz!应用中心开发者-简约设计';exit;?>
|
|
|
|
<div class="threadlist">
|
|
<h2 class="thread_tit"><!--{if $keyword && empty($searchstring[2])}-->{lang search_group_result_keyword} <!--{if empty($viewgroup) && !empty($grouplist)}--><a href="search.php?mod=group&searchid=$searchid&orderby=$orderby&ascdesc=$ascdesc&searchsubmit=yes&viewgroup=1">{lang search_group_viewgroup}</a><!--{/if}--><!--{elseif $viewgroup}-->{lang search_group_result}<!--{else}-->{lang search_result}<!--{/if}--></h2>
|
|
|
|
<style type="text/css">
|
|
.byg_group_box{ margin-bottom: .1rem; padding: 0 .1rem; background: #fff;}
|
|
.byg_group_rec a{ display: block; height: .4rem; padding: .12rem .23rem .12rem 0; border-bottom: 1px dashed #eaeaea; background: #fff url({$_G['style']['styleimgdir']}/jinru.png) no-repeat right center; background-size: .16rem; overflow: hidden;}
|
|
.byg_group_rec img{ width: .4rem; height: .4rem; border-radius: .04rem;}
|
|
.byg_group_rec h3{ width: 2.85rem; height: .24rem; line-height: .24rem; font-size: .15rem; overflow: hidden;}
|
|
.byg_group_rec span{ width: 2.85rem; height: .15rem; line-height: .15rem; overflow: hidden; font-size: .12rem; color: #999;}
|
|
</style>
|
|
<!--{if $viewgroup}-->
|
|
<!--{if empty($grouplist)}-->
|
|
<div class="home_no_data" style="margin-top:0;">{lang search_nomatch}</div>
|
|
<!--{else}-->
|
|
<div class="byg_group_box">
|
|
<div class="byg_group_rec">
|
|
<!--{loop $grouplist $group}-->
|
|
<a href="forum.php?mod=group&fid=$group[fid]" class="cl">
|
|
<img src="$group[icon]" class="z" />
|
|
<h3 class="y">$group[name]<!--{if $group['gviewperm'] == 1}-->({lang public})<!--{/if}--></h3>
|
|
<span class="y">{lang member}: $group[membernum] , {lang threads}: $group[threads] , {lang credits}: $group[commoncredits]</span>
|
|
</a>
|
|
<!--{/loop}-->
|
|
</div>
|
|
</div>
|
|
$multipage
|
|
<!--{/if}-->
|
|
<!--{else}-->
|
|
<!--{if !empty($grouplist) && $page < 2}-->
|
|
<div class="byg_group_box">
|
|
<div class="byg_group_rec">
|
|
<!--{loop $grouplist $group}-->
|
|
<a href="forum.php?mod=group&fid=$group[fid]" class="cl">
|
|
<img src="$group[icon]" class="z" />
|
|
<h3 class="y">$group[name]<!--{if $group['gviewperm'] == 1}-->({lang public})<!--{/if}--></h3>
|
|
<span class="y">{lang member}: $group[membernum] , {lang threads}: $group[threads] , {lang credits}: $group[commoncredits]</span>
|
|
</a>
|
|
<!--{/loop}-->
|
|
</div>
|
|
</div>
|
|
<!--{/if}-->
|
|
<!--{if !empty($threadlist)}-->
|
|
<!--{eval require_once(DISCUZ_ROOT.'./template/bygsjw_sj/touch/php/function_bygsjw.php');}-->
|
|
<ul class="threadlist_search">
|
|
<!--{loop $threadlist $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}">
|
|
<div class="list_top cl">
|
|
<a href="forum.php?mod=viewthread&tid=$thread[tid]&highlight=$index[keywords]" $thread[highlight] class="over_two">{$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]" 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]" 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}-->
|
|
<!--{if $_G['forum']['ismoderator']}--><a href="home.php?mod=space&uid=$thread[authorid]&do=profile" class="z">{$_G[setting][anonymoustext]}</a><!--{else}--><a href="javascript:;" class="z">{$_G[setting][anonymoustext]}</a><!--{/if}-->
|
|
<!--{/if}-->
|
|
<em class="z" style="width:.85rem;"> {$thread[dateline]} </em>
|
|
<span class="y">
|
|
<img src="{$_G['style']['styleimgdir']}/forum_posts.png" alt="回复数"/>{$thread[replies]}
|
|
</span>
|
|
<span class="y">
|
|
<img src="{$_G['style']['styleimgdir']}/chakan.png" alt="查看数"/>{$thread[views]}
|
|
</span>
|
|
</div>
|
|
</li>
|
|
<!--{/loop}-->
|
|
</ul>
|
|
<!--{/if}-->
|
|
$multipage
|
|
<!--{/if}-->
|
|
</div>
|