<?php
	$seo=DB::table('seotools')->first();
?>
<!DOCTYPE html>
<html lang="en">
<meta http-equiv="content-type" content="text/html;charset=UTF-8" />
<head>
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <title><?php echo e($data->title); ?></title>
  <meta property="og:url" content="<?php echo e(Request::fullUrl()); ?>" />
  <meta property="og:type" content="website" />
  <meta property="og:title" content="<?php echo e($data->title); ?>" />
  <meta property="og:image" content="<?php echo e(asset('assets/images/post/'.$data->image_big)); ?>" />
    <!-- favicon -->
    <link rel="shortcut icon" href="<?php echo e(asset('assets/images/'.$gs->favicon)); ?>" type="image/x-icon">

	<?php if($default_font->font_value): ?>
		<link href="https://fonts.googleapis.com/css?family=<?php echo e($default_font->font_value); ?>&display=swap" rel="stylesheet">
	<?php else: ?> 
		<link href="https://fonts.googleapis.com/css?family=Open+Sans&display=swap" rel="stylesheet">
	<?php endif; ?>
  <!--==== BASE CSS ====-->
  <link href="<?php echo e(asset('assets/frontend/asset/css/bootstrap.min.css')); ?>" rel="stylesheet">
  <link href="<?php echo e(asset('assets/frontend/asset/css/font-awesome.min.css')); ?>" rel="stylesheet" type="text/css">
  <link href="<?php echo e(asset('assets/frontend/asset/css/menu.css')); ?>" rel="stylesheet" type="text/css">
  <link href="<?php echo e(asset('assets/frontend/asset/css/owl.carousel.css')); ?>" rel="stylesheet">
  <!--==== CUSTOM CSS ====-->
  <link href="<?php echo e(asset('assets/frontend/asset/css/style.css')); ?>" rel="stylesheet">
  <link href="<?php echo e(asset('assets/frontend/asset/css/responsive.css')); ?>" rel="stylesheet">
  <link type="text/css" rel="stylesheet" href="<?php echo e(asset('assets/frontend/eror/css/style.css')); ?>" />

	<?php if(DB::table('languages')->where('is_default','=',1)->first()->rtl == 1): ?>
		<link rel="stylesheet" href="<?php echo e(asset('assets/front/css/rtl/style.css')); ?>">
	<?php endif; ?>
	<link rel="stylesheet" id="color" href="<?php echo e(asset('assets/front/css/color.php?base_color='.str_replace('#','', $gs->theme_color).'&'.'footer_color='.str_replace('#','',$gs->footer_color).'&'.'copyright_color='.str_replace('#','',$gs->copyright_color))); ?>">
	<link rel="stylesheet" id="color" href="<?php echo e(asset('assets/front/css/font.php?font_familly='.$default_font->font_family)); ?>">
    <?php echo $__env->yieldPushContent('css'); ?>
    <?php echo $gs->adsense_code; ?>

	 <?php echo $gs->adsense_code; ?>

	<?php echo $seo->google_analytics; ?>

</head>
<body>
  <div id="fb-root"></div>
  <script async defer crossorigin="anonymous" src="../connect.facebook.net/en_GB/sdk.js#xfbml=1&version=v4.0"></script>
  <style>
.main-logo {padding: 22px 0 20px 0;}
@media  only screen and (max-width: 767px) {
  .main-logo {padding: 10px 0 13px 0;text-align: center;}
}
</style>
<!--/========== START SCROLLUP ============-->
<div class="scrollup">
  <i aria-hidden="true" class="fa fa-chevron-up"></i>
