<header class="main-header">

    
    <a href="index2.html" class="logo">
        <span class="logo-mini"><b><?php echo e("MCS"); ?></b></span>
        <span class="logo-lg"><?php echo e(trans('panel.site_title')); ?></span>
    </a>


    
    <nav class="navbar navbar-static-top navbar-expand-md" role="navigation">
        
        <a href="#" class="sidebar-toggle" data-toggle="push-menu" role="button">
            <span class="sr-only"><?php echo e(trans('global.toggleNavigation')); ?></span>
        </a>

        <!-- Navbar Right Menu -->
        <div class="navbar-custom-menu">
            <ul class="nav navbar-nav">
                <!-- User Account Menu -->
                <li class="dropdown user user-menu">
                    <!-- Menu Toggle Button -->
                    <a href="#" class="dropdown-toggle" data-toggle="dropdown">
                        <!-- The user image in the navbar-->
                        <img src="<?php echo e(Auth::user()->profile->profile_image); ?>" class="user-image" alt="User Image">
                        <!-- hidden-xs hides the username on small devices so only the image appears. -->
                        <span class="hidden-xs"><?php echo e(Auth::user()->name); ?></span>
                    </a>
                    <ul class="dropdown-menu">
                        <!-- The user image in the menu -->
                        <li class="user-header">
                            <img src="<?php echo e(Auth::user()->profile->profile_image); ?>" class="img-circle" alt="User Image">

                            <p>
                                Hello <?php echo e(Auth::user()->name); ?>

                            </p>
                        </li>
                        <!-- Menu Footer-->
                        <li class="user-footer">
                            <?php if(Auth::guest()): ?>
                                <div class="pull-left">
                                    <a href="<?php echo e(route('login')); ?>" class="btn btn-default btn-flat">Login</a>
                                </div>
                            <?php else: ?>
                                <div class="pull-left">
                                    <a href="<?php echo e(route("admin.my-profile-informations.index")); ?>" class="btn btn-default btn-flat">Profile</a>
                                </div>
                                <div class="pull-right">
                                    
                                    <a class="btn btn-default btn-flat" href="#" onclick="event.preventDefault();document.getElementById('logoutform').submit();">
                                        Logout
                                    </a>
                                </div>
                            <?php endif; ?>
                        </li>
                    </ul>
                </li>
            </ul>
        </div>
    </nav>
</header>
<?php /**PATH C:\Users\Adones\Downloads\Laravel System Project\MCS-Management-System-Laravel\resources\views/layouts/header.blade.php ENDPATH**/ ?>