

<?php if ($socialcomment) { ?>
<?php  echo $socialcomment;  ?>
<?php }else{  ?>
<div id="comments">
  <h3><?php if ($article->CommNums>0) { ?>已有<span><?php  echo $article->CommNums;  ?></span>条评论<?php }else{  ?>请发表您的评论<?php } ?></h3>
  <div class="comlist">
    <label id="AjaxCommentBegin"></label>
    <?php  foreach ( $comments as $key => $comment) { ?>
    
    <?php  include $this->GetTemplate('comment');  ?>
    
    <?php }   ?>
    
    <?php  include $this->GetTemplate('pagebar');  ?>
    <label id="AjaxCommentEnd"></label>
  </div>
  <?php if (!$article->IsLock) { ?><?php  include $this->GetTemplate('commentpost');  ?><?php } ?> </div>
<?php } ?>