<?php
require_once("../app/config.php");
$bank= mysqli_fetch_array(mysqli_query($dbc, "SELECT * FROM admin_bank WHERE id='2'"));
$title='Ethereum Deposit';
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 page-header-light">
        <div class="page-header-content header-elements-md-inline">
          <div class="page-title d-flex">
            <h4><i class="icon-credit-card mr-2"></i> <span class="font-weight-semibold">Bank transfer</span></h4>
          </div>
        </div>

        <div class="breadcrumb-line breadcrumb-line-light header-elements-md-inline">
          <div class="d-flex">
            <div class="breadcrumb">
              <a href="./" class="breadcrumb-item"><i class="icon-home2 mr-2"></i> Home</a>
              <a href="./fund/0" class="breadcrumb-item">Fund account</a>
            </div>
          </div>

          <div class="header-elements d-none">
            <div class="breadcrumb justify-content-center">
              <a href="./fund/0" class="breadcrumb-elements-item">
                <i class="icon-credit-card mr-2 text-success"></i>
                Fund account
              </a>
              <a href="./plans/0" class="breadcrumb-elements-item">
                <i class="icon-stats-bars3 mr-2 text-danger"></i>
                Investment plans
              </a>   
             <a href="ticket" class="breadcrumb-elements-item">
                <i class="icon-comment-discussion mr-2 text-info"></i>
                Support
              </a>
            </div>
          </div>
        </div>
      </div>
<div class="content">
  <div class="row">
    <div class="col-lg-12">
      <div class="card bg-success rounded-left-0">
        <div class="card-body">
          <div class="d-sm-flex align-item-sm-center flex-sm-nowrap">
            <div><p>Attention please!
<br><br>
In order to Deposit with your account you need to copy the address mentioned below. 
Please only make transaction to the specified address below.</p>
              
              <ul class="list list-unstyled mb-0">
               
                <li><h3>COIN TYPE: <span class="font-weight-bold;color:black">ETHEREUM</span></h3></li>
               <!-- <li>WALLET ADDRESS: <span class="font-weight-semibold;color:red;font-size:14pt">0x010b2d0408311b153ac0c62c739749dfcfd3a152</span></li>-->
                
                
              <!--  <center>                     <a href="https://www.bitcoinqrcodemaker.com"><img src="https://www.bitcoinqrcodemaker.com/api/?style=ethereum&address=0x010b2d0408311b153ac0c62c739749dfcfd3a152" alt="Ethereum QR Code Generator" height="200" width="200" border="0" /></a>
                
                </center> -->


              </ul><br><center>          <input type="text" value="0x010b2d0408311b153ac0c62c739749dfcfd3a152" id="myInput"><br>
<button onclick="myFunction()">Copy address</button></center>
            </div>

            <div class="text-sm-right mb-0 mt-3 mt-sm-0 ml-auto">
              <ul class="list list-unstyled mb-0">
                <li>Status: <span class="badge bg-danger-400 font-weight-semibold">UNPAID</span></li>
              </ul>
            </div>
          </div>
        </div>
      </div>
    </div>
  </div>
<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">Upload proof</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">
        <form method="post" action="../app/user/bpay" enctype="multipart/form-data">
         <div class="form-group row">
            <label class="col-form-label col-lg-2">Amount:</label>
            <div class="col-lg-10">
              <div class="input-group">
                <span class="input-group-prepend">
                  <span class="input-group-text"><?php echo $scan2['currency'];?></span>
                </span>
              <input type="number" name="amount" max-length="10" class="form-control">
              <input type="hidden" name="user_id" value="<?php echo $row['id'];?>">
                </div>
              </div>
          </div>
          <div class="form-group row">
            <label class="col-form-label col-lg-2">More details</label>
            <div class="col-lg-10">
                <textarea type="text" class="form-control" rows="4" placeholder="" name="details" required>