@extends('layouts.app') @section('content') 'id', 'Video'=>'video', 'Signature'=>'signature', 'File Signature'=>'file_signature', 'Length'=>'length', 'Date Created'=>'datecreated', 'File Created'=>'created', 'File Modified'=>'modified', 'Filename'=>'filepath', 'Filesize'=>'filesize', 'Width'=>'width', 'Height'=>'height', 'Make'=>'make', 'Model'=>'model', ]; $form = [ 'duplicate', 'flag', 'remove', ]; function changed($k,$v,$l=0) { static $changed = []; if (! isset($changed[$l][$k])) $changed[$l][$k] = $v; return $changed[$l][$k] === $v; } ?> @foreach ($videos as $video) list_duplicate(TRUE); ?>
Duplicate Video {{ $video->id }}
{{ $videos->links() }}
@foreach ($data as $k=>$v) @foreach ($duplicates as $id) where('id',$id)->first(); switch ($v) : case 'id': $x=$id; $y=sprintf('%s',url('/v/info/'.$o->id),$o->id); break; case 'video': $x=$o->signature(TRUE);$y=$o->view();; break; case 'length': $x=$y=$o->length; break; case 'signature': $x=$y=$o->signature(TRUE); break; case 'file_signature': $x=$y=$o->file_signature(TRUE); break; case 'datecreated': $x=$y=$o->date_taken(); break; case 'created': $x=$y=$o->file_date('c',TRUE); break; case 'modified': $x=$y=$o->file_date('m',TRUE); break; case 'filepath': $x=$y=$o->file_path(TRUE); break; case 'filesize': $x=$y=$o->file_size(); break; case 'width': $x=$y=$o->width; break; case 'height': $x=$y=$o->height; break; case 'make': $x=$y=$o->make; break; case 'model': $x=$y=$o->model; break; endswitch ?> @endforeach {{-- video --}} @endforeach {{-- data --}} @foreach ($form as $v) @foreach ($duplicates as $id) where('id',$id)->first(); ?> @endforeach {{-- video --}} @endforeach {{-- form --}}
{{ $k }}
{{ $v }}$v==1 ? 'checked="checked"' : '' }}>
@foreach ($duplicates as $id) @endforeach {{-- video --}} {{ csrf_field() }}
@endforeach @endsection