<?php
require 'config.php';
?>
<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>充值页面</title>
	<meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" name="viewport" />
    <meta content="yes" name="apple-mobile-web-app-capable">
    <meta content="black" name="apple-mobile-web-app-status-bar-style">
    <meta content="telephone=no" name="format-detection">
	<link rel="stylesheet" href="css/weui.css">
	<link rel="stylesheet" href="css/weuix.css">
</head>
<style type="text/css">
.page-bg{max-width:480px;}
</style>
<body ontouchstart class="page-bg center">
<div class="page-hd">
    <h1 class="page-hd-title">
        悟空传H5充值页面
    </h1>
    <p class="page-hd-desc">客服QQ：97887526</p>
</div>
    <form action="submit.php" method="get">
    <div class="weui-cells weui-cells_form">
  		<div class="weui-cell">
		    <div class="weui-cell__hd"><label class="weui-label">账号：</label></div>
		    <div class="weui-cell__bd">
		      <input class="weui-input" name="account" type="text" placeholder="输入游戏账号">
		  	</div>
	    </div>
      <div class="weui-cell weui-cell_select weui-cell_select-after">
        <div class="weui-cell__hd"><label class="weui-label">游戏区：</label></div>
        <div class="weui-cell__bd">
          <select class="weui-select" name="quid">
            <?php
                foreach ($quconfig as $key=>$value) {
                    echo "<option value='".$key."'>".$value."</option>";
                }
            ?>
          </select>
        </div>
      </div>
      <div class="weui-cell weui-cell_select weui-cell_select-after">
        <div class="weui-cell__hd"><label class="weui-label">充值礼包：</label></div>
        <div class="weui-cell__bd">
          <select class="weui-select" name="attach">
            <?php
               foreach ($libaoconfig as $key=>$value) {
                   echo "<option value='".$key."'>".$value[1]."(需".$value[0]."元)</option>";
                }
            ?>
          </select>
        </div>
      </div>     
      <button type="submit" class="weui-btn weui-btn_primary">前往支付</button>  
    </form>
</body>
</html>