<?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=password]{
  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>
						
<style>


.card-block {
  height: 220px;
  background: #6236FF;
  border-radius: 10px;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.09);
  color: #fff;
  position: relative;
}

.card-block .card-main {
  background-image: linear-gradient(-180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.23) 100%);
  position: absolute;
  border-radius: 10px;
  left: 0;
  right: 0;
  bottom: 0;
  top: 0;
  display: flex;
  align-items: flex-end;
  padding: 20px 24px;
}

.card-block .card-button {
  position: absolute;
  right: 10px;
  top: 10px;
}

.card-block .card-button > .btn {
  background: transparent !important;
  color: #fff !important;
}

.card-block span.label {
  font-size: 11px;
  letter-spacing: 1px;
  opacity: 0.5;
  line-height: 1em;
  margin-bottom: 5px;
  text-transform: uppercase;
  display: block;
  font-weight: 500;
}

.card-block .in .card-number {
  font-size: 17px;
  letter-spacing: 3px;
  font-weight: 500;
}

.card-block .in .card-expiry {
  font-size: 14px;
  font-weight: 500;
  margin-right: 20px;
}

.card-block .in .card-ccv {
  font-weight: 500;
  font-size: 14px;
}

.card-block .bottom {
  display: flex;
  align-items: center;
  margin-top: 20px;
}

.card-block .balance {
  position: absolute;
  left: 24px;
  top: 24px;
}

.card-block .balance .title {
  font-weight: 700;
  color: #fff;
  margin-top: 7px;
  font-size: 24px;
}


</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" > MANAGE ACCOUNTS</h4> 
              </div>
            </div>
            <div class="card-body px-0 pb-2"> 
                		
<style>
 
.topnav {
  overflow: hidden;
  background-color: black;
}

.topnav a {
  float: left;
  color: #f2f2f2;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
  font-weight:700;
}

.topnav a:hover {
  background-color: #d13e16;
  color: white;
}

.topnav a.active {
  background-color: black;
  color: white;
}
</style>
 

<div class="topnav">
  <a class="active" href="profile.php" target="_self">Profile</a>
  <a href="change_password.php" target="_self">Password</a>
  <a href="next_of_kin.php" target="_self">Next of Kin</a>
  <a href="change_email.php" target="_self">Email</a>
  <a href="change_pin.php" target="_self">Security Pin</a>
</div>
                
                
                
                      <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;">Manage all your account and settings here</p>
          
            		    <div class="container"> 
       
                           
         			
		                 <form action="" method="post" >
            
      

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

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

elseif(isset($failed_confirm))
{
    echo $failed_confirm;
}
    ?>
      
      
       <input  type="hidden" name="date" 
     value="<?php
echo(date("jS F Y g.iA"));
?>" readonly>
      
       <table width="100%" border="0" cellspacing="2" cellpadding="0" style="font-size:12px;">
           
             <tr class='rowtab'>
          <td style='padding:2px 5px; background:#014E72; color:#fff; text-align:center; font-style:italic;' colspan='2'>
          ACCOUNT DETAILS            </td>
        </tr>
           
    


        
<?php


