<?php foreach ($this->topics_list AS $key => $val) { ?>
<li><a href="javascript:;" class="xd_head"><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>
	<span class="glotopic"><?php echo $val['topic_title']; ?></span>
	<p><a class="btn-blue2 tny-right<?php if ($val['has_focus']) { ?> cur<?php } ?>" onclick="focus_topic($(this), $(this), <?php echo $val['topic_id']; ?>);" href="javascript:;"><?php if ($val['has_focus']) { ?>Un<?php } ?>follow</a><span class="tny-txtHide"> the topic has <?php echo $val['discuss_count']; ?> question</span></p>
</li>
<?php } ?>