
<div class="bm bmw fl comiis_fls{if $_G['forum']['forumcolumns']} flg{/if}">

	<div class="bm_h kmzb cl">

		<span class="o"><img id="subforum_{$_G[forum][fid]}_img" src="{IMGDIR}/$collapseimg[subforum]" title="{lang spread}" alt="{lang spread}" onclick="toggle_collapse('subforum_$_G['forum'][fid]');" /></span>

		<h2><strong>{lang forum_subforums}</strong></h2>

	</div>

	<div id="subforum_{$_G[forum][fid]}" class="bm_c" style="$collapse[subforum]">

		<table cellspacing="0" cellpadding="0" class="fl_tb">

			<tr>

			<!--{loop $sublist $sub}-->

			<!--{eval $forumurl = !empty($sub['domain']) && !empty($_G['setting']['domain']['root']['forum']) ? 'http://'.$sub['domain'].'.'.$_G['setting']['domain']['root']['forum'] : 'forum.php?mod=forumdisplay&fid='.$sub['fid'];}-->

			<!--{if $_G['forum']['forumcolumns']}-->

				<!--{if $sub['orderid'] && ($sub['orderid'] % $_G['forum']['forumcolumns'] == 0)}-->

					</tr>

					<!--{if $_G['forum']['orderid'] < $_G['forum']['forumcolumns']}-->

						<tr class="fl_row">

					<!--{/if}-->

				<!--{/if}-->

				<td class="fl_g" width="$_G[forum][forumcolwidth]">

					<div class="fl_icn_g">

					<!--{if $sub[icon]}-->

						$sub[icon]

					<!--{else}-->

						<a href="$forumurl"{if $sub[redirect]} target="_blank"{/if}><img src="{IMGDIR}/forum{if $sub[folder]}_new{/if}.gif" alt="$sub[name]" /></a>

					<!--{/if}-->

					</div>

					<dl{if !empty($sub[extra][iconwidth]) && !empty($sub[icon])} style="margin-left: {$sub[extra][iconwidth]}px;"{/if}>

						<dt><a href="$forumurl" {if !empty($sub[redirect])}target="_blank"{/if} style="{if !empty($sub[extra][namecolor])}color: {$sub[extra][namecolor]};{/if}">$sub[name]</a> <span class="comiis_bkxx"> | Today: <!--{if $sub[todayposts] && !$sub['redirect']}--><em style="color:#db0000;" title="{lang forum_todayposts}">$sub[todayposts]</em> <!--{else}--><em style="color:#db0000;" title="{lang forum_todayposts}">0</em> <!--{/if}--><!--{if empty($sub[redirect])}-->Post: <em style="color:green;" title="lang forum_threads"><!--{echo dnumber($sub[threads])}--></em> Total: <em style="color:#0063a7;" title="{lang forum_posts}"><!--{echo dnumber($sub[posts])}--></em><!--{/if}--></span></dt>

						<dd class="comiis_texths"><!--{if $sub[description]}-->$sub[description]<!--{else}-->ÔÝÎÞ°å¿é½éÉÜ...<!--{/if}--></dd>

						<dd class="comiis_textzh">

						<!--{if $sub['permission'] == 1}-->

							{lang private_forum}

						<!--{else}-->

							<!--{if $sub['redirect']}-->

								<a href="$forumurl" class="xi2">{lang url_link}</a>

							<!--{elseif is_array($sub['lastpost'])}-->

								<!--{if $_G['forum']['forumcolumns'] < 3}-->

									<a href="forum.php?mod=redirect&tid=$sub[lastpost][tid]&goto=lastpost#lastpost" class="xi2 comiis_km3ico"><!--{if $comiis_window_width==1 && $_G['forum']['forumcolumns']==3}--><!--{echo cutstr($sub[lastpost][subject], 30)}--><!--{elseif $comiis_window_width==0 && $_G['forum']['forumcolumns'] == 3}--><a href="forum.php?mod=redirect&tid=$sub[lastpost][tid]&goto=lastpost#lastpost">{lang forum_lastpost}: $sub[lastpost][dateline]</a><!--{else}--><!--{echo cutstr($sub[lastpost][subject], 60)}--><!--{/if}--></a> 

								<!--{else}-->

									<a href="forum.php?mod=redirect&tid=$sub[lastpost][tid]&goto=lastpost#lastpost">{lang forum_lastpost}: $sub[lastpost][dateline]</a>

								<!--{/if}-->

							<!--{else}-->

								{lang never}

							<!--{/if}-->

						<!--{/if}-->

						<!--{hook/forumdisplay_subforum_extra $sub[fid]}-->

						</dd>

					</dl>

				</td>

			<!--{else}-->

				<td class="fl_icn">

					<div class="fl_icn_g">

						<!--{if $sub[icon]}-->

							$sub[icon]

						<!--{else}-->

							<a href="$forumurl"{if $sub[redirect]} target="_blank"{/if}><img src="{IMGDIR}/forum{if $sub[folder]}_new{/if}.gif" alt="$sub[name]" /></a>

						<!--{/if}-->

					</div>

				</td>

				<td>

					<h2><a href="$forumurl" {if !empty($sub[redirect])}target="_blank"{/if} style="{if !empty($sub[extra][namecolor])}color: {$sub[extra][namecolor]};{/if}">$sub[name]</a><!--{if $sub[todayposts] && !$sub['redirect']}--><em class="xw0 xi1" title="{lang forum_todayposts}"> ($sub[todayposts])</em><!--{/if}--></h2>

					<!--{if $sub[description]}--><p class="xg2 comiis_texths">$sub[description]</p><!--{/if}-->

					<!--{if $sub['subforums']}--><p>{lang forum_subforums}: $sub['subforums']</p><!--{/if}-->

					<!--{if $sub['moderators']}--><p class="comiis_textzh">{lang forum_moderators}: <span class="xi2">$sub[moderators]</span></p><!--{else}--><p class="comiis_textzh">{lang forum_moderators}: ÔÝÎÞ</p><!--{/if}-->

					<!--{hook/forumdisplay_subforum_extra $sub[fid]}-->

				</td>

				<td class="fl_i">

					<!--{if empty($sub[redirect])}--><span class="xi2"><!--{echo dnumber($sub[threads])}--></span><span class="xg1"> / <!--{echo dnumber($sub[posts])}--></span><!--{/if}-->

				</td>

				<td class="fl_by">

					<div>

					<!--{if $sub['permission'] == 1}-->

						{lang private_forum}

					<!--{else}-->

						<!--{if $sub['redirect']}-->

							<a href="$forumurl" class="xi2">{lang url_link}</a>

						<!--{elseif is_array($sub['lastpost'])}-->

							<a href="forum.php?mod=redirect&tid=$sub[lastpost][tid]&goto=lastpost#lastpost" class="xi2"><!--{echo cutstr($sub[lastpost][subject], 30)}--></a> <cite>$sub[lastpost][dateline] <!--{if $sub['lastpost']['author']}-->$sub['lastpost']['author']<!--{else}-->$_G[setting][anonymoustext]<!--{/if}--></cite>

						<!--{else}-->

							{lang never}

						<!--{/if}-->

					<!--{/if}-->

					</div>

				</td>

			</tr>

			<tr class="fl_row">

			<!--{/if}-->

			<!--{/loop}-->

			$_G['forum']['endrows']

			</tr>

		</table>

	</div>

</div>