<{if count($goodsItems) > 0}>
<{foreach from=$goodsItems item=aGoods name="item"}> <{/foreach}>
<{t}>货号<{/t}> <{t}>商品名称<{/t}> <{t}>分类<{/t}> <{t}>价格<{/t}> <{t}>购买量<{/t}> <{t}>已发货量<{/t}>
<{$aGoods.bn}> href="../<{link ctl=product act=index arg0=$aGoods.goods_id}>"<{else}>href="../<{link ctl=package act=index}>"<{/if}> target="_blank"><{$aGoods.name}> <{if is_array($aGoods.minfo)}> <{foreach from=$aGoods.minfo item=minfo key=name}>
<{$minfo.label}>:<{$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}>积分<{/t}> <{t}>兑换量<{/t}> <{t}>已发货量<{/t}>
<{$aGift.name}>           <{$aGift.point}> <{$aGift.nums}> <{$aGift.sendnum}>
<{/if}>