<?php
require_once dirname(__FILE__) . '/securimage/securimage.php';
?>
<html>
<head>
    <meta charset="utf-8">
	
    <title>Gamebank.vn - Demo Qr Code payments</title>
    <link rel="stylesheet" type="text/css" href="style.css">
	<script src="https://sv.gamebank.vn/js/jquery-1.10.2.min.js"></script>
	<script src="https://sv.gamebank.vn/js/jquery.form.js"></script> 
	<script src="https://sv.gamebank.vn/js/jquery-ui.js"></script>

	<script src="script.js"></script> 
</head>

<body>
<div class="root">
    <div class="box-root flex-flex flex-direction--column" style="min-height: 100vh;flex-grow: 1;">
        <div class="box-root padding-top--24 flex-flex flex-direction--column" style="flex-grow: 1; z-index: 9;">
            <div class="box-root padding-bottom--24 flex-flex flex-justifyContent--center">
                <h1><a target="_blank" href="https://sv.gamebank.vn/user/qrpay" rel="dofollow"><img src="https://sv.gamebank.vn/images/logo.png" height="60"></a></h1>
            </div>
            <div class="formbg-outer">
			
				<div id='ketquaPopup'>
					<a class="close" href="#" title='Close'>×</a>
					<h3>Quý khách vui lòng quét mã bên dưới để tiếp tục thanh toán</h3>
					<div id='imagePopup'></div>
					<h3 id='bank'></h3>
					<h3 id='bankname'></h3>
					<h3 id='noidung'></h3>
				</div>
		
                <div class="formbg">
                    <div class="formbg-inner padding-horizontal--48">
                        <span class="padding-bottom--15">Vui lòng nhập thông tin thanh toán</span>
                        <form  action="#" method="post" name="fnaptien" id="fnaptien">
                            <div class="field padding-bottom--24">
                                <label for="bank_code">Chọn ví</bank_code>
								<select name="bank_code">
									<option value="MOMO">QR Code Momo</option>
									<option value="VCB">QR Code Ngân Hàng &amp; Ví Điện Tử 1</option>
									<option value="BIDV">QR Code Ngân Hàng &amp; Ví Điện Tử 2</option>
								</select>
                            </div>
							
                            <div class="field padding-bottom--24">
                                <label for="amount">Số tiền</bank_code>
								<select id="amount" name="amount">
									<option value="10000">10.000 VNĐ</option>
									<option value="20000">20.000 VNĐ</option>
									<option value="30000">30.000 VNĐ</option>
									<option value="50000">50.000 VNĐ</option>
									<option value="100000">100.000 VNĐ</option>
									<option value="200000">200.000 VNĐ</option>
									<option value="300000">300.000 VNĐ</option>
									<option value="500000">500.000 VNĐ</option>
									<option value="1000000">1.000.000 VNĐ</option>
									<option value="2000000">2.000.000 VNĐ</option>
                                </select>
                            </div>
							
							<div class="field padding-bottom--24">
								<label for="tran_id">Mã giao dịch</label>
								<input type="tran_id" name="tran_id" value="<?php echo md5(time()); ?>">
							</div>
							
							<div class="field padding-bottom--24">
								<label for="message">Ghi chú</label>
								<textarea name="message" id="message" rows="2"  placeholder="Nhập một lời nhắn cho người nhận..."></textarea>
							</div>
							
							<div class="field padding-bottom--24">
								<label for="ma_bao_mat">Mã bảo mật</label>

								
								<input type="text" id="ma_bao_mat" class="form-control" name="ma_bao_mat" placeholder="Mã bảo mật" />
								<br />
                                  <div class="security_code">
                                    <img src="securimage/securimage_show.php" id="captcha"/>
                                    <img src="images/refresh.gif" style="position: relative; left: 12px; top: -25px; cursor: pointer;" onclick="
                                                document.getElementById('captcha').src='securimage/securimage_show.php?sid='+Math.random();"/>
                                </div>

							</div>
							
							
                            <div class="field padding-bottom--24">
                                <input  type="submit" name="btn_napthe" id="btn_napthe" value="Continue">
                            </div>
							
                            <div class="field padding-bottom--24">
                                <div id="messages"></div>
                            </div>
							
                            <div id="loading_napthe" style="display: none;"><img src="https://sv.gamebank.vn/images/loading.gif"/> &nbsp;Xin mời chờ...</div>
							
                            <div class="field">
                                <a class="ssolink" href="https://sv.gamebank.vn/user/qrpay">Xem phiên bản demo đầy đủ
                                    hơn tại đây</a>
                            </div>
                        </form>
                    </div>
                </div>
                <div class="footer-link padding-top--24">

                    <div class="listing padding-top--24 padding-bottom--24 flex-flex center-center">
                        <span><a href="tel:1900636151">Mọi chi tiết vui lòng liên hệ 1900.636.151</a></span>

                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
</body>

</html>