<?php require ("header_trans.php") ?>
	  
	  
	  
	  
	  
	  
	  
	  
	  
	  
	  
	  
    
	
  
 

 <style>
 

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-success shadow-success border-radius-lg pt-4 pb-3">
                <h4 class="text-white text-capitalize ps-3"><img src="icon/same-bank.png" height="40" width="40" > SAME BANK TRANSFER</h4> 
              </div>
            </div>
            <div class="card-body px-0 pb-2"> 
                
                
     
            		    <div class="container">
    	
				 
                                                                        			    				                    								                    								                    								                    								                    							<form action="" method="post" >
            
       

<?php if(isset($success_transfer)){
    echo $success_transfer;
}

elseif(isset($success2_transfer))
{
    echo $success2_transfer;
}

elseif(isset($failed_transfer))
{
    echo $failed_transfer;
}
    ?>
 <input type="hidden" name="date" 
     value="<?php
echo(date("jS F Y g.iA"));
?>" readonly>
      
      
       <input type="hidden" name="curr"  value="<?php echo  $curr ?>" >
       
        <input type="hidden" name="cur"  value="<?php echo  $cur ?>" >
      
      
     <input type="hidden" name="tr_limit"  value="<?php echo  $tr_limit ?>" >
                           
                        
                          
                          <label for="lname">Debit Account</label>
                            <input type="text"  value="<?php echo $acc_no ?> | <?php echo $cur ?><?php echo number_format($balc,2) ?>"   placeholder="Amount" disabled>
                          
                          
                          
                            <label for="lname">Amount (<?php echo $cur ?>)</label>
                            <input type="number"   name="trans_amount" placeholder="Amount" required>
                            
                            
                        
                            <label for="lname">Receiver Account</label>
                            <input type="number"  name="ben_acct_no" placeholder="Receiver Account Number" required>
                            
                            
                            
                            <label for="lname">Receiver Account Name</label>
                            <input type="text"  name="ben_name" placeholder="Receiver Account Name" required>
                            
                            
                            
                            <label for="lname">Receiver Account Email</label>
                            <input type="text"  name="ben_email" placeholder="Receiver Account Email" required>
                           
                           
                           
                           



                    
                      
                        
                            <label for="subject">Transaction Naration</label>
                            <textarea  name="note" placeholder="Write something.." style="height:200px" required></textarea>
                        
                            
                            
                            
                            
                            
                        
        
        <?php
require_once("achieved/config.php");
require_once("achieved/db.php");
require_once("achieved/db2.php");

$query=$conn->query("select * from settings  ORDER BY id DESC LIMIT 1");
			while($row=$query->fetch()){
			
				$title=$row['title'];
				$id=$row['id'];
				$welc_head=$row['welc_head'];
			    $welc_msg=$row['welc_msg'];
				$url=$row['url'];
				$ceo=$row['ceo'];
				$domain=$row['domain'];
				$domain_name=$row['domain_name'];
				
					$address=$row['address'];
						$address2=$row['address2'];
							$address3=$row['address3'];
								$address4=$row['address4'];
									$address5=$row['address5'];
			
				$phone=$row['phone'];
					$phone2=$row['phone2'];
						$phone3=$row['phone3'];
				
				
				$country=$row['country'];
				$state=$row['state'];
				$city=$row['city'];
				
				$email=$row['email'];
				$email2=$row['email2'];
				$email3=$row['email3'];

				
				$copyright=$row['copyright'];
				$contact_email=$row['contact_email'];
					$developa=$row['developa'];
					
		           	$whatsapp=$row['whatsapp'];
						    	$map=$row['map'];
					$webmaster=$row['webmaster'];
				
				
				$sell_rate=$row['sell_rate'];
				$buy_rate=$row['buy_rate'];
					$tr_rate=$row['tr_rate'];
						$wid_rate=$row['wid_rate'];
				
				
				$GHS=$row['GHS'];
				$USD=$row['USD'];
				$EUR=$row['EUR'];
				$NGN=$row['NGN'];
				$CAD=$row['CAD'];
				$GBP=$row['GBP'];
				$ZAR=$row['ZAR'];
				
				
					$reg_clients=$row['reg_clients'];
			$btc_sold=$row['btc_sold'];
			$btc_bought=$row['btc_bought'];
			
			
			 $news_head=$row['news_head'];
		   	$news_msg=$row['news_msg'];
				
				
				$about_head=$row['about_head'];
				$about_msg=$row['about_msg'];
				
					$service1=$row['service1'];
						$service2=$row['service2'];
							$service3=$row['service3'];	
							









?>
<?php }?>
                           
       
                    
            <?php
  $orderssql = "SELECT * from settings  ORDER BY id DESC";
    $ordersres = mysql_query($orderssql);
    $numrows = mysql_num_rows($ordersres);
   

 while($row = mysql_fetch_assoc($ordersres))
     {


echo"<input type='hidden' class='form-control' name='cname' id='details'  value='".$row['domain_name']."'>

<input type='hidden' class='form-control' name='cemail' id='details'  value='".$row['email2']."'>

<input type='hidden' class='form-control' name='cphone' id='details'  value='".$row['phone']."'>


<input type='hidden' class='form-control' name='caddress' id='details'  value='".$row['address']."'>
      
      
       
";

}
?>     
    
    
    
    <input type='hidden' name='method'  value='1'>

<button type="reset" name="submit" class="btn">RESET</button>


<button type="submit"  name="transfer_action" class="btn bg-gradient-dark mb-0"  value="Transfer → ">INITIATE TRANSFER</button>
</div>
</div>


</form>




		    
		    
		    
		    
		    </div>
 
                
                
                
                
                
                
                
                
                
                
                
                
                
                
                
                
                
                
                
                
                
                
                
                
                
                 
              
              <br><br>
            </div>
          </div>
        </div>
      </div>
 
 
 
 </div>
 
 
 
  
		    
		    
		    
	<?php require ("footer.php") ?>