</div><!--back-to-top-->
<!--/========== END SCROLLUP ============-->
<header>
<script src="https://bangla.plus/scripts/bangladatetoday.min.js"></script>
<script>dateToday('date-today', 'bangla');</script>
<?php
    function bn_date($str)
        {
         $en = array(1,2,3,4,5,6,7,8,9,0);
        $bn = array('১','২','৩','৪','৫','৬','৭','৮','৯','০');
        $str = str_replace($en, $bn, $str);
        $en = array( 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December' );
        $en_short = array( 'Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'July', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec' );
        $bn = array( 'জানুয়ারী', 'ফেব্রুয়ারী', 'মার্চ', 'এপ্রিল', 'মে', 'জুন', 'জুলাই', 'অগাস্ট', 'সেপ্টেম্বর', 'অক্টোবর', 'নভেম্বর', 'ডিসেম্বর' );
        $str = str_replace( $en, $bn, $str );
        $str = str_replace( $en_short, $bn, $str );
        $en = array('Saturday','Sunday','Monday','Tuesday','Wednesday','Thursday','Friday');
         $en_short = array('Sat','Sun','Mon','Tue','Wed','Thu','Fri');
         $bn_short = array('শনি', 'রবি','সোম','মঙ্গল','বুধ','বৃহঃ','শুক্র');
         $bn = array('শনিবার','রবিবার','সোমবার','মঙ্গলবার','বুধবার','বৃহস্পতিবার','শুক্রবার');
         $str = str_replace( $en, $bn, $str );
         $str = str_replace( $en_short, $bn_short, $str );
         $en = array( 'am', 'pm' );
        $bn = array( 'পূর্বাহ্ন', 'অপরাহ্ন' );
        $str = str_replace( $en, $bn, $str );
         $str = str_replace( $en_short, $bn_short, $str );
         $en = array( '১২', '২৪' );
        $bn = array( '৬', '১২' );
        $str = str_replace( $en, $bn, $str );
         return $str;
        }
?>
<script>
                        setInterval(displayTime, 1000);

function displayTime() {

    const timeNow = new Date();

    let hoursOfDay = timeNow.getHours();
    let minutes = timeNow.getMinutes();
    let seconds = timeNow.getSeconds();
    let weekDay = ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday"]
    let today = weekDay[timeNow.getDay()];
    let months = timeNow.toLocaleString("default", {
        month: "long"
    });
    let year = timeNow.getFullYear();
    let period = "AM";

    if (hoursOfDay > 12) {
        hoursOfDay-= 12;
        period = "PM";
    }

    if (hoursOfDay === 0) {
        hoursOfDay = 12;
        period = "AM";
    }

    hoursOfDay = hoursOfDay < 10 ? "0" + hoursOfDay : hoursOfDay;
    minutes = minutes < 10 ? "0" + minutes : minutes;
    seconds = seconds < 10 ? "0" + seconds : seconds;

    let time = hoursOfDay + ":" + minutes + ":" + seconds + " " + period;

   document.getElementById('Clock').innerHTML = time ;
    
    var chars = {'1':'১','2':'২','3':'৩','4':'৪','5':'৫','6':'৬','7':'৭','8':'৮','9':'৯','0':'০','A':'এ','P':'পি','M':'এম'};
    let str = document.getElementById("Clock").innerHTML; 
    let res = str.replace(/[1234567890AMP]/g, m => chars[m]);
    document.getElementById("Clock").innerHTML = res;

}
displayTime();

</script>
 
 
 
 
     <!-- Header Part-->
    <?php echo $__env->make('partial.front.header', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
    <!-- Header Part End-->
 
 
 
 
 
 
 

<div class="container custom-container">
   <div class="row custom-row">
     <div class="left-content-area details-left-content-area">
       <div class="col-lg-12 custom-padding">

         <ol class="breadcrumb details-page-breadcrumb">
           <li><a href=""><i class="fa fa-home"></i></a></li>
           <li class="active"><a href=""><?php echo e($data->category->title); ?> </a></li>
         </ol><!--/.details-page-breadcrumb-->
         <div class="details-content">
           <h3><?php echo e($data->title); ?></h3>
           <hr>
           <small class="small">


    <img style="width: 50px;
    height: 50px;
    border-radius: 21px;float: left;margin-right: 9px;" class="img-fluid writer-image" src="<?php echo e(asset('assets/images/admin/'.$data->admin->photo)); ?>" alt="FavIcon">
 

  <div class="writer-name">
                <?php echo e($data->admin->name); ?> <br>
              নিউজ প্রকাশের তারিখ : <?php echo e($data->createdAt()); ?> ইং          </div>
           </small>
           <img class="img-fluid" src="<?php echo e(asset('assets/images/post/'.$data->image_big)); ?>" alt="ছবির ক্যাপশন: <?php echo e($data->image_caption); ?>">
		    <?php echo $gs->header3_728; ?>

                                      <?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 endif; ?>
           <p style="text-align: justify;"><?php echo $data->description; ?></p>
		   <p style="text-align: justify;"><?php echo $data->video_embed; ?></p>


            <ul class="tag-ul">
              <li> সংবাদটি প্রিন্ট করুন: </li>
                            <li><a href="<?php echo e(URL::to('print/'.$data->id.'/'.$data->slug)); ?>">প্রিন্ট করুন</a></li>
                          </ul>
         </div><!--/.details-content-->

         <div class="facebook-comment-box">
           <h2 class="fb-h2" style="">আপনার মতামত লিখুন :</h2>
<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('details/'.$data->id.'/'.$data->slug)); ?>" data-width="700" data-numposts="10"></div>
 
         </div><!--/.facebook-comment-box-->


                </div><!--/.col-lg-12-->
     </div><!--/.left-content-area-->

<div class="right-content-area details-right-content-area">
       <div class="col-lg-12 custom-padding">

         <div class="details-page-side-banner">
           <?php echo $gs->sidebar_ads; ?>

         </div><!--/.details-page-side-banner-->

 <div class="details-right-news-heading">
 	    	    <?php
				$favourite45=DB::table('posts')->inRandomOrder()->orderBy('id','DESC')->limit(6)->get();
				?> 
             <h2>আলোচিত শীর্ষ ১০ সংবাদ </h2>
           </div><!--/.details-right-news-heading-->
           <div class="row custom-row">
                               
							   
					<?php $__currentLoopData = $favourite45; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $row): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>		   
		         <div class="col-lg-6 col-md-6 col-6">
                    <div class="details-news-single">
                      <a href="<?php echo e(route('frontend.details',[$row->id,$row->slug])); ?>">
                        <img src="<?php echo e(asset('assets/images/post/'.$row->image_big)); ?>" class="img-fluid" alt="<?php echo e($row->title); ?>" title="<?php echo e($row->title); ?>" />                        <div class="details-news-single-text">
                          <span></span>
                          <h3><?php echo e($row->title); ?></h3>
                        </div>
                      </a>
                    </div>
                  </div>
 <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                           </div><!--/.row-->

         </div><!--/.details-right-news-->

         <div class="details-tab-container">
		     	<?php
				$latestpost=DB::table('posts')->inRandomOrder()->orderBy('id','DESC')->skip(10)->limit(20)->get();
				?>
           <ul class="nav nav-pills side-tab-main" id="pills-tab" role="tablist">
             <li class="nav-item">
               <a class="nav-link active" id="pills-home-tab" data-toggle="pill" href="#pills-home" role="tab" aria-controls="pills-home" aria-selected="true">সর্বশেষ</a>
             </li>
             <li class="nav-item">
               <a class="nav-link" id="pills-profile-tab" data-toggle="pill" href="#pills-profile" role="tab" aria-controls="pills-profile" aria-selected="false">জনপ্রিয়</a>
             </li>
           </ul>

           <div class="tab-content alokitonews-tab-content" id="pills-tabContent">

             <div class="tab-pane fade show active" id="pills-home" role="tabpanel" aria-labelledby="pills-home-tab">
               <div class="least-news">
                 <ul class="least-news-ul detail-least-news-ul">
  
  
  
  
  <?php $__currentLoopData = $latestpost; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $row): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
  <li><a href="<?php echo e(route('frontend.details',[$row->id,$row->slug])); ?>">
    <div class="least-news-left">
      <img src="<?php echo e(asset('assets/images/post/'.$row->image_big)); ?>" class="img-fluid" alt="<?php echo e($row->title); ?>" title="<?php echo e($row->title); ?>" />
    </div>
    <div class="least-news-right">
      <h3><?php echo e($row->title); ?></h3>
    </div>
  </a></li>
  <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
  
  
 
 </ul><!--/.least-news-ul-->
               </div><!--/.least-news-->
             </div><!--/.tab-pane-->

             <div class="tab-pane fade" id="pills-profile" role="tabpanel" aria-labelledby="pills-profile-tab">
               <div class="least-news">
                 <ul class="least-news-ul detail-least-news-ul">
    
	    			<?php
				$favourite=DB::table('posts')->inRandomOrder()->orderBy('id','DESC')->skip(5)->limit(20)->get();
				?> 
	
	<?php $__currentLoopData = $favourite; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $row): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
	<li><a href="<?php echo e(route('frontend.details',[$row->id,$row->slug])); ?>">
    <div class="least-news-left">
      <img src="<?php echo e(asset('assets/images/post/'.$row->image_big)); ?>" class="img-fluid" alt="<?php echo e($row->title); ?>" title="<?php echo e($row->title); ?>" />
    </div>
    <div class="least-news-right">
      <h3><?php echo e($row->title); ?></h3>
    </div>
  </a></li>
    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>




                 </ul><!--/.least-news-ul-->
               </div><!--/.least-news-->
             </div><!--/.tab-pane-->

           </div><!--/.tab-content-->
         </div><!--/.details-tab-container-->

       </div><!--/.col-lg-12-->
     </div><!--/.right-content-area-->
   </div><!--/.row-->
 </div><!--/.container-->





	<!-- Footer Area Start -->
	<?php echo $__env->make('partial.front.footer', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
	<!-- Footer Area End -->



<!--===== JAVASCRIPT FILES =====-->
<script src="<?php echo e(asset('assets/frontend/asset/js/jquery-2.1.4.min.js')); ?>"></script>
<script src="<?php echo e(asset('assets/frontend/asset/js/bootstrap.min.js')); ?>"></script>
<script src="<?php echo e(asset('assets/frontend/asset/js/popper.min.js')); ?>"></script>
<script src="<?php echo e(asset('assets/frontend/asset/js/menu.js')); ?>"></script>
<script src="<?php echo e(asset('assets/frontend/asset/js/jquery-stick.js')); ?>"></script>
<script src="<?php echo e(asset('assets/frontend/asset/js/owl.carousel.min.js')); ?>"></script>
<script src="<?php echo e(asset('assets/frontend/asset/js/custom.js')); ?>"></script>
<script src="<?php echo e(asset('assets/frontend/asset/js/jquery.marquee.min.js')); ?>"></script>
<script src="<?php echo e(asset('assets/frontend/asset/js/jquery.pause.js')); ?>"></script>

<div id='fb-root'/>
<script type='text/javascript'>
//<![CDATA[
window.fbAsyncInit = function() {
FB.init({
appId : 'FB APP ID',
status : true, // check login status
cookie : true, // enable cookies 
xfbml : true // parse XFBML
});
};
(function() {
var e = document.createElement('script');
e.src = document.location.protocol + '//connect.facebook.net/en_US/all.js';
e.async = true;
document.getElementById('fb-root').appendChild(e);
}());
//]]>
</script>


<script>
  //get getSubCatList Bangla
  $(function () {
    /*-------------------------------------
    jQuery Marquee
    -------------------------------------*/
    $('.marquee').marquee({
        pauseOnHover: true,
        duration: 20000
    });

    $('.marquee-breaking').marquee({
        pauseOnHover: true,
        duration: 25000
    });

    });
//to move active class
    $('#home').addClass('active')
</script>
</body>

</html>
<?php /**PATH /home/elitedesign/news2.elitedesign.com.bd/project/resources/views/frontend/details.blade.php ENDPATH**/ ?>