<{foreach from=$allPay item=item key=key}> <{if $item.pay_type =='other'}> <{assign var="name" value=$item.pay_name|urlencode}> <{if $item.disable =='true'}> <{else}> <{/if}> <{/if}> <{/foreach}>
<{$item.pay_name}> <{$item.pay_intro}><{button type="button" label="启用" onclick="W.page('index.php?ctl=trading/payment&act=do_install&p[0]={$item.pay_ident}',{onRequest:function(){window.mainwidth=$('main').getStyle('width')}})" icon="btn_add.gif"}><{button type="button" label="添加" onclick="W.page('index.php?ctl=trading/payment&act=editPayment&p[0]={$item.id}&p[1]={$name}&p[2]={$item.pay_ident}',{onRequest:function(){window.mainwidth=$('main').getStyle('width')}})" icon="btn_add.gif"}>