<?php if ($this->topic_list) { ?>
<?php foreach($this->topic_list as $key => $val) {?>	
	<li>
		<a href="topic/<?php echo $val['url_token']; ?>" class="addUser umsg" data-message="&uid=<?php echo $val['topic_id']; ?>&card=topic"><img src="<?php echo get_topic_pic_url('mid', $val['topic_pic']); ?>" alt="<?php echo $val['topic_title']; ?>" title="<?php echo $val['topic_title']; ?>" /></a>
		<p> <a class="glotopic" href="topic/<?php echo $val['url_token']; ?>"><?php echo $val['topic_title']; ?></a></p>
		<p class="p_txt tny-cl_02"><?php echo utf8_substr($val['topic_description'], 0, 200, 'UTF-8', '...'); ?></p>
		<p class="p_time"><?php if ($this->user_id) { ?><a class="btn-blue2 tny-right<?php if ($val['has_focus']) { ?> cur<?php }?>" href="javascript:" onclick="focus_topic($(this), $(this), <?php echo $val['topic_id']; ?>);"><?php if ($val['has_focus']) { ?>Un<?php } ?>follow</a><?php } ?>
		<?php echo $val['discuss_count']; ?> question</p>
	</li>
<?php } ?>			
<?php } ?>