$ordsql = "SELECT * from logins WHERE id = " . $id; 
$ordres = mysql_query($ordsql);
$ordrow = mysql_fetch_assoc($ordres);
       
   
	
        
       echo"
       
       
     
       
        <tr class='rowtab' onMouseOver='this.className='normalForm'' onMouseOut='this.className='rowtab''>
          <td style='padding:2px 5px;'>Gender: <span class='style5'>*</span></td>
          <td style='padding:2px 5px;'>
          
          <input class='form-control' name='sex' type='text' value='";
          
          
          if($ordrow['sex'] == 1) {
      echo "Male";
    }
       elseif($ordrow['sex'] == 2) {
        echo "Female";
    }
          
          
         echo"' readonly/>
          
          
          
           </td>
        </tr>
        
        
       
           
           
            <tr class='rowtab2' onMouseOver='this.className='normalForm'' onMouseOut='this.className='rowtab2''>
          <td style='padding:2px 5px;'>Marital Status: <span class='style5'>*</span></td>
          <td style='padding:2px 5px;'><input class='form-control' name='m_status' type='text'  value='"; 
          if($numrow['m_status'] == 1) {
      echo "SINGLE";
    }
       elseif($numrow['m_status'] == 2) {
        echo "MARRIED";
    }
     elseif($numrow['m_status'] == 3) {
        echo "DIVORCED";
    }
          echo"' readonly></td>
        </tr>
       
       
       
       
       
       <tr class='rowtab' onMouseOver='this.className='normalForm'' onMouseOut='this.className='rowtab''>
          <td width='25%' style='padding:2px 5px;'>User Name :<span class='style5'>*</span></td>
          <td width='75%' style='padding:2px 5px;'>
          <input type='text' name='username' class='form-control'  size='30' value='".$ordrow['username']."' readonly/></td>
          </tr>
       
       
       
       
       <hr>
       
       
       
        
        <tr class='rowtab' onMouseOver='this.className='normalForm'' onMouseOut='this.className='rowtab''>
          <td width='25%' style='padding:2px 5px;'>First Name :<span class='style5'>*</span></td>
          <td width='75%' style='padding:2px 5px;'>
          <input type='text' name='firstname' class='form-control'  size='30' value='".$ordrow['firstname']."' readonly/></td>
          </tr>
          
          
           
       
       
      
       
       
        <tr class='rowtab' onMouseOver='this.className='normalForm'' onMouseOut='this.className='rowtab''>
          <td width='25%' style='padding:2px 5px;'>Last Name :<span class='style5'>*</span></td>
          <td width='75%' style='padding:2px 5px;'>
          <input type='text' name='lastname' class='form-control'  size='30' value='".$ordrow['lastname']."' ></td>
          </tr>
          
          

          
        <tr class='rowtab2' onMouseOver='this.className='normalForm'' onMouseOut='this.className='rowtab2''>
          <td style='padding:2px 5px;'>Account Email <span class='style5'>*</span></td>
          <td style='padding:2px 5px;'>
          <input type='email' name='email' value='".$ordrow['email']."' class='form-control'  size='30' readonly/>
          </td>
        </tr>
        
        
       
        
        <tr class='rowtab2' onMouseOver='this.className='normalForm'' onMouseOut='this.className='rowtab2''>
          <td style='padding:2px 5px;'>Account Phone: <span class='style5'>*</span></td>
          <td style='padding:2px 5px;'><input class='form-control' name='phone' type='text' value='".$ordrow['phone']."' size='30' readonly/></td>
        </tr>
        
        




        
        
        
        
          
            <tr class='rowtab2' onMouseOver='this.className='normalForm'' onMouseOut='this.className='rowtab2''>
          <td style='padding:2px 5px;'>Date of Birth: <span class='style5'>*</span></td>
          <td style='padding:2px 5px;'><input class='form-control' name='dob' type='text'  value='".$ordrow['dob']."' size='30' readonly></td>
        </tr>
        
        
        
        
        
        
        
         <tr class='rowtab2' onMouseOver='this.className='normalForm'' onMouseOut='this.className='rowtab2''>
        <td style='padding:2px 5px;'>Country: <span class='style5'>*</span></td>
          <td style='padding:2px 5px;'><input class='form-control' name='country' type='text'  value='".$ordrow['country']."' size='30' readonly/></td>
        </tr>
        
        
        
        
        
        
         <tr class='rowtab2' onMouseOver='this.className='normalForm'' onMouseOut='this.className='rowtab2''>
        <td style='padding:2px 5px;'>Address: <span class='style5'>*</span></td>
          <td style='padding:2px 5px;'><input class='form-control' name='address' type='text'  value='".$ordrow['address']."' size='30' readonly/></td>
        </tr>
        
        
        
         <tr class='rowtab2' onMouseOver='this.className='normalForm'' onMouseOut='this.className='rowtab2''>
        <td style='padding:2px 5px;'>State: <span class='style5'>*</span></td>
          <td style='padding:2px 5px;'><input class='form-control' name='state' type='text'  value='".$ordrow['state']."' size='30' readonly/></td>
        </tr>
        
        
         <tr class='rowtab2' onMouseOver='this.className='normalForm'' onMouseOut='this.className='rowtab2''>
        <td style='padding:2px 5px;'>City: <span class='style5'>*</span></td>
          <td style='padding:2px 5px;'><input class='form-control' name='city' type='text'  value='".$ordrow['city']."' size='30' readonly/></td>
        </tr>
        
        
        
        
        
        
        
        
        
        
        <hr>
        
         <tr class='rowtab2' onMouseOver='this.className='normalForm'' onMouseOut='this.className='rowtab2''>
        <td style='padding:2px 5px;'>Occupation: <span class='style5'>*</span></td>
          <td style='padding:2px 5px;'><input class='form-control' name='occupation' type='text'  value='".$ordrow['occupation']."' size='30' readonly/></td>
        </tr>
        
        
        
        
         <tr class='rowtab2' onMouseOver='this.className='normalForm'' onMouseOut='this.className='rowtab2''>
        <td style='padding:2px 5px;'>Company Name: <span class='style5'>*</span></td>
          <td style='padding:2px 5px;'><input class='form-control' name='company' type='text'  value='".$ordrow['company']."' size='30' readonly/></td>
        </tr>
        
        
        
       <tr class='rowtab2' onMouseOver='this.className='normalForm'' onMouseOut='this.className='rowtab2''>
        <td style='padding:2px 5px;'>Annual Imcome: <span class='style5'>*</span></td>
          <td style='padding:2px 5px;'><input class='form-control' name='ann_incom' type='text'  value='".$ordrow['ann_incom']."' size='30' readonly/></td>
        </tr>  
        
        
        
        
        
         <tr class='rowtab2' onMouseOver='this.className='normalForm'' onMouseOut='this.className='rowtab2''>
        <td style='padding:2px 5px;'>Transfer Limit: <span class='style5'>*</span></td>
          <td style='padding:2px 5px;'><input class='form-control' name='tr_limit' type='text'  value='".$ordrow['tr_limit']."' size='30' readonly/></td>
        </tr>
        
        
        
        
        
        
        
        
        
   <tr class='rowtab2' onMouseOver='this.className='normalForm'' onMouseOut='this.className='rowtab2''>
        <td style='padding:2px 5px;'>Account Type: <span class='style5'>*</span></td>
          <td style='padding:2px 5px;'><input class='form-control' name='acc_type' type='text'  value='";
          
                    if($numrow['acc_type'] == 1) {
      echo "Savings Account.";
    }
       elseif($numrow['acc_type'] == 2) {
        echo "Current Account";
    }
    
     elseif($numrow['acc_type'] == 3) {
        echo "MPower Business Account";
    }
    
     elseif($numrow['acc_type'] == 4) {
        echo "Checking account";
    }
    
     elseif($numrow['acc_type'] == 5) {
        echo "Money market accounts";
    }
    
    
     elseif($numrow['acc_type'] == 6) {
        echo "Certificates of deposit";
    }
    
    
     elseif($numrow['acc_type'] == 7) {
        echo "Brokerage accounts";
    }
    
    
     elseif($numrow['acc_type'] == 8) {
        echo "Individual retirement accounts";
    }
  
      
    
          echo"'size='30' readonly/></td>
        </tr>      
        
        
        
        
      <tr class='rowtab2' onMouseOver='this.className='normalForm'' onMouseOut='this.className='rowtab2''>
        <td style='padding:2px 5px;'>ID No: <span class='style5'>*</span></td>
          <td style='padding:2px 5px;'><input class='form-control' name='id_no' type='text'  value='".$ordrow['id_no']."' size='30' readonly/></td>
        </tr>
        
        
        
         <tr class='rowtab2' onMouseOver='this.className='normalForm'' onMouseOut='this.className='rowtab2''>
        <td style='padding:2px 5px;'>ID TYPE: <span class='style5'>*</span></td>
          <td style='padding:2px 5px;'><input class='form-control' name='id_type' type='text'  value='";
          
            if($ordrow['id_type'] == 1) {
      echo 'International Passport';
    }
    
    elseif($ordrow['id_type'] == 2) {
      echo 'Drivers Licence';
    }
     elseif($ordrow['id_type'] == 3) {
      echo 'National ID Card';
    }
     elseif($ordrow['id_type'] == 4) {
      echo 'Others';
    }
          
          echo"' size='30' readonly/></td>
        </tr>
           
        
       
        
        
        
           
       
       
        ";
    
   
   
   

