<!-- User -->
<li class="nav-item navbar-dropdown dropdown-user dropdown">
    <a class="nav-link dropdown-toggle hide-arrow" href="javascript:void(0);" data-bs-toggle="dropdown">
        <?php if(Auth::user()->status == 1): ?>
            <div class="avatar">
                <?php else: ?>
                    <div class="avatar avatar-online">
                        <?php endif; ?>
                        <img src="<?php echo e(asset('/assets/img/avatars/')); ?>/<?php echo e(Auth::user()->avatar); ?>" alt
                             class="w-px-40 h-auto rounded-circle" data-bs-toggle="dropdown"/>
                    </div>
            </div>
    </a>
    <ul class="dropdown-menu dropdown-menu-end">
        <li>
            <a class="dropdown-item" href="#">
                <div class="d-flex">
                    <div class="flex-shrink-0 me-3">
                        <?php if(Auth::user()->status == 1 ): ?>
                            <div class="avatar">
                                <?php else: ?>
                                    <div class="avatar avatar-online">
                                        <?php endif; ?>
                            <img src="<?php echo e(asset('/assets/img/avatars/')); ?>/<?php echo e(Auth::user()->avatar); ?>" alt
                                 class="w-px-40 h-auto rounded-circle"/>
                        </div>
                    </div>
                    <div class="flex-grow-1">
                        <span class="fw-semibold d-block"><?php echo e(Auth::user()->name); ?></span>
                        <small class="text-muted"><?php echo e(Auth::user()->email); ?></small>
                    </div>
                </div>
            </a>
        </li>
        <li>
            <div class="dropdown-divider"></div>
        </li>
        <li>
            <a class="dropdown-item" href="#">
                <i class="bx bx-user me-2"></i>
                <span class="align-middle"><?php echo app('translator')->get('messages.MyProfile'); ?></span>
            </a>
        </li>
        <li>
            <a class="dropdown-item" href="#">
                <i class="bx bx-cog me-2"></i>
                <span class="align-middle"><?php echo app('translator')->get('messages.Settings'); ?></span>
            </a>
        </li>
        <li>
            <a class="dropdown-item" href="#">
                        <span class="d-flex align-items-center align-middle">
                          <i class="flex-shrink-0 bx bx-credit-card me-2"></i>
                          <span class="flex-grow-1 align-middle"><?php echo app('translator')->get('messages.Billing'); ?></span>
                          <span class="flex-shrink-0 badge badge-center rounded-pill bg-danger w-px-20 h-px-20">4</span>
                        </span>
            </a>
        </li>
        <li>
            <div class="dropdown-divider"></div>
        </li>
        <li>
            <a class="dropdown-item" href="<?php echo e(route('logout')); ?>"
               onclick="event.preventDefault();document.getElementById('logout-form').submit();">
                <i class="bx bx-power-off me-2"></i>
                <span class="align-middle"> <?php echo app('translator')->get('messages.Logout'); ?></span>
            </a>
            <form id="logout-form" action="<?php echo e(route('logout')); ?>" method="POST" style="display: none;">
                <?php echo csrf_field(); ?>
            </form>
        </li>
    </ul>
</li>
<!--/ User -->

<?php /**PATH C:\Users\Admin\Desktop\cloudsystem\resources\views/userdata.blade.php ENDPATH**/ ?>