
<?php $__env->startSection('contents'); ?>
<?php $__env->startSection('meta'); ?>
<title><?php echo e($data->title); ?></title>
<meta name="Description" content="<?php echo $data->short_description; ?>">
<meta name="Keywords" content="<?php echo $data->meta_tag; ?>">
<meta property="og:title" content="<?php echo e($data->title); ?>" />
<meta property="og:description" content="<?php echo $data->short_description; ?>" />
<meta property="og:image" content="<?php echo e(asset('assets/images/post/'.$data->image_big)); ?>" />
<?php $__env->stopSection(); ?>

 
  <!--==========ThemesBazar=============
                        Section-One Start
                    ==============ThemesBazar============-->
        <div class="all-section" ><!-- All Section-->

            <section class="single-page">
                <div class="container">
                    <div class="row">
                        <div class="col-lg-8 col-md-8">
                            <div class="white">
                                <div class="cat-info">
                                    <ul>
                                        <li><a href="#"> <i class="las la-home"></i> /  </a></li>
                                        <li><a href="#"> <?php echo e($data->category->title); ?> </a></li>
                                    </ul>
                                </div>

                                <h2 class="single-title">
                                   <?php echo e($data->title); ?>

                                </h2>
                                
                                <div class="reporter-section">
                                    <div class="row">
                                        <div class="col-lg-5 col-md-5">
                                            <div class="reporter-name">
														<?php if($data->admin_id == 0 && $data->user_id != 0): ?>
                                                <a href="#"> <i class="las la-pen"></i> <?php echo e($data->user->name); ?> </a> 
											     <?php else: ?>
												 <a href="#"> <i class="las la-pen"></i> <?php echo e($data->admin->name); ?> </a> 
											  <?php endif; ?>
						
												 
												 
												 
												 
                                                <div class="report-date">
                                                    <i class="las la-clock"></i>  নিউজ প্রকাশের তারিখ : 
                                                      
                                                                                                              <?php echo e($data->createdAt()); ?> ইং
                                                        

                                                </div>  




                                            </div>
                                        </div>
                                        <div class="col-lg-6 col-md-6">
                                            <div class="single-social"> 
                                            <script type="text/javascript" src="https://s7.addthis.com/js/300/addthis_widget.js#pubid=ra-635cdf45c2d9fb68"></script>
                                
                <div class="addthis_inline_share_toolbox"></div> 
                                            </div>
                                        </div>
                                        <div class="col-lg-1 col-md-1">

                                            <div class="single-social">                                             
                                              <a href="<?php echo e(URL::to('print/'.$data->id.'/'.$data->slug)); ?>" target="_blank" title="Print"><i class="las la-print"></i>    </a>
                                            </div>

                                            </div>




                                    </div>
                                </div>

                            </div>

                            <div class="singlePage-image">
                                <img class="lazyload" src="<?php echo e(asset('assets/images/post/'.$data->image_big)); ?>" data-src="<?php echo e(asset('assets/images/post/'.$data->image_big)); ?>" alt="ছবির ক্যাপশন: <?php echo e($data->images_caption); ?>" title="ছবির ক্যাপশন: <?php echo e($data->images_caption); ?>">
                                <span style="font-style: italic; color: #333;"> ছবির ক্যাপশন: <?php echo e($data->images_caption); ?> </span>
                            </div>
                            
                           
<?php echo $gs->homepageads2_970; ?>

                            <div class="single-details">
							  
<?php if($data->post_type == 'article'): ?>
                                    <?php echo $data->description; ?>

								  <?php endif; ?>
								  <?php if($data->post_type == 'video'): ?>
								
                                  <?php if($data->embed_video): ?>							
								  <?php echo $data->description; ?>

								   <iframe width="615" height="400" src="https://www.youtube.com/embed/<?php echo $data->embed_video; ?>" title="Types Of ভাড়াটিয়া || Comedy Special || Sanjay Das - Bishakto Sanju | Joy-Rupam-Ayan-Shuvro || 2024" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>
								  <?php else: ?> 
									    <video controls >
                                            <source src="<?php echo e(asset('assets/videos/'.$data->video)); ?>" type="video/mp4">
                                        </video>
										<?php endif; ?>
								   
								   <?php endif; ?>
								   
								                              <?php if($data->post_type == 'audio'): ?>
	<p style="text-align: center;"><b>&nbsp;অডিও&nbsp; ফাইল</b></p>
<audio controls="" style="width:100%">
				 <source src="<?php echo e(asset('assets/audios/'.$data->audio)); ?>" type="audio/mp3">
				</audio>
				 <?php echo $data->description; ?>

				<?php endif; ?>



                            </div>

</br>
নিউজটি পোস্ট করেছেন : 

<?php if($data->admin_id == 0 && $data->user_id != 0): ?>
	<?php echo e($data->user->name); ?>

 <?php else: ?>
	 <?php echo e($data->admin->name); ?>

<?php endif; ?>
</br>
</br>
<script type="text/javascript" src="https://s7.addthis.com/js/300/addthis_widget.js#pubid=ra-635cdf45c2d9fb68"></script>
                                
                <div class="addthis_inline_share_toolbox"></div> 

<div style="margin-top: 20px; border-bottom: 1px solid #ddd; padding: 8px 0px;"> কমেন্ট বক্স </div>

