
<?php $__env->startSection('title'); ?>
<?php echo e(__("message.News")); ?>

<?php $__env->stopSection(); ?>
<?php $__env->startSection('content'); ?>
<!--Page header-->
<div class="page-header">
   <h3 class="page-title"><?php echo e(__("message.News")); ?></h3>
   <div class="col-sm-6">
    
      <ol class="breadcrumb float-sm-right">
    
         <li class="breadcrumb-item"><a href="<?php echo e(route('admin-dashboard')); ?>"><?php echo e(__("message.Home")); ?></a></li>
         <li class="breadcrumb-item active"><?php echo e(__("message.News")); ?></li>
      </ol>
   </div>
</div>

	<div class="col-xl-12 col-lg-12">
		<div class="card">
			<div class="card-body">
				<div class="card-header ">
					<div class="card-title"><?php echo e(__("message.News")); ?></div>
				</div>
				<div class="card-body ">
				<?php if(Session::has('message')): ?>
				
          		<div class="col-sm-12">
                     <div class="alert  <?php echo e(Session::get('alert-class', 'alert-info')); ?> alert-dismissible fade show" role="alert"><?php echo e(Session::get('message')); ?>

                        <button type="button" class="close" data-dismiss="alert" aria-label="Close">
                        <span aria-hidden="true">&times;</span>
                        </button>
                     </div>
                </div>
             	<?php endif; ?>
			 	<form  action="<?php echo e(route('post-news')); ?>" method="post" enctype="multipart/form-data">
			 		<?php echo e(csrf_field()); ?>

				        <input type="hidden" value="<?php echo e(isset($data->id)?$data->id:''); ?>" name="id">
						<div class="form-group">
                             <label for="name"><?php echo e(__("message.Description")); ?><span class="reqfield">*</span></label>
                             <textarea id="description" name="news" required class="ckeditor form-control">
                                <?php echo e(isset($data->email)?$data->email:''); ?>

                             </textarea>                           
                         </div>
						<div class="card-footer text-end">
        					<?php if(Session::get("is_demo")==1): ?>
                                <button type="button" class="btn btn-success" onclick="disablebtn()"><?php echo e(__('message.Send News')); ?></button>
                            <?php else: ?>
                                <button type="submit" class="btn btn-success"><?php echo e(__('message.Send News')); ?></button>
                            <?php endif; ?>
    						<a href="javascript:void0;" class="btn btn-danger"><?php echo e(__("message.Cancel")); ?></a>
						</div>
					<!-- </div> -->
            	</form>
        	</div>
        </div>
		</div>
	</div>
<!-- </div> -->
<!-- End Row-->
<?php $__env->stopSection(); ?>
<?php echo $__env->make('admin.layout.index', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home2/freakd1c/public_html/demo/laboratory/resources/views/admin/news.blade.php ENDPATH**/ ?>