用户列表有类似的调用代码
<?php if ($this->reputation_topics) { ?>
<!-- 擅长话题 -->
<div class="good-at-topics clearfix">
<h2><?php _e('擅长话题'); ?></h2>
<ul>
<?php foreach ($this->reputation_topics AS $key => $val) { ?>
<li>
<span class="topic-tag">
<a href="topic/<?php echo $val['url_token']; ?>" class="text" data-id="<?php echo $val['topic_id']; ?>"><?php echo $val['topic_title']; ?></a>
</span>
<span>
<i class="icon icon-agree"></i> <?php echo $val['agree_count']; ?>
<i class="icon icon-thank"></i> <?php echo $val['thanks_count']; ?>
</span>
</li>
<?php } ?>
</ul>
</div>
<!-- end 擅长话题 -->
<?php } ?>
求教怎么在问题列表调用?像搜外这样
阅读全文
收起全文