<div id="fb-root"></div>
<script async defer crossorigin="anonymous" src="https://connect.facebook.net/en_US/sdk.js#xfbml=1&version=v20.0&appId=1716117305495236" nonce="OKS9Fdbx"></script>
<div class="fb-comments" data-href="<?php echo e(URL::to($data->id.'/'.$data->slug)); ?>" data-width="600" data-numposts="10"></div>



</br>



<?php if($data->admin_id == 0 && $data->user_id != 0): ?>
                            <div class="author-section">
                                <div class="author-border">
                                    <h2 class="author-title">
                                    প্রতিবেদকের তথ্য 
                                </h2>

                                    <div class="author-image">
                                        <img src="<?php echo e(asset('assets/images/admin/'.$data->user->photo)); ?>" alt="">
                                    </div>
                                    <div class="author-content">
                                        <div class="author-report">
                                            <a href="#"> <?php echo e($data->user->name); ?> </a>
                                        </div>
                                        <div class="author-cat">
                                            <a href=""> প্রতিবেদকের মোবাইলঃ <?php echo e($data->user->phone); ?>  </a>
                                        </div>

                                    </div>
                                </div>
                            </div>
 <?php else: ?>
                        
                            <div class="author-section">
                                <div class="author-border">
                                    <h2 class="author-title">
                                    প্রতিবেদকের তথ্য 
                                </h2>

                                    <div class="author-image">
                                        <img src="<?php echo e(asset('assets/images/admin/'.$data->admin->photo)); ?>" alt="">
                                    </div>
                                    <div class="author-content">
                                        <div class="author-report">
                                            <a href="#"> <?php echo e($data->admin->name); ?> </a>
                                        </div>
                                        <div class="author-cat">
                                            <a href=""> প্রতিবেদকের মোবাইলঃ <?php echo e($data->admin->phone); ?> </a>
                                        </div>

                                    </div>
                                </div>
                            </div>
							<?php endif; ?>
                            

                        
                        

                    






                        </div>

                        <div class="col-lg-4 col-md-4">
                            <div class="sitebar-fixd" style="position: sticky; top: 0;"><!-- Fixd Siteber -->
                        
                            
                                    
                            
                                   


                            <!-- recommened_content Start -->
							                 <?php
				$popular=DB::table('posts')->inRandomOrder()->orderBy('id','DESC')->where('is_feature',1)->limit(6)->get();
				?>    
                            <h4 class="recommened_title">
                                 এ জাতীয় আরো খবর
                            </h4>
							
                            <div class="recommened_content">
                                   

								   <?php $__currentLoopData = $popular; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $row): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> 
                                <div class="recommened_wrpp">
                                    <div class="recommened-image">
                                        <img class="lazyload" src="<?php echo e(asset('assets/images/post/'.$row->image_big)); ?>" data-src="<?php echo e(asset('assets/images/post/'.$row->image_big)); ?>" alt="<?php echo e(strlen($row->title)>60 ? mb_substr($row->title,0,60,"utf-8") : $row->title); ?>" title="<?php echo e(strlen($row->title)>60 ? mb_substr($row->title,0,60,"utf-8") : $row->title); ?>">

                                         

                                        <h5 class="recommened-title">
                                            <a href="<?php echo e(route('frontend.postBySubcategory.details',[$row->id,$row->slug])); ?>"> <?php echo e(strlen($row->title)>60 ? mb_substr($row->title,0,60,"utf-8") : $row->title); ?>  </a>
                                        </h5> 
                                    </div>
                                
                                </div>
                                                                
                                     <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>  
								
                                                                     </div>
                            <!-- most poular item End -->



                            <!-- recommened_content Start -->
                            <h4 class="recommened_title">
                                 সর্বশেষ সংবাদ
                            </h4>
                            <div class="recommened_content">
                                                    <?php
				$latest=DB::table('posts')->inRandomOrder()->orderBy('id','DESC')->where('is_trending',1)->limit(10)->get();
				?>   


									  <?php $__currentLoopData = $latest; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $row): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> 
                                <div class="recommened_wrpp">
                                    <div class="recommened-image">
                                        <img class="lazyload" src="<?php echo e(asset('assets/images/post/'.$row->image_big)); ?>" data-src="<?php echo e(asset('assets/images/post/'.$row->image_big)); ?>" alt="<?php echo e(strlen($row->title)>60 ? mb_substr($row->title,0,60,"utf-8") : $row->title); ?>" title="<?php echo e(strlen($row->title)>60 ? mb_substr($row->title,0,60,"utf-8") : $row->title); ?>">

                                         

                                        <h5 class="recommened-title">
                                            <a href="<?php echo e(route('frontend.postBySubcategory.details',[$row->id,$row->slug])); ?>"> <?php echo e(strlen($row->title)>60 ? mb_substr($row->title,0,60,"utf-8") : $row->title); ?>  </a>
                                        </h5> 
                                    </div>
                                
                                </div>
                                 <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>                                
                                
								
								
								
								
								
                                                                     </div>
                            <!-- most poular item End -->


                            
                            






                            </div>
                        </div>




                    </div>
                </div>
            </section>

        </div><!-- All Section Close -->

 
 
 
<?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.front', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/creativedesignbd/news5.creativedesign.com.bd/project/resources/views/frontend/details.blade.php ENDPATH**/ ?>