forumdisplay.htm
3 C7 b+ u X* Y) F<!--{template common/header}-->+ B; p2 t, I1 k2 L' ~, W; _/ ?
<div class="header cl">; m" \% k. o3 f* h! l- v2 k
<div class="mz"><a href="javascript:history.back();"><i class="dm-c-left"></i></a></div># f( E3 U- g/ m+ |! s% W' T; ?
<h2><!--{eval echo strip_tags($_G['forum']['name']) ? strip_tags($_G['forum']['name']) : $_G['forum']['name'];}--></h2>
: b, ?" @+ a7 v- {9 x <div class="my"><a href="forum.php?mod=post&action=newthread&fid={$_G['fid']}" title="{lang send_threads}"><i class="dm-edit"></i></a></div>5 y2 p+ T& T& \1 [& H8 F
</div>6 D# b5 y/ P$ e/ H/ x
<!--{hook/forumdisplay_top_mobile}-->9 S- Y! E. f1 {$ s+ l$ w/ z
<div class="forumdisplay-top cl">( A a: A9 z* N8 d, |
<h2>9 t0 G! R. M# \; p
<!--{if $_G['forum']['icon']}--><img src="<!--{echo get_forumimg($_G['forum']['icon'])}-->" alt="$_G['forum']['name']" /><!--{else}--><svg width="48" height="44" alt="$_G['forum']['name']"><path fill="#c9c9c9" d="M48 20C48 9 37.3 0 24 0S0 8.9 0 20s10.7 20 24 20c2.4 0 4.7-.3 6.8-.8L42 44l-2.8-8.5C44.6 31.8 48 26.2 48 20z"/></svg><!--{/if}-->
) D1 k( p" A9 d" t' Z) A7 z: \ <!--{if helper_access::check_module('favorite')}-->
9 _" p& n2 |8 z; y7 x! F <a href="home.php?mod=spacecp&ac=favorite&type=forum&id=$_G['fid']&handlekey=favoriteforum&formhash={FORMHASH}" id="a_favorite" class="dialog">{lang favorite}<span id="number_favorite" {if !$_G['forum']['favtimes']} style="display:none;"{/if}><span id="number_favorite_num"> +{$_G['forum']['favtimes']}</span></span></a>
9 Z9 B3 X2 P7 p <!--{/if}-->) _' M# M5 {& K! H- g( R0 f
$_G['forum']['name']/ @% f A$ n3 _, p4 @' f+ t
</h2>) p% c1 w% O; @& b8 E u' u
<p>{lang index_today}: <span>$_G['forum']['todayposts']</span>{lang index_threads}: <span>$_G['forum']['threads']</span><!--{if $_G['forum']['rank']}-->{lang rank}: <span>$_G['forum']['rank']</span><!--{/if}--></p>8 S" s7 r+ s) n7 Z) l
<!--{hook/forumdisplay_nav_mobile}-->
! ]( T( D4 c$ L( Y% P% X# f</div>
K9 y) m; W* q5 ]: y<div class="dhnav_box">- w& L! W4 S+ x0 ~
<div id="dhnav"># A: c9 x7 L0 P# S* d
<div id="dhnav_li">& c1 G+ K u3 U, V6 g$ ]0 p+ ?8 |
<ul class="flex-box">* C1 g, W0 P; N* ^# a
<li class="flex{if $_REQUEST['sortall']==1||(!$_REQUEST['typeid'] && !$_REQUEST['sortid']&& !$_REQUEST['filter'])} mon{/if}"><a href="forum.php?mod=forumdisplay&fid=$_G['fid']{if $_G['forum']['threadsorts']['defaultshow']}&filter=sortall&sortall=1{/if}{if $_GET['archiveid']}&archiveid={$_GET['archiveid']}{/if}">{lang all}</a></li>+ F* O" O( e9 K0 }
<li class="flex{if $_GET['filter'] == 'lastpost'} mon{/if}"><a href="forum.php?mod=forumdisplay&fid=$_G['fid']&filter=lastpost&orderby=lastpost$forumdisplayadd['lastpost']{if $_GET['archiveid']}&archiveid={$_GET['archiveid']}{/if}">{lang latest}</a></li>& y9 K2 r6 i; t% M U6 I
<li class="flex{if $_GET['filter'] == 'heat'} mon{/if}"><a href="forum.php?mod=forumdisplay&fid=$_G['fid']&filter=heat&orderby=heats$forumdisplayadd['heat']{if $_GET['archiveid']}&archiveid={$_GET['archiveid']}{/if}">{lang order_heats}</a></li>
8 r/ ]9 U( M! D. D9 t$ |7 T# y <li class="flex{if $_GET['filter'] == 'hot'} mon{/if}"><a href="forum.php?mod=forumdisplay&fid=$_G['fid']&filter=hot">{lang hot_thread}</a></li>- h! {, g1 v/ j* ~+ G B
<li class="flex{if $_GET['filter'] == 'digest'} mon{/if}"><a href="forum.php?mod=forumdisplay&fid=$_G['fid']&filter=digest&digest=1$forumdisplayadd['digest']{if $_GET['archiveid']}&archiveid={$_GET['archiveid']}{/if}">{lang digest_posts}</a></li>
! r, y& A- N$ V; I; [, @" E </ul>$ A% }0 I" x5 W. |8 ^ Q
</div>6 O; q- m# e. P
</div>% {( }5 T a( e2 C( u/ y
</div>
0 t+ t* y8 l/ ]5 ]<!--{hook/forumdisplay_middle}-->
6 E9 w* P# M) E) {2 F9 v& g<!--{if $_G['forum']['threadsorts'] || ($_G['forum']['threadtypes'] && $_G['forum']['threadtypes']['listable'])}-->4 I, M: f% ^! k( z; ]( O
<div class="dhnavs_box">
& D) Z7 e4 W. M6 t& ~ <div id="dhnavs">' c9 i& P: H- \+ C7 [
<div id="dhnavs_li">( _4 A6 @/ D" B
<ul class="swiper-wrapper">
! `: R0 _$ `( R' E/ w y0 I <!--{if ($_G['forum']['threadtypes'] && $_G['forum']['threadtypes']['listable'])}-->* Q4 y) ~$ i. J+ F, [/ K
<!--{if $_G['forum']['threadtypes']}-->
9 }6 Z+ O$ _- k$ A <!--{loop $_G['forum']['threadtypes']['types'] $id $name}-->. n6 X) j4 \& f$ S& J0 t E$ t
<li class="swiper-slide{if $_GET['typeid'] == $id} mon{/if}"><a href="forum.php?mod=forumdisplay&fid=$_G['fid']&filter=typeid&typeid=$id$forumdisplayadd['typeid']{if $_GET['archiveid']}&archiveid={$_GET['archiveid']}{/if}">$name</a></li>
: u- j, S/ b. t5 J+ e2 } <!--{/loop}--> S, z/ M2 A0 B& D+ h9 n1 `, _
<!--{/if}-->
/ K8 ~* {: O3 W5 s, t( O <!--{/if}-->
7 B/ U8 b) l* M <!--{if $_G['forum']['threadsorts']}-->" W+ m0 r9 O3 ]* g' F$ t4 U5 s
<!--{loop $_G['forum']['threadsorts']['types'] $id $name}-->
( T: A# g! u7 _+ n <!--{if $_GET['sortid'] == $id}-->
1 }- {& d0 A3 a* z- `' s; V' @ <li class="swiper-slide mon"><a href="forum.php?mod=forumdisplay&fid=$_G['fid']{if $_GET['typeid']}&filter=typeid&typeid=$_GET['typeid']{/if}{if $_GET['archiveid']}&archiveid={$_GET['archiveid']}{/if}">$name</a></li>
7 u% ^/ V* l5 h/ T, V0 S6 s) D6 o <!--{else}-->! ]. v( Q" W5 I1 r
<li class="swiper-slide"><a href="forum.php?mod=forumdisplay&fid=$_G['fid']&filter=sortid&sortid=$id$forumdisplayadd['sortid']{if $_GET['archiveid']}&archiveid={$_GET['archiveid']}{/if}">$name</a></li>
+ X E) e4 {! o <!--{/if}-->
- Y0 m: F9 h0 X3 J C <!--{/loop}-->
9 C9 S/ a! i2 @+ b) X& i% V' N <!--{/if}-->
9 J7 p7 s- L T$ q </ul>
. i5 {' W8 z+ |, X: y% N9 a, { </div>
: Z$ X4 y' q( j) k% r; y, c2 ]0 t </div>
# ~7 Q6 _' Q( a8 ~5 a+ g% `</div>- O" r; Q3 q' C
<script>: ?3 T3 i8 b% ~5 P$ V! p) ?8 Q" s
if($("#dhnavs_li .mon").length > 0) {
2 _7 i8 |6 K$ M7 n/ C var discuz_nav = $("#dhnavs_li .mon").offset().left + $("#dhnavs_li .mon").width() >= $(window).width() ? $("#dhnavs_li .mon").index() : 0;
1 o2 n* w c; F- [8 g( D- P) h }else{4 x# Z: ~. F8 \, c( R
var discuz_nav = 0;, j; {3 m! W% _, }# ~- i8 ^
} % Z" p$ E/ J0 s/ s1 u
new Swiper('#dhnavs_li', {: p$ K' O) b! t. L3 o+ F3 K5 V
freeMode : true,, Z- \3 p* G$ G
slidesPerView : 'auto',
2 K3 c V; B. X1 A6 T initialSlide : discuz_nav,
$ T# M- ]9 t. h& R5 t onTouchMove: function(swiper){: `$ ~& }" n* a, f1 `1 g4 C
Discuz_Touch_on = 0;
* Z! `7 C6 m9 S7 ^% H; m },
. s4 ~4 P& Y9 b6 M+ l onTouchEnd: function(swiper){+ F/ I" R2 V* `5 I1 w% x
Discuz_Touch_on = 1;9 M/ V6 |( H/ K1 V3 V* r3 V+ R
},- j) c; h' P+ M; h4 a
});
2 ~+ O6 v8 x/ o/ B; J( _' G; H</script>, l6 r! n' G, t9 _4 ?8 I
<!--{/if}-->& @8 J' i) H$ _/ i$ a
<!--{if $subexists && $_G['page'] == 1}--><!--{template forum/forumdisplay_subforum}--><!--{/if}-->- P" s$ g! f& k S
<!--{if !$subforumonly}-->1 p8 u8 n0 }) t" M1 ~( ]
<div class="threadlist_box<!--{if ((in_array($thread['displayorder'], array(1, 2, 3, 4))) || !empty($announcement)) && $_G['page'] == 1}--> mt10<!--{/if}--> cl">6 T- f9 `. X/ y$ J) Q! P" W
<div class="threadlist cl">: s2 o! R5 @# E) h: u
<ul>
* f& y! u- h4 x2 P0 m, |* i; F <!--{if !empty($announcement)}-->
: T+ P3 h6 D6 ` u/ G& e <li class="list_top"><!--{if empty($announcement['type'])}--><a href="forum.php?mod=announcement&id=$announcement['id']#$announcement['id']"><!--{else}--><a href="$announcement['message']"><!--{/if}--><span class="micon gonggao">{lang announcement}</span>$announcement['subject']</a></li>9 _, t( W( i# J5 l! Q. _4 i
<!--{/if}-->
8 @- n+ P8 j0 a1 p <!--{if $_G['forum_threadcount']}-->' b% H4 V) H. `0 L
<!--{loop $_G['forum_threadlist'] $key $thread}-->
2 v2 B( [) s, O* E5 I% P5 E <!--{if !$_G['setting']['mobile']['forum']['displayorder3'] && $thread['displayorder'] > 0}-->! l! d; J7 {. p" a% S, ^$ {4 M5 P
{eval continue;}
$ m! M, D* O+ ? <!--{/if}-->: t! e( F. g$ v0 v) I" K
<!--{if $thread['displayorder'] > 0 && !$displayorder_thread}-->
$ x" O, G, ?; S; ? {eval $displayorder_thread = 1;}
U8 J: J) P# v0 u3 l <!--{/if}--># {: n! x" e% G4 z; [3 a6 a4 G
<!--{if $thread['moved']}-->! K% }# D2 x% @4 z
<!--{eval $thread['tid']=$thread['closed'];}-->9 X* j5 O# v1 i6 q/ a
<!--{/if}-->
" a& a+ W- C, k2 j8 B5 w9 K <!--{if in_array($thread['displayorder'], array(1, 2, 3, 4))}-->9 [1 Y3 w" }. ?- \: {6 ^
<li class="list_top">
% H* a9 i' K# C; T <a href="forum.php?mod=viewthread&tid=$thread['tid']&extra=$extra">
+ ?- u M" r# |- A <!--{if in_array($thread['displayorder'], array(1, 2, 3, 4))}-->6 T, Z" e+ ]6 D% P% @* U
<span class="micon">{lang mobzhiding}</span>
9 S$ q/ c; N9 p; F# Q+ _3 T# j <!--{/if}-->
5 _2 `+ ~0 @# y$ W& h8 j <em $thread['highlight']>{$thread['subject']}</em>
) ]; [; F! F; u4 x! i </a>* m' r5 h& J7 O6 P ]
</li>5 r- _$ N4 p; N- N& i* {
<!--{else}-->
1 e' y) T" a/ R8 k1 x7 |7 h <li class="list" style="margin-top:0px;">1 C4 B- S3 J6 _) l
<!--{hook/forumdisplay_thread_mobile $key}-->
7 P, c' _# U! [5 ?/ q8 i$ h8 s5 c* l* e% R! k: P: a* U, p& \6 h
<a href="forum.php?mod=viewthread&tid=$thread['tid']&extra=$extra">; ]9 t- R4 R! H4 S
<div class="threadlist_tit cl" style="margin-top:5px;white-space:nowrap;text-overflow:ellipsis;-o-text-overflow:ellipsis;overflow: hidden;">$ |& i* h: H5 o1 D+ ?( \
<!--{if $thread['folder'] == 'lock'}-->
6 L" v8 P: |/ \( S6 X& n <span class="micon lock">{lang closed_thread}</span>
' j2 [5 `$ q, w8 v5 r$ J" z <!--{elseif $thread['special'] == 1}-->
0 X3 l# }* M4 Y& s4 d <span class="micon">{lang thread_poll}</span># Z6 n# N: p$ S, h: b
<!--{elseif $thread['special'] == 2}-->
2 M7 X6 L+ m; }' s <span class="micon">{lang thread_trade}</span>. {. {9 _2 X6 U& Q. }. H
<!--{elseif $thread['special'] == 3}-->
, W# O3 ]2 Z$ a* D! s <span class="micon">{lang thread_reward}</span>( |" ?: B( b$ w d. j, T& b7 M. X
<!--{elseif $thread['special'] == 4}-->+ _( a# Z! T3 z* |0 N
<span class="micon">{lang thread_activity}</span>
6 E! S& @5 u5 T4 F7 s <!--{elseif $thread['special'] == 5}-->: c0 z9 Q$ l; T% D5 s
<span class="micon">{lang thread_debate}</span>5 v3 ~8 G4 N: K Y
<!--{/if}-->( y1 m2 G4 m9 |
<!--{if $thread['attachment'] == 2 && $_G['setting']['mobile']['mobilesimpletype'] == 1}-->
& P3 q$ Y( i" t' w0 x) n <span class="micon">{lang mobtu}</span>
% n8 t! Q: ?- d& ~ <!--{/if}-->( X. r I( l' Y- ]- }' M6 U
<!--{if in_array($thread['displayorder'], array(1, 2, 3, 4))}-->1 ^- M! `: |" R7 r
<span class="micon top">{lang thread_sticky}</span>
2 {& [& X; l3 D( ~ <!--{/if}-->
- n' O) r. A; _ <!--{if $thread['digest'] > 0}-->+ M# x% g5 @) ^& C: z
<span class="micon digest">{lang thread_digest}</span>
" i! y5 V' |7 ^2 f) ^ <!--{/if}-->4 q8 I% @0 B6 x' O" n8 I+ F; |2 k
<em $thread['highlight']>{$thread['subject']}</em>; Y; a5 G* Q" K3 ~ u/ k, v
</div>
& f; O0 @8 _& h </a>2 H, D1 B' v4 w
8 Q' R+ \; l$ D4 b/ E0 @, E5 D
# [2 O. k& q$ y, X
<!--{hook/forumdisplay_thread_content_mobile $key}-->& L7 P8 a" S5 |1 K
% h9 F" R( |) _1 y" ?. [+ } </li>& ?) K1 w+ \7 H9 a# V$ Q) A
<!--{/if}-->
0 W" z' Y* R& b/ g2 E <!--{/loop}-->
9 G$ R( R {. v3 ^9 }, p7 R <!--{else}--># q& t$ j( u/ l$ W
<h4>{lang forum_nothreads}</h4>
) d- F' B0 ^! H: v T <!--{/if}-->- F2 K& g6 O4 D7 K' d3 Y
</ul>0 F" W+ B$ u3 t! e5 q, C$ n
</div>- B2 l. t8 D7 b' A* ?$ e$ k
$multipage
) g7 y1 a# e* e+ c& i</div>
: O, M0 u% y3 R. `6 K9 b<!--{/if}-->
/ m4 T8 V& e1 }4 b2 d1 p<!--{hook/forumdisplay_bottom_mobile}-->
* H4 m! [ V7 r# ^- [8 o" m$ v<!--{template common/footer}--> |
|