group_list.htm
3.15 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
<div>
<div class="sttl mbn">
<h2><!--{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" target="_blank">{lang search_group_viewgroup}</a><!--{/if}--><!--{elseif $viewgroup}-->{lang search_group_result}<!--{else}-->{lang search_result}<!--{/if}--></h2>
</div>
<!--{ad/search/y mtw}-->
<!--{if $viewgroup}-->
<!--{if empty($grouplist)}-->
<p class="emp xs2 xg2">{lang search_nomatch}</p>
<!--{else}-->
<div class="slst pbm bbda cl">
<!--{loop $grouplist $group}-->
<dl class="xld xld_a z" style="width: 350px;">
<dd class="m"><a href="forum.php?mod=group&fid=$group[fid]" target="_blank"><img src="$group[icon]" alt="" /></a></dd>
<dt><a href="forum.php?mod=group&fid=$group[fid]" target="_blank">$group[name]</a><!--{if $group['gviewperm'] == 1}-->({lang public})<!--{/if}--></dt>
<dd>{lang member}: $group[membernum], {lang threads}: $group[threads]</dd>
<dd>{lang credits}: $group[commoncredits], {lang creating_time}: $group[dateline]</dd>
</dl>
<!--{/loop}-->
</div>
<!--{if !empty($multipage)}--><div class="pgs cl mbm">$multipage</div><!--{/if}-->
<!--{/if}-->
<!--{else}-->
<!--{if !empty($grouplist) && $page < 2}-->
<div class="slst pbm bbda cl">
<!--{loop $grouplist $group}-->
<dl class="xld xld_a z" style="width: 350px;">
<dd class="m"><a href="forum.php?mod=group&fid=$group[fid]" target="_blank"><img src="$group[icon]" alt="" /></a></dd>
<dt><a href="forum.php?mod=group&fid=$group[fid]" target="_blank">$group[name]</a><!--{if $group['gviewperm'] == 1}-->({lang public})<!--{/if}--></dt>
<dd>{lang member}: $group[membernum], {lang threads}: $group[threads]</dd>
<dd>{lang credits}: $group[commoncredits], {lang creating_time}: $group[dateline]</dd>
</dl>
<!--{/loop}-->
</div>
<!--{/if}-->
<!--{if !empty($threadlist)}-->
<div class="slst mtw">
<ul>
<!--{loop $threadlist $thread}-->
<li class="pbw">
<h3 class="xs3"><a href="forum.php?mod=viewthread&tid=$thread[tid]&highlight=$index[keywords]" target="_blank" $thread[highlight]>$thread[subject]</a></h3>
<p class="xg1">$thread[replies] {lang a_comment_thread} - $thread[views] {lang a_visit}</p>
<p>$thread[message]</p>
<p>
<span>$thread[dateline]</span>
-
<span>
<!--{if $thread['authorid'] && $thread['author']}-->
<a href="home.php?mod=space&uid=$thread[authorid]" target="_blank">$thread[author]</a>
<!--{else}-->
<!--{if $_G['forum']['ismoderator']}--><a href="home.php?mod=space&uid=$thread[authorid]" target="_blank">{lang anonymous}</a><!--{else}-->{lang anonymous}<!--{/if}-->
<!--{/if}-->
</span>
-
<span><a href="forum.php?mod=forumdisplay&fid=$thread[fid]" target="_blank" class="xi1">$thread[forumname]</a></span>
</p>
</li>
<!--{/loop}-->
</ul>
</div>
<!--{/if}-->
<!--{if !empty($multipage)}--><div class="pgs cl mbm">$multipage</div><!--{/if}-->
<!--{/if}-->
</div>