



<?php $__env->startSection('title',$news->name.' - '. config('settings.site_title', 'Varsayılan Başlık')); ?>
<?php $__env->startSection('description',$news->short_description ?? config('settings.site_description', 'Varsayılan Başlık')); ?>
<?php $__env->startSection('image',$news->news_image); ?>
<?php $__env->startSection('amp',config('settings.site_url', 'Varsayılan Başlık').'/amp/'.$news->slug.'.html'); ?>


    
<?php $__env->startSection('content'); ?>

<div class="news-page-custom custom-page-news"  id="site-content" style="background: #fff;padding-left:0px; padding-right: 0px;">
    
    <div class="newsPage container">
         <div class="container mt-5" style="margin-top:30px !important;padding-left:0px; padding-right: 0px;">
          <div class="section-header">
            <h2>HABERLER</h2>
            <div class="line" style="background-color:#FF0000"></div>
          </div>
        </div>

        

                  <div class="ads container fullWidthHeight mt-3"><?php echo showAd('201'); ?></div>

        <div class="row">
            <div class="col-md-12">
                    <nav aria-label="breadcrumb">
            <ol class="breadcrumb">
                <li class="breadcrumb-item"><a href="/" title="Haberler">Haberler</a></li>
                <li class="breadcrumb-item"><a href="/<?php echo e($news->category->slug); ?>" title="<?php echo e(mb_convert_case($news->category->name, MB_CASE_TITLE, "UTF-8")); ?>"><?php echo e(mb_convert_case($news->category->name, MB_CASE_TITLE, "UTF-8")); ?></a></li>
                <li class="breadcrumb-item active" aria-current="page"><?php echo e($news->name); ?></li>
            </ol>
        </nav>
            </div>
        </div>
        <div class="divider"></div>

        <div class="row">
            <div class="col-md-9">
                
                  <div class="row">
        <div class="col-12">
            <div class="d-flex justify-content-between align-items-center">
                <div class="row" style="width:100%">
                    <div class="col-md-9">
                        <div class="article-title"><h1 class="article-title "><?php echo e(ltrim($news->name)); ?></h1></div>

                    </div>                  
                </div>
            </div>
        </div>
    </div>
       <div class="row">
                            <div class="col-12">
                                <div class="article-sub-content">
                                    <h2 class="article-sub-content"><?php echo e($news->short_description); ?></h2>
                                </div>
                            </div>
                        </div>
  <div class="row align-items-center">
    <!-- Tarih Bilgisi -->
    <div class="col-md-8 d-flex newsDates">
      <span>Giriş: <?php echo e($news->date); ?> <?php echo e($news->time); ?></span>
      <span class="mx-3">|</span>
      <span>Güncelleme: <?php echo e($news->change_date_time); ?></span>
    </div>

    <!-- Paylaşım Simgeleri -->
    <div class="col-md-4 text-end d-flex justify-content-end align-items-center">
      <span class="me-2 newsShare">Paylaş</span>
      <span class="divider"></span>
<!-- AddToAny BEGIN -->
<div class="a2a_kit a2a_kit_size_32 a2a_default_style">
<a class="a2a_dd" href="https://www.addtoany.com/share"></a>
<a class="a2a_button_facebook"></a>
<a class="a2a_button_x"></a>
<a class="a2a_button_whatsapp"></a>
<a class="a2a_button_linkedin"></a>
<a class="a2a_button_telegram"></a>
</div>
<script defer src="https://static.addtoany.com/menu/page.js"></script>
<!-- AddToAny END -->
    </div>
  </div>

    <!-- Article Content -->
    

    <!-- Article Image -->

    <?php if(isset($news->news_image)): ?>
    <div class="row">
        <div class="col-12">
            <img src="<?php echo e($news->news_image); ?>" alt="<?php echo e($news->name); ?>" class="article-image">
        </div>
    </div>
    <?php endif; ?>

    <div class="row">
        <div class="col-12">
            <div class="article-content">

          <?php 
$description = $news->description;
$description = str_replace('http://panel.ogaste.com/', '/', $description);
$description = str_replace('https://panel.ogaste.com/', '/', $description);
$description = str_replace('height', '/', $description);
$description = str_replace('oembed url', 'iframe frameborder="0" allowfullscreen="1" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" style="width: 100%;height: 500px" src', $description);
$description = str_replace('</oembed>', '</iframe>', $description);

