@extends("layouts.app") @section("title") Articles @endsection @section("content") @php if(isset($_GET['resource_type_id'])){ $resource_type_id = $_GET['resource_type_id']; }else{ $resource_type_id = 0; } @endphp {{-- if source page it will have resource type id--}} @if($resource_type_id != 0) @if(Auth::check() && Auth::user()->role_id ==1)