@extends('admin.layout') @section('content')

Create EPG Manually

@php $getUserRoleData = userRoleData(); $EPG = explode(",",$getUserRoleData->EPG); @endphp
@if( count($errors) > 0) @foreach($errors->all() as $error) @endforeach @endif @if(Session::get('success'))
{{session::get('success')}}
@endif
@if(in_array("Add",$EPG))
{!! Form::token() !!}
@php $tr = []; $firstDt = true; @endphp @foreach($result['epg']->programme as $date => $prg) @php $i = 0; @endphp @foreach($prg as $time => $name) @php empty($tr[$time]) ? $tr[$time] = '' : $tr[$time] .= ''; @endphp @endforeach @php $firstDt = false; @endphp @endforeach @foreach($tr as $time => $v) {!! $v !!} @endforeach
Copy{{ date('D [m/d/Y]', strtotime($date)) }}
{{ $time }}
@else

Please contact with SuperAdmin

@endif
@endsection