@php( $logout_url = View::getSection('logout_url') ?? config('adminlte.logout_url', 'logout') ) @php( $profile_url = View::getSection('profile_url') ?? config('adminlte.profile_url', 'logout') ) @php( $password_reset_url = View::getSection('password_reset_url') ?? config('adminlte.password_reset_url', 'logout') ) @if (config('adminlte.usermenu_profile_url', false)) @php( $profile_url = Auth::user()->adminlte_profile_url() ) @endif @if (config('adminlte.use_route_url', false)) @php( $profile_url = $profile_url ? route($profile_url) : '' ) @php( $password_reset_url = $password_reset_url ? route($password_reset_url) : '' ) @php( $logout_url = $logout_url ? route($logout_url) : '' ) @else @php( $profile_url = $profile_url ? url($profile_url) : '' ) @php( $password_reset_url = $password_reset_url ? url($password_reset_url) : '' ) @php( $logout_url = $logout_url ? url($logout_url) : '' ) @endif @php( $user_image = Auth::user()->image ? Auth::user()->image : 'default.jpeg' ) @php( $image_path = url('/').'/storage/app/users/'.$user_image )