<?php
session_start(); // Start session first
require '../config.php'; // Include database connection



date_default_timezone_set('Africa/Lagos');

try {
    // Fetch settings from database
    $stmt = $pdo->query("SELECT * FROM settings ORDER BY id DESC LIMIT 1");
    $settings = $stmt->fetch(PDO::FETCH_ASSOC);

    if ($settings) {
        // Extract values safely
        $title = $settings['title'];
        $id = $settings['id'];
        $welc_head = $settings['welc_head'];
        $welc_msg = $settings['welc_msg'];
        $url = $settings['url'];
        $ceo = $settings['ceo'];
        $domain = $settings['domain'];
        $domain_name = $settings['domain_name'];
        $phone = $settings['phone'];
        $country = $settings['country'];
        $state = $settings['state'];
        $city = $settings['city'];
        $address = $settings['address'];
        $password = $settings['password'];
        $email2 = $settings['email2'];
        $copyright = $settings['copyright'];
        $contact_email = $settings['contact_email'];
        $developa = $settings['developa'];
        $LOGO = $settings['LOGO'];
        $favicon = $settings['favicon'];

        $sell_rate = $settings['sell_rate'];
        $buy_rate = $settings['buy_rate'];

        $GHS = $settings['GHS'];
        $EUR = $settings['EUR'];
        $NGN = $settings['NGN'];
        $CAD = $settings['CAD'];
        $GBP = $settings['GBP'];
        $ZAR = $settings['ZAR'];
        $USD = $settings['USD'];
        $AUD = $settings['AUD'];
        $JPY = $settings['JPY'];
        $CNY = $settings['CNY'];
        $PHP = $settings['PHP'];
        $UAE = $settings['UAE'];

        $reg_clients = $settings['reg_clients'];
        $btc_sold = $settings['btc_sold'];
        $btc_bought = $settings['btc_bought'];

        $news_head = $settings['news_head'];
        $news_msg = $settings['news_msg'];

        $about_head = $settings['about_head'];
        $about_msg = $settings['about_msg'];

        $service1 = $settings['service1'];
        $service2 = $settings['service2'];
        $service3 = $settings['service3'];
        $whatsapp = $settings['whatsapp'];
        
        $otp_status = $settings['otp_status'];
        
        
// $cphone = $settings['cphone'];
// $curl = $settings['url'];
// $cdomain = $settings['domain'];
// $cname = $settings['domain_name'];
// $cpass = $settings['password'];
// $cemail = $settings['email2'];
// $cright = $settings['copyright'];
// $chost = $settings['contact_email'];
// $cport = $settings['service1'];
 
 
        
        
    } else {
        die("No settings found.");
    }
} catch (PDOException $e) {
    die("Error: " . $e->getMessage());
}



// 
// 
// 
// 
// 
// 
// 
// 
// 



 
 
 
 
 
 
 
 
 

?>     
       







  <!--<p style="font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; box-sizing: border-box; font-size: 16px; line-height: 1.5em; margin-top: 0px; text-align: left;">-->
  <!--                              Join other top investors with investment of $50,000 and stand a chance for $1 million upwards loan and sponsorship of any kind project, business and so on at the rate of 4% returns.<br> We are ready to sponsor all our top investors project.-->
  <!--                              </p>-->




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


<!-- Mirrored from iqstocktrade.com/register by HTTrack Website Copier/3.x [XR&CO'2014], Sat, 10 Feb 2024 02:13:44 GMT -->
<!-- Added by HTTrack --><meta http-equiv="content-type" content="text/html;charset=utf-8" /><!-- /Added by HTTrack -->
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title><?php echo $title ?></title>
    <meta name="title" Content="<?php echo $domain_name ?> - Register">

    <meta name="description"
          content="HYIPLab - Complete HYIP Investment System . Most Advanced HYIP Investment System Script in codecanyon.\\n\\nhyip, bitcoin, investment,  hyip business, hyip script, best hyip, buy hyip script, advanced hyip script, hyip software, high yield investment program, hyip manager, hyip manager script, cheap hyip script, reliable hyip, secure hyip script, php hyip script, new hyip script, hyip program">
    <meta name="keywords"
          content="hyip,bitcoin,investment,hyip business,hyip script,best hyip,buy hyip script,advanced hyip script,hyip software,hight yield investment program,Hyip manager,hyip manager script,cheap hyip script,realable hyip,secure hyip script,php hyip script,new hyip script,hyip program">

    <link rel="icon" type="image/x-icon" href="../img/favicon.png">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="apple-mobile-web-app-title" content="<?php echo $domain_name ?> - Login">

    <meta itemprop="name" content="<?php echo $domain_name ?> - Login">
    <meta itemprop="description"
          content="HYIPLab - Complete HYIP Investment System . Most Advanced HYIP Investment System Script in codecanyon.\\n\\nhyip, bitcoin, investment,  hyip business, hyip script, best hyip, buy hyip script, advanced hyip script, hyip software, high yield investment program, hyip manager, hyip manager script, cheap hyip script, reliable hyip, secure hyip script, php hyip script, new hyip script, hyip program">
    <meta itemprop="image" content="main/assets/images/seo/633eef9a9b3161665068954.html">

    <meta property="og:type" content="website">
    <meta property="og:title" content="HYIPLab - Complete HYIP Investment System">
    <meta property="og:description"
          content="HYIPLab - Complete HYIP Investment System . Most Advanced HYIP Investment System Script in codecanyon.">
    <meta property="og:image" content="main/assets/images/seo/633eef9a9b3161665068954.html" />
    <meta property="og:image:type" content="jpg" />
    <meta property="og:image:width" content="1180" />
    <meta property="og:image:height" content="600" />
    <meta property="og:url" content="<?php echo $url ?>login.html">

    <meta name="twitter:card" content="summary_large_image">
    <!-- font  -->
    <link href="<?php echo $url ?>fonts.googleapis.com/css24d10.css?family=Lora:ital,wght@1,400;1,500&amp;family=Maven+Pro:wght@400;500;600&amp;display=swap"
          rel="stylesheet">


    <link href="main/dashboard/css/bootstrap.min.css" rel="stylesheet">

    <link href="main/dashboard/css/all.min.css" rel="stylesheet">

    <link rel="stylesheet" href="main/dashboard/css/line-awesome.min.css" />

    <link rel="stylesheet" href="main/dashboard/css/lib/animate.html">

    <!-- Plugin Link -->
    <link rel="stylesheet" href="main/dashboard/css/lib/slick.html">
    <link rel="stylesheet" href="main/dashboard/css/lib/magnific-popup.html">
    <link rel="stylesheet" href="main/dashboard/css/lib/apexcharts.html">

    <!-- Main css -->
    <link rel="stylesheet" href="main/dashboard/css/main.css">


    <link rel="stylesheet" href="main/dashboard/css/custom.css">

    <style>
        .pb-120 {
            padding-bottom: clamp(40px, 4vw, 40px);
        }

        .pt-120 {
            padding-top: clamp(40px, 4vw, 40px);
        }

        .container {
            max-width: 1140px;
        }

        input,
        select {
            background-color: #0b1118 !important;
            border: 0.5px solid #5b6b7d !important;
            color: #fff !important;
        }

            input::-webkit-input-placeholder,
            select::-webkit-input-placeholder,
            textarea::-webkit-input-placeholder {
                color: #fff !important;
            }

            input:-moz-placeholder,
            select:-moz-placeholder,
            textarea:-moz-placeholder {
                color: #fff !important;
            }

        .form-label {
            color: #ffffff
        }
    </style>

</head>