@extends('layouts.admin') @section('styles') @endsection @section('content') @php $course_resources = $course_resources_extention= array(); $course_resources = Config::get('constants.course_resources'); $course_resources_extention = Config::get('constants.module_resources_extentention_media'); $resimagefilePath = Config::get('path.resimagefilePath'); $resdocumentfilePath = Config::get('path.resdocumentfilePath'); $resaudiofilePath = Config::get('path.resaudiofilePath'); $mode = isset($mode)?$mode:"Add"; $Browsecls = $UrlDiv = $urlcls = 'd-none'; @endphp @if($mode == 'Update') @if(isset($data[0]['type']) && $data[0]['type'] == 1 || $data[0]['type'] == 4 || $data[0]['type'] == 6) @php ## Browise file $Browsecls = ''; $urlcls = 'd-none'; @endphp @elseif(isset($data[0]['type']) && $data[0]['type'] == 2 || $data[0]['type'] == 3 || $data[0]['type'] == 5) @php ## Links $urlcls = ''; $Browsecls = 'd-none'; @endphp @endif @endif