<style>
    .header .navbar .navbar-brand img {
        height: 40px;
    }
</style>
<div class="header sticky-top shadow-sm">
    <nav class="navbar navbar-expand-md navbar-light">
        <a class="navbar-brand" href="/stockmanagement/admin/login.php">
            <img src="../img/logo.png" />
        </a>
        <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#my-navbar">
            <span class="navbar-toggler-icon"></span>
        </button>
            
        <div class="collapse navbar-collapse justify-content-end" id="my-navbar">
            <ul class="navbar-nav">
            <?php
                if (!isset($_SESSION['user_id'])) {
            ?>
                <li class="nav-item">
                    <a class="nav-link" href="/stockmanagement/admin/login.php">Home</a>
                </li>
                <div class="nav-vl"></div>
            
                <?php
                    } 
                ?>
               
               
            </ul>
        </div>
    </nav>    
</div>

<div id="loading"></div>