<?php
require_once("../../app/config.php");
$var=$_GET['id'];
$amount=$_GET['amount'];
$sendto=$_GET['sendto'];
require_once('include/user_header.php');
require_once('include/user_navbar.php');
require_once('include/user_sidebar.php');
?>
<div class="content-wrapper">

      <!-- Page header -->
      <div class="page-header">
        <div class="page-header-content header-elements-md-inline">
        </div>
      </div>
<div class="content">
<div class="row">
    <div class="col-md-12">
      <!-- Basic layout-->
      <div class="card">
        <div class="card-header header-elements-inline">
          <h6 class="card-title font-weight-semibold">Bar code</h6>
              <div class="header-elements">
                <div class="list-icons text-orange-600">
                <a class="list-icons-item" data-action="collapse"></a>
                <a class="list-icons-item" data-action="reload"></a>
              </div>
            </div>
        </div>
        <div class="card-body">
          <p class="mb-4">PLEASE SEND EXACTLY <span style="color: green"> <?php echo $amount;?></span> BCH TO <span style="color: green"> <?php echo $sendto;?></span></p>
        <div class="content d-flex justify-content-center align-items-center">
          <img src="https://chart.googleapis.com/chart?chs=300x300&cht=qr&chl=<?php echo $var;?>&choe=UTF-8" style='max-height:60%;max-width:60%;' class='justify-content-center align-items-center'/>
        </div>
        </div>
      </div>
      <!-- /basic layout -->
      </div>
    </div>
  </div>
<?php require_once("include/user_footer.php"); ?>