<nav class="navbar navbar-expand-lg">
    <div class="container-fluid">
        <a class="navbar-brand" href="create.php">Repair Order </a>

        <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNavDarkDropdown" aria-controls="navbarNavDarkDropdown" aria-expanded="false" aria-label="Toggle navigation">
            <span class="navbar-toggler-icon"></span>
        </button>
        <div class="collapse navbar-collapse" id="navbarNavDarkDropdown">
            <ul class="navbar-nav">
                <li class="nav-item dropdown">
                    <a class="nav-link dropdown-toggle" href="#" id="navbarDarkDropdownMenuLink" role="button" data-bs-toggle="dropdown" aria-expanded="false">
                        Menu
                    </a>
                    <ul class="dropdown-menu" style="background-color: #D1D1D1;" aria-labelledby="navbarDarkDropdownMenuLink">
                        <li><a class="dropdown-item" href="login.php">Login</a></li>
                        <li><a class="dropdown-item" href="#">Another action</a></li>
                        <li><a class="dropdown-item" href="#">Something else here</a></li>
                    </ul>
                </li>
            </ul>
        </div>
        <span style="margin-right: 6px;">Login user
            <?php
            if (isset($_SESSION['username'])) {
                echo ': <strong>' . ucfirst($_SESSION['username']) . '</strong> |';
                // echo '-' . Data::get_record_login_date(); 
            } else {
                echo '';
            } ?>
        </span>
        <a class="navbar-brand" href="logout.php"> Log out</a>
    </div>
</nav>