<?php
session_start(); 
$username = isset($_SESSION['username']) ? $_SESSION['username'] : "Guest";
?>

<!-- Header Section -->
<div class="container-fluid">
    <div class="row">
        <div class="col-md-10 content">
            <div class="header">
                <input type="text" class="form-control search-bar" placeholder="Search...">
                <div class="icons">
                    <!-- Notification Bell -->
                    <div class="notification-container" id="notification-container">
                        <i class="fas fa-bell"></i>
                        <span id="notification-badge" class="notification-badge">0</span>
                        <div id="notification-dropdown" class="notification-dropdown">
                            <h6>Notifications</h6>
                            <ul id="notification-list"></ul>
                        </div>
                    </div>
                    <span id="username-display"><?php echo htmlspecialchars($username); ?></span>
                </div>
            </div>
        </div>
    </div>
</div>
