{if condition="moderator_auth($forum['id'])"} {php} $lists2 = \app\forum\model\Thread::with('user') -> where(['forum_id'=>$forum['id'],'status'=>['neq',1]]) -> order('id desc') -> limit(100) -> select(); {/php} {if condition="count($lists2)"} {foreach name='lists2' item='vo'} {notempty name='vo.user.nickname'} {$vo.user.nickname}{else} 游客{/notempty} {switch name="vo.status"} {case value="99"} 待审核 {/case} {case value="0"} 未通过 {/case} {default /} 未知状态 {/switch} {$vo.title} {$vo.create_time|date='Y-m-d H:i',###} {$vo.views} {$vo.rethreads} {$vo.rethread_time|date='Y-m-d H:i',###} {/foreach} 以上是需要审核的帖子! {/if} {/if}