<div style="padding:5px;">
<div class="fl hot">论坛首页</div>
<div class="fr"><a class="hot" href="{?$url_search?}">论坛搜索</a></div>
<div class="cb"></div>
</div>

{?section name=i loop=$forumcats?}
<table class="grid" width="100%" align="center">
<caption>{?$forumcats[i]?}</caption>
    <tr align="center" class="head">
        <td width="5%">&nbsp;</td>
        <td width="40%">论坛</td>
        <td width="9%">主题数</td>
        <td width="9%">帖子数</td>
        <td width="18%">最后发表</td>
		<td width="19%">版主</td>
    </tr>
	{?section name=j loop=$forums[i]?}
    <tr>
        <td align="center" valign="middle"><span class="iconfont note fsl">&#xee3a;</span></td>
        <td valign="middle">
		[ <a href="{?function jieqi_geturl:'forum':topiclist:1:$forums[i][j].forumid?}"><strong>{?$forums[i][j].forumname?}</strong></a> ]
		<br />
		&nbsp;&nbsp;&nbsp;&nbsp;{?$forums[i][j].desc?}
		</td>
        <td align="center" valign="middle">{?$forums[i][j].topics?}</td>
        <td align="center" valign="middle">{?$forums[i][j].posts?}</td>
        <td valign="middle">{?if $forums[i][j].lasttime > 0?}{?$forums[i][j].lasttime|date:"Y-m-d H:i:s"?}<br />由 {?if $forums[i][j].lastuid > 0?}<a href="{?function jieqi_geturl:'system':'user':$forums[i][j].lastuid?}">{?$forums[i][j].lastuname?}</a>{?else?}<em>游客</em>{?/if?}发表{?/if?}</td>
		<td valign="middle">{?section name=k loop=$forums[i][j]['masters']?}<a href="{?function jieqi_geturl:'system':'user':$forums[i][j]['masters'][k].uid?}">{?$forums[i][j]['masters'][k].uname?}</a> {?/section?}</td>
    </tr>
	{?/section?}
</table>
<br />
{?/section?}

