
<?php $__env->startPush('css'); ?>

<?php $__env->stopPush(); ?>
<?php $__env->startSection('contents'); ?>
  
  <div class="archive-page2">
            <div class="container">


                <div class="row">   
                    <div class="col-lg-8 col-md-8">
                        <div class="rachive-info-cats">
                            <a href=""><i class="las la-home"> </i> <?php echo e(__('Home')); ?></a> 
                            <i class="las la-angle-right"></i> <?php echo e($parent->title); ?>

                            <i class="las la-angle-right"></i> <?php echo e($subcategory); ?>

                        </div>

                        <div class="archivePage-content2">
                            <div class="row">
                                

                                
                                                                     

                        <?php if($datas->count()>0): ?>
                            <?php $__currentLoopData = $datas; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $post): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                <div class="themesBazar-3 themesBazar-m2">
                                    <div class="archivePage-wrpp2">
                                        <div class="archive2-image">
                                            <img class="lazyload" src="<?php echo e(asset('assets/images/logo/'.$gs->lazy_baner)); ?>" data-src="<?php echo e(asset('assets/images/post/'.$post->image_big)); ?>" alt="<?php echo e(strlen($post->title)>50 ? mb_substr($post->title,0,50,'utf-8').'...' : $post->title); ?>" title="<?php echo e(strlen($post->title)>50 ? mb_substr($post->title,0,50,'utf-8').'...' : $post->title); ?>">

                                             

                                        </div>
                                        <h4 class="archivePage2-title">
                                            <a href="<?php echo e(route('frontend.details',[$post->id,$post->slug])); ?>"> <?php echo e(strlen($post->title)>50 ? mb_substr($post->title,0,50,'utf-8').'...' : $post->title); ?> </a>
                                        </h4>
                                        
                                        <div class="archive-meta2">
                                            <a href="<?php echo e(route('frontend.details',[$post->id,$post->slug])); ?>"><i class="las la-tags"> </i>  সংবাদ প্রকাশের তারিখঃ  <?php echo e($post->createdAt()); ?> ইং
  </a>
                                        </div>
                                    </div>
                                </div>
                            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                        <?php else: ?> 
							                            <div class="col-lg-12">
                                <div class="card">
                                    <div class="card-body">
                                        <p class="text-danger text-danger text-center"><?php echo e(__('This Sub Category has no News.')); ?></p>
                                    </div>
                                </div>
                            </div>
                        <?php endif; ?>
                                                                      


                                

                                 

                          
                                  <div style="text-align: center; margin:20px; display:display: ruby;">  </div>

                            
                                               

                            </div>
                         
                         
                            
                          
                            
                            
                            
                        </div>
                        
                    </div> 
                                 
 <div class="col-lg-4 aside">
                             
                <div class="celander-widget-area mt-4">
                  <?php echo $gs->sidebar_ads; ?>

                </div>
                <div class="celander-widget-area mt-4">
                        <div id="datecalender">
                        </div>
                </div>

				
                <div class="aside-newsletter-widget mt-3 subarea">
                    <h4 class="title"><?php echo e(__('Newsletter')); ?></h4>
                    <p class="text"><?php echo e(__('Subscribe to our newsletter to stay.')); ?></p>
                    <form action="<?php echo e(route('front.subscribers.store')); ?>" class="subscribe-form" method="POST" id="subForm">
                        <?php echo csrf_field(); ?>
                        <input type="text" placeholder="<?php echo e(__('Enter Your Email Address')); ?>" name="email" class="subEmail">
                        <button type="submit" class="submit subBtn"><?php echo e(__('Subscribe')); ?></button>
                    </form>
                </div>

            </div>


                    </div>
                </div>
            </div>
        </div>
  
<?php $__env->stopSection(); ?>
<?php $__env->startPush('js'); ?>
<script src="<?php echo e(asset('assets/front/js/notify.min.js')); ?>"></script>
<script src="<?php echo e(asset('assets/front/js/rfront.js')); ?>"></script>

<?php $__env->stopPush(); ?>
<?php echo $__env->make('layouts.front', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/elitdevs/newspaper-1.elitdevs.com/project/resources/views/frontend/postBySubcategory.blade.php ENDPATH**/ ?>