<?php $__env->startSection('css_page_level'); ?>
<?php $__env->stopSection(); ?>
<?php $__env->startSection('page-content'); ?>
            <!-- CONTENT -->
            <div class="wrap-fluid" id="paper-bg">
                <div class="row">
                    <div class="col-lg-12">
                        <div class="box">
                            <div class="box-header">
                                <!-- tools box -->
                                <div class="pull-right box-tools">
                                </div>
                                <h3 class="box-title"><i class="fontello-doc"></i> 
                                    <span><?php echo e($type); ?></span>
                                </h3>
                            </div>
                            <!-- /.box-header -->
                            <div class="box-body">
                                
                                <div class="box-body table-responsive no-padding">
                                    <table class="table table-hover">
                                        <tbody><tr>
                                            <th><?php echo app('translator')->get('messages.title'); ?></th>
                                            <th><?php echo app('translator')->get('messages.publish_dept'); ?></th>
                                            <th><?php echo app('translator')->get('messages.time'); ?></th>
                                        </tr>

                                        <?php foreach($news as $one): ?>
                                        
                                        <tr>
                                            
                                                <td><a href="<?php echo e(route('website::news_view',['id'=> $one->id])); ?>"><?php echo e($one->title); ?></a></td>
                                                <td><?php echo e($one->author); ?></td>
                                                <td><?php echo e($one->created_at); ?></td>
                                            
                                        </tr>
                                        
                                        <?php endforeach; ?>
                                    </tbody></table>
                                    <?php echo $news->render(); ?>

                                </div>
                                <?php if($news->count() == 0): ?>
                                <div class="row">
                                    <div class="col-md-12">
                                        <div class="alert alert-warning">
                                            <button data-dismiss="alert" class="close" type="button">×</button>
                                            <span class="entypo-cancel-circled"></span>
                                            <strong><?php echo app('translator')->get('messages.sorry'); ?></strong>&nbsp;&nbsp;<?php echo app('translator')->get('messages.nowwwww'); ?><?php echo e($type); ?><?php echo app('translator')->get('messages.no_news_pub_yet'); ?>
                                        </div>
                                    </div>
                                </div>
                                <?php endif; ?>
                                <!-- /.box-body -->
                            </div>
                            <!-- /.box-body -->
                        </div>
                        <!-- /.box -->
                    </div>
                </div>


            </div>
            <!-- #/paper bg -->
<?php $__env->stopSection(); ?>
<?php echo $__env->make('layout.front', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>