Code:
$smarty->assign("activeFreeGifts", $activeFreeGifts);
$smarty->assign("offerFreeGifts", $offerFreeGifts);
If $activeFreeGifts and $offerFreeGifts is in fact an array, just use a {section} loop over the array and irretate over it, just look at any of the code in products.tpl and you'll see what im refering to.
