<?php
// ======= Top of the file =======
// Start PHP before any HTML output
error_reporting(E_ALL);
ini_set('display_errors', 1);

require 'core.php';
require 'db_conn.php';
include 'login2.php';

// Redirect logged-in users immediately
if (loggedin()) {
    header('Location: dashboard.php');
    exit; // Stop further execution
}
?>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="csrf-token" content="FhsHdWVefnl1oGtVFV4PiZIjzas4sZEtPYDe3Ksb">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Crypto Expert Bit Trading</title>

    <!-- Google Fonts -->
    <link href="https://fonts.googleapis.com/css?family=Poppins:100,200,300,400,500,600,700,800,900&display=swap" rel="stylesheet">

    <!-- Bootstrap CSS -->
    <link href="https://forexhightrade.com/account/temp/lib/bootstrap/css/bootstrap.min.css" rel="stylesheet">

    <!-- Libraries CSS -->
    <link href="https://forexhightrade.com/account/temp/lib/font-awesome/css/font-awesome.min.css" rel="stylesheet">
    <link href="https://forexhightrade.com/account/temp/lib/animate/animate.min.css" rel="stylesheet">
    <link href="https://forexhightrade.com/account/temp/lib/ionicons/css/ionicons.min.css" rel="stylesheet">
    <link href="https://forexhightrade.com/account/temp/lib/owl.carousel/assets/owl.carousel.min.css" rel="stylesheet">
    <link href="https://forexhightrade.com/account/temp/lib/icofont/icofont.min.css" rel="stylesheet">
    <link href="https://forexhightrade.com/account/temp/lib/jquery/magnific-popup.css" rel="stylesheet">
    <link href="https://forexhightrade.com/account/temp/lib/aos/aos.css" rel="stylesheet">
    <link href="https://forexhightrade.com/account/temp/lib/venobox/venobox.css" rel="stylesheet">

    <link href="https://forexhightrade.com/account/temp/css/frontend_style_blue.css" rel="stylesheet">
    
    <!-- JavaScript Libraries -->
    <script src="https://forexhightrade.com/account/temp/lib/jquery/jquery.min.js"></script>
    <script src="https://forexhightrade.com/account/temp/lib/bootstrap/js/bootstrap.bundle.min.js"></script>
    <script src="https://forexhightrade.com/account/temp/lib/jquery.easing/jquery.easing.min.js"></script>
    <script src="https://forexhightrade.com/account/temp/lib/php-email-form/validate.js"></script>
    <script src="https://forexhightrade.com/account/temp/lib/waypoints/jquery.waypoints.min.js"></script>
    <script src="https://forexhightrade.com/account/temp/lib/counterup/counterup.min.js"></script>
    <script src="https://forexhightrade.com/account/temp/lib/isotope-layout/isotope.pkgd.min.js"></script>
    <script src="https://forexhightrade.com/account/temp/lib/venobox/venobox.min.js"></script>
    <script src="https://forexhightrade.com/account/temp/lib/owl.carousel/owl.carousel.min.js"></script>
    <script src="https://forexhightrade.com/account/temp/lib/aos/aos.js"></script>

    <!-- Template Main JS -->
    <script src="https://forexhightrade.com/account/temp/js/main.js"></script>
</head>
<body class="d-flex flex-column h-100 auth-page">
    <!-- ======= Login Section ======= -->
    <section class="auth">
        <div class="container">
            <div class="row justify-content-center user-auth">
                <div class="col-12 col-md-6 col-lg-6 col-sm-10 col-xl-6 ">
                    <div class="text-center mb-4">
                        <!-- Optional logo or title -->
                    </div>
                    
                 
                    ?>
                </div>
            </div>
        </div>
    </section>
</body>
</html>
