
<?php $__env->startSection('content'); ?>
<div class="page-header">
   <h4 class="page-title">Plugins</h4>
   <ul class="breadcrumbs">
      <li class="nav-home">
         <a href="<?php echo e(route('admin.dashboard')); ?>">
         <i class="flaticon-home"></i>
         </a>
      </li>
      <li class="separator">
         <i class="flaticon-right-arrow"></i>
      </li>
      <li class="nav-item">
         <a href="#">Basic Settings</a>
      </li>
      <li class="separator">
         <i class="flaticon-right-arrow"></i>
      </li>
      <li class="nav-item">
         <a href="#">Plugins</a>
      </li>
   </ul>
</div>
<div class="row">
   <div class="col-md-12">
      <form id="scriptForm" class="" action="<?php echo e(route('admin.script.update')); ?>" method="post">
         <?php echo csrf_field(); ?>
         <div class="row">
            <div class="col-lg-4">
               <div class="card">
                  <div class="card-header">
                     <div class="row">
                        <div class="col-lg-12">
                           <div class="card-title">Facebook Login</div>
                        </div>
                     </div>
                  </div>
                  <div class="card-body">
                     <div class="row">
                        <div class="col-lg-12">
                           <div class="form-group">
                              <label>Status</label>
                              <div class="selectgroup w-100">
                                 <label class="selectgroup-item">
                                 <input type="radio" name="is_facebook_login" value="1" class="selectgroup-input" <?php echo e($bex->is_facebook_login == 1 ? 'checked' : ''); ?>>
                                 <span class="selectgroup-button">Active</span>
                                 </label>
                                 <label class="selectgroup-item">
                                 <input type="radio" name="is_facebook_login" value="0" class="selectgroup-input" <?php echo e($bex->is_facebook_login == 0 ? 'checked' : ''); ?>>
                                 <span class="selectgroup-button">Deactive</span>
                                 </label>
                              </div>
                              <?php if($errors->has('is_facebook_login')): ?>
                              <p class="mb-0 text-danger"><?php echo e($errors->first('is_facebook_login')); ?></p>
                              <?php endif; ?>
                           </div>
                           <div class="form-group">
                              <label>Facebook App ID</label>
                              <input class="form-control" name="facebook_app_id" value="<?php echo e($bex->facebook_app_id); ?>">
                              <?php if($errors->has('facebook_app_id')): ?>
                              <p class="text-danger"><?php echo e($errors->first('facebook_app_id')); ?></p>
                              <?php endif; ?>
                           </div>
                           <div class="form-group">
                              <label>Facebook App Secret</label>
                              <input class="form-control" name="facebook_app_secret" value="<?php echo e($bex->facebook_app_secret); ?>">
                              <?php if($errors->has('facebook_app_secret')): ?>
                              <p class="text-danger"><?php echo e($errors->first('facebook_app_secret')); ?></p>
                              <?php endif; ?>
                              <p class="text-warning mb-0">Facebook App ID & App Secret are required for Facebook Login.</p>
                           </div>
                        </div>
                     </div>
                  </div>
               </div>
            </div>
            <div class="col-lg-4">
               <div class="card">
                  <div class="card-header">
                     <div class="row">
                        <div class="col-lg-12">
                           <div class="card-title">Google Login</div>
                        </div>
                     </div>
                  </div>
                  <div class="card-body">
                     <div class="row">
                        <div class="col-lg-12">
                           <div class="form-group">
                              <label>Status</label>
                              <div class="selectgroup w-100">
                                 <label class="selectgroup-item">
                                 <input type="radio" name="is_google_login" value="1" class="selectgroup-input" <?php echo e($bex->is_google_login == 1 ? 'checked' : ''); ?>>
                                 <span class="selectgroup-button">Active</span>
                                 </label>
                                 <label class="selectgroup-item">
                                 <input type="radio" name="is_google_login" value="0" class="selectgroup-input" <?php echo e($bex->is_google_login == 0 ? 'checked' : ''); ?>>
                                 <span class="selectgroup-button">Deactive</span>
                                 </label>
                              </div>
                              <?php if($errors->has('is_google_login')): ?>
                              <p class="mb-0 text-danger"><?php echo e($errors->first('is_google_login')); ?></p>
                              <?php endif; ?>
                           </div>
                           <div class="form-group">
                              <label>Google Client ID</label>
                              <input class="form-control" name="google_client_id" value="<?php echo e($bex->google_client_id); ?>">
                              <?php if($errors->has('google_client_id')): ?>
                              <p class="text-danger"><?php echo e($errors->first('google_client_id')); ?></p>
                              <?php endif; ?>
                           </div>
                           <div class="form-group">
                              <label>Google Client Secret</label>
                              <input class="form-control" name="google_client_secret" value="<?php echo e($bex->google_client_secret); ?>">
                              <?php if($errors->has('google_client_secret')): ?>
                              <p class="text-danger"><?php echo e($errors->first('google_client_secret')); ?></p>
                              <?php endif; ?>
                              <p class="text-warning mb-0">Goole Client ID & Client Secret are required for Facebook Login.</p>
                           </div>
                        </div>
                     </div>
                  </div>
               </div>
            </div>
            <div class="col-lg-4">
               <div class="card">
                  <div class="card-header">
                     <div class="card-title">WhatsApp Chat Button</div>
                  </div>
                  <div class="card-body">
                     <div class="form-group">
                        <label>Status</label>
                        <div class="selectgroup w-100">
                           <label class="selectgroup-item">
                           <input type="radio" name="is_whatsapp" value="1" class="selectgroup-input" <?php echo e($bex->is_whatsapp == 1 ? 'checked' : ''); ?>>
                           <span class="selectgroup-button">Active</span>
                           </label>
                           <label class="selectgroup-item">
                           <input type="radio" name="is_whatsapp" value="0" class="selectgroup-input" <?php echo e($bex->is_whatsapp == 0 ? 'checked' : ''); ?>>
                           <span class="selectgroup-button">Deactive</span>
                           </label>
                        </div>
                        <p class="text-warning mb-0">If you enable WhatsApp, then Tawk.to must be disabled.</p>
                     </div>
                     <div class="form-group">
                        <label>WhatsApp Number</label>
                        <input class="form-control" type="text" name="whatsapp_number" value="<?php echo e($bex->whatsapp_number); ?>">
                        <p class="text-warning mb-0">Enter Phone number with Country Code</p>
                     </div>
                     <div class="form-group">
                        <label>WhatsApp Header Title</label>
                        <input class="form-control" type="text" name="whatsapp_header_title" value="<?php echo e($bex->whatsapp_header_title); ?>">
                        <?php if($errors->has('whatsapp_header_title')): ?>
                        <p class="mb-0 text-danger"><?php echo e($errors->first('whatsapp_header_title')); ?></p>
                        <?php endif; ?>
                     </div>
                     <div class="form-group">
                        <label>WhatsApp Popup Message</label>
                        <textarea class="form-control" name="whatsapp_popup_message" rows="2"><?php echo e($bex->whatsapp_popup_message); ?></textarea>
                        <?php if($errors->has('whatsapp_popup_message')): ?>
                        <p class="mb-0 text-danger"><?php echo e($errors->first('whatsapp_popup_message')); ?></p>
                        <?php endif; ?>
                     </div>
                     <div class="form-group">
                        <label>Popup</label>
                        <div class="selectgroup w-100">
                           <label class="selectgroup-item">
                           <input type="radio" name="whatsapp_popup" value="1" class="selectgroup-input" <?php echo e($bex->whatsapp_popup == 1 ? 'checked' : ''); ?>>
                           <span class="selectgroup-button">Active</span>
                           </label>
                           <label class="selectgroup-item">
                           <input type="radio" name="whatsapp_popup" value="0" class="selectgroup-input" <?php echo e($bex->whatsapp_popup == 0 ? 'checked' : ''); ?>>
                           <span class="selectgroup-button">Deactive</span>
                           </label>
                        </div>
                        <?php if($errors->has('whatsapp_popup')): ?>
                        <p class="mb-0 text-danger"><?php echo e($errors->first('whatsapp_popup')); ?></p>
                        <?php endif; ?>
                     </div>
                  </div>
               </div>
            </div>
            <div class="col-lg-4">
               <div class="card">
                  <div class="card-header">
                     <div class="card-title">Tawk.to</div>
                  </div>
                  <div class="card-body">
                     <div class="form-group">
                        <label>Tawk.to Status</label>
                        <div class="selectgroup w-100">
                           <label class="selectgroup-item">
                           <input type="radio" name="is_tawkto" value="1" class="selectgroup-input" <?php echo e($bs->is_tawkto == 1 ? 'checked' : ''); ?>>
                           <span class="selectgroup-button">Active</span>
                           </label>
                           <label class="selectgroup-item">
                           <input type="radio" name="is_tawkto" value="0" class="selectgroup-input" <?php echo e($bs->is_tawkto == 0 ? 'checked' : ''); ?>>
                           <span class="selectgroup-button">Deactive</span>
                           </label>
                        </div>
                        <p class="text-warning mb-0">If you enable Tawk.to, then WhatsApp must be disabled.</p>
                     </div>
                     <div class="form-group">
                        <label>Tawk.to Script</label>
                        <textarea class="form-control" name="tawk_to_script" rows="5"><?php echo e($bs->tawk_to_script); ?></textarea>
                        <?php if($errors->has('tawk_to_script')): ?>
                        <p class="mb-0 text-danger"><?php echo e($errors->first('tawk_to_script')); ?></p>
                        <?php endif; ?>
                     </div>
                  </div>
               </div>
            </div>
            <div class="col-lg-4">
               <div class="card">
                  <div class="card-header">
                     <div class="card-title">Disqus</div>
                  </div>
                  <div class="card-body">
                     <div class="form-group">
                        <label>Disqus Status</label>
                        <div class="selectgroup w-100">
                           <label class="selectgroup-item">
                           <input type="radio" name="is_disqus" value="1" class="selectgroup-input" <?php echo e($bs->is_disqus == 1 ? 'checked' : ''); ?>>
                           <span class="selectgroup-button">Active</span>
                           </label>
                           <label class="selectgroup-item">
                           <input type="radio" name="is_disqus" value="0" class="selectgroup-input" <?php echo e($bs->is_disqus == 0 ? 'checked' : ''); ?>>
                           <span class="selectgroup-button">Deactive</span>
                           </label>
                        </div>
                        <?php if($errors->has('is_disqus')): ?>
                        <p class="mb-0 text-danger"><?php echo e($errors->first('is_disqus')); ?></p>
                        <?php endif; ?>
                     </div>
                     <div class="form-group">
                        <label>Disqus Script</label>
                        <textarea class="form-control" name="disqus_script" rows="5"><?php echo e($bs->disqus_script); ?></textarea>
                        <?php if($errors->has('disqus_script')): ?>
                        <p class="mb-0 text-danger"><?php echo e($errors->first('disqus_script')); ?></p>
                        <?php endif; ?>
                     </div>
                  </div>
               </div>
            </div>
            <div class="col-lg-4">
               <div class="card">
                  <div class="card-header">
                     <div class="card-title">
                        Google Analytics
                     </div>
                     <div class="card-body">
                        <div class="form-group">
                           <label>Google Analytics Status</label>
                           <div class="selectgroup w-100">
                              <label class="selectgroup-item">
                              <input type="radio" name="is_analytics" value="1" class="selectgroup-input" <?php echo e($bs->is_analytics == 1 ? 'checked' : ''); ?>>
                              <span class="selectgroup-button">Active</span>
                              </label>
                              <label class="selectgroup-item">
                              <input type="radio" name="is_analytics" value="0" class="selectgroup-input" <?php echo e($bs->is_analytics == 0 ? 'checked' : ''); ?>>
                              <span class="selectgroup-button">Deactive</span>
                              </label>
                           </div>
                           <?php if($errors->has('is_analytics')): ?>
                           <p class="mb-0 text-danger"><?php echo e($errors->first('is_analytics')); ?></p>
                           <?php endif; ?>
                        </div>
                        <div class="form-group">
                           <label>Google Analytics Script</label>
                           <textarea class="form-control" name="google_analytics_script" rows="5"><?php echo e($bs->google_analytics_script); ?></textarea>
                           <?php if($errors->has('google_analytics_script')): ?>
                           <p class="mb-0 text-danger"><?php echo e($errors->first('google_analytics_script')); ?></p>
                           <?php endif; ?>
                        </div>
                     </div>
                  </div>
               </div>
            </div>
            <div class="col-lg-4">
               <div class="card">
                  <div class="card-header">
                     <div class="card-title">
                        Appzi Feedback
                     </div>
                  </div>
                  <div class="card-body">
                     <div class="form-group">
                        <label>Appzi Feedback Status</label>
                        <div class="selectgroup w-100">
                           <label class="selectgroup-item">
                           <input type="radio" name="is_appzi" value="1" class="selectgroup-input" <?php echo e($bs->is_appzi == 1 ? 'checked' : ''); ?>>
                           <span class="selectgroup-button">Active</span>
                           </label>
                           <label class="selectgroup-item">
                           <input type="radio" name="is_appzi" value="0" class="selectgroup-input" <?php echo e($bs->is_appzi == 0 ? 'checked' : ''); ?>>
                           <span class="selectgroup-button">Deactive</span>
                           </label>
                        </div>
                        <?php if($errors->has('is_appzi')): ?>
                        <p class="mb-0 text-danger"><?php echo e($errors->first('is_appzi')); ?></p>
                        <?php endif; ?>
                     </div>
                     <div class="form-group">
                        <label>Appzi Feedback Script</label>
                        <textarea class="form-control" name="appzi_script" rows="5"><?php echo e($bs->appzi_script); ?></textarea>
                        <?php if($errors->has('appzi_script')): ?>
                        <p class="mb-0 text-danger"><?php echo e($errors->first('appzi_script')); ?></p>
                        <?php endif; ?>
                     </div>
                  </div>
               </div>
            </div>
            <div class="col-lg-4">
               <div class="card">
                  <div class="card-header">
                     <div class="card-title">
                        AddThis Social Share
                     </div>
                  </div>
                  <div class="card-body">
                     <div class="form-group">
                        <label>AddThis Status</label>
                        <div class="selectgroup w-100">
                           <label class="selectgroup-item">
                           <input type="radio" name="is_addthis" value="1" class="selectgroup-input" <?php echo e($bs->is_addthis == 1 ? 'checked' : ''); ?>>
                           <span class="selectgroup-button">Active</span>
                           </label>
                           <label class="selectgroup-item">
                           <input type="radio" name="is_addthis" value="0" class="selectgroup-input" <?php echo e($bs->is_addthis == 0 ? 'checked' : ''); ?>>
                           <span class="selectgroup-button">Deactive</span>
                           </label>
                        </div>
                        <?php if($errors->has('is_addthis')): ?>
                        <p class="mb-0 text-danger"><?php echo e($errors->first('is_addthis')); ?></p>
                        <?php endif; ?>
                     </div>
                     <div class="form-group">
                        <label>AddThis Script</label>
                        <textarea class="form-control" name="addthis_script" rows="5"><?php echo e($bs->addthis_script); ?></textarea>
                        <?php if($errors->has('addthis_script')): ?>
                        <p class="mb-0 text-danger"><?php echo e($errors->first('addthis_script')); ?></p>
                        <?php endif; ?>
                     </div>
                  </div>
               </div>
            </div>
            <div class="col-lg-4">
               <div class="card">
                  <div class="card-header">
                     <div class="card-title">
                        Google Recaptcha
                     </div>
                  </div>
                  <div class="card-body">
                     <div class="form-group">
                        <label>Google Recaptcha Status</label>
                        <div class="selectgroup w-100">
                           <label class="selectgroup-item">
                           <input type="radio" name="is_recaptcha" value="1" class="selectgroup-input" <?php echo e($bs->is_recaptcha == 1 ? 'checked' : ''); ?>>
                           <span class="selectgroup-button">Active</span>
                           </label>
                           <label class="selectgroup-item">
                           <input type="radio" name="is_recaptcha" value="0" class="selectgroup-input" <?php echo e($bs->is_recaptcha == 0 ? 'checked' : ''); ?>>
                           <span class="selectgroup-button">Deactive</span>
                           </label>
                        </div>
                        <?php if($errors->has('is_recaptcha')): ?>
                        <p class="mb-0 text-danger"><?php echo e($errors->first('is_recaptcha')); ?></p>
                        <?php endif; ?>
                     </div>
                     <div class="form-group">
                        <label>Google Recaptcha Site key</label>
                        <input class="form-control" name="google_recaptcha_site_key" value="<?php echo e($bs->google_recaptcha_site_key); ?>">
                        <?php if($errors->has('google_recaptcha_site_key')): ?>
                        <p class="mb-0 text-danger"><?php echo e($errors->first('google_recaptcha_site_key')); ?></p>
                        <?php endif; ?>
                     </div>
                     <div class="form-group">
                        <label>Google Recaptcha Secret key</label>
                        <input class="form-control" name="google_recaptcha_secret_key" value="<?php echo e($bs->google_recaptcha_secret_key); ?>">
                        <?php if($errors->has('google_recaptcha_secret_key')): ?>
                        <p class="mb-0 text-danger"><?php echo e($errors->first('google_recaptcha_secret_key')); ?></p>
                        <?php endif; ?>
                     </div>
                  </div>
               </div>
            </div>
            <div class="col-lg-4">
               <div class="card">
                  <div class="card-header">
                     <div class="card-title">
                        Facebook Pexel
                     </div>
                  </div>
                  <div class="card-body">
                     <div class="form-group">
                        <label>Facebook Pexel Status</label>
                        <div class="selectgroup w-100">
                           <label class="selectgroup-item">
                           <input type="radio" name="is_facebook_pexel" value="1" class="selectgroup-input" <?php echo e($be->is_facebook_pexel == 1 ? 'checked' : ''); ?>>
                           <span class="selectgroup-button">Active</span>
                           </label>
                           <label class="selectgroup-item">
                           <input type="radio" name="is_facebook_pexel" value="0" class="selectgroup-input" <?php echo e($be->is_facebook_pexel == 0 ? 'checked' : ''); ?>>
                           <span class="selectgroup-button">Deactive</span>
                           </label>
                        </div>
                        <?php if($errors->has('is_facebook_pexel')): ?>
                        <p class="mb-0 text-danger"><?php echo e($errors->first('is_facebook_pexel')); ?></p>
                        <?php endif; ?>
                     </div>
                     <div class="form-group">
                        <label>Facebook Pexel Script</label>
                        <textarea class="form-control" name="facebook_pexel_script" rows="5"><?php echo e($be->facebook_pexel_script); ?></textarea>
                        <?php if($errors->has('facebook_pexel_script')): ?>
                        <p class="mb-0 text-danger"><?php echo e($errors->first('facebook_pexel_script')); ?></p>
                        <?php endif; ?>
                     </div>
                  </div>
               </div>
            </div>
         </div>
         <div class="card">
            <div class="card-footer">
               <div class="form">
                  <div class="form-group from-show-notify row">
                     <div class="col-12 text-center">
                        <button type="submit" form="scriptForm" class="btn btn-success">Update</button>
                     </div>
                  </div>
               </div>
            </div>
         </div>
      </form>
   </div>
</div>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('admin.layout', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH D:\xampp\htdocs\plusagency\without-license\plusagency-3.2\core\resources\views/admin/basic/scripts.blade.php ENDPATH**/ ?>