- <!--{loop $_G['forum_threadlist'] $key $thread}-->
- <!--{if $_G['hiddenexists'] && $thread['hidden']}-->
- <!--{eval continue;}-->
- <!--{/if}-->
- <!--{if !$thread['forumstick'] && ($thread['isgroup'] == 1 || $thread['fid'] != $_G['fid'])}-->
- <!--{if $thread['related_group'] == 0 && $thread['closed'] > 1}-->
- <!--{eval $thread[tid]=$thread[closed];}-->
- <!--{/if}-->
- <!--{/if}-->
- <!--{eval $waterfallwidth = $_G[setting][forumpicstyle][thumbwidth] + 24; }-->
- <div class="bus_loop bus_sd">
- <!--{if !$_GET['archiveid'] && $_G['forum']['ismoderator']}-->
- <div style="position:absolute;margin:1px;padding:2px;background:#FFF;z-index:9">
- <!--{if $thread['fid'] == $_G[fid]}-->
- <!--{if $thread['displayorder'] <= 3 || $_G['adminid'] == 1}-->
- <input onclick="tmodclick(this)" type="checkbox" name="moderate[]" value="$thread[tid]" />
- <!--{else}-->
- <input type="checkbox" disabled="disabled" />
- <!--{/if}-->
- <!--{else}-->
- <input type="checkbox" disabled="disabled" />
- <!--{/if}-->
- </div>
- <!--{/if}-->
- <div class="content bus_imghover">
- <a href="forum.php?mod=viewthread&tid=$thread[tid]&{if $_GET['archiveid']}archiveid={$_GET['archiveid']}&{/if}extra=$extra" {if $thread['isgroup'] == 1 || $thread['forumstick'] || CURMODULE == 'guide'} target="_blank"{else} onclick="atarget(this)"{/if} title="$thread[subject]">
- <!--{if $thread['cover']}-->
- <figure class="busmilo">
- <img src="$thread[coverpath]" width="350" height="350" alt="$thread[subject]" />
- <figcaption>
- <p><!--{echo messagecutstr(DB::result_first('SELECT `message` FROM '.DB::table('forum_post').' WHERE `tid` ='.$thread[tid].' AND `first` =1'),200);}--></p>
- </figcaption>
- </figure>
- <!--{else}-->
- <span class="nopic" style="width:185px; height:{$_G[setting][forumpicstyle][thumbwidth]}px;"></span>
- <!--{/if}-->
- </a>
- </div>
- <div class="content_body">
- <h2><a href="forum.php?mod=viewthread&tid=$thread[tid]&{if $_GET['archiveid']}archiveid={$_GET['archiveid']}&{/if}extra=$extra" {if $thread['isgroup'] == 1 || $thread['forumstick'] || CURMODULE == 'guide'} target="_blank"{else} onclick="atarget(this)"{/if} title="$thread[subject]">$thread[subject]</a>
- </h2>
- <p><!--{echo messagecutstr(DB::result_first('SELECT `message` FROM '.DB::table('forum_post').' WHERE `tid` ='.$thread[tid].' AND `first` =1'),200);}--></p>
- </div>
- <div class="clear"></div>
- <div class="content_infor">
- <span class="more"><a href="forum.php?mod=viewthread&tid=$thread[tid]&{if $_GET['archiveid']}archiveid={$_GET['archiveid']}&{/if}extra=$extra" {if $thread['isgroup'] == 1 || $thread['forumstick'] || CURMODULE == 'guide'} target="_blank"{else} onclick="atarget(this)"{/if} title="$thread[subject]">阅读全文>></a></span>
- <span class="auther"><a href="home.php?mod=space&uid=$thread[authorid]"><!--{avatar($thread[authorid],small)}--><!--{$thread[author]}--></a></span>
- <span>发布时间:$thread[dateline]</span>
- <span>回复:$thread[replies]</span>
- <span>浏览:$thread[views]</span>
- </div>
- </div>
- <!--{/loop}-->
- <div class="bus_w100 bu_fr pg pb20">$multipage</div>
- </div>
复制代码
这是门户的loop循环,写了门户不显示循环内容
这段<div class="bus_loop bus_sd">DIV循环内容完全不见了,怎么回事啊
|