@php $LoggedUser = Auth::user()->name; $IsAdmin = Auth::user()->IsAdmin; $LoggedUser = ucwords($LoggedUser); $profile=Auth::user()->ProfilePic; $userId=Auth::user()->RefId; $UserTitle = Auth::user()->UserTitle; if($UserTitle == ''){ $UserTitle = "User"; } $UserTitle = ucwords($UserTitle); $DisplayEmailTab=1; $siteurl=$_SERVER['HTTP_HOST']; $url=explode(".",$siteurl); $InstanceName=$url[0]; //$InstanceName = ucwords($InstanceName); @endphp