@extends('layouts.master') @section('title',__('Create Movie')) @section('breadcum') @endsection @section('maincontent')
@if ($errors->any()) @endif {{-- vimeo API Modal Start --}}
{{----vimeo API ModalEnd --}} {{-- youtube API Modal Start --}} {{----youtube API ModalEnd --}}
{{ __('Back') }}
{{__('Create Movie')}}
{!! Form::open(['method' => 'POST', 'action' => 'MovieController@store', 'files' => true]) !!}

{!! Form::label('title', __('Movie Title')) !!} {!! Form::text('title', old('title'), ['class' => 'form-control', 'placeholder' => __('Please Enter Movie Title')]) !!} {{ $errors->first('title') }}
{!! Form::label('slug', __('Movie Slug')) !!} {!! Form::text('slug', old('slug'), ['class' => 'form-control', 'placeholder' =>__('Enter Movie Slug')]) !!} {{ $errors->first('slug') }}
@if($button->kids_mode==1)
{!! Form::label('is_kids',__('Only for kids?')) !!}
{{ $errors->first('is_kids') }}
@endif
{!! Form::label('is_custom_label',__('Allow Custom Label ?')) !!}
{{ $errors->first('is_custom_label') }}
{!! Form::label('is_upcoming',__('Upcoming Movie')) !!}
{{ $errors->first('is_upcoming') }}
{{-- select to upload code start from here --}}
{!! Form::label('selecturls',__('Add Video')) !!} {!! Form::select('selecturl', array('iframeurl' =>__('IFrame URL Embed URL'), 'youtubeapi' =>__('YouTube Api'), 'vimeoapi' => __('VimeoApi'), 'customurl' => __('Custom URL Youtube URL Vimeo URL'),'uploadvideo'=>__('UploadVideo'),'multiqcustom' => __('Multi Quality Custom URL And URL Upload')), null, ['class' => 'form-control select2','id'=>'selecturl']) !!} {{ $errors->first('selecturl') }}
{{-- youtube and vimeo url --}} {{-- upload video --}} {{-- select to upload or add links code ends here --}}
{!! Form::label('a_language', __('Audio Languages')) !!}
{!! Form::select('a_language[]', $a_lans, null, ['class' => 'form-control select2', 'multiple']) !!}
{{ $errors->first('a_language') }}
{!! Form::label('maturity_rating',__('Maturity Rating')) !!} {!! Form::select('maturity_rating', array('all age' =>__('All Age'), '18+' =>'18+', '16+' => '16+', '13+'=>'13+','10+' =>'10+', '8+' => '8+', '5+'=>'5+','2+'=>'2+'), null, ['class' => 'form-control select2']) !!} {{ $errors->first('maturity_rating') }}
({{ __('Select those countries where you want to block Movies')}} )
{!! Form::label('series',__('Series')) !!}
{{ $errors->first('series') }}
{!! Form::label('movie_id', __('Select Movie Of Series')) !!} {!! Form::select('movie_id', $movie_list_exc_series, null, ['class' => 'form-control select2 mseries']) !!} {{ $errors->first('movie_id') }}
{!! Form::label('featured', __('Featured')) !!}
{{ $errors->first('featured') }}
{!! Form::label('subtitle',__('Subtitle')) !!}
{{ $errors->first('subtitle') }}
{!! Form::label('is_protect',__('Protected Video?')) !!}
{{ $errors->first('is_protect') }}
{!! Form::label('', __('Choose Custom Thumbnail And Poster')) !!}
{{--
--}}
{{--
--}}
{{__('Want IMDB Ratings And More Or Custom')}}?
{!! Form::label('trailer_url', __('Trailer URL')) !!} {!! Form::text('trailer_url', old('trailer_url'), ['class' => 'form-control', 'placeholder'=>__('Please Enter Trailer Url')]) !!} {{ $errors->first('trailer_url') }}
{!! Form::label('director_id',__('Directors')) !!}
{{ $errors->first('director_id') }}
{!! Form::label('actor_id',__('Actors')) !!}
{{ $errors->first('actor_id') }}
{!! Form::label('genre_id', __('Genre')) !!}
{!! Form::select('genre_id[]', $genre_ls, null, ['class' => 'form-control select2', 'multiple']) !!}
{{ $errors->first('genre_id') }}
{!! Form::label('duration', __('Duration')) !!} {!! Form::text('duration', old('duration'), ['class' => 'form-control', 'placeholder'=>__('Please Enter Duration In Mins')]) !!} {{ $errors->first('duration') }}
{!! Form::label('publish_year', __('Publish Year')) !!} {!! Form::number('publish_year', old('publish_year'), ['class' => 'form-control', 'min' => '1900']) !!} {{ $errors->first('publish_year') }}
{!! Form::label('rating', __('Ratings')) !!} {!! Form::text('rating', old('rating'), ['class' => 'form-control', ]) !!} {{ $errors->first('rating') }}
{!! Form::label('released', __('Released')) !!} {!! Form::date('released', old('released'), ['class' => 'form-control']) !!} {{ $errors->first('released') }}
{!! Form::label('detail', __('Description')) !!} {!! Form::textarea('detail', old('detail'), ['class' => 'form-control materialize-textarea', 'rows' => '5']) !!} {{ $errors->first('detail') }}
{!! Form::close() !!}
@endsection @section('script') {{-- vimeo api code --}} {{-- youtube APi code --}} @endsection