在Discuz帖子内容页调取作者已发帖过的帖子# M/ A" ~3 Q5 `( ]0 x
# d0 a% [" G% y" ~ F! `5 V
<!--{if $_G['forum_thread']['authorid']}-->
6 h8 d% d5 B3 P# ]: ~
) W& Z S6 V- c
# Q' r4 I& r( q) k; w: s
# Q1 `, M# i( P4 a. d8 C3 Q0 `, O
, d8 {5 @7 v! h4 B- c( ^ <!--{if $author_threads}-->8 w' x0 j. ?8 s; q. x8 C
<div class="nframe mbll">) A2 Q3 a; S( v! m
<div class="bm_h cl">6 R3 D. b% A" p, a" ^
<h2 class="xb2">$_G[forum_thread][author]发布过的帖子</h2><!--作者的全局变量$_G-->
4 S8 c& ^) e* B- b. J9 B </div>) e. a$ Z5 u4 q4 \" [' Z
<ul class="nlist pbn">: X* ~- y4 e1 _5 l( o
<!--{loop $author_threads $value}--><!--循环变量的value值-->
8 k4 w. F1 d6 s& K6 {4 M <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>, J g3 D9 I' W( s
<!--{/loop}-->
2 n$ ^* l! ?* b% d </ul>/ R: | M+ v! f8 k
<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>
/ q. z+ x6 A0 I4 T0 N5 N </div>
/ V- [5 D. `+ R" U <!--{/if}-->
/ x. s% o. R, D; E, U# R 8 n( y- h c I1 _: D4 Y
<!--{/if}-->
& ^9 N- t$ _* s+ q# L4 q |