$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_limit=$row['tr_limit'];
						$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']."'>
      
      
       
";

}
?>     
        
       
       
       
       
       
       
       
       
         
        <!--<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'>-->
        <!--    <input type='submit' name='confirm_action'  class='btn btn-primary' value='Transfer'/>-->
        
        <!--  </div>-->
        <!--  </td>-->
        <!--</tr>-->
      
      
      
      

      
      
      
          <tr class='rowtab2' onMouseOver='this.className='normalForm'' onMouseOut='this.className='rowtab2''>
        <td style='padding:2px 5px;'>
        
        <span class='style5'>*</span></td>
        
        
          <td style='padding:2px 5px;'>
              

<br>
              <a href='change_photo.php' class="btn btn-primary submit_btn" value='log in'>VIEW PHOTO</a>
              
              
              
              </td>
        </tr>
        
        
        
        
          </table>
        
        </form>
								  
								  
								  
							
            
                
            
             	
               
		    
            		    
            	 
                              
                          
        
            </div>
            </div>
          </div>
        </div>
        
      </div>
                
                
      
                          
		    
		    </div>
 
                 
              
              <br><br>
            </div>
          </div>
        </div><br><br>
      </div>
 
 
 
 </div>
 



		   
		   
		   
		   
		   
		    
			   

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