if $have_attribute == 1 $langProductAttribute : foreach from=$product_attribute item=one $one.a_name : if $one.a_type == 0 /if if $product_attribute[j].a_type == 1 foreach from=$one.content item=two $two.ac_content /foreach /if
/foreach /if