{foreach item=list key=num from=$tg}> <{if $num<3}>
<{$config.money}><{$list.price}>
<{$config.money}><{$list.market_price}>