<{foreach from=$allPay item=item key=key}> <{if $item.pay_type =='china'}> <{assign var="name" value=$item.pay_name|urlencode}>
| <{$item.pay_name}> | <{$item.pay_intro}> <{if $item.disable =='true'}> | <{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"}> <{else}> | <{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"}> <{/if}> <{/if}> <{/foreach}>