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


<div class="card">
    <div class="d-sm-flex align-items-center justify-content-between">
    <h5 class=" mb-0 text-gray-800 pl-3"><?php echo e(__('Website Contents')); ?></h5>
    <ol class="breadcrumb">
        <li class="breadcrumb-item"><a href="<?php echo e(route('admin.dashboard')); ?>"><?php echo e(__('Dashboard')); ?></a></li>
        <li class="breadcrumb-item"><a href="javascript:;"><?php echo e(__('General Settings')); ?></a></li>
        <li class="breadcrumb-item"><a href="<?php echo e(route('admin-gs-contents')); ?>"><?php echo e(__('Website Contents')); ?></a></li>
    </ol>
    </div>
</div>

<div class="row justify-content-center mt-3">
    <div class="col-lg-6">
      <!-- Form Basic -->
      <div class="card mb-4">
        <div class="card-header py-3 d-flex flex-row align-items-center justify-content-between">
          <h6 class="m-0 font-weight-bold text-primary"><?php echo e(__('Website Contents Form')); ?></h6>
        </div>

        <div class="card-body">
          <div class="gocover" style="background: url(<?php echo e(asset('assets/images/'.$gs->admin_loader)); ?>) no-repeat scroll center center rgba(45, 45, 45, 0.5);"></div>
          <form class="geniusform" action="<?php echo e(route('admin-gs-update')); ?>" method="POST" enctype="multipart/form-data">

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

              <?php echo e(csrf_field()); ?>


              <div class="form-group">
                <label for="inp-title"><?php echo e(__('Use HTTPS')); ?></label>
                <div class="frm-btn btn-group mb-1">
                    <button type="button" class="btn btn-sm btn-rounded dropdown-toggle btn-<?php echo e($gs->is_secure == 1 ? 'success' : 'danger'); ?>" data-toggle="dropdown"
                      aria-haspopup="true" aria-expanded="false">
                      <?php echo e($gs->is_secure == 1 ? __('Activated') : __('Deactivated')); ?>

                    </button>
                    <div class="dropdown-menu">
                      <a class="dropdown-item drop-change" href="javascript:;" data-status="1" data-val="<?php echo e(__('Activated')); ?>" data-href="<?php echo e(route('admin-gs-status',['is_secure',1])); ?>"><?php echo e(__('Activate')); ?></a>
                      <a class="dropdown-item drop-change" href="javascript:;" data-status="0" data-val="<?php echo e(__('Deactivated')); ?>" data-href="<?php echo e(route('admin-gs-status',['is_secure',0])); ?>"><?php echo e(__('Deactivate')); ?></a>
                    </div>
                  </div>
            </div>


            <div class="form-group">
              <label for="inp-title"><?php echo e(__('Disqus')); ?></label>
              <div class="frm-btn btn-group mb-1">
                  <button type="button" class="btn btn-sm btn-rounded dropdown-toggle btn-<?php echo e($gs->is_disqus == 1 ? 'success' : 'danger'); ?>" data-toggle="dropdown"
                    aria-haspopup="true" aria-expanded="false">
                    <?php echo e($gs->is_disqus == 1 ? __('Activated') : __('Deactivated')); ?>

                  </button>
                  <div class="dropdown-menu">
                    <a class="dropdown-item drop-change" href="javascript:;" data-status="1" data-val="<?php echo e(__('Activated')); ?>" data-href="<?php echo e(route('admin-gs-status',['is_disqus',1])); ?>"><?php echo e(__('Activate')); ?></a>
                    <a class="dropdown-item drop-change" href="javascript:;" data-status="0" data-val="<?php echo e(__('Deactivated')); ?>" data-href="<?php echo e(route('admin-gs-status',['is_disqus',0])); ?>"><?php echo e(__('Deactivate')); ?></a>
                  </div>
                </div>
          </div>

          <div class="form-group">
            <label for="inp-title"><?php echo e(__('Capcha')); ?></label>
            <div class="frm-btn btn-group mb-1">
                <button type="button" class="btn btn-sm btn-rounded dropdown-toggle btn-<?php echo e($gs->is_capcha == 1 ? 'success' : 'danger'); ?>" data-toggle="dropdown"
                  aria-haspopup="true" aria-expanded="false">
                  <?php echo e($gs->is_capcha == 1 ? __('Activated') : __('Deactivated')); ?>

                </button>
                <div class="dropdown-menu">
                  <a class="dropdown-item drop-change" href="javascript:;" data-status="1" data-val="<?php echo e(__('Activated')); ?>" data-href="<?php echo e(route('admin-gs-status',['is_capcha',1])); ?>"><?php echo e(__('Activate')); ?></a>
                  <a class="dropdown-item drop-change" href="javascript:;" data-status="0" data-val="<?php echo e(__('Deactivated')); ?>" data-href="<?php echo e(route('admin-gs-status',['is_capcha',0])); ?>"><?php echo e(__('Deactivate')); ?></a>
                </div>
              </div>
        </div>


        <div class="form-group">
          <label for="inp-title"><?php echo e(__('Login Email Verification')); ?></label>
          <div class="frm-btn btn-group mb-1">
              <button type="button" class="btn btn-sm btn-rounded dropdown-toggle btn-<?php echo e($gs->is_verification_email == 1 ? 'success' : 'danger'); ?>" data-toggle="dropdown"
                aria-haspopup="true" aria-expanded="false">
                <?php echo e($gs->is_verification_email == 1 ? __('Activated') : __('Deactivated')); ?>

              </button>
              <div class="dropdown-menu">
                <a class="dropdown-item drop-change" href="javascript:;" data-status="1" data-val="<?php echo e(__('Activated')); ?>" data-href="<?php echo e(route('admin-gs-status',['is_verification_email',1])); ?>"><?php echo e(__('Activate')); ?></a>
                <a class="dropdown-item drop-change" href="javascript:;" data-status="0" data-val="<?php echo e(__('Deactivated')); ?>" data-href="<?php echo e(route('admin-gs-status',['is_verification_email',0])); ?>"><?php echo e(__('Deactivate')); ?></a>
              </div>
            </div>
        </div>


        <div class="form-group">
          <label for="inp-title"><?php echo e(__('Youtube Api')); ?></label>
          <div class="frm-btn btn-group mb-1">
              <button type="button" class="btn btn-sm btn-rounded dropdown-toggle btn-<?php echo e($gs->is_youtube_api == 1 ? 'success' : 'danger'); ?>" data-toggle="dropdown"
                aria-haspopup="true" aria-expanded="false">
                <?php echo e($gs->is_youtube_api == 1 ? __('Activated') : __('Deactivated')); ?>

              </button>
              <div class="dropdown-menu">
                <a class="dropdown-item drop-change" href="javascript:;" data-status="1" data-val="<?php echo e(__('Activated')); ?>" data-href="<?php echo e(route('admin-gs-status',['is_youtube_api',1])); ?>"><?php echo e(__('Activate')); ?></a>
                <a class="dropdown-item drop-change" href="javascript:;" data-status="0" data-val="<?php echo e(__('Deactivated')); ?>" data-href="<?php echo e(route('admin-gs-status',['is_youtube_api',0])); ?>"><?php echo e(__('Deactivate')); ?></a>
              </div>
            </div>
        </div>


              <div class="form-group">
                  <label for="inp-title"><?php echo e(__('Website Title')); ?></label>
                  <input type="text" class="form-control" id="inp-title" name="title"  placeholder="<?php echo e(__('Enter Website Title')); ?>" value="<?php echo e($gs->title); ?>" required>
              </div>

            <div class="form-group">
              <label for="cp3"><?php echo e(__('Website Color')); ?></label>
              <div class="cp-container" id="cp3-container">
                <div class="input-group" title="Using input value">
                <input id="cp3" type="text" name="colors" class="form-control" value="<?php echo e($gs->colors); ?>" autocomplete="off"/>
                  <div class="input-group-append">
                    <button type="button" class="btn btn-primary colorpicker-input-addon"><i></i></button>
                  </div>
                </div>
              </div>
            </div>

            <div class="form-group">
              <label for="youtube-api"><?php echo e(__('Youtube Api Key')); ?></label>
              <textarea name="youtube_api_key" class="form-control" id="youtube-api" cols="30" rows="5"><?php echo e($gs->youtube_api_key); ?></textarea>
            </div>


            <div class="form-group">
              <label for="copyright-text"><?php echo e(__('Copyright Text')); ?></label>
              <textarea name="copyright" class="summernote" id="copyright-text" cols="30" rows="10"><?php echo e($gs->copyright); ?></textarea>
          </div>


              <button type="submit" id="submit-btn" class="btn btn-primary"><?php echo e(__('Submit')); ?></button>

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

      <!-- Form Sizing -->


      <!-- Horizontal Form -->

    </div>


  </div>
  <!--Row-->

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

<?php echo $__env->make('layouts.admin', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/royaldem/public_html/project/resources/views/admin/generalsetting/websitecontent.blade.php ENDPATH**/ ?>