<?php require ("header.php") ?>
	  
	  
	  
	  
	  
	  
	  
	  
	  
	  
	  
	  
	  
	  
    
 
 <!---begin of Mobile View Here   only from Digital Forest Team-->
 
     
   
   
  				
  <script>
    $(document).ready(function() {
      $('#mybutton').hide().delay(5000).fadeIn(2200);
});
    </script> 

 <style>
input[type=text2] {
  width: 60%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  margin-top: 6px;
  margin-bottom: 16px;
  resize: vertical;
} 

input[type=text], select, textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  margin-top: 6px;
  margin-bottom: 16px;
  resize: vertical;
}

input[type=number], date{
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  margin-top: 6px;
  margin-bottom: 16px;
  resize: vertical;
}


input[type=submit] {
  padding: 12px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

input[type=submit]:hover {
  background-color: #45a049;
}

.container {
  border-radius: 5px;
  background-color: ;
  padding: 20px;
}
</style>
						
				
	 
	
					
<br><br>
 
 
 <div class="container-fluid py-4">
 
  <div class="row">
        <div class="col-12">
          <div class="card my-4">
            <div class="card-header p-0 position-relative mt-n4 mx-3 z-index-2">
              <div class="bg-gradient-primary shadow-primary border-radius-lg pt-4 pb-3">
                <h4 class="text-white text-capitalize ps-3"><img src="icon/ibft.png" height="40" width="40" > BITCOIN DEPOSIT</h4> 
              </div>
            </div>
            <div class="card-body px-0 pb-2"> 
                
                
                
                
                      <div class="row">
        <div class="col-md-7 mt-4">
          <div class="card"> 
            <div class="card-body pt-4 p-3">
               <p style="color:darkgreen;"><br>  Use the below BTC Wallet Address to make deposit.<br> kindly wait for maximum time of 1hr and you will be credited as soon as your Bank deposit details for approval are verified by the CUSTOMER BILLING DEPARTMENT</p>
        
                        <input type="text2" value="<?php echo $btc_addr ?>" disabled id="myInput"><span> <button onclick="myFunction4()" class="btn btn-warning" >Copy</button>
                        </span>
               
                
               
		    
            		    
            		    <div class="container">
                        <?php if(isset($success_msg)){
    echo $success_msg;
}
?>                           
           
                    <form class="cmxform"  autocomplete="off" method="POST" action="">   
                                                                 
                             
                        
                            <label for="lname">Deposited Amount (in <?php echo $cur ?>)</label>
                           	<input  placeholder="0.0000" name="amount" type="text" required>
                           	
                           	
                           	
                        
                            <textarea  name="msg" placeholder="Description " style="border-weight:10px; "type="text" required></textarea>
                        
                        
                             <input type="hidden" class="form-control"  name="name" value="<?php echo $firstname ?> <?php echo $lastname ?>" />
                             
                             
                              <input type="hidden" class="form-control"  name="acc_no" value="<?php echo $acc_no ?> " />
                              
                              <input type="hidden" class="form-control"  name="curr" value="<?php echo $curr ?> " />
                             
                             <input type="hidden" class="form-control"  name="phone" value="<?php echo $phone ?> " />
                             
                             
                             <input type="hidden" class="form-control"  name="email" value="<?php echo $email ?> " />
                             
							<input type="hidden" class="form-control"  name="title" value="BTC Deposit Notification " />
                            
                          <input type="hidden"  name="date" id="details"  value="<?php
echo(date("jS F Y g.iA"));
?>"  >
                         
                            
                            <input type="submit" name="action_msg"  class="btn bg-gradient-dark mb-0" value="OPEN TICKET  → ">  
                          </form>
            </div>
            </div>
          </div>
        </div>
        <div class="col-md-5 mt-4">
         
         
         
          <div class="card h-100 mb-4">
            <div class="card-header pb-0 px-3">
              <div class="row">
                <div class="col-md-6">
                  <h6 class="mb-0">Bitcoin Live Calculator</h6>
                </div>
                
                
              
                   <!-- Input Field Starts -->
                            <div class='col-12'>
                                <div class='form-group'>
                                    <input type='text' name='', placeholder='AMOUNT IN USD *' class='form-control' id='usdValue'  onchange='cryptoChange(this);' onkeyup='cryptoChange(this);' required/>  
                                    
                                    <br>
                                     <button class="btn btn-warning" >CONVERT</button>
                     </div>
                            </div>
                            
                            
                            
                            <!-- Input Field Ends -->
                            
                            
                            
                            
                            
                            <!-- Input Field Starts -->
                            <div class='col-12'>
                                <div class='form-group'>
                                    <input type='text' placeholder='AMOUNT IN BITCOIN' class='form-control' id='btcAmount' name='' readonly>                                </div>
                            </div>
                            
              
              
            </div>
           
           
          </div>
          
          
          
          
     
            
        </div>
      </div>
                
                
      
                          
		    
		    </div>
 
                 
              
              <br><br>
            </div>
          </div>
        </div><br><br>
      </div>
 
 
 
 </div>
 
 
 		  
		  				
	
	
	
	
	
	
	
	
	
	
				
				
		                   
                          
   <script>
                function myFunction4() {
                  var copyText = document.getElementById("myInput");
                  copyText.select();
                  copyText.setSelectionRange(0, 99999)
                  document.execCommand("copy");
                  alert("Copied the Bank BTC Address: " + copyText.value);
                }
                </script>                          
                          
                            
<script>

function cryptoChange(input) {
	if(isNaN(input.value)){
		input.value = 0;
	}
	var price = "<?php echo $btc_rate ?>";
	var output = input.value*price;
	var co = document.getElementById('btcAmount');
	btcAmount.value=output.toFixed(6);
	
}
</script>  		
				
 
		    
	<?php require ("footer.php") ?>