<nav class="navbar navbar-inverse">
    <div class="container-fluid">
        <div class="navbar-header">
            <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#myNavbar">
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span> 
        </button>
        <a class="navbar-brand" href="#">SP Admin Panel</a>
    </div>
    <div class="collapse navbar-collapse" id="myNavbar">
        <ul class="nav navbar-nav">
            <li><a href="main.php">Home</a></li>
            <li class="dropdown">
                <a class="dropdown-toggle" data-toggle="dropdown" href="#">Event Registration<span class="caret"></span></a>
                <ul class="dropdown-menu">
                    <li><a href="delegate_attendance.php">Delegate Attendance</a></li>
					<li><a href="scan.php">Scan Attendance</a></li>
                    <li><a href="replace.php">Replace Delegate</a></li>
                    <li><a href="walkin.php">Walk-In Registration</a></li>
                </ul>
            </li>
            <li class="dropdown">
                <a class="dropdown-toggle" data-toggle="dropdown" href="#">Administration<span class="caret"></span></a>
                <ul class="dropdown-menu">
                    <li><a href="search.php">Search Delegate</a></li>
                    <li><a href="delegate_add.php">Add Delegate</a></li>
                </ul>
            </li>         
            <li><a href="reports.php">Reports</a></li> 
            
        </ul>
        <ul class="nav navbar-nav navbar-right">
            <li><a href="#"><span class="glyphicon glyphicon-print"></span> Printer <?=$_SESSION['user_printer'];?></a></li>
            <li><a href="logout.php"><span class="glyphicon glyphicon-remove"></span> Logout</a></li>
        </ul>
    </div>
    </div>
</nav>