{$count=0} {$emptyCount=0}
{if !empty($itemgroups)}
{foreach from=$itemgroups item="group"}{assign var="count" value=$count+1}{if $group->count_childs==0 && $group->description|strlen < 30}{assign var="emptyCount" value=$emptyCount+1}{/if}
}-->{C}<!--{cke_protected}{imgresize src='/images/theme/layout/default.jpg' width=1000 height=561 auto_crop=0}-->{C}<!--{cke_protected}{else}-->{C}<!--{cke_protected}{imgresize src=$group->pic_icon width=1000 height=561 auto_crop=0}-->{C}<!--{cke_protected}{/if}-->)
{/foreach}
{/if}
{if $count!=$emptyCount}
{/if}