@stack("custom-script")
{{----}}
@if(isset($promotedMessages[0]))
×
@foreach($promotedMessages as $promotedMessage)
{{$promotedMessage->details}}
@endforeach
@endif
@if(Auth::check() && Auth::user()->type == "root")
Controls
Countries
@endif @if(Auth::check() && Auth::user()->type != "admin"&& Auth::user()->type != "senior reviewer" && Auth::user()->type != "junior reviewer" && Auth::user()->type != "root")
Home
Publications
Courses
@if(Auth::check() && Auth::user()->type=="user") @php $rssArr = explode(",", Auth::user()->rss); $rssLink = ""; foreach ($rssArr as $key => $value) { $rssLink .= "sources[]=".$value."&"; } @endphp
@else
@endif News Feed
@if((Auth::check() && Auth::user()->type !="admin" && Auth::user()->type !="root") && Auth::check())
Experts
@endif @if(!Auth::check())
Contact us
@endif @endif @if(Auth::check()) @if(Auth::user()->type=="junior reviewer" || Auth::user()->type=="senior reviewer")
Articles
@endif @if(isset($allowedPages)) @foreach($allowedPages as $allowed) @if($allowed['parent'] == NULL)
{{$allowed['name']}}
@else
{{$allowed['parent']}}
@foreach($allowed['menu'] as $menu) @if($menu['route']=="Article" ) @php $allowedRoute ="Article-sources"; @endphp @else @php $allowedRoute = $menu['route']; @endphp @endif
{{$menu['name']}}
@endforeach
@endif @endforeach @endif @endif @if(!Auth::check())
Home
Publications
Courses
News feed
Experts
Contact us
@endif @if(Auth::check() && Auth::user()->type =="user")
My CCKH
@if(Auth::user()->type=="user")
Favourites
Saves
@endif
@endif
English
French
Arabic
Persian
Italian
Urdu
@if(Auth::check())
Sign Out
{{ csrf_field() }}
@else
My Knowledge Hub
@endif
@if(!Auth::check())
Home
@endif @if(Auth::check() && Auth::user()->type == "root")
Controls
Countries
@endif @if(Auth::check() && Auth::user()->type != "admin"&& Auth::user()->type != "senior reviewer" && Auth::user()->type != "junior reviewer" && Auth::user()->type != "root")
Home
Publications
@if(Auth::check() && Auth::user()->type=="user") @php $rssArr = explode(",", Auth::user()->rss); $rssLink = ""; foreach ($rssArr as $key => $value) { $rssLink .= "sources[]=".$value."&"; } @endphp
@else
@endif News Feed
@if((Auth::check() && Auth::user()->type !="admin" && Auth::user()->type !="root") && Auth::check())
Experts
@endif @if(!Auth::check())
Contact us
@endif @endif @if(Auth::check()) @if(Auth::user()->type=="junior reviewer" || Auth::user()->type=="senior reviewer")
Articles
@endif @if(isset($allowedPages)) @foreach($allowedPages as $allowed) @if($allowed['parent'] == NULL)
{{$allowed['name']}}
@else
{{$allowed['parent']}}
@foreach($allowed['menu'] as $menu) @if($menu['route']=="Article" ) @php $allowedRoute ="Article-sources"; @endphp @else @php $allowedRoute = $menu['route']; @endphp @endif
{{$menu['name']}}
@endforeach
@endif @endforeach @endif @endif @if(!Auth::check())
Home
Publications
News Feed
Experts
Contact us
@endif @if(Auth::check() && Auth::user()->type =="user")
My CCKhub
@if(Auth::user()->type=="user")
Favourites
Saves
@endif
@endif
@if(Auth::check())
Sign Out
{{ csrf_field() }}
@else
My Knowledge Hub
@endif
Eng
French
Arabic
Persian
Italian
Urdu
@if(Auth::check() && (Auth::user()->type != "junior reviewer" && Auth::user()->type != "senior reviewer" && Auth::user()->type != "admin"&& Auth::user()->type != "root"))
@endif @if(Auth::check())
User Notifications
Notifications
See All
@foreach($Notificationss as $appNotification )
link":url("notifications")}}" class="kt-notification__item">
{{$appNotification->title}}
{{$appNotification->message}}
{{$appNotification->created_at->diffForHumans()}}
@endforeach
{{Auth::user()->name." ".Auth::user()->m_name." ".Auth::user()->l_name}}
My Profile
Account settings and more
@if(Auth::check() && Auth::user()->type =="user")
Customize Dashboard
@endif
{{ csrf_field() }}
Sign Out
@endif
@yield('content')
@yield('script')