@if ($config)
{!! Form::model($config, ['method' => 'PATCH', 'action' => ['ConfigController@update', $config->id], 'files' => true]) !!}
{!! Form::label('title', __('Project Title')) !!}
{!! Form::text('title', null, ['id' => 'pr', 'onkeyup' => 'sync()', 'class' => 'form-control']) !!}
{{ $errors->first('title') }}
{!! Form::label('w_email', __('Default Email')) !!}
{!! Form::email('w_email', null, ['class' => 'form-control', 'placeholder' => 'eg: foo@bar.com']) !!}
{{ $errors->first('w_email') }}
{!! Form::label('currency_code', __('Currency Code')) !!}
{!! Form::text('currency_code', null, ['class' => 'form-control']) !!}
{{ $errors->first('currency_code') }}
{!! Form::label('currency_symbol', __('Currency Symbol')) !!}
{!! Form::text('currency_symbol', null, ['class' => 'form-control currency-icon-picker']) !!}
{{ $errors->first('currency_symbol') }}
{!! Form::label('invoice_add', __('InvoiceAddress')) !!}
{!! Form::text('invoice_add', null, ['class' => 'form-control']) !!}
{{ $errors->first('invoice_add') }}
{!! Form::label('logo', __('Project Logo')) !!} -
{{__('Size')}}: 200x63
{{__('Choose A File')}}
{!! Form::label('favicon',__('Project Favicon Icon')) !!} -
{{__('Choose A File')}}
@if($image = @file_get_contents(public_path().'/images/favicon/'.$setting->favicon))
@endif
{{ __('App Store') }}
{!! Form::checkbox('is_appstore', 1, ($config->is_appstore == '1' ? 1 : 0), ['class' => 'custom_toggle appstore', 'onChange' =>'isappstore()']) !!}
{{ __('Play Store') }}
{!! Form::checkbox('is_playstore', 1, ($config->is_playstore == '1' ? 1 : 0), ['class' => 'custom_toggle playstore', 'onChange' =>'isplaystore()']) !!}
has('playstore') ? ' has-error' : '' }}">
{{ __('Link') }}
{!! Form::text('playstore', null, ['class' => 'form-control']) !!}
{{ __('Please Enter Link !') }}.
{{ __('IP Block') }}
{!! Form::checkbox('ip_block', 1, ($button->ip_block == '1' ? 1 : 0), ['class' => 'custom_toggle ip_block', 'onChange' =>'isipblock()']) !!}
has('ipblock_ip') ? ' has-error' : '' }}">
{{ __('Blocked Ips:') }}
@if(isset($button->block_ips))
@foreach($button->block_ips as $block_ip)
{{$block_ip}}
@endforeach
@endif
{{ __('Donation link') }}:
{!! Form::checkbox('donation', 1, ($config->donation == '1' ? 1 : 0), ['class' => 'custom_toggle donate', 'onChange' =>'isdonation()']) !!}
{{ __('Comming Soon') }}
{!! Form::checkbox('comming_soon', 1, ($button->comming_soon == '1' ? 1 : 0), ['class' => 'custom_toggle comming_soon', 'onChange' =>'iscommingsoon()']) !!}
{{ __('Toprated Section') }}
{!! Form::checkbox('is_toprated', 1, ($button->is_toprated == '1' ? 1 : 0), ['class' => 'custom_toggle is_toprated', 'onChange' =>'isToprated()']) !!}
{{ __('Free Trial') }}
{!! Form::checkbox('free_sub', 1, ($config->free_sub == '1' ? 1 : 0), ['class' => 'custom_toggle free_sub', 'onChange' =>'isfree()']) !!}
has('free_days') ? ' has-error' : '' }}">
{{ __('Enter Days') }}
{!! Form::text('free_days', null, ['class' => 'form-control']) !!}
{{ $errors->first('free_days') }}
{{ __('Go To Top') }} :
{!! Form::checkbox('goto', 1, ($button->goto == 1 ? 1 : 0), ['class' => 'custom_toggle']) !!}
{{ $errors->first('goto') }}
{{ __('Two Factor') }} :
{!! Form::checkbox('two_factor', null, ($button->two_factor == 1 ? 1 : 0), ['class' => 'custom_toggle']) !!}
{{ $errors->first('two_factor') }}
{{ __('Blog') }} :
{!! Form::checkbox('blog', null, ($config->blog == 1 ? 1 : 0), ['class' => 'custom_toggle']) !!}
{{ $errors->first('blog') }}
{{ __('User Rating') }}:
{!! Form::checkbox('user_rating', 1, ($config->user_rating == '1' ? 1 : 0), ['class' => 'custom_toggle ']) !!}
{{ __('Protip') }} :
{!! Form::checkbox('protip', 1, ($button->protip == 1 ? 1 : 0), ['class' => 'custom_toggle']) !!}
{{ $errors->first('protip') }}
{{ __('Multiple Screen') }} :
{!! Form::checkbox('multiplescreen', 1, ($button->multiplescreen == '1' ? 1 : 0), ['class' => 'custom_toggle download']) !!}
{{ __('AWS') }} :
{!! Form::checkbox('aws', null, ($config->aws == 1 ? 1 : 0), ['class' => 'custom_toggle']) !!}
{{ $errors->first('aws') }}
{{ __('Count Views On') }} :
{!! Form::checkbox('countviews', 1, ($button->countviews == 1 ? 1 : 0), ['class' => 'custom_toggle']) !!}
{{ $errors->first('countviews') }}
{{ __('Remove Thumbnail on Detail page') }} :
{!! Form::checkbox('remove_thumbnail', null, ($button->remove_thumbnail == 1 ? 1 : 0), ['class' => 'custom_toggle']) !!}
{{ $errors->first('remove_thumbnail') }}
{{ __('Remove Subscription On Landing Page') }} :
{!! Form::checkbox('remove_subscription', 1, ($button->remove_subscription == 1 ? 1 : 0), ['class' => 'custom_toggle']) !!}
{{ $errors->first('remove_subscription') }}
@php
$mymenu=App\Menu::first();
@endphp
@if(isset($mymenu))
{{ __('Remove Landing Page') }} :
{!! Form::checkbox('remove_landing_page', 1, ($config->remove_landing_page == 1 ? 1 : 0), ['class' => 'custom_toggle']) !!}
@else
({{__('Remove Landing PageNote')}})
@endif
{{ $errors->first('remove_landing_page') }}
{{ __('Remove Ads') }} :
{!! Form::checkbox('remove_ads', 1, ($button->remove_ads == 1 ? 1 : 0), ['class' => 'custom_toggle']) !!}
{{ $errors->first('remove_ads') }}
{{ __('Pre loader') }} :
{!! Form::checkbox('preloader', 1, ($config->preloader == 1 ? 1 : 0), ['class' => 'custom_toggle']) !!}
{{ $errors->first('preloader') }}
{{ __('Inspect Disable') }} :
{!! Form::checkbox('inspect', 1, ($button->inspect == 1 ? 1 : 0), ['class' => 'custom_toggle']) !!}
{{ $errors->first('inspect') }}
{{ __('Reminder Mail') }} :
{!! Form::checkbox('reminder_mail', null, ($button->reminder_mail == 1 ? 1 : 0), ['class' => 'custom_toggle']) !!}
{{ $errors->first('reminder_mail') }}
{{ $errors->first('catlog') }}
{{ $errors->first('withlogin') }}
{{ __('Right click Disable') }} :
{!! Form::checkbox('rightclick', 1, ($button->rightclick == 1 ? 1 : 0), ['class' => 'custom_toggle']) !!}
{{ $errors->first('rightclick') }}
{{ __('Kids Mode') }} :
{!! Form::checkbox('kids_mode', null, ($button->kids_mode == 1 ? 1 : 0), ['class' => 'custom_toggle']) !!}
{{ $errors->first('kids_mode') }}
{{ __('Movie Request') }} :
{!! Form::checkbox('movie_request', null, ($button->movie_request == 1 ? 1 : 0), ['class' => 'custom_toggle']) !!}
{{ $errors->first('movie_request') }}
{{ __('Genre Slider Type') }} :
{!! Form::checkbox('prime_genre_slider', 1, ($config->prime_genre_slider == '1' ? 1 : 0), ['class' => 'custom_toggle']) !!}
{{ $errors->first('prime_genre_slider') }}
{{ __('Movie Single Type') }} :
{!! Form::checkbox('prime_movie_single', 1, ($config->prime_movie_single == '1' ? 1 : 0), ['class' => 'custom_toggle']) !!}
{{ $errors->first('prime_movie_single') }}
{{ $errors->first('prime_footer') }}
{{ __('Update') }}
{!! Form::close() !!}
@endif
{!! Form::checkbox('comments', 1, ($config->comments == '1' ? 1 : 0), ['class' => 'custom_toggle iscomment','onChange' =>'isComment()']) !!}