<div class="border-item">
    <form class="form-row site_settings_form" method="post" action="<?php echo e($settingsAction); ?>" enctype="multipart/form-data">
        <?php if($settings): ?>
            <input type="hidden" name="update" value="true">
        <?php endif; ?>
        <?php echo csrf_field(); ?>

        <?php if(auth()->user()->role == 'super_admin'): ?>
            <div class="col-md-12">
                <div class="card mb-5">
                    <div class="card-header">
                        <h4><?php echo e(__('settings.disable_dashboard_and_site')); ?></h4>
                    </div>
                    <ul class="list-group list-group-flush">
                        <li class="list-group-item">
                            <i class="fas fa-globe"></i> <b><?php echo e(meta('website_disable', $lang) ?? 'Website Disabled'); ?></b>
                            <label class="switch ">
                                <input <?php echo e($settings->website_disable == 1 ? 'checked' : ''); ?> type="checkbox" class="success" name="website_disable" value="1">
                                <span class="slider"></span>
                            </label>
                        </li>
                        <li class="list-group-item">
                            <i class="fas fa-chart-line"></i> <b> <?php echo e(meta('dashboard_disable', $lang) ?? 'Dashboard Disabled'); ?></b>
                            <label class="switch ">
                                <input <?php echo e($settings->dashboard_disable == 1 ? 'checked' : ''); ?> type="checkbox" class="success" name="dashboard_disable" value="1">
                                <span class="slider"></span>
                            </label>
                        </li>
                    </ul>
                </div>
            </div>
        <?php endif; ?>

        <?php $__currentLoopData = languages(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $language): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
            <div class="form-group col-lg-6">
                <label><?php echo e(meta('website_name', $language->local) ?? __('settings.website_name')); ?> <?php echo e(count($languages) > 1 ? "({$language->name})" : ''); ?> </label>
                <input type="text" class="form-control <?php echo e($errors->has('website_name_'.$language->local) ? 'is-invalid' : ''); ?>" name="website_name_<?php echo e($language->local); ?>" placeholder="<?php echo e(meta('website_name', $language->local) ?? __('settings.website_name')); ?>" value='<?php echo e(old("website_name_{$language->local}", $settings->{'website_name_'.$language->local} ?? "")); ?>'/>
            </div>
            <div class="form-group col-lg-6">
                <label><?php echo e(meta('site_address', $language->local) ?? __('settings.site_address')); ?> <?php echo e(count($languages) > 1 ? "({$language->name})" : ''); ?> </label>
                <input type="text" class="form-control <?php echo e($errors->has('site_address_'.$language->local) ? 'is-invalid' : ''); ?>" name="site_address_<?php echo e($language->local); ?>" placeholder="<?php echo e(meta('site_address', $language->local) ?? __('settings.site_address')); ?>" value='<?php echo e(old("site_address_{$language->local}", $settings->{'site_address_'.$language->local} ?? "")); ?>'/>
            </div>

            <div class="form-group col-lg-6">
                <label><?php echo e(meta('Keywords', $language->local) ?? __('settings.Keywords')); ?> <?php echo e(count($languages) > 1 ? "({$language->name})" : ''); ?> </label>
                <input type="text" class="form-control <?php echo e($errors->has('Keywords_'.$language->local) ? 'is-invalid' : ''); ?>" name="Keywords_<?php echo e($language->local); ?>" placeholder="<?php echo e(meta('Keywords', $language->local) ?? __('settings.Keywords')); ?>" value='<?php echo e(old("Keywords_{$language->local}", $settings->{'keywords_'.$language->local} ?? "")); ?>'/>
            </div>
            <div class="form-group col-lg-6">
                <label><?php echo e(meta('meta_description', $language->local) ?? __('settings.meta_description')); ?> <?php echo e(count($languages) > 1 ? "({$language->name})" : ''); ?> </label>
                <input type="text" class="form-control <?php echo e($errors->has('meta_description_'.$language->local) ? 'is-invalid' : ''); ?>" name="meta_description_<?php echo e($language->local); ?>" placeholder="<?php echo e(meta('meta_description', $language->local) ?? __('settings.meta_description')); ?>" value='<?php echo e(old("meta_description_{$language->local}", $settings->{'meta_description_'.$language->local} ?? "")); ?>'/>
            </div>

            <div class="form-group col-lg-6">
                <label><?php echo e(meta('meta_description', $language->local) ?? __('settings.meta_description')); ?> <?php echo e(count($languages) > 1 ? "({$language->name})" : ''); ?> </label>
                <input type="text" class="form-control <?php echo e($errors->has('meta_description_'.$language->local) ? 'is-invalid' : ''); ?>" name="meta_description_<?php echo e($language->local); ?>" placeholder="<?php echo e(meta('meta_description', $language->local) ?? __('settings.meta_description')); ?>" value='<?php echo e(old("meta_description_{$language->local}", $settings->{'meta_description_'.$language->local} ?? "")); ?>'/>
            </div>

            <div class="form-group col-lg-6">
                <label><?php echo e(meta('special_num_1_title', $language->local) ?? __('settings.special_num_1_title')); ?> <?php echo e(count($languages) > 1 ? "({$language->name})" : ''); ?> </label>
                <input type="text" class="form-control <?php echo e($errors->has('special_num_1_title_'.$language->local) ? 'is-invalid' : ''); ?>" name="special_num_1_title_<?php echo e($language->local); ?>" placeholder="<?php echo e(meta('special_num_1_title', $language->local) ?? __('settings.special_num_1_title')); ?>" value='<?php echo e(old("special_num_1_title_{$language->local}", $settings->{'special_num_1_title_'.$language->local} ?? "")); ?>'/>
            </div>
            <div class="form-group col-lg-6">
                <label><?php echo e(meta('special_num_2_title', $language->local) ?? __('settings.special_num_2_title')); ?> <?php echo e(count($languages) > 1 ? "({$language->name})" : ''); ?> </label>
                <input type="text" class="form-control <?php echo e($errors->has('special_num_2_title_'.$language->local) ? 'is-invalid' : ''); ?>" name="special_num_2_title_<?php echo e($language->local); ?>" placeholder="<?php echo e(meta('special_num_2_title', $language->local) ?? __('settings.special_num_2_title')); ?>" value='<?php echo e(old("special_num_2_title_{$language->local}", $settings->{'special_num_2_title_'.$language->local} ?? "")); ?>'/>
            </div>
            <div class="form-group col-lg-6">
                <label><?php echo e(meta('special_num_3_title', $language->local) ?? __('settings.special_num_3_title')); ?> <?php echo e(count($languages) > 1 ? "({$language->name})" : ''); ?> </label>
                <input type="text" class="form-control <?php echo e($errors->has('special_num_3_title_'.$language->local) ? 'is-invalid' : ''); ?>" name="special_num_3_title_<?php echo e($language->local); ?>" placeholder="<?php echo e(meta('special_num_3_title', $language->local) ?? __('settings.special_num_3_title')); ?>" value='<?php echo e(old("special_num_3_title_{$language->local}", $settings->{'special_num_3_title_'.$language->local} ?? "")); ?>'/>
            </div>
            <div class="form-group col-lg-6">
                <label><?php echo e(meta('special_num_4_title', $language->local) ?? __('settings.special_num_4_title')); ?> <?php echo e(count($languages) > 1 ? "({$language->name})" : ''); ?> </label>
                <input type="text" class="form-control <?php echo e($errors->has('special_num_4_title_'.$language->local) ? 'is-invalid' : ''); ?>" name="special_num_4_title_<?php echo e($language->local); ?>" placeholder="<?php echo e(meta('special_num_4_title', $language->local) ?? __('settings.special_num_4_title')); ?>" value='<?php echo e(old("special_num_4_title_{$language->local}", $settings->{'special_num_4_title_'.$language->local} ?? "")); ?>'/>
            </div>
        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
        <div class="form-group col-lg-6">
            <label><?php echo e(meta('site_email', $lang) ?? __('settings.site_email')); ?></label>
            <input type="email" class="form-control <?php echo e($errors->has('site_email') ? 'is-invalid' : ''); ?>" name="site_email" placeholder="<?php echo e(meta('site_email', $lang) ?? __('settings.site_email')); ?>" value='<?php echo e(old("site_email", $settings->site_email ?? "")); ?>'/>
        </div>

        <div class="form-group col-lg-6">
            <label><?php echo e(meta('site_phone', $lang) ?? __('settings.site_phone')); ?></label>
            <input type="tel" class="form-control <?php echo e($errors->has('site_phone') ? 'is-invalid' : ''); ?>" name="site_phone" placeholder="<?php echo e(meta('site_phone', $lang) ?? __('settings.site_phone')); ?>" value='<?php echo e(old("site_phone", $settings->site_phone ?? "")); ?>'/>
        </div>
        <div class="form-group col-lg-6">
            <label><?php echo e(meta('site_tel', $lang) ?? __('settings.site_tel')); ?></label>
            <input type="tel" class="form-control <?php echo e($errors->has('site_tel') ? 'is-invalid' : ''); ?>" name="site_tel" placeholder="<?php echo e(meta('site_tel', $lang) ?? __('settings.site_tel')); ?>" value='<?php echo e(old("site_tel", $settings->site_tel ?? "")); ?>'/>
        </div>
        <div class="form-group col-lg-6">
            <label><?php echo e(meta('mail_driver', $lang) ?? __('settings.mail_driver')); ?></label>
            <input type="text" class="form-control <?php echo e($errors->has('mail_driver') ? 'is-invalid' : ''); ?>" name="mail_driver" placeholder="<?php echo e(meta('mail_driver', $lang) ?? __('settings.mail_driver')); ?>" value='<?php echo e(old("mail_driver", $settings->mail_driver ?? "")); ?>'/>
        </div>
        <div class="form-group col-lg-6">
            <label><?php echo e(meta('mail_host', $lang) ?? __('settings.mail_host')); ?></label>
            <input type="text" class="form-control <?php echo e($errors->has('mail_host') ? 'is-invalid' : ''); ?>" name="mail_host" placeholder="<?php echo e(meta('mail_host', $lang) ?? __('settings.mail_host')); ?>" value='<?php echo e(old("mail_host", $settings->mail_host ?? "")); ?>'/>
        </div>
        <div class="form-group col-lg-6">
            <label><?php echo e(meta('mail_port', $lang) ?? __('settings.mail_port')); ?></label>
            <input type="number" class="form-control <?php echo e($errors->has('mail_port') ? 'is-invalid' : ''); ?>" name="mail_port" placeholder="<?php echo e(meta('mail_port', $lang) ?? __('settings.mail_port')); ?>" value='<?php echo e(old("mail_port", $settings->mail_port ?? "")); ?>'/>
        </div>
        <div class="form-group col-lg-6">
            <label><?php echo e(meta('mail_username', $lang) ?? __('settings.mail_username')); ?></label>
            <input type="text" class="form-control <?php echo e($errors->has('mail_username') ? 'is-invalid' : ''); ?>" name="mail_username" placeholder="<?php echo e(meta('mail_username', $lang) ?? __('settings.mail_username')); ?>" value='<?php echo e(old("mail_username", $settings->mail_username ?? "")); ?>'/>
        </div>
        <div class="form-group col-lg-6">
            <label><?php echo e(meta('mail_password', $lang) ?? __('settings.mail_password')); ?></label>
            <input type="password" class="form-control <?php echo e($errors->has('mail_password') ? 'is-invalid' : ''); ?>" name="mail_password" placeholder="<?php echo e(meta('mail_password', $lang) ?? __('settings.mail_password')); ?>" value='<?php echo e(old("mail_password", $settings->mail_password ?? "")); ?>'/>
        </div>
        <div class="form-group col-lg-6">
            <label><?php echo e(meta('mail_encryption', $lang) ?? __('settings.mail_encryption')); ?></label>
            <input type="text" class="form-control <?php echo e($errors->has('mail_encryption') ? 'is-invalid' : ''); ?>" name="mail_encryption" placeholder="<?php echo e(meta('mail_encryption', $lang) ?? __('settings.mail_encryption')); ?>" value='<?php echo e(old("mail_encryption", $settings->mail_encryption ?? "")); ?>'/>
        </div>
        <div class="form-group col-lg-6">
            <label><?php echo e(meta('mail_from_address', $lang) ?? __('settings.mail_from_address')); ?></label>
            <input type="text" class="form-control <?php echo e($errors->has('mail_from_address') ? 'is-invalid' : ''); ?>" name="mail_from_address" placeholder="<?php echo e(meta('mail_from_address', $lang) ?? __('settings.mail_from_address')); ?>" value='<?php echo e(old("mail_from_address", $settings->mail_from_address ?? "")); ?>'/>
        </div>
        <div class="form-group col-lg-6">
            <label><?php echo e(meta('mail_from_name', $lang) ?? __('settings.mail_from_name')); ?></label>
            <input type="text" class="form-control <?php echo e($errors->has('mail_from_name') ? 'is-invalid' : ''); ?>" name="mail_from_name" placeholder="<?php echo e(meta('mail_from_name', $lang) ?? __('settings.mail_from_name')); ?>" value='<?php echo e(old("mail_from_name", $settings->mail_from_name ?? "")); ?>'/>
        </div>
            <div class="form-group col-lg-6">
                <label><?php echo e(meta('facebook', $lang) ?? __('settings.facebook')); ?></label>
                <input type="text" class="form-control <?php echo e($errors->has('facebook') ? 'is-invalid' : ''); ?>" name="facebook" placeholder="<?php echo e(meta('facebook', $lang) ?? __('settings.facebook')); ?>" value='<?php echo e(old("facebook", $settings->facebook ?? "")); ?>'/>
            </div>
            <div class="form-group col-lg-6">
                <label><?php echo e(meta('twitter', $lang) ?? __('settings.twitter')); ?></label>
                <input type="text" class="form-control <?php echo e($errors->has('twitter') ? 'is-invalid' : ''); ?>" name="twitter" placeholder="<?php echo e(meta('twitter', $lang) ?? __('settings.twitter')); ?>" value='<?php echo e(old("twitter", $settings->twitter ?? "")); ?>'/>
            </div>
            <div class="form-group col-lg-6">
                <label><?php echo e(meta('instagram', $lang) ?? __('settings.instagram')); ?></label>
                <input type="text" class="form-control <?php echo e($errors->has('instagram') ? 'is-invalid' : ''); ?>" name="instagram" placeholder="<?php echo e(meta('instagram', $lang) ?? __('settings.instagram')); ?>" value='<?php echo e(old("instagram", $settings->instagram ?? "")); ?>'/>
            </div>

            <div class="form-group col-lg-6">
                <label><?php echo e(meta('snapchat', $lang) ?? __('settings.snapchat')); ?></label>
                <input type="text" class="form-control <?php echo e($errors->has('snapchat') ? 'is-invalid' : ''); ?>" name="snapchat" placeholder="<?php echo e(meta('snapchat', $lang) ?? __('settings.snapchat')); ?>" value='<?php echo e(old("snapchat", $settings->snapchat ?? "")); ?>'/>
            </div>

            <div class="form-group col-lg-6">
                <label><?php echo e(meta('whatsapp', $lang) ?? __('settings.whatsapp')); ?></label>
                <input type="tel" class="form-control <?php echo e($errors->has('whatsapp') ? 'is-invalid' : ''); ?>" name="whatsapp" placeholder="<?php echo e(meta('whatsapp', $lang) ?? __('settings.whatsapp')); ?>" value='<?php echo e(old("whatsapp", $settings->whatsapp ?? "")); ?>'/>
            </div>
            <div class="form-group col-lg-6">
                <label><?php echo e(meta('linkedin', $lang) ?? __('settings.linkedin')); ?></label>
                <input type="text" class="form-control <?php echo e($errors->has('linkedin') ? 'is-invalid' : ''); ?>" name="linkedin" placeholder="<?php echo e(meta('linkedin', $lang) ?? __('settings.linkedin')); ?>" value='<?php echo e(old("linkedin", $settings->linkedin ?? "")); ?>'/>
            </div>
            <div class="form-group col-lg-6">
                <label><?php echo e(meta('special_num_1_value', $lang) ?? __('settings.special_num_1_value')); ?></label>
                <input type="text" class="form-control <?php echo e($errors->has('special_num_1_value') ? 'is-invalid' : ''); ?>" name="special_num_1_value" placeholder="<?php echo e(meta('special_num_1_value', $lang) ?? __('settings.special_num_1_value')); ?>" value='<?php echo e(old("special_num_1_value", $settings->special_num_1_value ?? "")); ?>'/>
            </div>
            <div class="form-group col-lg-6">
                <label><?php echo e(meta('special_num_2_value', $lang) ?? __('settings.special_num_2_value')); ?></label>
                <input type="text" class="form-control <?php echo e($errors->has('special_num_2_value') ? 'is-invalid' : ''); ?>" name="special_num_2_value" placeholder="<?php echo e(meta('special_num_2_value', $lang) ?? __('settings.special_num_2_value')); ?>" value='<?php echo e(old("special_num_2_value", $settings->special_num_2_value ?? "")); ?>'/>
            </div>
            <div class="form-group col-lg-6">
                <label><?php echo e(meta('special_num_3_value', $lang) ?? __('settings.special_num_3_value')); ?></label>
                <input type="text" class="form-control <?php echo e($errors->has('special_num_3_value') ? 'is-invalid' : ''); ?>" name="special_num_3_value" placeholder="<?php echo e(meta('special_num_3_value', $lang) ?? __('settings.special_num_3_value')); ?>" value='<?php echo e(old("special_num_3_value", $settings->special_num_3_value ?? "")); ?>'/>
            </div>
            <div class="form-group col-lg-6">
                <label><?php echo e(meta('special_num_4_value', $lang) ?? __('settings.special_num_4_value')); ?></label>
                <input type="text" class="form-control <?php echo e($errors->has('special_num_4_value') ? 'is-invalid' : ''); ?>" name="special_num_4_value" placeholder="<?php echo e(meta('special_num_4_value', $lang) ?? __('settings.special_num_4_value')); ?>" value='<?php echo e(old("special_num_4_value", $settings->special_num_4_value ?? "")); ?>'/>
            </div>
            <div class="form-group col-lg-6">
                <label><?php echo e(meta('show_start_pop_up', $lang) ?? __('settings.show_start_pop_up')); ?></label>
                <select name="show_start_pop_up" class="form-control">
                    <option <?php echo e($settings->show_start_pop_up == 1 ? 'selected' : ''); ?> value="1"><?php echo e(__('settings.yes')); ?></option>
                    <option <?php echo e($settings->show_start_pop_up == 0 ? 'selected' : ''); ?> value="0"><?php echo e(__('settings.no')); ?></option>
                </select>
            </div>
            <div class="form-group col-lg-12">
                <label><?php echo e(meta('booking_appointment_url', $lang) ?? __('settings.booking_appointment_url')); ?></label>
                <input type="text" class="form-control <?php echo e($errors->has('booking_appointment_url') ? 'is-invalid' : ''); ?>" name="booking_appointment_url" placeholder="<?php echo e(meta('booking_appointment_url', $lang) ?? __('settings.booking_appointment_url')); ?>" value='<?php echo e(old("booking_appointment_url", $settings->booking_appointment_url ?? "")); ?>'/>
            </div>
            <div class="form-group col-lg-12">
                <label><?php echo e(meta('site_map', $lang) ?? __('settings.site_map')); ?></label>
                <input type="text" class="form-control <?php echo e($errors->has('site_map') ? 'is-invalid' : ''); ?>" name="site_map" placeholder="<?php echo e(meta('site_map', $lang) ?? __('settings.site_map')); ?>" value='<?php echo e(old("site_map", $settings->site_map ?? "")); ?>'/>
            </div>













        
        <div class="form-group col-lg-12">
            <label><?php echo e(meta('website_logo', $lang) ?? __('settings.website_logo')); ?> </label>
            <input id="image_thumbnail" class="image_thumbnail" type="hidden" name="website_logo" value="<?php echo e(old("website_logo", $settings->website_logo ?? "")); ?>"/>

            <div class="photos main_photo <?php echo e(old('website_logo', $settings->website_logo ?? '') ? ' wow fadeInUp' : 'hide'); ?>">
                <div class="col-lg-4">
                    <div class="items">
                        <div class="img">
                            <a href="#" id="lfm" data-input=".image_thumbnail" data-preview=".image_holder" class="lfm" data-hide=".pick_button">
                                <img src="<?php echo e(asset(old('website_logo', $settings->website_logo ?? ''))); ?> "  id="image_holder" class="image_holder"/>
                            </a>
                        </div>
                        <a href="#" class="showHide resetImage close" data-empty=".image_thumbnail" data-hide=".main_photo" data-show=".pick_button"><i class="fas fa-times"></i></a>
                    </div>
                </div>
            </div>

            <div class="clearfix"></div>
            <span class="input-group-btn pick_button <?php echo e(old('website_logo', $settings->website_logo ?? '') ? 'hide' : ''); ?> ">
                <a id="lfm" data-input=".image_thumbnail" data-preview=".image_holder" data-show=".main_photo" data-hide=".pick_button" class="lfm btn btn-primary text-light">
                    <i class="fas fa-camera-retro"></i> <?php echo e(__('dashboard.choose')); ?>

                </a>
            </span>
        </div>
        

        <div class="text-center mt-5 col-12">
            <button class="butn site_settings_button"><span><?php echo e(__('dashboard.save')); ?></span></button>
        </div>
    </form>
</div>
<?php /**PATH /home1/procarecom/public_html/resources/views/admin/settings/site_settings.blade.php ENDPATH**/ ?>