{?set jieqi_blocks_module = "system"?}
{?set jieqi_blocks_config = "userblocks"?}
{?set $jieqi_pagetitle = "我的论坛主题-{$jieqi_sitename}"?}

{?block bid="0" blockname="会员工具" module="system" filename="" classname="BlockSystemCustom" side="-1" title="" vars="" template="block_userbox_tab.html" contenttype="4" custom="1" publish="3" hasvars="0"?}
<table class="grid" width="100%">
  <caption>我的论坛主题 | <a href="{?$jieqi_modules['forum']['url']?}/myposts.php">查看论坛帖子</a></caption>
  <tr class="head">
    <th width="54%">主题</th>
	<th width="13%">论坛版块</th>
    <th width="13%">回复/查看</th>
    <th width="20%">发表时间</th>
  </tr>
  <tbody id="jieqi_page_contents">
  {?section name=i loop=$topicrows?}
  <tr>
    <td>{?if $topicrows[i].display_n == 1?}<span class="hot">[待审]</span>{?/if?}{?if $topicrows[i].istop == 1?}<span class="hot">[顶]</span>{?/if?}{?if $topicrows[i].isgood == 1?}<span class="hot">[精]</span>{?/if?}<a href="{?function jieqi_geturl:'forum':'showtopic':$topicrows[i].topicid?}" target="_blank"{?if $topicrows[i].display_n == 1?} class="note"{?/if?}>{?$topicrows[i].title|truncate:'54':'..'?}</a></td>
    <td><a href="{?function jieqi_geturl:'forum':'topiclist':1:$topicrows[i].forumid?}" target="_blank">{?$topicrows[i].forumname?}</a></td>
    <td align="center">{?$topicrows[i].replies?}/{?$topicrows[i].views?}</td>
    <td align="center">{?$topicrows[i].posttime|date:"Y-m-d H:i:s"?}
	</td>
  </tr>
  {?/section?}
  </tbody>
</table>
<div class="pages">{?$url_jumppage?}</div>