$paragraphs = preg_split('/(<\/p>)/i', $description, -1, PREG_SPLIT_DELIM_CAPTURE | PREG_SPLIT_NO_EMPTY);

$p_count = 0;
foreach ($paragraphs as $part) {
    if (stripos($part, '</p>') !== false) {
        $p_count++;
    }
}

if($p_count > 0 ){
// Eklenmesi gereken konumu hesaplıyoruz
$insert_pos = ceil($p_count / 2) * 2 - 2;

// <div> etiketini ekliyoruz
if ($p_count > 1) {
    $inserted = false;
    $new_description = '';
    $current_p_count = 0;

    foreach ($paragraphs as $part) {
        $new_description .= $part;
        if (stripos($part, '</p>') !== false) {
            $current_p_count++;
        }
        if (!$inserted && $current_p_count >= $insert_pos) {
            $new_description .= '<div class="newsinads" style="padding: 10px; text-align: center;">' . config('settings.reklam_alan_haber_ici', 'Varsayılan Başlık') . '</div>';
            $inserted = true;
        }
    }

    $description = $new_description;
} else {
    $description .= '<div class="newsinads" style="padding: 10px; text-align: center;">' . config('settings.reklam_alan_haber_ici', 'Varsayılan Başlık') . '</div>';
}

}else{


$paragraphs = preg_split('/(<br\/>)/i', $description, -1, PREG_SPLIT_DELIM_CAPTURE | PREG_SPLIT_NO_EMPTY);
$p_count = 0;
foreach ($paragraphs as $part) {
    if (stripos($part, '<br/>') !== false) {
        $p_count++;
    }
}

$insert_pos = ceil($p_count / 2) * 2 - 2;

// <div> etiketini ekliyoruz
if ($p_count > 1) {
    $inserted = false;
    $new_description = '';
    $current_p_count = 0;

    foreach ($paragraphs as $part) {
        $new_description .= $part;
        if (stripos($part, '<br/>') !== false) {
            $current_p_count++;
        }
        if (!$inserted && $current_p_count >= $insert_pos) {
            $new_description .= '<div class="newsinads" style="padding: 10px; text-align: center;">' . config('settings.reklam_alan_haber_ici', 'Varsayılan Başlık') . '</div>';
            $inserted = true;
        }
    }

    $description = $new_description;
} else {
    $description .= '<div class="newsinads" style="padding: 10px; text-align: center;">' . config('settings.reklam_alan_haber_ici', 'Varsayılan Başlık') . '</div>';
}

}

$description = preg_replace('/<figure[^>]*>.*?<\/figure>/s', '', $description);

?>

<?php echo $description; ?>

<?php if(isset($news->VideoGallery)): ?>
  <?php if(isset($news->VideoGallery->iframe_link)): ?>
                <iframe id="frame-video" frameborder="0" allowfullscreen="1" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" title="Bursa Yıldırımspor’da hedef Alanya Kestelspor (Özel Haber)" src="<?php echo e($video->VideoGallery->iframe_link); ?>" data-gtm-yt-inspected-9="true"></iframe>
                <?php endif; ?>
                  <?php if($news->VideoGallery->video!=""): ?>
              <video
                id="my-video"
                class="video-js"
                controls
                preload="auto"
                width="640"
                height="500"
                poster="<?php echo e(env('PANEL_URL')); ?>/uploads/images/news/<?php echo e(date("Y/m/d", strtotime($news->VideoGallery->date))); ?>/<?php echo e($news->VideoGallery->video_image); ?>"
                data-setup="{}"
              >
                <source src="/uploads/videos/<?php echo e($news->VideoGallery->video); ?>" type="video/mp4" />
                </video>
                <?php endif; ?>
                <?php endif; ?>

<div class="ads">
                    <?php echo showAd('204'); ?>

                </div>

