如下的代码,是帖子浏览页的调用,但SS只能显示20条评论,怎么才能显示全部的所有评论呢?
帖子浏览页调用:
标题:$thread[subject]
发表时间:#date('Y-n-d H:i', $thread["dateline"])#
作者: $thread[author]
来源: $_SCONFIG[sitename]
内容:$thread[message]
附件:<!--{if !empty($thread['attachments'])}-->
<!--{loop $thread['attachments'] $value}-->
<!--{if ($value['isimage'])}-->
<p><img src="{B_A_URL}/$value[attachment]"><br />$value[filename]</p>
<!--{else}-->
<p><img src="{S_URL}/images/system/haveattach.gif" align="absmiddle" border="0"><a href="{B_URL}/attachment.php?aid=$value[aid]" target="_blank"><strong>$value[filename]</strong></a><br />($value[dateline], Size: $value[attachsize], Downloads: $value[downloads])</p>
<!--{/if}-->
<!--{/loop}-->
<!--{/if}-->
评论页评论链接:{B_URL}/post.php?action=reply&tid=$thread[tid]
评论页查看链接:{B_URL}/viewthread.php?tid=$thread[tid]
相关评论
<!--{loop $iarr $key $post}-->
<li>
<h4>$post[author] <span class="smalltxt">(#date("Y-n-d H:i:s", $post["dateline"])#)</span></h4>
<div>$post[message]</div>
<!--{if !empty($item['posts'][$post['pid']]['attachments'])}-->
<div class="imginlog">
<!--{loop $item['posts'][$post['pid']]['attachments'] $post}-->
<!--{if ($post['isimage'])}-->
<p><img src="{B_A_URL}/$post[attachment]"><br />$post[filename]</p>
<!--{else}-->
<p><img src="{S_URL}/images/system/haveattach.gif" align="absmiddle" border="0"><a href="{B_URL}/attachment.php?aid=$post[aid]" target="_blank"><strong>$post[filename]</strong></a><br />($post[dateline], Size: $post[attachsize], Downloads: $post[downloads])</p>
<!--{/if}-->
<!--{/loop}-->
</div>
<!--{/if}-->
</li>
<!--{/loop}--> |