<?php $__env->startSection('content'); ?>
<div class="clearfix">
    <div class="full-width-container">
        <?php echo $__env->make('masterHeaderAdmin', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
        <main class="main-container">
            <?php echo $__env->make('masterSidebar', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
            <div class="page-body">
                <?php
                    $vaiTro = Session::get('VaiTro');
                    $bangquyen = Session::get('BangQuyen');
                ?>
                <div class="nav-breadcrumbs">
                    <ul class="breadcrumbs">
                        <li>
                            <a href="<?php echo e(route('admin')); ?>" class="breadcrumbs-link">TRANG CHỦ</a>
                        </li>
                        <li>
                            <a href="<?php echo e(route('quanlytintuc')); ?>" class="breadcrumbs-link">QUẢN LÝ TIN TỨC</a>
                        </li>
                    </ul>
                    <a href="<?php echo e(route('admin')); ?>" class="page-button">
                        <i class="fa-solid fa-rotate-left"></i> Quay lại
                    </a>
                </div>
                <div class="nav-item-container">
                    <?php if(in_array(4, $bangquyen)): ?>
                    <a href="<?php echo e(route('baiviet')); ?>" class="nav-item">
                        <i class="fa-solid fa-pen-to-square nav-item-icon"></i>
                        <p class="nav-item-name">Thêm bài viết</p>
                    </a>
                    <?php endif; ?>
                    <?php if(in_array(5, $bangquyen)): ?>
                    <a href="<?php echo e(route('danhsachbaiviet')); ?>" class="nav-item">
                        <i class="fa-solid fa-file-contract nav-item-icon"></i>
                        <p class="nav-item-name">Danh sách bài viết</p>
                    </a>
                    <?php endif; ?>
                    <?php if(in_array(6, $bangquyen)): ?>
                    <a href="<?php echo e(route('loaitin')); ?>" class="nav-item">
                        <i class="fa-regular fa-rectangle-list nav-item-icon"></i>
                        <p class="nav-item-name">Danh sách loại tin</p>
                    </a>
                    <?php endif; ?>
                    <?php if(in_array(7, $bangquyen)): ?>
                    <a href="<?php echo e(route('theloai')); ?>" class="nav-item">
                        <i class="fa-solid fa-file-invoice nav-item-icon"></i>
                        <p class="nav-item-name">Danh sách thể loại</p>
                    </a>
                    <?php endif; ?>
                    <?php if($vaiTro == 'SYSTEM_ADMIN'): ?>
                    <a href="<?php echo e(route('danhsachmenu')); ?>" class="nav-item">
                        <i class="fa-solid fa-bars nav-item-icon"></i>
                        <p class="nav-item-name">Danh sách Menu</p>
                    </a>
                    <?php endif; ?>
                </div>
            </div>
        </main>

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

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