

<?php $__env->startSection('content'); ?>

<?php echo $__env->make('includes.tinyeditor', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>

<!-- Begin Page Content -->
<div class="container-fluid">


    <!-- Page Heading -->
    <h1 class="h3 mb-2 text-gray-800"><?php echo e(clean( trans('niva-backend.title_log_favicon') , array('Attr.EnableID' => true))); ?></h1>
    <!-- DataTales Example -->
    <div class="card shadow mb-4">
        <div class="card-header py-3">
            <h6 class="m-0 font-weight-bold text-primary"><?php echo e(clean( trans('niva-backend.title_log_favicon') , array('Attr.EnableID' => true))); ?></h6>
        </div>
        <div class="card-body">


                <?php if($message = Session::get('setting_success')): ?>
                    <div class="alert alert-success alert-block">
                        <button type="button" class="close" data-dismiss="alert"><i class="fas fa-times"></i></button>    
                        <strong><?php echo e($message); ?></strong>
                    </div>
                <?php endif; ?>

                <div class="pb-2 text-right">
                    <?php if(!empty($langs)): ?>
                        <select name="language" class="form-control language-control" onchange="window.location='<?php echo e(url()->current() . '?language='); ?>'+this.value">
                            <option value="" selected disabled><?php echo e(clean( trans('niva-backend.select_language') , array('Attr.EnableID' => true))); ?></option>
                            <?php $__currentLoopData = $langs; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $lang): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                <option value="<?php echo e($lang->code); ?>" <?php echo e($lang->code == request()->input('language') ? 'selected' : ''); ?>><?php echo e($lang->name); ?></option>
                            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                        </select>
                    <?php endif; ?>
                </div>


                <?php echo $__env->make('includes.form-errors', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>

                <div class="row">

                	<div class="col-md-12">

                		<form action="<?php echo e(route('setting.update', $lang_id)); ?>" method="POST" enctype="multipart/form-data">
					        <?php echo csrf_field(); ?>
					        <?php echo method_field('PUT'); ?>

					        <div class="row">
					            
                                <div class="col-xs-12 col-sm-12 col-md-12">
					                <div class="form-group">
					                    <strong><?php echo e(clean( trans('niva-backend.website_title') , array('Attr.EnableID' => true))); ?></strong>
					                    <input type="text" name="title" value="<?php echo e($setting->title); ?>" class="form-control" placeholder="Name">
					                </div>
					            </div>

                                

                                <div class="col-xs-12 col-sm-12 col-md-12">
                                    <div class="form-group">
                                        <p> <strong><?php echo e(clean( trans('niva-backend.logo') , array('Attr.EnableID' => true))); ?></strong></p>
                                        <img style="padding-bottom:10px" class="img-fluid" width="50" src="/public/images/media/<?php echo e($setting->photo ? $setting->photo->file : '/public/img/200x200.png'); ?>" alt="">
                                        <input type="file" name="photo_id" class="form-control-file" placeholder="Photo">
                                    </div>
                                </div>
	                           
                               <div class="col-xs-12 col-sm-12 col-md-12">
                                    <div class="form-group">
                                        <strong><?php echo e(clean( trans('niva-backend.favicon') , array('Attr.EnableID' => true))); ?> 
                                        
                                        <span><?php echo e(clean( trans('niva-backend.upload_image') , array('Attr.EnableID' => true))); ?> <a target="_blank" href="<?php echo e(route('media.create')); ?>"> <?php echo e(clean( trans('niva-backend.here') , array('Attr.EnableID' => true))); ?> </a> <?php echo e(clean( trans('niva-backend.then_copy_url') , array('Attr.EnableID' => true))); ?> <a target="_blank" href="<?php echo e(route('media.index')); ?>"> <?php echo e(clean( trans('niva-backend.here') , array('Attr.EnableID' => true))); ?> </a></span>

                                        </strong>
                                         <img style="padding-bottom:10px" class="img-fluid" width="50" src="<?php echo e($setting->favicon); ?>" alt="">
                                        <input name="favicon" class="form-control" id="favicon" rows="2" value="<?php echo e($setting->favicon); ?>">
                                    </div>
                                </div>

                                <div class="col-xs-12 col-sm-12 col-md-12 maintenance_radio">
                                    <div class="form-group">
                                        <strong><?php echo e(clean( trans('niva-backend.maintenance_status') , array('Attr.EnableID' => true))); ?></strong>
                                        
                                        <div class="form-check">
                                          <input class="form-check-input" type="radio" name="maintenance_status" id="maintenance_status1" value="1" 
                                            <?php if($setting->maintenance_status == 1): ?> checked <?php endif; ?>>
                                          <label class="form-check-label" for="maintenance_status1"> <?php echo e(clean( trans('niva-backend.on') , array('Attr.EnableID' => true))); ?>  </label>
                                        </div>

                                        <div class="form-check">
                                          <input class="form-check-input" type="radio" name="maintenance_status" id="maintenance_status0" value="0" 
                                            <?php if($setting->maintenance_status == 0): ?> checked <?php endif; ?>>
                                          <label class="form-check-label" for="maintenance_status0"> <?php echo e(clean( trans('niva-backend.off') , array('Attr.EnableID' => true))); ?>  </label>
                                        </div>
                                        
                                    </div>
                                </div>

                                 <div class="col-xs-12 col-sm-12 col-md-12 maintenance_text <?php if($setting->maintenance_status == 0): ?>  <?php endif; ?>">
                                    <div class="form-group">
                                        <strong><?php echo e(clean( trans('niva-backend.maintenance_text') , array('Attr.EnableID' => true))); ?></strong>
                                        <textarea name="maintenance_text" class="form-control" id="maintenance_text" rows="6"><?php echo e(clean( $setting->maintenance_text , array('Attr.EnableID' => true))); ?></textarea>
                                    </div>
                                </div>

                                <div class="col-xs-12 col-sm-12 col-md-12">
                                    <div class="form-group">
                                        <strong><?php echo e(clean( trans('niva-backend.keywords') , array('Attr.EnableID' => true))); ?></strong>
                                        <input type="text" name="keywords" value="<?php echo e($setting->keywords); ?>" class="form-control">
                                    </div>
                                </div>



                               
                                <div class="col-xs-12 col-sm-12 col-md-12">
                                    <div class="form-group">
                                        <strong><?php echo e(clean( trans('niva-backend.enable_disable_ogg') , array('Attr.EnableID' => true))); ?></strong>
                                        
                                        <div class="form-check">
                                          <input class="form-check-input" type="radio" name="OGgraph_switch" id="OGgraph_switch1" value="1" 
                                            <?php if($setting->OGgraph_switch == 1): ?> checked <?php endif; ?>>
                                          <label class="form-check-label" for="OGgraph_switch1"> <?php echo e(clean( trans('niva-backend.on') , array('Attr.EnableID' => true))); ?>  </label>
                                        </div>

                                        <div class="form-check">
                                          <input class="form-check-input" type="radio" name="OGgraph_switch" id="OGgraph_switch0" value="0" 
                                            <?php if($setting->OGgraph_switch == 0): ?> checked <?php endif; ?>>
                                          <label class="form-check-label" for="OGgraph_switch0"> <?php echo e(clean( trans('niva-backend.off') , array('Attr.EnableID' => true))); ?>  </label>
                                        </div>
                                        
                                        
                                    </div>
                                </div>

                                <div class="col-xs-12 col-sm-12 col-md-12">
                                    <div class="form-group">
                                        <strong><?php echo e(clean( trans('niva-backend.enable_disable_anali') , array('Attr.EnableID' => true))); ?></strong>
                                        
                                        <div class="form-check">
                                          <input class="form-check-input" type="radio" name="analytics_switch" id="analytics_switch1" value="1" 
                                            <?php if($setting->analytics_switch == 1): ?> checked <?php endif; ?>>
                                          <label class="form-check-label" for="analytics_switch1"> <?php echo e(clean( trans('niva-backend.on') , array('Attr.EnableID' => true))); ?>  </label>
                                        </div>

                                        <div class="form-check">
                                          <input class="form-check-input" type="radio" name="analytics_switch" id="analytics_switch0" value="0" 
                                            <?php if($setting->analytics_switch == 0): ?> checked <?php endif; ?>>
                                          <label class="form-check-label" for="analytics_switch0"> <?php echo e(clean( trans('niva-backend.off') , array('Attr.EnableID' => true))); ?>  </label>
                                        </div>

                                        <br>
                                        
                                        <strong><?php echo e(clean( trans('niva-backend.tracking_code') , array('Attr.EnableID' => true))); ?></strong>
                                        <input type="text" name="analytics" value="<?php echo e($setting->analytics); ?>" class="form-control">
                                        
                                    </div>
                                </div>

                                <div class="col-xs-12 col-sm-12 col-md-12">
                                    <div class="form-group">
                                        <strong>Enable or disable Facebook Pixel</strong>
                                        
                                        <div class="form-check">
                                          <input class="form-check-input" type="radio" name="facebook_pixel_switch" id="pixel_switch1" value="1" 
                                            <?php if($setting->facebook_pixel_switch == 1): ?> checked <?php endif; ?>>
                                          <label class="form-check-label" for="pixel_switch1"> <?php echo e(clean( trans('niva-backend.on') , array('Attr.EnableID' => true))); ?>  </label>
                                        </div>

                                        <div class="form-check">
                                          <input class="form-check-input" type="radio" name="facebook_pixel_switch" id="pixel_switch0" value="0" 
                                            <?php if($setting->facebook_pixel_switch == 0): ?> checked <?php endif; ?>>
                                          <label class="form-check-label" for="pixel_switch0"> <?php echo e(clean( trans('niva-backend.off') , array('Attr.EnableID' => true))); ?>  </label>
                                        </div>

                                        <br>

                                        <strong>Pixel code</strong>
                                        <input type="text" name="facebook_pixel" value="<?php echo e($setting->facebook_pixel); ?>" class="form-control">
                                        
                                        
                                    </div>
                                </div>

                                <div class="col-xs-12 col-sm-12 col-md-12">
                                    <div class="form-group">
                                        <strong><?php echo e(clean( trans('niva-backend.enable_disable_schema') , array('Attr.EnableID' => true))); ?></strong>
                                        
                                        <div class="form-check">
                                          <input class="form-check-input" type="radio" name="SchmeaORG_switch" id="schema_switch1" value="1" 
                                            <?php if($setting->SchmeaORG_switch == 1): ?> checked <?php endif; ?>>
                                          <label class="form-check-label" for="schema_switch1"> <?php echo e(clean( trans('niva-backend.on') , array('Attr.EnableID' => true))); ?>  </label>
                                        </div>

                                        <div class="form-check">
                                          <input class="form-check-input" type="radio" name="SchmeaORG_switch" id="schema_switch0" value="0" 
                                            <?php if($setting->SchmeaORG_switch == 0): ?> checked <?php endif; ?>>
                                          <label class="form-check-label" for="schema_switch0"> <?php echo e(clean( trans('niva-backend.off') , array('Attr.EnableID' => true))); ?>  </label>
                                        </div>
                                        
                                        
                                    </div>
                                </div>

                                <div class="col-xs-12 col-sm-12 col-md-12">

                                    <div class="form-group">
                                        <div class="row">

                                            <div class="col-md-4">
                                                <strong><?php echo e(clean( trans('niva-backend.author') , array('Attr.EnableID' => true))); ?></strong>
                                                <input type="text" name="author" value="<?php echo e($setting->author); ?>" class="form-control">
                                            </div>

                                            <div class="col-md-4">
                                                <strong><?php echo e(clean( trans('niva-backend.contact_address') , array('Attr.EnableID' => true))); ?></strong>
                                                <input type="text" name="contact" value="<?php echo e($setting->contact); ?>" class="form-control">
                                            </div>

                                            <div class="col-md-4">
                                                <strong><?php echo e(clean( trans('niva-backend.phone') , array('Attr.EnableID' => true))); ?></strong>
                                                <input type="text" name="phone" value="<?php echo e($setting->phone); ?>" class="form-control">
                                            </div>
                                        </div>

                                        <br>

                                        <div class="row">

                                            <div class="col-md-4">
                                                <strong><?php echo e(clean( trans('niva-backend.price_range') , array('Attr.EnableID' => true))); ?></strong>
                                                <input type="text" name="price_range" value="<?php echo e($setting->price_range); ?>" class="form-control">
                                            </div>

                                            <div class="col-md-4">
                                                <strong><?php echo e(clean( trans('niva-backend.country') , array('Attr.EnableID' => true))); ?></strong>
                                                <input type="text" name="country" value="<?php echo e($setting->country); ?>" class="form-control">
                                            </div>

                                            <div class="col-md-4">
                                                <strong><?php echo e(clean( trans('niva-backend.address') , array('Attr.EnableID' => true))); ?></strong>
                                                <input type="text" name="address" value="<?php echo e($setting->address); ?>" class="form-control">
                                            </div>
                                        </div>
                                        
                                    </div>

                                </div>
                                    
                                <div class="col-xs-12 col-sm-12 col-md-12">
                                    <div class="form-group">
                                        <strong><?php echo e(clean( trans('niva-backend.enable_disable_whatsapp') , array('Attr.EnableID' => true))); ?></strong>
                                        
                                        <div class="form-check">
                                          <input class="form-check-input" type="radio" name="whatsapp" id="enable_disable_whatsapp1" value="1" 
                                            <?php if($setting->whatsapp == 1): ?> checked <?php endif; ?>>
                                          <label class="form-check-label" for="enable_disable_whatsapp1"> <?php echo e(clean( trans('niva-backend.on') , array('Attr.EnableID' => true))); ?>  </label>
                                        </div>

                                        <div class="form-check">
                                          <input class="form-check-input" type="radio" name="whatsapp" id="enable_disable_whatsapp0" value="0" 
                                            <?php if($setting->whatsapp == 0): ?> checked <?php endif; ?>>
                                          <label class="form-check-label" for="enable_disable_whatsapp0"> <?php echo e(clean( trans('niva-backend.off') , array('Attr.EnableID' => true))); ?>  </label>
                                        </div>
                                        
                                        
                                    </div>
                                </div>

                                <div class="col-xs-12 col-sm-12 col-md-12">
                                    <div class="form-group">
                                        <strong><?php echo e(clean( trans('niva-backend.google_font') , array('Attr.EnableID' => true))); ?></strong>
                                        <input type="text" name="font" value="<?php echo e($setting->font); ?>" class="form-control">
                                    </div>
                                </div>

                                <div class="col-xs-12 col-sm-12 col-md-12">
                                    <div class="form-group">
                                        <strong><?php echo e(clean( trans('niva-backend.custom_css') , array('Attr.EnableID' => true))); ?></strong>
                                        <textarea data-editor="css" name="custom_css" class="form-control" id="custom_css" data-gutter="1" rows="10"><?php echo e($setting->custom_css); ?></textarea>
                                    </div>
                                </div>

                                <div class="col-xs-12 col-sm-12 col-md-12">
                                    <div class="form-group">
                                        <strong><?php echo e(clean( trans('niva-backend.custom_js') , array('Attr.EnableID' => true))); ?></strong>
                                        <textarea data-editor="javascript" name="custom_js" class="form-control" id="custom_js" data-gutter="1" rows="10"><?php echo e($setting->custom_js); ?></textarea>
                                    </div>
                                </div>




                               


					            <div class="col-xs-12 col-sm-12 col-md-12 text-right">
					                <button type="submit" class="btn btn-primary"><?php echo e(clean( trans('niva-backend.update') , array('Attr.EnableID' => true))); ?></button>
					            </div>
                                
					        </div>

					    </form>
                		
                	</div>
                </div>

        </div>
    </div>

</div>
<!-- /.container-fluid -->




<?php $__env->stopSection(); ?>

<?php $__env->startSection('footer'); ?>
<script src="<?php echo e(asset('js/libs/ace.js')); ?>"></script>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.admin', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/lucilzud/vex3.lucian.host/resources/views/settings/edit.blade.php ENDPATH**/ ?>