<{if count($goodsItems) > 0}>
<{foreach from=$goodsItems item=aGoods name="item"}> <{/foreach}>
<{t}>货号<{/t}> <{t}>商品名称<{/t}> <{t}>分类<{/t}> <{t}>h<{/t}> <{t}>购买?{/t}> <{t}>已发货量<{/t}>
<{$aGoods.bn}> href="../index.php?ctl=product&act=index&p[0]=<{$aGoods.goods_id}>"<{else}>href="../index.php?ctl=package&act=index"<{/if}> target="_blank"> <{$aGoods.name}> <{if is_array($aGoods.minfo)}> <{foreach from=$aGoods.minfo item=minfo key=name}>
<{$minfo.label}>Q?{$minfo.value}> <{/foreach}> <{/if}>
<{if $aGoods.is_type == 'goods' && $aGoods.small_pic}>     <{/if}>
<{$aGoods.cat_name}> <{$aGoods.price}> <{$aGoods.nums}> <{$aGoods.sendnum}>
<{/if}> <{if count($giftItems) > 0}>
<{foreach from=$giftItems item=aGift}> <{/foreach}>
<{t}>赠品名称<{/t}> <{t}>U分<{/t}> <{t}>兑换?{/t}> <{t}>已发货量<{/t}>
<{$aGift.name}>           <{$aGift.point}> <{$aGift.nums}> <{$aGift.sendnum}>
<{/if}>