<?php  
include 'db.php';
// $sitename = "Zenvest";

// $min_deposits = "300";
// $max_deposits = "500";
// $deposits_charge = "0.5";

// $min_transfer = "50";
// $max_transfer = "100";
// $transfer_fee_percent  = "1.5";

// $loan_intrest = "0.045";

// $min_withdrawal = "50";
// $max_withdrawals = "500";
// $withdrawal_Fee = "2.55";

$query = "SELECT * FROM settings LIMIT 1";

$result = $conn->query($query);

if ($result && $result->num_rows > 0) {
    $settings = $result->fetch_assoc();
    
    $sitename = $settings['sitename'];
    
    $site_url = $settings['siteurl'];
    $admin_email = "funds12095@gmail.com";
    $signals_fee = "500";
    
    $min_deposits = $settings['min_deposits'];
    $max_deposits = $settings['max_deposits'];
    $deposits_charge = $settings['deposits_charge'];
    
    $min_transfer = $settings['min_transfer'];
    $max_transfer = $settings['max_transfer'];
    $transfer_fee_percent = $settings['transfer_fee_percent'];
    
    $loan_intrest = $settings['loan_intrest'];
    
    $min_withdrawal = $settings['min_withdrawal'];
    $max_withdrawals = $settings['max_withdrawals'];
    $withdrawal_Fee = $settings['withdrawal_Fee'];
    
 
    
} else {
    die("Error retrieving settings or no settings found");
}
?>
