forumdisplay.htm
5.12 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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
<!--{template common/header}-->
<a href="forum.php" title="$_G['setting']['navs'][2]['navname']">$_G['setting']['navs'][2]['navname']</a>><a href="forum.php?mod=forumdisplay&fid={$_G['forum']['fid']}">{$_G['forum']['name']}</a> <a href="forum.php?mod=post&action=newthread&fid=$_G[fid]">{lang send_threads}</a><br /><br />
<!--{hook/forumdisplay_top_mobile}-->
<!--{if !$subforumonly}-->
<!--{if $_G['forum_threadcount']}-->
<!--{loop $_G['forum_threadlist'] $key $thread}-->
<!--{if !$_G['setting']['mobile']['mobiledisplayorder3'] && $thread['displayorder'] > 0}-->
{eval continue;}
<!--{/if}-->
<!--{if $thread['displayorder'] > 0 && !$displayorder_thread}-->
{eval $displayorder_thread = 1;}
<!--{/if}-->
<!--{if !$thread['forumstick'] && ($thread['isgroup'] == 1 || $thread['fid'] != $_G['fid'])}-->
<!--{if $thread['related_group'] == 0 && $thread['closed'] > 1}-->
<!--{eval $thread[tid]=$thread[closed];}-->
<!--{/if}-->
<!--{if $groupnames[$thread[tid]]}-->
[<a href="forum.php?mod=forumdisplay&fid={$groupnames[$thread[tid]][fid]}">{lang group}</a>]
<!--{/if}-->
<!--{/if}-->
<!--{if $thread['moved']}-->
<!--{eval $thread[tid]=$thread[closed];}-->
<!--{/if}-->
<!--{hook/forumdisplay_thread_mobile $key}-->
<a href="forum.php?mod=viewthread&tid=$thread[tid]" >
<!--{if $_G['setting']['mobile']['mobilesimpletype'] == 0}-->
<!--{if $thread[folder] == 'lock'}-->
<img src="{IMGDIR}/folder_lock.gif" />
<!--{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]]" />
<!--{/if}-->
<!--{else}-->
<!--{if in_array($thread['displayorder'], array(1, 2, 3, 4))}-->
[{lang thread_sticky}]
<!--{/if}-->
<!--{/if}-->
{$thread[subject]}</a>
<!--{if $_G['setting']['mobile']['mobilesimpletype'] == 0}-->
<!--{if $thread['displayorder'] == 0}-->
<!--{if $thread[recommendicon] && $filter != 'recommend'}-->
<img src="{IMGDIR}/recommend_$thread[recommendicon].gif" align="absmiddle" alt="recommend" title="{lang thread_recommend} $thread[recommends]" />
<!--{/if}-->
<!--{if $thread['digest'] > 0 && $filter != 'digest'}-->
<img src="{IMGDIR}/digest_$thread[digest].gif" align="absmiddle" alt="digest" title="{lang thread_digest} $thread[digest]" />
<!--{/if}-->
<!--{/if}-->
<!--{elseif $_G['setting']['mobile']['mobilesimpletype'] == 1}-->
<!--{if $thread['displayorder'] == 0}-->
<!--{if $thread[recommendicon] && $filter != 'recommend'}-->
[{lang thread_recommend}]
<!--{/if}-->
<!--{if $thread['digest'] > 0 && $filter != 'digest'}-->
[{lang thread_digest}]
<!--{/if}-->
<!--{/if}-->
<!--{/if}-->
<span class="ui-li-count">{lang forum_posts}{$thread[replies]}</span>
<br/>
<!--{/loop}-->
<!--{echo str_replace('&amp;', '&', str_replace('&', '&', $multipage));}-->
<!--{else}-->
{lang empty}
<!--{/if}-->
<!--{/if}-->
<!--{hook/forumdisplay_bottom_mobile}-->
<!--{if $subexists && $_G['page'] == 1}-->
{lang forum_subforums}
<!--{loop $sublist $sub}-->
<a href="forum.php?mod=forumdisplay&fid={$sub[fid]}" class="block_a">{$sub['name']}</a><br/>
<!--{/loop}-->
<!--{/if}-->
<!--{template common/footer}-->