<lang package='boardTheme'>收起/展开</lang>

{$arrCategoryList['category_name']}[{if !empty( $arrCategoryData['category_gotourl'] )}N/A{d*else} {$arrCategoryList['category_blogs']}/{$arrCategoryList['category_blogs']+$arrCategoryList['category_comments']}{if !empty( $arrCategoryList['category_todaycomments'] )}/{$arrCategoryList['category_todaycomments']}{/if}{/if}]

{~$arrChilds = $oCategoryTree->getChild( $arrCategoryList['category_id'] ) } {if !empty( $arrChilds )} {if $arrCategoryList['category_columns']==0} {~$oChildCategory=$arrAllCategory[$nChild];} {~$arrCategoryData=CategoryModel::getCategoryData( $nChild )} {d*else} {~$oChildCategory = $arrAllCategory[$nChild];} {~$arrCategoryData = CategoryModel::getCategoryData( $nChild )} {/if} {/if}
{if !empty( $oChildCategory['category_logo'] )}{/if}

{$oChildCategory['category_name']}{if !empty( $arrCategoryData['todaycomments'] )} (今日: {$arrCategoryData['todaycomments']}){/if}

{if !empty( $oChildCategory['category_introduce'] )}

{$oChildCategory['category_introduce']}

{/if} {if $oChildCategory['category_showsub']==1 && $oCategoryTree->hasChild( $oChildCategory['category_id'] )} {~$arrChildTwos = $oCategoryTree->getChild( $oChildCategory['category_id'] ) }

子版块: {~$oChildCategoryTwo = $arrAllCategory[$nChildTwo];} {$oChildCategoryTwo['category_name']}  

{/if}
{if !empty( $oChildCategory['category_gotourl'] )}N/A{d*else} {$arrCategoryData['blogs']} / {$arrCategoryData['blogs']+$arrCategoryData['comments']}{/if}

{if !empty( $oChildCategory['category_gotourl'] )}衔接到外部网址{d*else} {~$arrLastpost =unserialize( $oChildCategory['category_lastpost'] )} {if is_array($arrLastpost)}{$arrLastpost['blog_title']|String+subString=0,30} {if $arrLastpost['user_id']==-1}{$arrLastpost['user_name']}{d*else}{$arrLastpost['user_name']}{/if} - {$arrLastpost['blog_dateline']|Date+smartDate}{d*else}从未{/if} {/if}

{$oChildCategory['category_name']}{if !empty( $arrCategoryData['todaycomments'] )} (今日: {$arrCategoryData['todaycomments']}){/if}

{if empty( $oChildCategory['category_gotourl'] )}

主题: {$arrCategoryData['blogs']}, 帖数: {$arrCategoryData['comments']}

{/if}

{if !empty( $oChildCategory['category_gotourl'] )}衔接到外部网址{d*else} {~$arrLastpost =unserialize( $oChildCategory['category_lastpost'] )} {if is_array($arrLastpost)}最后发表: {$arrLastpost['blog_dateline']|Date+smartDate}{d*else}从未{/if} {/if}