<div class='category_block block_wrap'>
<div class='box'><h3 class='maintitle'>{$forum_data['name']} {$this->lang->words['sub_forum_title']}</h3><div class='inset_row inset_padding'>
<table cellspacing='0' class='ipb_table' summary="{$this->lang->words['cat_subforums']} '{$forum_data['name']}'">
<tr class='header'>
<th scope='col' class='col_c_icon'> </th>
<th scope='col' class='col_c_forum'>{$this->lang->words['cat_name']}</th>
<th scope='col' class='col_c_stats stats'>{$this->lang->words['forum_stats']}</th>
<th scope='col' class='col_c_post'>{$this->lang->words['last_post_info']}</th>
</tr>
<!-- / CAT HEADER -->
<foreach loop="subforums:$sub_forum_data as $_data">
<if test="subforumdata:|:is_array( $_data['forum_data'] ) AND count( $_data['forum_data'] )">
{parse striping="catTable" classes="row1,row2"}
<foreach loop="forums:$_data['forum_data'] as $forum_id => $forum_data">
<if test="isredirect:|:$forum_data['redirect_on']">
<tr class='{parse striping="catTable"} redirect_forum'>
<td class='altrow forum_icon_idx'>{parse replacement="f_redirect"}<div></div></td>
<td>
<h4><a href="{parse url="showforum={$forum_data['id']}" seotitle="{$forum_data['name_seo']}" template="showforum" base="public"}" title='{$this->lang->words['goto_forum']}'>{$forum_data['name']}</a></h4>
<p class='desc' style='padding-top: 3px;'>{$forum_data['description']}</p>
</td>
<td colspan='2'>
{$this->lang->words['rd_hits']}: {parse format_number="$forum_data['redirect_hits']"}
</td>
</tr>
<else />
<tr class='{parse striping="catTable"}'>
<td class='altrow forum_icon_idx'>
<a id='forum_img_{$forum_data['id']}' href="{parse url="app=forums&module=forums&section=markasread&marktype=forum&forumid={$forum_data['id']}&returntoforumid={$this->request['f']}" base="public"}" title="{$this->lang->words['bi_markread']}" class='forum_marker'>{parse replacement="{$forum_data['img_new_post']}"}</a>
<script type='text/javascript'>
ipb.global.registerMarker( 'forum_img_{$forum_data['id']}', "{$forum_data['img_new_post']}", markerURL + "&forumid={$forum_data['id']}" );
</script><div></div>