<{if count($cat.brand)>0}>

### <{t}>选择品牌：<{/t}>

<{foreach from=$cat.brand item=aItems}>
<{$aItems.brand_name}>
<{/foreach}>
<{/if}> <{capture name=prop_search}>

### <{t}>选择属性：<{/t}>

<{foreach from=$cat.props item=prop key=key}> <{if $prop.search != 'disabled' && $prop.name}> <{if $prop.type == 'select' && $prop.search == 'nav'}>

##### <{$prop.name}>：

<{foreach from=$prop.options item=value key=i}>
<{$value}>
<{/foreach}>

<{else}>

##### <{$prop.name}>：

<{input type=$prop.type name="p_$key[]" nulloption="1" options=$prop.options}>
<{/if}> <{assign var="prop_search" value=true}> <{/if}> <{/foreach}>
<{/capture}> <{if $prop_search}> <{$smarty.capture.prop_search}> <{/if}>