@extends('theme.master') @section('title', 'Reffer Link') @section('content') @include('admin.message') @php $gets = App\Breadcum::first(); @endphp @if(isset($gets)) @if($gets['img'] !== NULL && $gets['img'] !== '') @else @endif {{ __('frontstaticword.Refer&Earn') }} @endif @if(Auth::user()->user_img != null || Auth::user()->user_img !='') @else @endif {{ Auth::user()->fname }} {{ Auth::user()->lname }} {{ __('frontstaticword.MyCourses') }} {{ __('frontstaticword.MyWishlist') }} {{ __('frontstaticword.PurchaseHistory') }} {{ __('frontstaticword.UserProfile') }} @if(Auth::user()->role == "user") {{ __('frontstaticword.BecomeAnInstructor') }} @endif {{ __('Your Refferal Link') }} @auth @endauth @if(auth()->user()->affiliate_id == NULL) @csrf {{ __('frontstaticword.GenerateAffiliateLink') }} @endif @php $affilates = App\Affiliate::first(); @endphp @if(isset($affilates)) @if($affilates['image'] !== NULL && $affilates['image'] !== '') @endif {!! $affilates->text !!} @endif @endsection