<script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>
<script async src="//www.instagram.com/embed.js"></script>
            </div>
        </div>
    </div>




    <!-- Article Footer -->


    <div class="row">
        <div class="col-12 article-footer">
    <?php if(isset($news->kaynak)): ?> <p>Kaynak: <?php echo e($news->kaynak); ?></p> <?php endif; ?>
        <?php if(config('settings.tag_status')==1): ?>
    <?php if(isset($news->tag)): ?>
    <?php 

    $tagParcala=explode(',',$news->tag);

    ?>
            <div class="article-tags">
            <?php $__currentLoopData = $tagParcala; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $tag): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                <a href="#" title="<?php echo e($tag); ?> Haberleri"><?php echo e($tag); ?></a>
                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
            </div>
            <?php endif; ?>
            <?php endif; ?>

        </div>
    </div>

    <?php if(config('settings.emoji_status')==1): ?>
          <div class="col-12 position-relative detail-sort-item " >
                        
                          <div class="d-flex align-items-center justify-content-lg-center justify-content-md-center justify-content-between flex-row flex-lg-nowrap flex-md-nowrap flex-wrap mw-100 makeSlideable mb-3">
<input type="hidden" id="news-id" value="<?php echo e($news->id); ?>">

    <div class="px-lg-3 pt-2 d-flex flex-column justify-content-between c-pointer social-emotes-container border-bottom border-danger me-lg-2 me-md-2 me-1 flex-1 align-items-center" data-emote-name="like">
    <svg width="40px" height="40px" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" stroke="#ff5a76"><g  stroke-width="0"></g><g  stroke-linecap="round" stroke-linejoin="round"></g><g ><path d="M12.39 20.87a.696.696 0 0 1-.78 0C9.764 19.637 2 14.15 2 8.973c0-6.68 7.85-7.75 10-3.25 2.15-4.5 10-3.43 10 3.25 0 5.178-7.764 10.664-9.61 11.895z" fill="#ff5a76"></path></g></svg>
    <div class="text-secondary fw-semibold fs-15 text-center my-2 emote-count 1-count">
       <?php echo e($emojiCounts[1] ?? 0); ?>

    </div>
  </div>
      <div class="px-lg-3 pt-2 d-flex flex-column justify-content-between c-pointer social-emotes-container border-bottom border-danger me-lg-2 me-md-2 me-1 flex-1 align-items-center" data-emote-name="disslike">
    <svg width="40px" height="40px" version="1.1"  xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 512 512" xml:space="preserve" fill="#000000"><g  stroke-width="0"></g><g  stroke-linecap="round" stroke-linejoin="round"></g><g > <circle style="fill:#FFC200;" cx="248" cy="248" r="248"></circle> <g> <path style="fill:#F2B800;" d="M248,0c-6.744,0-13.4,0.344-20,0.876C355.592,11.068,456,117.776,456,248 S355.592,484.932,228,495.124c6.6,0.532,13.256,0.876,20,0.876c136.96,0,248-111.032,248-248S384.96,0,248,0z"></path> <path style="fill:#F2B800;" d="M403.772,404c-7.664,0-14.54-4.26-17.932-11.124C364.264,349.284,308.872,320,248,320 s-116.264,29.284-137.84,72.872C106.756,399.74,99.892,404,92.228,404c-3.056,0-6.116-0.72-8.864-2.08 c-4.784-2.372-8.364-6.456-10.076-11.524c-1.712-5.064-1.344-10.488,1.028-15.272C102.916,317.34,171.084,280,248,280 s145.084,37.34,173.688,95.128c2.368,4.78,2.736,10.212,1.024,15.268c-1.712,5.068-5.288,9.152-10.08,11.524 C409.892,403.28,406.824,404,403.772,404z"></path> </g> <path style="fill:#F5F5F5;" d="M248,288c73.892,0,139.252,35.592,166.516,90.676c2.936,5.94,0.508,13.14-5.428,16.084 c-5.936,2.932-13.132,0.508-16.08-5.428C370.116,343.076,311.844,312,248,312s-122.116,31.076-145.008,77.324 c-2.936,5.936-10.144,8.368-16.08,5.424c-5.936-2.932-8.376-10.132-5.428-16.08C108.752,323.592,174.108,288,248,288z"></path> <g> <path style="fill:#263740;" d="M196,132c-6.624,0-12,5.376-12,12c0,19.852-16.148,36-36,36s-36-16.148-36-36 c0-6.624-5.376-12-12-12s-12,5.376-12,12c0,33.084,26.916,60,60,60s60-26.916,60-60C208,137.376,202.624,132,196,132z"></path> <path style="fill:#263740;" d="M396,132c-6.624,0-12,5.376-12,12c0,19.852-16.148,36-36,36s-36-16.148-36-36 c0-6.624-5.376-12-12-12s-12,5.376-12,12c0,33.084,26.916,60,60,60s60-26.916,60-60C408,137.376,402.624,132,396,132z"></path> </g> <path style="fill:#000000;" d="M264,244c-17.644,0-32,14.016-32,31.66v108c0,17.644,14.356,32,32,32h35.892 c6.196,0,12.22-1.84,17.336-5.152c1.196,2.76,2.376,6.052,3.828,10.132c3.228,9.132,7.228,20.412,14.944,35.056v38.22l4.436,4.636 c8.172,8.552,19.46,13.448,30.96,13.448c13.696,0,26.092-6.724,34.016-18.436c7.584-11.22,14.096-31.436,4.888-65.524H472 c18.916,0,40-16.952,40-41.272c0-9.72-1.468-17.66-4.368-23.696c2.68-10.86,2.048-25.72-7.276-37.62 c0.076-15.884-4.588-27.748-14.184-36.084c-1.236-9.052-5.304-18.028-11.48-25.096c-7.088-8.128-16.084-12.6-25.3-12.6H327.416 c-2.032,0-4,0.156-5.88,0.468C315.672,246.696,308.14,244,300,244H264z"></path> <path style="fill:#F5F5F5;" d="M315.892,384.064c20.62,14.48,15.484,30.08,36.108,67.596c0,17.908,0,26.208,0,35.832 c20.628,21.556,68,4.168,36-75.452h84c10.08,0,24-9.788,24-25.272c0-10.776-2.336-19.724-6.736-20.732 c4.4-6.6,7.252-24.312-5.196-34.484c1.048-12.912-0.244-26.6-13.696-33.72c1.772-12.924-9.068-30.172-20.984-30.172 c-11.924,0-113.164,0-121.984,0s-11.524,4.108-11.524,10.956V384.06h0.012V384.064z"></path> <g> <path style="fill:#E6E6E6;" d="M368.108,412.04H388c27.772,69.1-4.236,91.304-26.66,81.888 C377.256,486.88,387.972,461.452,368.108,412.04z"></path> <path style="fill:#E6E6E6;" d="M496,386.76c0,15.488-13.92,25.272-24,25.272h-19.892c10.08,0,24-9.788,24-25.272 c0-10.776-2.336-19.724-6.728-20.732c4.392-6.6,7.252-24.312-5.2-34.484c1.052-12.912-0.248-26.6-13.696-33.72 c1.768-12.928-9.068-30.172-20.988-30.172c9.812,0,17.176,0,19.892,0c11.916,0,22.756,17.244,20.984,30.172 c13.452,7.112,14.744,20.808,13.696,33.72c12.448,10.172,9.588,27.884,5.196,34.484C493.664,367.044,496,375.984,496,386.76z"></path> </g> <path style="fill:#000000;" d="M315.892,275.66c0-8.8-7.204-16-16-16H264c-8.8,0-16,7.2-16,16v108c0,8.8,7.2,16,16,16h35.892 c8.796,0,16-7.2,16-16V275.66z"></path> </g></svg>
    <div class="text-secondary fw-semibold fs-15 text-center my-2 emote-count 2-count">
        <?php echo e($emojiCounts[2] ?? 0); ?>

    </div>
  </div>
      <div class="px-lg-3 pt-2 d-flex flex-column justify-content-between c-pointer social-emotes-container border-bottom border-danger me-lg-2 me-md-2 me-1 flex-1 align-items-center" data-emote-name="smile">
    <svg width="40px" height="40px" viewBox="0 0 1500.00 1500.00"  xmlns="http://www.w3.org/2000/svg" fill="#000000"><g  stroke-width="0"></g><g  stroke-linecap="round" stroke-linejoin="round"></g><g > <style>.st0{fill:#fff}.st1{fill:#ffda6b}.st2{fill:none;stroke:#262c38;stroke-width:70.5;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10}.st3{fill:#262c38}.st4{fill:#f05266}.st5{fill:none;stroke:#262c38;stroke-width:70.5;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10}</style> <path class="st0" d="M542.7 1092.6H377.6c-13 0-23.6-10.6-23.6-23.6V689.9c0-13 10.6-23.6 23.6-23.6h165.1c13 0 23.6 10.6 23.6 23.6V1069c0 13-10.6 23.6-23.6 23.6zM624 1003.5V731.9c0-66.3 18.9-132.9 54.1-189.2 21.5-34.4 69.7-89.5 96.7-118 6-6.4 27.8-25.2 27.8-35.5 0-13.2 1.5-34.5 2-74.2.3-25.2 20.8-45.9 46-45.7h1.1c44.1 1 58.3 41.7 58.3 41.7s37.7 74.4 2.5 165.4c-29.7 76.9-35.7 83.1-35.7 83.1s-9.6 13.9 20.8 13.3c0 0 185.6-.8 192-.8 13.7 0 57.4 12.5 54.9 68.2-1.8 41.2-27.4 55.6-40.5 60.3-2.6.9-2.9 4.5-.5 5.9 13.4 7.8 40.8 27.5 40.2 57.7-.8 36.6-15.5 50.1-46.1 58.5-2.8.8-3.3 4.5-.8 5.9 11.6 6.6 31.5 22.7 30.3 55.3-1.2 33.2-25.2 44.9-38.3 48.9-2.6.8-3.1 4.2-.8 5.8 8.3 5.7 20.6 18.6 20 45.1-.3 14-5 24.2-10.9 31.5-9.3 11.5-23.9 17.5-38.7 17.6l-411.8.8c-.2 0-22.6 0-22.6-30z"></path> <path class="st0" d="M750 541.9C716.5 338.7 319.5 323.2 319.5 628c0 270.1 430.5 519.1 430.5 519.1s430.5-252.3 430.5-519.1c0-304.8-397-289.3-430.5-86.1z"></path> <ellipse class="st1" cx="750.2" cy="751.1" rx="750" ry="748.8"></ellipse> <g> <path  class="st3" d="M755.3 784.1H255.4s13.2 431.7 489 455.8c6.7.3 11.2.1 11.2.1 475.9-24.1 489-455.9 489-455.9H755.3z"></path> <path  class="st4" d="M312.1 991.7s174.8-83.4 435-82.6c129 .4 282.7 12 439.2 83.4 0 0-106.9 260.7-436.7 260.7-329 0-437.5-261.5-437.5-261.5z"></path> <path  class="st5" d="M1200.2 411L993 511.4l204.9 94.2"></path> <path  class="st5" d="M297.8 411L505 511.4l-204.9 94.2"></path> </g> </g></svg>
    <div class="text-secondary fw-semibold fs-15 text-center my-2 emote-count 3-count">
       <?php echo e($emojiCounts[3] ?? 0); ?>

    </div>
  </div>
      <div class="px-lg-3 pt-2 d-flex flex-column justify-content-between c-pointer social-emotes-container border-bottom border-danger me-lg-2 me-md-2 me-1 flex-1 align-items-center" data-emote-name="sad">
    <svg width="40px" height="40px" viewBox="0 0 36 36" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" class="iconify iconify--twemoji" preserveAspectRatio="xMidYMid meet" fill="#000000"><g  stroke-width="0"></g><g  stroke-linecap="round" stroke-linejoin="round"></g><g ><path fill="#FFCC4D" d="M36 18c0 9.941-8.059 18-18 18c-9.94 0-18-8.059-18-18C0 8.06 8.06 0 18 0c9.941 0 18 8.06 18 18"></path><ellipse fill="#664500" cx="11.5" cy="16.5" rx="2.5" ry="3.5"></ellipse><ellipse fill="#664500" cx="24.5" cy="16.5" rx="2.5" ry="3.5"></ellipse><path fill="#664500" d="M23.485 27.879C23.474 27.835 22.34 23.5 18 23.5s-5.474 4.335-5.485 4.379a.496.496 0 0 0 .232.544a.51.51 0 0 0 .596-.06c.009-.007 1.013-.863 4.657-.863c3.59 0 4.617.83 4.656.863a.496.496 0 0 0 .59.073a.5.5 0 0 0 .239-.557z"></path><path fill="#5DADEC" d="M10 30c0 2.762-2.238 5-5 5s-5-2.238-5-5s4-10 5-10s5 7.238 5 10z"></path><path fill="#664500" d="M30 13c-5.554 0-7.802-4.367-7.895-4.553a1 1 0 0 1 1.787-.899C23.967 7.694 25.713 11 30 11a1 1 0 1 1 0 2zM6 13a1 1 0 0 1 0-2c5.083 0 5.996-3.12 6.033-3.253c.145-.528.69-.848 1.219-.709c.53.139.851.673.718 1.205C13.921 8.437 12.704 13 6 13z"></path></g></svg>
    <div class="text-secondary fw-semibold fs-15 text-center my-2 emote-count 4-count">
        <?php echo e($emojiCounts[4] ?? 0); ?>


    </div>
  </div>
      <div class="px-lg-3 pt-2 d-flex flex-column justify-content-between c-pointer social-emotes-container border-bottom border-danger me-lg-2 me-md-2 me-1 flex-1 align-items-center" data-emote-name="angry">
    <svg width="40px" height="40px" viewBox="0 0 36 36" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" class="iconify iconify--twemoji" preserveAspectRatio="xMidYMid meet" fill="#000000"><g  stroke-width="0"></g><g  stroke-linecap="round" stroke-linejoin="round"></g><g ><path fill="#FFCC4D" d="M36 18c0 9.941-8.059 18-18 18c-9.94 0-18-8.059-18-18C0 8.06 8.06 0 18 0c9.941 0 18 8.06 18 18"></path><path fill="#664500" d="M25.485 29.879C25.44 29.7 24.317 25.5 18 25.5c-6.318 0-7.44 4.2-7.485 4.379a.499.499 0 0 0 .237.554a.507.507 0 0 0 .6-.077c.019-.019 1.954-1.856 6.648-1.856s6.63 1.837 6.648 1.855a.502.502 0 0 0 .598.081a.5.5 0 0 0 .239-.557zm-9.778-12.586C12.452 14.038 7.221 14 7 14a1.001 1.001 0 0 0-.001 2c.029 0 1.925.022 3.983.737c-.593.64-.982 1.634-.982 2.763c0 1.934 1.119 3.5 2.5 3.5s2.5-1.566 2.5-3.5c0-.174-.019-.34-.037-.507c.013 0 .025.007.037.007a.999.999 0 0 0 .707-1.707zM29 14c-.221 0-5.451.038-8.707 3.293A.999.999 0 0 0 21 19c.013 0 .024-.007.036-.007c-.016.167-.036.333-.036.507c0 1.934 1.119 3.5 2.5 3.5s2.5-1.566 2.5-3.5c0-1.129-.389-2.123-.982-2.763A13.928 13.928 0 0 1 29.002 16A1 1 0 0 0 29 14z"></path></g></svg>
    <div class="text-secondary fw-semibold fs-15 text-center my-2 emote-count 5-count">
       <?php echo e($emojiCounts[5] ?? 0); ?>

    </div>
  </div>
      <div class="px-lg-3 pt-2 d-flex flex-column justify-content-between c-pointer social-emotes-container border-bottom border-danger me-lg-2 me-md-2 me-1 flex-1 align-items-center" data-emote-name="surprised">
    <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 36 36" width="40px" height="40px"><path fill="#FFCC4D" d="M36 18c0 9.941-8.059 18-18 18S0 27.941 0 18 8.059 0 18 0s18 8.059 18 18"/><ellipse fill="#664500" cx="18" cy="25" rx="4" ry="5"/><ellipse fill="#664500" cx="12" cy="13.5" rx="2.5" ry="3.5"/><ellipse fill="#664500" cx="24" cy="13.5" rx="2.5" ry="3.5"/></svg>
    <div class="text-secondary fw-semibold fs-15 text-center my-2 emote-count 6-count">
      <?php echo e($emojiCounts[6] ?? 0); ?>

    </div>
  </div>
  </div>
                      </div>
<?php endif; ?>
    <?php if(config('settings.comment_status')==1): ?>

<div class="col-md-12 mt-5">
<div class="be-comment-block">
    <h1 class="comments-title">Yorumlar</h1>

    <?php $status=1; ?>
    <?php $__currentLoopData = $comments; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $comment): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
    <?php

    if($comment->status==0){
        $status=0;
    }else{
        $status=1;
    }
     ?>
    <div class="be-comment">
        <div class="be-img-comment">    
            <a href="#">
                <img src="/img/comment.png" alt="" class="be-ava-comment">
            </a>
        </div>
        <div class="be-comment-content">
            
                <span class="be-comment-name">
                    <a href="#"><?php echo e($comment->name); ?> <?php if($comment->status==0): ?> (Yorumunuz Onay Bekliyor) <?php endif; ?></a>
                    </span>
                <span class="be-comment-time">
                    <i class="fa fa-clock-o"></i>
                 <?php echo e($comment->date); ?>

                </span>

            <p class="be-comment-text">
               <?php echo e($comment->comment); ?><br />

  <span class="like mt-3"  data-id="<?php echo e($comment->id); ?>"><i class="bi bi-hand-thumbs-up-fill"></i> <?php echo e($comment->like_count); ?></span>
              <span class="dislike " data-id="<?php echo e($comment->id); ?>"><i class="bi bi-hand-thumbs-down-fill"></i><?php echo e($comment->dislike_count); ?> </span>

            </p>
        </div>
    </div>

    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>

   
