View Campaigns

Campaign information Campaigns List
Campaign information
@php($screen = '') @if(!empty($contents->getContentScreens)) @if(!empty($contents->getContentScreens[0]->getScreen->screenTranslation->title)) @php($screen = $contents->getContentScreens[0]->getScreen->screenTranslation->title) @endif @endif
@php($screen_location = '') @if(!empty($contents->getContentScreens)) @if(!empty($contents->getContentScreens[0]->getScreen->venue->location)) @php($screen_location = $contents->getContentScreens[0]->getScreen->venue->location) @endif @endif
start_date)) : ''}}" type="text" autocomplete="off">
end_date)) : ''}}" type="text" autocomplete="off">
Campaigns List
@php($video_ext = Config('global.video_extensions')) @php($image_ext = Config('global.image_extensions')) @if(!empty($contents->contentMedias) && !$contents->contentMedias->isEmpty())
    @foreach($contents->contentMedias as $contentmedia) @php($content_media_id = $contentmedia->id) @php($contentmedia = $contentmedia->getMedia) @if(!empty($contentmedia)) @php($info = new \SplFileInfo($contentmedia->path)) @php($ext = $info->getExtension())
  • {{-- @if($ext == 'm4v' || $ext == 'avi' || $ext == 'mpg' || $ext == 'mp4' || $ext == 'MOV') --}} @if(in_array($ext,$video_ext)) Your browser does not support HTML5 video. {{-- @elseif($ext == 'jpg' || $ext == 'gif' || $ext == 'bmp' || $ext == 'png' || $ext == 'jpeg') --}} @elseif(in_array($ext,$image_ext)) @endif
    @if($contentmedia->status != "1" && $contentmedia->status != "2" ) Approved @elseif($contentmedia->status == "1") Approved @endif @if($contentmedia->status != "1" && $contentmedia->status != "2" ) Rejected @elseif($contentmedia->status == "2") Rejected @endif
  • @endif @endforeach
@endif