<div class="border-item">
    <form class="form-row" 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>Website And Dashboard Disabled</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; ?>































        <div class="form-group col-lg-6">
            <label><?php echo e(meta('website_name', $lang) ?? __('settings.website_name')); ?></label>
            <input type="text" class="form-control <?php echo e($errors->has('website_name') ? 'is-invalid' : ''); ?>" name="website_name" placeholder="<?php echo e(meta('website_name', $lang) ?? __('settings.website_name')); ?>" value='<?php echo e(old("website_name", $settings->website_name ?? "")); ?>'/>
        </div>
        <div class="form-group col-lg-6">
            <label><?php echo e(meta('Keywords', $lang) ?? __('settings.keywords')); ?></label>
            <input type="text" class="form-control <?php echo e($errors->has('keywords') ? 'is-invalid' : ''); ?>" name="keywords" placeholder="<?php echo e(meta('Keywords', $lang) ?? __('settings.keywords')); ?>" value='<?php echo e(old("keywords", $settings->keywords ?? "")); ?>'/>
        </div>
        <div class="form-group col-lg-6">
            <label><?php echo e(meta('meta_description', $lang) ?? __('settings.meta_description')); ?></label>
            <input type="text" class="form-control <?php echo e($errors->has('meta_description') ? 'is-invalid' : ''); ?>" name="meta_description" placeholder="<?php echo e(meta('meta_description', $lang) ?? __('settings.meta_description')); ?>" value='<?php echo e(old("meta_description", $settings->meta_description ?? "")); ?>'/>
        </div>
        <div class="form-group col-lg-6">
            <label><?php echo e(meta('technical_support_phone', $lang) ?? __('settings.technical_support_phone')); ?></label>
            <input type="tel" class="form-control <?php echo e($errors->has('technical_support_phone') ? 'is-invalid' : ''); ?>" name="technical_support_phone" placeholder="<?php echo e(meta('technical_support_phone', $lang) ?? __('settings.technical_support_phone')); ?>" value='<?php echo e(old("technical_support_phone", $settings->technical_support_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('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('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('employee_email', $lang) ?? __('settings.employee_email')); ?></label>
                <input type="email" class="form-control <?php echo e($errors->has('employee_email') ? 'is-invalid' : ''); ?>" name="employee_email" placeholder="<?php echo e(meta('employee_email', $lang) ?? __('settings.employee_email')); ?>" value='<?php echo e(old("employee_email", $settings->employee_email ?? "")); ?>'/>
            </div>
            <div class="form-group col-lg-6">
                <label><?php echo e(meta('sales_email', $lang) ?? __('settings.sales_email')); ?></label>
                <input type="email" class="form-control <?php echo e($errors->has('sales_email') ? 'is-invalid' : ''); ?>" name="sales_email" placeholder="<?php echo e(meta('sales_email', $lang) ?? __('settings.sales_email')); ?>" value='<?php echo e(old("sales_email", $settings->sales_email ?? "")); ?>'/>
            </div>
            <div class="form-group col-lg-6">
                <label><?php echo e(meta('complaints_email', $lang) ?? __('settings.complaints_email')); ?></label>
                <input type="email" class="form-control <?php echo e($errors->has('complaints_email') ? 'is-invalid' : ''); ?>" name="complaints_email" placeholder="<?php echo e(meta('complaints_email', $lang) ?? __('settings.complaints_email')); ?>" value='<?php echo e(old("complaints_email", $settings->complaints_email ?? "")); ?>'/>
            </div>
        <div class="form-group col-lg-6">
            <label><?php echo e(meta('facebook', $lang) ?? __('settings.facebook')); ?></label>
            <input type="url" 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="url" 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="url" 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('youtube', $lang) ?? __('settings.youtube')); ?></label>
                <input type="url" class="form-control <?php echo e($errors->has('youtube') ? 'is-invalid' : ''); ?>" name="youtube" placeholder="<?php echo e(meta('youtube', $lang) ?? __('settings.youtube')); ?>" value='<?php echo e(old("youtube", $settings->youtube ?? "")); ?>'/>
            </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('work_time', $lang) ?? __('settings.work_time')); ?></label>
                <input type="text" class="form-control <?php echo e($errors->has('work_time') ? 'is-invalid' : ''); ?>" name="work_time" placeholder="<?php echo e(meta('work_time', $lang) ?? __('settings.work_time')); ?>" value='<?php echo e(old("work_time", $settings->work_time ?? "")); ?>'/>
            </div>
            <div class="form-group col-lg-6">
                <label><?php echo e(meta('institution_address', $lang) ?? __('settings.institution_address')); ?></label>
                <input type="text" class="form-control <?php echo e($errors->has('institution_address') ? 'is-invalid' : ''); ?>" name="institution_address" placeholder="<?php echo e(meta('institution_address', $lang) ?? __('settings.institution_address')); ?>" value='<?php echo e(old("institution_address", $settings->institution_address ?? "")); ?>'/>
            </div>
            <div class="form-group col-lg-6">
                <label><?php echo e(meta('site_map', $lang) ?? __('settings.site_map')); ?></label>
                <input type="url" 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-3">
                <label><?php echo e(meta('completed_projects', $lang) ?? __('settings.completed_projects')); ?></label>
                <input type="number" min="1" class="form-control <?php echo e($errors->has('completed_projects') ? 'is-invalid' : ''); ?>" name="completed_projects" placeholder="<?php echo e(meta('completed_projects', $lang) ?? __('settings.completed_projects')); ?>" value='<?php echo e(old("completed_projects", $settings->completed_projects ?? "")); ?>'/>
            </div>
            <div class="form-group col-lg-3">
                <label><?php echo e(meta('professional_engineers', $lang) ?? __('settings.professional_engineers')); ?></label>
                <input type="number" min="1" class="form-control <?php echo e($errors->has('professional_engineers') ? 'is-invalid' : ''); ?>" name="professional_engineers" placeholder="<?php echo e(meta('professional_engineers', $lang) ?? __('settings.professional_engineers')); ?>" value='<?php echo e(old("professional_engineers", $settings->professional_engineers ?? "")); ?>'/>
            </div>
            <div class="form-group col-lg-3">
                <label><?php echo e(meta('project_request', $lang) ?? __('settings.project_request')); ?></label>
                <input type="number" min="1" class="form-control <?php echo e($errors->has('project_request') ? 'is-invalid' : ''); ?>" name="project_request" placeholder="<?php echo e(meta('project_request', $lang) ?? __('settings.project_request')); ?>" value='<?php echo e(old("project_request", $settings->project_request ?? "")); ?>'/>
            </div>
            <div class="form-group col-lg-3">
                <label><?php echo e(meta('work_branches', $lang) ?? __('settings.work_branches')); ?></label>
                <input type="number" min="1" class="form-control <?php echo e($errors->has('work_branches') ? 'is-invalid' : ''); ?>" name="work_branches" placeholder="<?php echo e(meta('work_branches', $lang) ?? __('settings.work_branches')); ?>" value='<?php echo e(old("work_branches", $settings->work_branches ?? "")); ?>'/>
            </div>
























        <div class="form-group col-lg-6">
            <label><?php echo e(meta('mail_driver', $lang) ?? __('settings.mail_driver')); ?></label>
            <input type="text" readonly class="form-control bg-white <?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" readonly class="form-control bg-white <?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" readonly class="form-control bg-white <?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" readonly class="form-control bg-white <?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" readonly class="form-control bg-white <?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" readonly class="form-control bg-white <?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('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-12">
                        <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> Choose
                </a>
            </span>
            </div>
            

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

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

                <div class="clearfix"></div>
                <span class="input-group-btn factory_profile_pick_button <?php echo e(old('factory_profile', $settings->factory_profile ?? '') ? 'hide' : ''); ?> ">
                <a id="lfm" data-input=".factory_profile_thumbnail" data-preview=".factory_profile_holder" data-show=".factory_profile_main_photo" data-hide=".factory_profile_pick_button" class="lfm btn btn-primary text-light">
                    <i class="fas fa-camera-retro"></i> Choose
                </a>
            </span>
            </div>
            


        <div class="text-center mt-5 col-12">
            <button class="butn"><span><?php echo e(__('dashboard.save')); ?></span></button>
        </div>
    </form>
</div>
<?php /**PATH C:\wamp64\www\fulath\resources\views/admin/settings/site_settings.blade.php ENDPATH**/ ?>