@extends('layouts.admin') @section('styles') @endsection @section('content') @php $course_path = Config::get('path.course_path'); $course_details_fields_arr = Config::get('constants.course_details_fields_arr'); $course_details_fields_arr_title = Config::get('constants.course_details_fields_arr_title'); $status_array = array(); $status_array = Config::get('constants.status_array'); //$image = isset($data[0]['flag'])?$data[0]['flag']:""; $mode = isset($mode)?$mode:"Add"; // $videoBrowsecls = 'd-none'; // $videourlcls = ''; // if($mode == 'Update'){ // if($data[0]['video_type'] == 1 || $data[0]['video_type'] == 3){ //URL // $videoBrowsecls = 'd-none'; // $videourlcls = ''; // }else{ // // Video files // $videoBrowsecls = ''; // $videourlcls = 'd-none'; // } // } @endphp