在Discuz帖子内容页调取作者已发帖过的帖子
6 D b) E: A4 F2 z
& K+ V* c7 I5 Q+ |# S; Q<!--{if $_G['forum_thread']['authorid']}--> - S$ j3 t3 R3 R% i. Z% n6 P3 d3 F
# G. m, Y9 L3 t4 y) z! p
J, S2 i$ U# `, D- H- A, D% R, q0 e& v
* ?) b( h8 L3 A, Y- U, O4 V: r, p7 u
8 _+ H' j4 Z0 X, [- A <!--{if $author_threads}-->% L g; w) y5 R. f+ Z
<div class="nframe mbll">* L9 ]) D; G+ P: d# G
<div class="bm_h cl">8 Y1 q0 s& B Z6 N/ n: k
<h2 class="xb2">$_G[forum_thread][author]发布过的帖子</h2><!--作者的全局变量$_G-->! S5 c8 S: M4 H" f0 v/ g3 {/ K
</div>
% [* H# Z, N5 V# A <ul class="nlist pbn">
' g8 j3 y1 z4 w {7 G" x5 l <!--{loop $author_threads $value}--><!--循环变量的value值-->; ^: h) x* v: e2 I4 D3 U
<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 X* ?- L' z" W: `7 |; I/ j <!--{/loop}-->0 k$ U/ n1 A1 L3 A
</ul>5 E0 W- [' I( ]
<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>
7 x; ]; X( v F6 { </div>$ Q8 G% m+ j/ O: o
<!--{/if}-->+ Y5 q+ {& n+ M$ H' G
4 v) f% O: }; J+ C4 n
<!--{/if}-->) x& l1 |/ h0 {1 c5 w' u( z' V7 t7 Y
|