
<?php

 
session_start();
if(isset($_SESSION['SESS_LOGGEDIN']) == FALSE) {
    header("Location: " . $config_basedir."logout.php");
}




require_once("achieved/config.php");
require_once("achieved/db.php");
require_once("achieved/db2.php");

// $id= $_SESSION['SESS_USERID'];
//                       $sql = mysql_query("SELECT * FROM logins WHERE id='$id'");
//                       $numrow=mysql_fetch_assoc($sql);

// if($numrow['initiate_tr'] < 2) {
//     header("Location: transfer-fund.php");

// }





?>
 
  <!DOCTYPE html>
<html>
<head>
    <meta name="viewport" content="width=device-width, initial-scale=1">

 <title><?php echo $title ?></title>
  <meta charset="utf-8">

     <meta name="viewport" content="width=device-width, initial-scale=1">
  <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css">
  <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
  <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js"></script>
<style>
.flex-container {
  display: flex;
  flex-direction: column;
  background-color: #fff;
}

.flex-container > div {
  background-color: #f1f1f1;
  width: 75;
  margin: 50px;
  text-align: center;
  line-height: 100px;
  font-size: 30px;
}
</style>
 
      <style>
.loader {
  border: 16px solid black;
  border-radius: 50%;
  border-top: 16px solid #3399ff;
  width: 125px;
  height: 125px;
  -webkit-animation: spin 2s linear infinite; /* Safari */
  animation: spin 2s linear infinite;
}

/* Safari */
@-webkit-keyframes spin {
  0% { -webkit-transform: rotate(0deg); }
  100% { -webkit-transform: rotate(360deg); }
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
</style>
 <style>
.alert {
  padding: 25px;
  background-color: #3399ff;
  color: white;
}

.closebtn {
  margin-left: 10px;
  color: white;
  font-weight: bold;
  float: right;
  font-size: 45px;
  line-height: 20px;
  cursor: pointer;
  transition: 50s;
}

.closebtn:hover {
  color: black;
}
</style>
  
</head>







<?php 
session_start();
if(isset($_SESSION['SESS_LOGGEDIN']) == FALSE) {
    header("Location: " . $config_basedir."../accounts/logout.php");
}
$deposit="active";
require_once("achieved/config.php");
require_once("achieved/db.php");
?>














<?php

$seller= $_SESSION['SESS_USERID']; 
$select=mysql_query("SELECT * FROM logins WHERE id='$seller'");
$serow=mysql_fetch_assoc($select);



$forename = $serow['firstname'];
$surname = $serow['lastname'];
$add1 = $serow['country'];
$add3 = $serow['state'];
$city = $serow['city'];
$currency = $serow['currency'];
$curr = $serow['currency'];
$phone = $serow['phone'];
$email = $serow['email'];
$acnb = $serow['acnb'];
$balance = $serow['balance'];
$deposit = $serow['deposit'];
$acc_no = $serow['acc_no'];




?>




<body onpageshow="myFunction()">

<body>



<div class="flex-container">
  <div>
  
  
   <div style="min-height:100px;">
       
      
      <div id="errorMsgNa" style="margin:10px 10px 10px 10px; font-style:normal; color:green; font-weight:bold; text-align:center; font-size:11px; font-style:italic;">
          
              <td style="padding:1px 1px; background:#014E72; color:#fff; text-align:center; font-style:italic;" colspan="0.5">
        Your transaction of <?php echo  $curr ?> <?php echo  $deposit ?> from Account (<span style="color:grey; font-weight:bold;"><?php echo  $acc_no ?></span>) was successfully. 
        
     <center>
         
          
            <div class='loader'> </div><br>
    <strong> Completed...  </strong> :  You will be redirected shortly to see your account summary... 
    
     </center>
    
    <meta http-equiv='refresh' content='5; url=wallet.php' />
       </td>
                              
      </div>
  
        
        
        
          
      </div>
      
        <!--<form  method="post" >-->
            
      
 
      
       <!--<table width="100%" border="0" cellspacing="1" cellpadding="0" style="font-size:12px;">-->
        
       <!-- <tr class="rowtab" onMouseOver="this.className='normalForm'" onMouseOut="this.className='rowtab'">-->
      
         
         
       <!-- </tr>-->
       
       
       
       
        <!--<tr class="rowtab" onMouseOver="this.className='normalForm'" onMouseOut="this.className='rowtab'">-->
        <!--  <td style="padding:2px 5px; background:#014E72; color:#fff; text-align:center; font-style:italic;" colspan="2">-->
        <!-- Enter your Account pin         </td>-->
         
         
        <!--</tr>-->
      
      
      
        
        <!--<br>-->
        <!--<tr class="rowtab" onMouseOver="this.className='normalForm'" onMouseOut="this.className='rowtab'">-->
        <!--  <td width="25%" style="padding:2px 5px;">ACCOUNT PIN :<span class="style5">*</span></td>-->
        <!--  <td width="50%" style="padding:2px 5px;">-->
        <!--  <input type="password" name="password"  autocomplete="off" value="" class='form-control'  size="30" required/></td>-->
        <!--  </tr>-->
          
          
        
       
       
        <!--<tr class="rowtab" onMouseOver="this.className='normalForm'" onMouseOut="this.className='rowtab'">-->
        <!--  <td style="padding:2px 5px;">&nbsp;</td>-->
         
        <!--  <td style="padding:2px 5px;">-->
        <!--      <div align="left">-->
            
            
        <!--    <button type="submit" name="login"  class="btn btn-danger" value="log in">TRANSFER</button>-->
            
            
            <!--<input type="reset" name="reset" class="btn btn-danger" value="Reset Form" style="margin-left:20px;" />-->
          </div>
          </td>
        </tr>
        
        
        
        
        
          </table>
        
        </form>
      
     
    
        </div> </div> </div> </div>
              
              
        
                    </div><!-- /.post -->

  
  </div>
 
</div>

</body>
</html>

<!--<script>-->
<!--function myFunction() {-->
<!--  alert("Transaction Completed!");-->
<!--}-->
<!--</script>-->