<!DOCTYPE html>
<html>
<?php echo $this->fetch('head.html'); ?>

<body>
<div class="header">
	<div class="header-back"></div>
	<div class="header-title">添加银行卡</div>
</div>
<div class="header-row"></div>
<div class="main-body">
    
    	<form method="post" action="/moduleshop.php?m=olprint_bankcard&a=save">
<input type="hidden" name="id" style="display:none;" value="<?php echo $this->_var['data']['id']; ?>" >
	<div class="input-flex">
		<div class="input-flex-label">所属银行</div>
		<select name="yhk_name" class="input-flex-select">
			<option value="0">请选择</option>
			<?php $_from = $this->_var['bankList']; if (!is_array($_from) && !is_object($_from)) { $_from=array();}; $this->push_vars('', 'c');if (count($_from)):
    foreach ($_from AS $this->_var['c']):
?>
			<option value="<?php echo $this->_var['c']; ?>"><?php echo $this->_var['c']; ?></option>
			<?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
		</select>
	</div>
	<div class="input-flex">
		<div class="input-flex-label f12">银行卡号</div>
		<input class="input-flex-text" type="text" name="yhk_haoma" id="yhk_haoma" value="<?php echo $this->_var['data']['yhk_haoma']; ?>" >
	</div>
	<div class="input-flex">
		<div class="input-flex-label f12">银行卡户名</div>
		<input class="input-flex-text" type="text" name="yhk_huming" id="yhk_huming" value="<?php echo $this->_var['data']['yhk_huming']; ?>" >
	</div>
	<div class="input-flex">
		<div class="input-flex-label">开户地址</div>
		<input class="input-flex-text" type="text" name="yhk_address" id="yhk_address" value="<?php echo $this->_var['data']['yhk_address']; ?>" >
	</div>
	 
	<div class="input-flex">					
		<div class="input-flex-label">支付密码</div>					 
		<input type="text" name="paypwd" class="input-flex-text">				 
		 
	</div>
	<div class="btn-row-submit js-submit">保存</div> 
</form>
    
</div>
<?php echo $this->fetch('footer.html'); ?>
 
</body>
</html>