
<?php $__env->startSection('content'); ?>
<!-- Content Header (Page header) -->
<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><!-- /.col -->
      <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><!-- /.col -->
    </div><!-- /.row -->
  </div><!-- /.container-fluid -->
</div>



          <div class="card">
            <div class="card-header">
              <h3 class="card-title"> LIVETV Settings</h3>
            
            </div>
            <!-- /.card-header -->
            <div class="card-body col-lg-12">
                    <div class="modal-content">
                      <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)); ?>" style="float: right" class="btn btn-danger">Deactive</a>
                         <?php else: ?>
                           <a href="<?php echo e(route('active.livetv',$livetv->id)); ?>" style="float: right" class="btn btn-success">Active</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 for="exampleInputEmail1">Embed Code</label>
                             <textarea type="text" class="form-control " aria-describedby="emailHelp" name="embed_code" required="">  
                             	<?php echo e($livetv->embed_code); ?>

                             </textarea>
                             <?php if($livetv->status == 1): ?>
                                 <small class="text-success">Now LiveTV are Active</small>
                             <?php else: ?>
                                 <small class="text-danger">Now LiveTV are Deactive</small>
                              <?php endif; ?>
                           </div>
                        
                          
                 <div class="row">
                  <div class="form-group col-md-12">
                    <label for="exampleInputEmail1">Live TV Link</label>
                    <input type="text" class="form-control" id="exampleInputEmail1"  name="livetvlink" value="<?php echo e($livetv->livetvlink); ?>">
                  </div>
               </div>
                           <button type="submit" class="btn btn-success btn-block">Update</button>
                         </form>
                      </div>
                    </div>
            </div>
            <!-- /.card-body -->
          </div>


<?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/elitedesignbd/public_html/news3.elitedesign.com.bd/resources/views/backend/setting/livetv.blade.php ENDPATH**/ ?>