<{include file="index/header.html"}> 
<div class="cnav"><a href="javascript:;" class="back">编辑接口</a></div> 
<div class="main"> 
<form action="?m=api&a=payment_save" method="post">
	<{if $row.id}><input type="hidden" size="25" name="id" value="<{$row.id}>"/><{/if}>
	<table width="100%" class="etable"> 
		<tr>
			<td width="120">支付方式：</td>
			<td><input type="text" size="51" name="name" value="<{$row.name}>" disabled/></td>
	  	</tr> 
		<tr>
			<td>手续费：</td>
			<td><input type="text" size="51" name="fees" value="<{$row.fees}>"/></td>
	  	</tr>
		<tr>
			<td>描述：</td>
			<td><textarea name="describe" cols="50" rows="3"><{$row.describe}></textarea></td>
	  	</tr> 
		<{if $row.param}>
			<{foreach item=i key=k from=$row.param}>
			<tr>
				<td><{$i}>：</td>
				<td><input type="text" value="<{$row.config.$i}>" size="51" name="param[<{$i}>]"><i>必填</i></td>
			</tr>
			<{/foreach}> 
		<{/if}> 
		<tr>
			<td>是否默认：</td>
			<td>
				<label>&nbsp;&nbsp;开启 <input name="is_default" type="radio" value="1" <{if $row.is_default == '1'}>checked="checked"<{/if}>/></label>&nbsp;&nbsp;&nbsp;
				<label>&nbsp;&nbsp;关闭 <input name="is_default" type="radio" value="0" <{if $row.is_default == '0'}>checked="checked"<{/if}>/></label>
			</td>
	  	</tr>
		<tr>
			<td>状态：</td>
			<td>
				<label>&nbsp;&nbsp;开启 <input name="status" type="radio" value="1" <{if $row.status == '1'}>checked="checked"<{/if}>/></label>&nbsp;&nbsp;&nbsp;
				<label>&nbsp;&nbsp;关闭 <input name="status" type="radio" value="0" <{if $row.status == '0'}>checked="checked"<{/if}>/></label>
			</td>
	  	</tr>
		<tr>
			<td>&nbsp;</td>
			<td><input type="submit" name="submit" value="提交"/></td>
	  	</tr>		
	</table> 
</form>
</div>
</body>
</html>
