<?php echo $__env->make('nn_site.partials.header', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>

    <section class="section projects publics">
        <div class="container">
            <div class="row">
                <div class="col-md-12">
                    <div class="projects-ul">
                        <ul>
                            <li <?php echo e(!isset($slug) ? 'class=active':''); ?>><a href="<?php echo e(fullUrl('publications')); ?>" title="<?php echo e($translate->all); ?>"><?php echo e($translate->all); ?></a></li>
                            <?php $__currentLoopData = $pubpages; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $pubpage): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                            <li <?php echo e(($slug == $pubpage->slug)? 'class=active':''); ?>><a href="<?php echo e(fullUrl('publications/'.$pubpage->slug)); ?>" title="<?php echo e($pubpage->name); ?>"><?php echo e($pubpage->name); ?></a></li>
                            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                        </ul>
                        <!--<div class="selec">-->
                        <!--    <select name="" onChange="location.href=this.value" id="publics" class="select">-->
                        <!--    <option value="<?php echo e(fullUrl('publications/'.$slug)); ?>"><?php echo e($translate->choosePublication); ?></option>-->
                        <!--        <?php $__currentLoopData = $category; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $c): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>-->
                               
                        <!--        <option value="<?php echo e(fullUrl('publications/'.($slug ? $slug .'/' : '') .'?category='.$c->id)); ?>" <?php echo e((request()->get('category') && request()->get('category') == $c->id)? 'selected':""); ?>><?php echo e($c->name); ?></option>-->
                        <!--        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>-->
                      
                        <!--    </select>-->
                            <!-- /#.select -->
                        <!--</div>-->
                        <!-- /.selec -->
                    </div>
                    <!-- /.projects-ul -->
                </div>
                <!-- /.col-md-12 -->

                <?php $__currentLoopData = $publications; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $pub): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                    <div class="col-md-6">
                        <div class="public-item">
                            <div class="public-item__date">
                                <p><?php echo e(formatDate($pub->created_at,$pub->sDate)); ?><?php echo e($translate->yearSymbol); ?></p>
                                <span>
                                    <a nohref><?php echo e(isset($menu_items) ? $menu_items->where('slug', ($pub->collection_id == 3 ? 'articles' : 'dissertations'))->first()->name : $menu_item->name); ?></a>
                                </span>
                            </div>
                            <!-- /.public-item__date -->
                            <h2>
                                <a href="<?php echo e(fullUrl('publication/'.$pub->slug)); ?>" title="<?php echo e($pub->name); ?>"><?php echo e($pub->name); ?>

                                </a> </h2>
                            <div class="public-item__author">
                                <!--<p><?php echo e($pub->catname); ?></p>-->
                                <h3><span><?php echo e($translate->author); ?>:&nbsp;</span> <?php echo e($pub->description); ?></h3>
                            </div>
                            <!-- /.public-item__author -->
                        </div>
                    </div>
                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
              
                <div class="col-md-12 mt-4">
                    <!-- Pagination -->
                    <?php echo $__env->make('nn_site.partials.pager',['items'=>$publications, 'slug'=>'publications/'.$slug. (request()->route('category') ? '/'. request()->route('category') : '')], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
                </div>
            </div>
            <!-- /.row -->
        </div>
        <!-- /.container -->
    </section>
    <!-- /.section projects -->
    <?php echo $__env->make('nn_site.partials.footer', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
<?php /**PATH /home/ttqpucgs/public_html/resources/views/nn_site/pages/publications.blade.php ENDPATH**/ ?>