<?php if($status==1): ?>
    <form class="form-block">
        <div class="row">
            <div class="col-xs-12 col-sm-6">
                <div class="form-group fl_icon">
                    <input class="form-input" type="text" placeholder="Adınız Soyadınız">
                </div>
            </div>
            <div class="col-xs-12 col-sm-6 fl_icon">
                <div class="form-group fl_icon">
                    <input class="form-input" type="text" placeholder="Mail Adresiniz">
                </div>
            </div>
            <div class="col-xs-12 mt-3">                                 
                <div class="form-group">
                    <textarea class="form-input" required="" placeholder="Yorumunuz"></textarea>
                </div>
            </div>
            <a class="btn btn-primary pull-right commment-send" style="font-weight: bold;
    font-size: 14px;
    background-color: #ff0000;
    border-color: #ff0000;">Yorumu Gönder</a>
        </div>
    </form>
</div>
</div>

<?php endif; ?>
<?php endif; ?>



      <div class="container newseight" style="margin-top:20px;padding-left:0px; padding-right: 0px;">
            <div class="container mt-5" style="padding-left:0px; padding-right: 0px;">
        <div class="section-header">
            <h2><?php echo e($category->name); ?></h2>
            <div class="line" style="background-color:#<?php echo e($category->color); ?>"></div>
        </div>
    </div>
        <div class="row"  style="margin-top:20px">
           <?php $__currentLoopData = $categoryhaberlerNews; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $ekonomikhaberNews): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
            <div class="col-md-4">
                 <div class="news-card">
            <?php echo getNewsLink($ekonomikhaberNews); ?><img src="<?php echo e($ekonomikhaberNews->news_image); ?>" alt="<?php echo e($ekonomikhaberNews->name); ?>" style="height:165px"></a>
            <div class="news-badge"style="background-color:#<?php echo e($ekonomikhaberNews->category->color); ?> !important;"><?php echo e($ekonomikhaberNews->category->name); ?></div>
             <div class="card-body">
                <h5 class="card-title"> <?php echo getNewsLink($ekonomikhaberNews); ?><div class="news-title"><?php echo e($ekonomikhaberNews->name); ?></div></a></h5></div>
        </div>
            </div>
                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
            
           
        </div>
    </div>


            </div>
            <div class="col-md-3">
                <div class="ads">
                    <?php echo showAd('202'); ?>

                </div>
                <div class="row">
                     <div class="col-md-12 one-cikan" style="padding-right:0px !important">
                <div class="container mt-5" style="padding-left:0px !important;padding-right:0px !important">
                  <div class="section-header" style="display: contents;">
                    <h2>ÖNE ÇIKANLAR</h2>
                    <div class="line" style="background-color:#FF0000;     margin-top: 5px;"></div>
                  </div>
                  <div class="row">
                     <?php $i=0; ?>
                      <?php $__currentLoopData = $categoryhaberlerTop; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $news): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                      <?php $i++; ?>
                    <div class="col-md-12">
                        <div class=" one-cikan-card ">
                          <div class="circle col-md-2"><?php echo e($i); ?></div>
                          <div class="text col-md-10">
                          <?php echo getNewsLink($news); ?><span><?php echo e($news->name); ?></span></a>
                            
                          </div>
                        </div>
                    </div>        
                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>                          
                  </div>
                </div>
              </div>
                    

                </div>


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

</div>

<?php $__env->stopSection(); ?>

<style type="text/css">
    
.article-content figure{
    text-align: center;
}

.article-content  img {
        width: 100%;
    object-fit: contain;
    max-height: 500px;
    text-align: center;
    margin: 0 auto;
}




</style>




<?php echo $__env->make('layout.master', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home2/adana/public_html/resources/views/news.blade.php ENDPATH**/ ?>