<{foreach item=list key=num from=$tg}>

<{$list.name}>

<{$config.money}> <{$list.price}>

<{/foreach}>