<?php
// Include the database connection
include 'db_connection.php';

?>


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

<head>
    <meta charset="utf-8">
    <title>Build-net</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link href="img/favicon.ico" rel="icon">
    <link href="https://fonts.googleapis.com/css2?family=Heebo:wght@400;500;600;700&display=swap" rel="stylesheet">
    <link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.10.0/css/all.min.css" rel="stylesheet">
    <link href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.4.1/font/bootstrap-icons.css" rel="stylesheet">
    <link href="lib/owlcarousel/assets/owl.carousel.min.css" rel="stylesheet">
    <link href="lib/tempusdominus/css/tempusdominus-bootstrap-4.min.css" rel="stylesheet" />
    <link href="css/bootstrap.min.css" rel="stylesheet">
    <link href="css/style.css" rel="stylesheet">
</head>

<body>
    <div class="container-xxl position-relative bg-white d-flex p-0">
        <!-- Sidebar Start -->
        <div class="sidebar pe-4 pb-3">
            <nav class="navbar bg-light navbar-light">
                <a href="index.php" class="navbar-brand mx-4 mb-3">
                    <h3 class="text-primary"><i class="fa fa-hashtag me-2"></i>Build-net</h3>
                </a>
                <div class="d-flex align-items-center ms-4 mb-4">
                    <div class="position-relative">
                        <img class="rounded-circle" src="img/user.jpg" alt="" style="width: 40px; height: 40px;">
                        <div class="bg-success rounded-circle position-absolute end-0 bottom-0 p-1 border border-white"></div>
                    </div>
                    <!-- Sidebar Start -->
                    <div class="sidebar pe-4 pb-3">
                        <nav class="navbar bg-light navbar-light">
                            <a href="index.html" class="navbar-brand mx-4 mb-3">
                                <h3 class="text-primary"><i class="fa fa-hashtag me-2"></i>BUILD-NET</h3>
                            </a>
                            <div class="d-flex align-items-center ms-4 mb-4">
                                <div class="position-relative">
                                    <img class="rounded-circle" src="images/face2.jpg" alt="" style="width: 40px; height: 40px;">
                                    <div class="bg-success rounded-circle border-2 border-white position-absolute end-0 bottom-0 p-1"></div>
                                </div>
                                <div class="ms-3">
                                    <h6 class="mb-0">Jhon Doe</h6>
                                    <span>Admin</span>
                                </div>
                            </div>
                            <div class="navbar-nav w-100">
                                <a href="dashboard.php" class="nav-item nav-link <?php echo basename($_SERVER['PHP_SELF']) == 'dashboard.php' ? 'active' : ''; ?>">
                                    <i class="fa fa-tachometer-alt me-2"></i>Dashboard
                                </a>
                                <a href="user.php" class="nav-item nav-link <?php echo basename($_SERVER['PHP_SELF']) == 'user.php' ? 'active' : ''; ?>">
                                    <i class="fa fa-table me-2"></i>USER Data
                                </a>
                                <a href="reg_teamlead.php" class="nav-item nav-link <?php echo basename($_SERVER['PHP_SELF']) == 'reg_teamlead.php' ? 'active' : ''; ?>">
                                    <i class="fa fa-keyboard me-2"></i>TeLead Reg
                                </a>
                                <a href="table_teamlead.php" class="nav-item nav-link <?php echo basename($_SERVER['PHP_SELF']) == 'table_teamlead.php' ? 'active' : ''; ?>">
                                    <i class="fa fa-table me-2"></i>TeLead Data
                                </a>
                                <a href="reg_mason.php" class="nav-item nav-link <?php echo basename($_SERVER['PHP_SELF']) === 'reg_mason.php' ? 'active' : ''; ?>">
                                    <i class="fa fa-keyboard me-2"></i>Mason Reg
                                </a>
                                <a href="table_mason.php" class="nav-item nav-link <?php echo basename($_SERVER['PHP_SELF']) === 'table_mason.php' ? 'active' : ''; ?>">
                                    <i class="fa fa-table me-2"></i>Mason Data
                                </a>

                                <a href="banner.php" class="nav-item nav-link <?php echo basename($_SERVER['PHP_SELF']) == 'banner.php' ? 'active' : ''; ?>">
                                    <i class="fa fa-table me-2"></i>Banner Data
                                </a>
                                <a href="choose_us.php" class="nav-item nav-link <?php echo basename($_SERVER['PHP_SELF']) == 'choose_us.php' ? 'active' : ''; ?>">
                                    <i class="fa fa-table me-2"></i>Choose_us Data
                                </a>
                                <a href="lead.php" class="nav-item nav-link <?php echo basename($_SERVER['PHP_SELF']) == 'lead.php' ? 'active' : ''; ?>">
                                    <i class="fa fa-table me-2"></i>LEAD Data
                                </a>
                                <a href="testimonial.php" class="nav-item nav-link <?php echo basename($_SERVER['PHP_SELF']) == 'testimonial.php' ? 'active' : ''; ?>">
                                    <i class="fa fa-table me-2"></i>TESTIMONIAL Data
                                </a>
                                <a href="submit_connection.php" class="nav-item nav-link <?php echo basename($_SERVER['PHP_SELF']) == 'submit_connection.php' ? 'active' : ''; ?>">
                                    <i class="fa fa-table me-2"></i>submit Data
                                </a>



                            </div>
                        </nav>
                    </div>
                    <!-- Sidebar End -->
                </div>

            </nav>
        </div>
        <!-- Sidebar End -->

        <!-- JavaScript Libraries -->
        <script src="https://code.jquery.com/jquery-3.4.1.min.js"></script>
        <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.0/dist/js/bootstrap.bundle.min.js"></script>
        <script src="lib/chart/chart.min.js"></script>
        <script src="lib/easing/easing.min.js"></script>
        <script src="lib/waypoints/waypoints.min.js"></script>
        <script src="lib/owlcarousel/owl.carousel.min.js"></script>
        <script src="lib/tempusdominus/js/moment.min.js"></script>
        <script src="lib/tempusdominus/js/tempusdominus-bootstrap-4.min.js"></script>
        <script src="js/main.js"></script>
    </div>
</body>

</html>