
<?php $__env->startSection('title','Blog'); ?>
<?php $__env->startSection('main'); ?>

<?php $__currentLoopData = $blog; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $b): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<div class="main">
	<h2><strong>View Blog</strong></h2>
	<hr><br>
	<div class="data-content">
		<div class="border pt-2 pb-2 ps-lg-5 pe-lg-5 ps-md-3 pe-md-3">
			<div class="top">
				<h2><strong><?php echo e($b->judul); ?></strong></h2>
				<br>
				<hr>
				<br>
				<div class="float-start col-6">
					<i class="fas fa-calendar me-2"></i><strong> <?= date('d/F/Y', strtotime($b->change)) ?> WIB</strong>
				</div>
				<div class="float-end col-6 text-end">
					<i class="fas fa-user-circle me-2"></i><strong> Author : <?php echo e($b->author); ?></strong>
				</div>
				<div class="clearfix"></div>
				<img src="<?php echo e(asset('mystyle/image/blog/'.$b->featured_image)); ?>" width="100%">
				<br>
				<i class="fas fa-eye me-1"></i> <?php echo e($b->view); ?> <i class="fas fa-heart ms-1 me-1"></i> <?php echo e($b->suka); ?>

				<hr class="mt-2 mb-2">
				<div>
					<?= "".$b->content."" ?>
				</div>
			</div>
		</div>
	</div>
</div>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>

<?php $__env->stopSection(); ?>
<?php echo $__env->make('template.template', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH C:\xampp\htdocs\rezabackend\resources\views/admin/viewblog.blade.php ENDPATH**/ ?>