<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
  <link rel="stylesheet" href="<?php echo base_url();?>styles/css/table.css">
    <?php
      $this->load->view('user/common_style');
      $this->load->view('user/header');
    ?> 
<style type="text/css">
.dataTables_filter > label
{
  display: block;
  color: rgb(239, 239, 239);
  background: rgb(239, 239, 239);
}

.dataTables_filter label > input[type=search]::after {
    font-family: 'FontAwesome';
    /*color:red;*/
    position: relative;
    left: -5px;
    content: "\f007";
}

label {
    display: inline-block;
    max-width: 100%;
    margin-bottom: 15px;
    font-weight: 700; 
}

</style>      
</head>

  <body >


      <?php
        
        $this->load->view('user/login_header');
        $currency_info = defaultcurrency();

      ?>

     <div class="col-lg-9 col-md-9 col-sm-12 col-xs-12">
          <h4 class="other-title theme-color"> Bank Payment Confirmation</h4> 

          <div style="clear:both;"><br></div>
          <div class="col-lg-12">
                        <form action="<?php echo base_url()?>user/dashboard/bankconfirm" method="post" target="_self" style="display:block;" >

                              <div class="col-lg-12 ">
                              <div class="form_block">
                                <label class="col-lg-5" >Payment Amount</label>
                                  <div class="col-lg-1"> : </div>
                                  <div class="col-lg-6">
                                   <label><?php echo $this->session->userdata('amt');?> USD</label>
                                  </div>
                                  </div>
                                  

                                <div class="form_block">
                                <label class="col-lg-5">Payment Mode</label>
                                  <div class="col-lg-1"> : </div>
                                  <div class="col-lg-6">
                                     <label>Wire Transfer</label>
                                  </div>
                                  </div>

                                <div class="form_block">
                                <label class="col-lg-5">Bank Name</label>
                                  <div class="col-lg-1"> : </div>
                                  <div class="col-lg-6">
                                     <label><?php echo $bank_det->bank_name;?></label>
                                  </div>
                                </div>

                                <div class="form_block">
                                  <label class="col-lg-5">Account Name </label>
                                  <div class="col-lg-1"> : </div>
                                  <div class="col-lg-6">
                                   <label><?php echo $bank_det->account_name?></label>
                                  </div>
                                  </div>
                            
                                 


                                  <div class="form_block">
                                <label class="col-lg-5">Account Number (IBAN)</label>
                                  <div class="col-lg-1"> : </div>
                                  <div class="col-lg-6">
                                     <label><?php echo $bank_det->iban;?></label>
                                  </div>
                                  </div>


                                    <div class="form_block">
                                      <label class="col-lg-5">Country</label>
                                      <div class="col-lg-1"> : </div>
                                      <div class="col-lg-6">
                                         <label><?php echo $bank_det->bank_addr;?></label>
                                      </div>
                                    </div>

                                       <div class="form_block">
                                      <label class="col-lg-5">Transaction Reference ID</label>
                                      <div class="col-lg-1"> : </div>
                                      <div class="col-lg-6">
                                         <label><?php echo $this->session->userdata('trans_id');?></label>
                                      </div>
                                    </div>


                                <div style="clear:both;"><Br><br></div>
                                <div class="col-sm-12">
                                  <div class=" text-center">
                                     <div class="contact_page_btn" align="center">
                                          <button type="submit" class="btn btn-default">Confirm</button>
                                        </div>
                                 
                                      </div>
                                 
                            </div>
                          </form>

                                    
                                  

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


<script src="<?php echo base_url();?>styles/js/jquery-1.12.2.min.js"></script>
<script type="text/javascript" src="<?php echo base_url();?>styles/js/datatables.min.js"></script>
<script type="text/javascript">
 $(document).ready(function($) {   


                  'use strict';

     
      document.body.addEventListener('click', copy, true);


      function copy(e) {

        var
          t = e.target,
          c = t.dataset.copytarget,
          inp = (c ? document.querySelector(c) : null);

        if (inp && inp.select) {

          $("#cpy").html('Copied');
          $("#cpy").css('background','green');
          $("#cpy").css('color','white');

          inp.select();

          try {
            document.execCommand('copy');
            inp.blur();
          }
          catch (err) {
             swal({
                title: "<?php echo $this->lang->line('referral_copy_lbl'); ?>",
                confirmButtonColor: "#f5ab35"
            });
          }

        }

      }


    $('.main-table table').dataTable({
          // "paginate": false,
          // "filter": false,
          "Info": false
    });

  });


 function check_payment()
 {

  var min_amt=document.getElementById('amount').value;
  if(min_amt=="")
  {
    document.getElementById('amount_err').innerHTML=" * Pls Enter Amount";
    
  }
  if(min_amt!='')
  {
    var mq =/^[0-9.]+$/;
    if(!mq.test(min_amt))
    {
      document.getElementById('amount_err').innerHTML=" * Invalid amount format";
    }
    else
    {
      document.getElementById('pay_form').submit();
    }

  }



 }

 </script>   


<?php
  $this->load->view('user/common_script');
// $this->load->view('user/result_check');
?>
<?php
$this->load->view('user/footer');
?>

  </body>
</html>
