@php $userId = session()->get('authdata.user_id'); $userModel = new \App\Models\Clients\Users(); $allowUserProjects = $userModel->user_get_allow_projects_ids($userId); $allowUserCounterProjects = $userModel->counter_user_get_allow_projects_ids($userId); $hasGeneralProjects = !empty($allowUserProjects); $hasCounterProjects = !empty($allowUserCounterProjects); @endphp
@if($hasGeneralProjects && $hasCounterProjects)
My projects
@elseif($hasGeneralProjects)
My projects
Analytics
Links
@elseif($hasCounterProjects)
Projects
Analytics
Links
@endif
Settings
Exit
Login
Login
@if($hasGeneralProjects && $hasCounterProjects)
Projects
@elseif($hasGeneralProjects)
Projects
Analytics
Links
@elseif($hasCounterProjects)
Projects
Analytics
Links
@endif
Settings
More
Privacy/GDPR
Terms
Cookies
Questions?
Blog
Transparency
Exit
{!! $content !!} {!! $footer !!}