

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

<div class="content-header">
  <div class="container-fluid">
    <div class="row mb-2">
      <div class="col-sm-6">
        <h1 class="m-0 text-dark">LIVETV Settings</h1>
      </div>
      <div class="col-sm-6">
        <ol class="breadcrumb float-sm-right">
          <li class="breadcrumb-item"><a href="<?php echo e(route('home')); ?>">Home</a></li>
          <li class="breadcrumb-item active">LIVETV Settings</li>
        </ol>
      </div>
    </div>
  </div>
</div>

<div class="card">
  <div class="card-header">
    <h3 class="card-title">LIVETV Settings</h3>
  </div>

  <div class="card-body">

    <div class="modal-header">
      <h4 class="modal-title">LIVETV Settings</h4>

      <?php if($livetv->status == 1): ?>
        <a href="<?php echo e(route('deactive.livetv',$livetv->id)); ?>" class="btn btn-danger float-right">Deactivate</a>
      <?php else: ?>
        <a href="<?php echo e(route('active.livetv',$livetv->id)); ?>" class="btn btn-success float-right">Activate</a>
      <?php endif; ?>

    </div>

    <div class="modal-body">

      <form action="<?php echo e(route('update.livetv',$livetv->id)); ?>" method="POST">
        <?php echo csrf_field(); ?>

        <div class="form-group">
          <label>Embed Code</label>

          <textarea class="form-control" name="embed_code" style="height:300px;" required><?php echo e($livetv->embed_code); ?></textarea>

          <?php if($livetv->status == 1): ?>
            <small class="text-success">Now LiveTV is Active</small>
          <?php else: ?>
            <small class="text-danger">Now LiveTV is Deactive</small>
          <?php endif; ?>

        </div>

        <button type="submit" class="btn btn-success btn-block">Update</button>

      </form>

    </div>

  </div>
</div>

<?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.app', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?><?php /**PATH /home/dhakasupplier/bdcrimewatch.com/resources/views/backend/setting/livetv.blade.php ENDPATH**/ ?>