<?php
if (!defined('ROOT'))
	exit ;
?>
<!DOCTYPE html>
<html>

	<head>
		<title>申请开发者</title>
		<meta name="description" content="">
		<meta name="keywords" content="">
		<?php
		include 'Inc_files.php';
		?>
		<link rel="stylesheet" type="text/css" href="/static/member/css/wap.1.0.0.css?v=20171117">
	</head>

	<body data-type="index">
		<script src="<?php echo C('TMPL_PARSE_STRING.__TPL__'); ?>/assets/js/theme.js"></script>
		<div class="am-g tpl-g">
			<?php include 'Inc_head.php'?>
			<!-- 侧边导航栏 -->
			<?php
				include 'Inc_left.php';
			?>
			<!-- 内容区域 -->
			<div class="tpl-content-wrapper">
				<div class="row-content am-cf">
					<div class="row">
	                    <div class="am-u-sm-12 am-u-md-12 am-u-lg-12">
	                        <div class="widget am-cf">
	                            <div class="widget-head am-cf">
	                                <div class="widget-title am-fl">申请开发者</div>
	                            </div>
	                            <div class="widget-body am-fr">
	                                <form action="/Pay/developer_alipay_pc" method="post" class="am-form tpl-form-border-form tpl-form-border-br">
	                                	<input type="hidden" name="model_id" value="49" />
	                                	<input type="hidden" name="uid" value="<?php echo session('user_auth.id');?>" />
	                                	<input type="hidden" name="ctime" value="<?php echo time();?>" />
	                                    <div class="am-form-group">
	                                        <label for="user-name" class="am-u-sm-3 am-form-label">姓名 </label>
	                                        <div class="am-u-sm-9">
	                                            <input type="text" name="name" style="width: 300px;" class="tpl-form-input" placeholder="请输入名称">
	                                            <small></small>
	                                        </div>
	                                    </div>
	                                    <div class="am-form-group">
	                                        <label for="user-name" class="am-u-sm-3 am-form-label">LOGO </label>
	                                        <div class="am-u-sm-9">
	                                            <input type="hidden" name="logo">
												<div class="data-webuploader-one" data-webuploader-one='{js:"webuploader-one-1.0.js",css:"webuploader-one-1.0.css",server:"/Pub/Upload/upload_one"}'><i class="iconfont icon-webuploader01"></i></div>
	                                        </div>
	                                    </div>
	                                    <div class="am-form-group">
	                                        <label for="user-name" class="am-u-sm-3 am-form-label">手机 </label>
	                                        <div class="am-u-sm-9">
	                                            <input type="text" name="mobile" style="width: 300px;" class="tpl-form-input" value="<?php echo session('user_auth.mobile');?>">
	                                            <small></small>
	                                        </div>
	                                    </div>
	                                    <div class="am-form-group">
	                                        <label for="user-name" class="am-u-sm-3 am-form-label">微信 </label>
	                                        <div class="am-u-sm-9">
	                                            <input type="text" name="weixin" style="width: 300px;" class="tpl-form-input" placeholder="请输入微信">
	                                            <small></small>
	                                        </div>
	                                    </div> 
	                                    <div class="am-form-group">
	                                        <label for="user-name" class="am-u-sm-3 am-form-label">QQ </label>
	                                        <div class="am-u-sm-9">
	                                            <input type="text" name="qq" style="width: 300px;" class="tpl-form-input" placeholder="请输入QQ">
	                                            <small></small>
	                                        </div>
	                                    </div>
	                                    <div class="am-form-group">
	                                        <label for="user-phone" class="am-u-sm-3 am-form-label">时长</label>
	                                        <div class="am-u-sm-9">
	                                        	<?php 
	                                        		$days=preg_split("/[\r\n]+/s",C('KAIFAZHEJIAGE'),-1,PREG_SPLIT_NO_EMPTY);
	                                        		foreach($days as $k=>&$v){
	                                        			$v = preg_split("/[:]+/s", $v,-1,PREG_SPLIT_NO_EMPTY);
	                                        			$v[3] = $v[0].':'.$v[1].':'.$v[2];
	                                        		}
	                                        	?>
	                                            <select name="days" data-am-selected="{searchBox: 0}" style="display: none;">
	                                            <?php foreach($days as $k=>&$v){?>
												  <option value="<?php echo $v[3];?>"><?php echo $v[1].'￥' . $v[0];?></option>
												 <?php }?>
												</select>
	                                        </div>
	                                    </div> 
	                                    <div class="am-form-group">
	                                        <label for="user-phone" class="am-u-sm-3 am-form-label">支付方式</label>
	                                        <div class="am-u-sm-9">
	                                            <select name="pay_way" data-am-selected="{searchBox: 0}" style="display: none;">
												  <option value="alipay">支付宝</option>
												  <option value="wxpay">微信</option>
												</select>
	                                        </div>
	                                    </div> 
	                                    <div class="am-form-group">
	                                        <div class="am-u-sm-9 am-u-sm-push-3">
	                                            <button type="submit" class="am-btn am-btn-primary tpl-btn-bg-color-success ">
	                                            	提交
	                                            </button>
	                                        </div>
	                                    </div>
	                                </form>
	                            </div>
	                        </div>
	                    </div>
	                </div>
				</div>
			</div>
		</div>
		<?php
		include 'Inc_files_boot.php';
		?>
		<script src="/static/home/js/pc.1.0.0.js" type="text/javascript" charset="utf-8"></script>
	</body>

</html>