<nav class="navbar navbar-expand-lg navbar-light bg-light">
    <style>
    .active {
        color: black;
        font-size: 20px;
        font-weight: bolder;
    }
    </style>
                    <div class="container-fluid">
                        <a class="navbar-brand" href="<?php echo $GLOBALS['path'] ?>php_script/login_script/welcome.php">Isha Admin</a>
                        <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
                            <span class="navbar-toggler-icon"></span>
                        </button>
                        <div class="collapse navbar-collapse" id="navbarSupportedContent">
                            <ul class="navbar-nav me-auto mb-2 mb-lg-0">
                                <li class="nav-item">
                                    <a class="nav-link <?php echo strpos($_SERVER['REQUEST_URI'],"whatsapp") >= 1? "active":"s" ?>" aria-current="page" href="<?php echo $GLOBALS['path'] ?>/php_script/list/whatsapp/index.php">Whatsapp</a>
                                </li>

                                <li class="nav-item">
                                    <a class="nav-link <?php echo strpos($_SERVER['REQUEST_URI'],"questions") >= 1? "active":"s" ?>" aria-current="page" href="<?php echo $GLOBALS['path'] ?>/php_script/list/questions/index.php">Questions</a>
                                </li>

                                <li class="nav-item">
                                    <a class="nav-link <?php echo strpos($_SERVER['REQUEST_URI'],"newsletters") >= 1? "active":"s" ?>" aria-current="page" href="<?php echo $GLOBALS['path'] ?>/php_script/list/newsletters/index.php">News Letters</a>
                                </li>

                                <li class="nav-item">
                                    <a class="nav-link <?php echo strpos($_SERVER['REQUEST_URI'],"appointments") >= 1? "active":"s" ?> " aria-current="page" href="<?php echo $GLOBALS['path'] ?>/php_script/list/appointments/index.php">Appointments</a>
                                </li>
                                <li class="nav-item">
                                    <a class="nav-link <?php echo strpos($_SERVER['REQUEST_URI'],"contact_us") >= 1? "active":"s" ?> " aria-current="page" href="<?php echo $GLOBALS['path'] ?>/php_script/list/contact_us/index.php">Contact us</a>
                                </li>
                            </ul>
                        </div>
                        <p class="mb-0 float-right"><a href="<?php echo $GLOBALS['path'] ?>php_script/login_script/logout.php" class="btn btn-danger">Logout</a></p>
                    </div>
                </nav>

<?php
session_start();

                if(isset($_SESSION['user_id']) && !empty($_SESSION['user_id']))     
                {}
                else
               {
                header("Location: /php_script/login_script/login.php");
                exit();
               }
                ?>
