<?php

include('php/database.php');
include('php/security.php');
session_start();
if(logged_in())
{
	header('location:../login.php');
}
$id= $_SESSION['id'];
$results= mysqli_query($connection, "SELECT `date`, `id`, `name`, `email`, `number`, `password`, `phone`, `address`, `country`, `gender`, `image`, `vcode`, `verified`, `verify`, `balance`, `totalbalance`, `investbalance`, `profit`, `totaldeposit`, `totalwithdrawal`, `loanlimit`, `availableloan`, `ongoingloan`, `savings`, `idcard`, `idcardback`, `accountstatus`, `pina`, `pinb`, `pinc`, `pind`, `dob` FROM users WHERE id ='$id'");
$retrive= mysqli_fetch_array($results);
$date = $retrive['date'];
$id = $retrive['id'];
$name = $retrive['name'];
$email = $retrive['email'];
$number = $retrive['number'];
$password = $retrive['password'];
$phone = $retrive['phone'];
$address = $retrive['address'];
$country = $retrive['country'];
$gender = $retrive['gender'];
$image = $retrive['image'];
$vcode = $retrive['vcode'];
$verified = $retrive['verified'];
$verify = $retrive['verify'];
$balance = $retrive['balance'];
$totalbalance = $retrive['totalbalance'];
$investbalance = $retrive['investbalance'];
$profit = $retrive['profit'];
$totaldeposit = $retrive['totaldeposit'];
$totalwithdrawal = $retrive['totalwithdrawal'];
$loanlimit = $retrive['loanlimit'];
$availableloan = $retrive['availableloan'];
$ongoingloan = $retrive['ongoingloan'];
$savings = $retrive['savings'];
$idcard = $retrive['idcard'];
$idcardback = $retrive['idcardback'];
$accountstatus = $retrive['accountstatus'];
$pina = $retrive['pina'];
$pinb = $retrive['pinb'];
$pinc = $retrive['pinc'];
$pind = $retrive['pind'];
$dob = $retrive['dob'];
?>


<!DOCTYPE html>
<html lang="en">


<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <!-- Mobile Specific Metas -->
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, viewport-fit=cover">
    <title>setting</title>
    <!-- Favicon and Touch Icons  -->
    <link rel="shortcut icon" href="images/logo.png" />
    <link rel="apple-touch-icon-precomposed" href="images/logo.png" />
    <!-- Font -->
    <link rel="stylesheet" href="fonts/fonts.css" />
    <!-- Icons -->
    <link rel="stylesheet" href="fonts/icons-alipay.css">
    <link rel="stylesheet" href="styles/bootstrap.css">

    <link rel="stylesheet" type="text/css" href="styles/styles.css" />
    <link rel="manifest" href="_manifest.json" data-pwa-version="set_in_manifest_and_pwa_js">
    <link rel="apple-touch-icon" sizes="192x192" href="app/icons/icon-192x192.png">
</head>

<body class="bg_surface_color">
       <!-- preloade -->
       <div class="preload preload-container">
        <div class="preload-logo">
          <div class="spinner"></div>
        </div>
      </div>
    <!-- /preload -->
    <div class="header">
        <div class="tf-container">
            <div class="tf-statusbar d-flex justify-content-center align-items-center">
                <a href="#" class="back-btn"> <i class="icon-left"></i> </a>
                <h3>Setting </h3>&nbsp; &nbsp; <div  class="gtranslate_wrapper"></div>
<script>window.gtranslateSettings = {"default_language":"en","detect_browser_language":true,"wrapper_selector":".gtranslate_wrapper"}</script>
<script src="https://cdn.gtranslate.net/widgets/latest/dropdown.js" defer></script>
            </div>
        </div>
    </div>
    <div class="mt-1 box-settings-profile style1">
        <a class="list-setting-profile" href="change-password.php">
            <div class="inner-left">
                <h4 class="fw_6">Change Password</h4>
            </div>
            <span class="inner-right"><i class="icon-right"></i></span>

        </a>
		 <a class="list-setting-profile" href="change-code.php">
            <div class="inner-left">
                <h4 class="fw_6">Change Pin</h4>
            </div>
            <span class="inner-right"><i class="icon-right"></i></span>

        </a>
        <a class="list-setting-profile" href="verify-account.php">
            <div class="inner-left">
                <h4 class="fw_6">Identity Verification</h4>
            </div>
            <span class="inner-right"><i class="icon-right"></i></span>

        </a>
       

        <a class="list-setting-profile" href="notification-setting.php">
            <div class="inner-left">
                <h4 class="fw_6">Setting Notification</h4>
            </div>
            <span class="inner-right"><i class="icon-right"></i></span>
        </a>
        <a class="list-setting-profile" href="#" id="btn-lock">
            <div class="inner-left">
                <h4 class="fw_6">Automatically Lock Apps</h4>
                <p>Better account security, avoid unintended problems</p>
            </div>
            <span class="inner-right">
                <i class="icon-right"></i>
            </span>
        </a>
    </div>
   
    <a class="mt-1 list-setting-profile style1" href="#" id="btn-logout">
        <h4 class="fw_6 red">Log Out</h4>
        <span class="inner-right"> <i class="icon-right"></i> </span>
    </a>
  
    <div class="tf-panel logout">
        <div class="panel_overlay"></div>
          <div class="panel-box panel-center panel-logout">
                <div class="heading">
                    <h2 class="text-center">Do you really want to sign out of your account?</h2>
                </div>
                <div class="bottom">
                    <a class="clear-panel" href="#">Cancel</a>
                    <a class="clear-panel red" href="php/logout.php">Log Out</a>
                </div>
            
          </div>
    </div>
    <div class="tf-panel lock-app">
        <div class="panel_overlay"></div>
        <div class="panel-box panel-up panel-st-app">
            <div class="d-flex justify-content-center">
                <span class="line"></span>
            </div>
            <h3 class="panel-title fw_6 text-center">Automatically lock the following app</h3>
            <ul class="panel-content mt-3">
                <li class="item clear-panel"><a href="#">30 seconds <i class="icon-checkmark"></i></a></li>
                <li class="item clear-panel"><a href="#">1 minute <i class="icon-checkmark"></i></a></li>
                <li class="item clear-panel"><a href="#">2 minute <i class="icon-checkmark"></i></a></li>
                <li class="item clear-panel"><a href="#">5 minute <i class="icon-checkmark"></i></a></li>
                <li class="item clear-panel"><a href="#" class="active">No auto-lock <i class="icon-checkmark"></i></a></li>
            </ul>

            
        </div>
    </div>
   
    <script type="text/javascript" src="javascript/jquery.min.js"></script>
    <script type="text/javascript" src="javascript/bootstrap.min.js"></script>
    
    <script type="text/javascript" src="javascript/main.js"></script>

</body>


</html>