<?php if ($this->list) { ?>
<?php foreach ($this->list AS $key => $val) { ?>
<li>
	
    <div >
	<a href="mobile/question/<?php echo $val['question_id']; ?>"><div class="title"><?php echo $val['question_content']; ?></div></a>
	<div class="clear">
    <div><?php if ($val['anonymous'] == 0) { ?><a href="mobile/people/<?php echo $val['user_info']['url_token']; ?>"><img src="<?php echo get_avatar_url($val['user_info']['uid'], 'mid'); ?>" width="25" height="25" /></a><?php } else { ?><img src="<?php echo GET_STATIC_URL; ?>/common/avatar-mid-img.jpg" alt="Anonymous" title="Anonymous" width="30" height="30" /><?php } ?></div>
    
    
    <?php if ($val['last_action_str']) { echo str_replace('people/', 'mobile/people/', $val['last_action_str']);
 ?><span> • <?php } ?><a  href="mobile/question/<?php echo $val['question_id']; ?>#reply<?php echo $val['answer_count']; ?>"><?php echo $val['answer_count']; ?> Replies
</a></span></div>
	<?php if ($val['associate_action'] == ACTION_LOG::ANSWER_QUESTION OR $val['associate_action'] == ACTION_LOG::ADD_AGREE) { ?>
	<div><span class="tag agree_num"><?php echo $val['answer_info']['agree_count']; ?></span><a href="mobile/people/<?php echo $val['answer_info']['url_token']; ?>"><span class="name b"><?php echo $val['answer_info']['user_name']; ?></span></a><span class="time b "><?php if ($val['answer_info']['signature']) { ?>, <?php echo $val['answer_info']['signature']; ?><?php } ?></span></div>
    <div class="ret">
	<div class="txt"><?php echo nl2br(utf8_substr($val['answer_info']['answer_content'], 0, 130, 'UTF-8', '...')); ?></div>
    <div class="time "><?php echo date_friendly($val['answer_info']['add_time']); ?> • <?php echo $val['answer_info']['comment_count']; ?> Reviews</div>
    <?php } ?>
    </div>
    </div>
</li>
<?php } ?>
<?php } ?>