@extends('layouts.innerpage') @section('title', 'Profile') @section('content') @php function get_city_name($id){ if($id) { $result=DB::table('cities')->where('id',$id)->first(); return isset($result->name)?$result->name:''; } } function get_state_name($id){ if($id) { $result=DB::table('states')->where('id',$id)->first(); return isset($result->name)?$result->name:''; } } @endphp Profile Home / Profile @if(isset(Auth::user()->profile_picture)) @php $profileimg = url('/')."/uploads/members/".Auth::user()->profile_picture; if(Auth::user()->sm!='') { $profileimg = Auth::user()->profile_picture; } @endphp @else @endif Hi @if(Auth::user()->name!="") {{Auth::user()->name}} @else User @endif @if(Auth::user()->phone_no!="") {{Auth::user()->phone_no}} @endif @if(Auth::user()->email!="") {{Auth::user()->email}} @endif @include('includes.profile_menu') My Profile @csrf First Name * Phone Profile Picture Email Address Country Select Country @foreach($country as $key=>$item) @php $country = isset(Auth::user()->country) ? Auth::user()->country : old('country'); @endphp
Home / Profile
{{Auth::user()->phone_no}}
{{Auth::user()->email}}