在Discuz帖子内容页调取作者已发帖过的帖子- J! o& L% n' H2 s( U$ Y
. O: P- m2 r* R, w+ x! ^
<!--{if $_G['forum_thread']['authorid']}--> 3 {* p& z; [3 R& `$ t8 J' w
" i! Z& f7 e p
/ z- n) {$ v! q' { K7 l2 g+ v1 ?
4 \7 H% o3 V* Z4 P2 y, ^1 u" p Z7 P6 S+ `- N
: B. I1 e4 N& B; n! j
<!--{if $author_threads}-->
8 ?: _) v) P" g" E8 ?- t( q <div class="nframe mbll">. O+ H2 f* t3 m8 i* D
<div class="bm_h cl">, I( O6 B0 ]2 C* Z2 U) s/ H
<h2 class="xb2">$_G[forum_thread][author]发布过的帖子</h2><!--作者的全局变量$_G-->1 R5 g# P; }' S$ O0 r5 m+ g
</div>
. j0 Y0 u" J# [' _6 B <ul class="nlist pbn">
& M2 G0 b2 [9 f9 z2 R <!--{loop $author_threads $value}--><!--循环变量的value值-->2 i# b3 r% R9 P' Y" T& N
<li><em class="y xb4 f12 mlm">$value[replies]/$value[views]</em><a href="forum.php?mod=viewthread&tid=$value[tid]" title="$value[subject]" target="_blank">$value[subject]</a> </li>
& |8 E; p9 w; |7 L/ p. Q( z7 I4 l <!--{/loop}-->
4 g* c5 x* T! o. I9 h! ^- K </ul>/ }, n- g0 u1 s/ G, g
<p class="cl ptn" style="border-top: 1px solid #ededed;"><a href="home.php?mod=space&uid={$_G['forum_thread']['authorid']}&do=thread&view=me&from=space" class="y rlink" target="_blank">查看TA的全部帖子>></a></p>
) R0 @% y) z+ I) f; k# X' b2 q) { </div>7 J7 m/ I6 C4 T5 O" F
<!--{/if}-->
* Z/ c9 W3 J8 H
) c; V5 |. _, q' [. {7 Y) R <!--{/if}-->' p" N" Y5 S0 r
|