<style>
.edt{border: 0!important;margin-top: 20px;}
.form-control{}
.wzkpz-zfgl-box{width: 680px;}
.equitycof{margin-right: 0px;}
</style>

<nav class="breadcrumb"> 五折卡模块 <span class="c-gray en">&gt;</span> 五折卡配置 <span class="c-gray en">&gt;</span>支付管理</nav>
	<div class="col-md-10" role="main" id="bnb">
		<div class="wzkpz-zfgl-box">					
			<div class="title-box edt">
				<p class="t-p" style="font-size: 22px;float:left;width:120px;">支付管理</p>
				<button type="button" class="sjxg_fh" data-dismiss="modal" style="margin-top:6px!important">返回</button>
			</div>
			<div class="bs-example">
				<form action="<?php echo site_url('admin/pay/addkey');?>" method="post" class="registerForm regiswidth">
					<input type="hidden" name="old_key" value="<?php echo isset($keyInfo['key']) ? $keyInfo['key'] : '';?>">
					<div class="form-group">
						<span class="dianm">*支付KEY：</span>
						<div class="examp">
							<input type="text" class="form-control" name="key" value="<?php echo isset($keyInfo['key']) ? $keyInfo['key'] : '';?>">
			            	<p><small><img src="<?php echo asset_url('images/tips.png')?>" alt="" style="width: 18px;vertical-align: text-bottom;"> <strong>提示</strong>: 请填写ping++-开发信息-Live Secret Key，填写错误将影响支付功能。</small></p>						
			        	</div>
		        	</div>
		        	<div class="form-group">
			        	<span class="dianm">*应用ID：</span>
			            <div class="examp">
			            	<input type="text" class="form-control" name="id" value="<?php echo isset($keyInfo['appid']) ? $keyInfo['appid'] : '';?>">
			            	<p><small><img src="<?php echo asset_url('images/tips.png')?>" alt="" style="width: 18px;vertical-align: text-bottom;"> <strong>提示</strong>: 请填写ping++-应用信息-应用ID，填写错误将影响支付功能。</small></p>
			        	</div>
		        	</div>
		        	<div class="form-group form-phone">
				        <span class="dianm">*支付公钥：</span>
			            <div class="examp">
			            	<div class="addbox">
			            	<textarea class="form-control" style="height:80px" name="publickey" cols="60"><?php echo isset($keyInfo['publickey']) ? $keyInfo['publickey'] : '';?></textarea>
			            	<label for="form-field-phone" class="error form-field-phone wori">电话不能为空</label></div>
			            	<div class="addclick"></div><p><small><img src="<?php echo asset_url('images/tips.png')?>" alt="" style="width: 18px;vertical-align: text-bottom;"> <strong>提示</strong>: 请填写ping++-开发信息-公钥，填写错误将影响支付功能。</small></p>
			            </div>
		       		</div>
	                <button class="edit_btn  equitycof h5a-btn btn  btn-primary" type="submit" id="save">保存修改</button>
	            </form>
	        </div>
        </div>
	</div>
	<script type="text/javascript">
	jQuery(document).ready(function($) {
		$("button[type=button]").on('click', function(event) {
			event.preventDefault();
			/* Act on the event */
			location.href="javascript:history.go(-1)";
		});
	});
	</script>

