<?php if (is_array($this->list)) { ?>
<?php foreach ($this->list AS $key => $val) { ?>	
    <div class="smodule">
      <h4><a href="question/<?php echo $val['question_id']; ?>"><?php echo $val['question_content']; ?></a></h4>
      <div class="s-txt rel">
        <p><?php echo utf8_substr($val['answer_info']['answer_content'], 0, 130, 'UTF-8', '...'); ?></p>
        <div class="questionElm"><?php echo date_friendly($val['answer_info']['add_time']); ?></div>
        <!--Agree number--> 
        <a title="The topic was agree <?php echo $val['answer_info']['agree_count']; ?> times " href="javascript:;" class="sendorse abs"><?php echo $val['answer_info']['agree_count']; ?></a></div>
     </div>
<?php } ?>
<?php } ?>