<?php $__env->startPush("head"); ?>
    <title><?php echo e($haberDetay->baslik); ?></title>
    <meta name="keywords" content="<?php echo e($haberDetay->metakey); ?>"/>
    <meta name="description" content="<?php echo e($haberDetay->metadesc); ?>"/>
    <?php if(config('ayarlar.amp') == 1): ?>
        <link rel="amphtml" href="<?php echo e(url('amp/'.$haberDetay->slug.'-'.$haberDetay->id)); ?>">
    <?php endif; ?>
    <link rel="image_src" type="image/jpeg" href="<?php echo e(url('images/haberler/'.$haberDetay->resim)); ?>"/>
    <?php if($sonrakiHaber): ?>
        <link rel="next" href="<?php echo e(url('haber/'.$sonrakiHaber->slug.'-'.$sonrakiHaber->id)); ?>"/>
    <?php endif; ?>
    <meta name="DC.date.issued" content="<?php echo e(date('c',strtotime($haberDetay->tarih))); ?>"/>
    <meta itemprop="keywords" name="news_keywords" content="<?php echo e($haberDetay->metakey); ?>"/>
    <meta property="og:type" content="article"/>
    <meta property="og:site_name" content="<?php echo e(config('ayarlar.baslik')); ?>"/>
    <meta property="og:url" content="<?php echo e(URL::current()); ?>"/>
    <meta property="og:title" content="<?php echo e($haberDetay->baslik); ?>"/>
    <meta property="og:description" content="<?php echo e($haberDetay->metadesc); ?>"/>
    <meta property="og:image" content="<?php echo e(url('images/haberler/'.$haberDetay->resim)); ?>"/>
    <meta property="og:image:width" content="640"/>
    <meta property="og:image:height" content="<?php echo e(config('ayarlar.mansety')); ?>"/>
    <meta name="twitter:card" content="summary_large_image">
    <meta name="twitter:image" content="<?php echo e(url('images/haberler/'.$haberDetay->resim)); ?>"/>
    <meta name="twitter:site" content="<?php echo e('@'.config('ayarlar.twkullanici')); ?>">
    <meta name="twitter:url" content="<?php echo e(URL::current()); ?>">
    <meta name="twitter:title" content="<?php echo e($haberDetay->baslik); ?>"/>
    <meta name="twitter:description" content="<?php echo e($haberDetay->metadesc); ?>"/>
    <meta itemprop="author" content="<?php echo e(config('ayarlar.baslik')); ?>"/>
    <meta itemprop="url" content="<?php echo e(URL::current()); ?>"/>
    <meta itemprop="thumbnailUrl" content="<?php echo e(url('images/tn/'.$haberDetay->resim)); ?>"/>
    <meta itemprop="articleSection" content="<?php echo e($haberDetay->haberkat->baslik); ?>"/>
    <meta itemprop="dateCreated" content="<?php echo e(date('c',strtotime($haberDetay->tarih))); ?>"/>
    <meta itemprop="dateModified" content="<?php echo e(date('c',strtotime($haberDetay->tarih))); ?>"/>
    <meta itemprop="mainEntityOfPage" content="<?php echo e(URL::current()); ?>"/>
    <meta itemprop="headline" content="<?php echo e($haberDetay->baslik); ?>"/>
    <meta itemprop="image" content="<?php echo e(url('images/haberler/'.$haberDetay->resim)); ?>"/>
    <script type="application/ld+json" id="breadcrumbStructuredData">
    {
      "@context": "https://schema.org",
      "@type": "BreadcrumbList",
      "itemListElement": [
          { "@type": "ListItem", "position": 1, "name": "Haberler", "item": "<?php echo e(config('ayarlar.siteadresi')); ?>" },{ "@type": "ListItem", "position": 2, "name": "<?php echo e($haberDetay->haberkat->baslik); ?>", "item": "<?php echo e(url($haberDetay->haberkat->slug)); ?>" },{ "@type": "ListItem", "position": 3, "name": "<?php echo e($haberDetay->baslik); ?>", "item": "<?php echo e(URL::current()); ?>" }
      ]
    }
    </script>
    <script type="application/ld+json">
    {
    "@context":"http://schema.org",
    "@type":"NewsArticle",
    "inLanguage":"tr-TR",
    "articleSection":"<?php echo e($haberDetay->haberkat->baslik); ?>",
    "mainEntityOfPage":{"@type":"WebPage","@id":"<?php echo e(URL::current()); ?>"},
    "headline":"<?php echo e($haberDetay->baslik); ?>",
    "genre":"news",
    "keywords":"<?php echo e($haberDetay->metakey); ?>",
	"image": {"@type": "ImageObject", "url": "<?php echo e(url('images/haberler/'.$haberDetay->resim)); ?>", "width":"640","height":"350"},
    "datePublished":"<?php echo e(date('c',strtotime($haberDetay->tarih))); ?>",
    "dateModified":"<?php echo e(date('c',strtotime($haberDetay->tarih))); ?>",
    "description":"<?php echo e($haberDetay->metadesc); ?>",
    "author":{"@type":"Person","name":"<?php echo e(config('ayarlar.baslik')); ?>"},
    "publisher": {"@type": "Organization", "name": "<?php echo e(config('ayarlar.baslik')); ?>

        ", "logo": {"@type": "ImageObject", "url": "<?php echo e(url('images/genel/'.config('ayarlar.logo'))); ?>"}}
    }
    </script>
<?php $__env->stopPush(); ?>
<?php $__env->startSection("content"); ?>
    <?php if(!empty($haberSayfaUst)): ?>
        <section class="block-wrapper text-center reklam mt-0 pt-0 pb-0 mb-30">
            <?php if($haberSayfaUst->tip == 1): ?>
                <a target="_blank" href="<?php echo e($haberSayfaUst->link); ?>">
                    <img src="<?php echo e(url('images/reklamlar/'.$haberSayfaUst->resim)); ?>"
                         alt="<?php echo e($haberSayfaUst->baslik); ?>">
                </a>
            <?php else: ?>
                <?php echo $haberSayfaUst->metin; ?>

            <?php endif; ?>
        </section>
    <?php endif; ?>
    <section class="pt-30 bg-white box-shadow mt-15 mb-30">
        <div class="container">
            <div class="row">
                <div class="col-md-8 single-post-wrapper-scroll">
                    <div class="single-post-wrapper" haber_id="<?php echo e($haberDetay->id); ?>">
                        <div class="news-detail" id="yazdir">
                            <div class="entry-header entry-header-1 mb-20">
                                <h1 class="post-title" itemprop="name">
                                    <?php echo e($haberDetay->baslik); ?>

                                </h1>
                                <div class="breadcrumb">
                                    <a class="color-grey" href="<?php echo e(url('/')); ?>">Ana Sayfa</a>
                                    <span class="color-grey"></span>
                                    <a class="color-grey" href="<?php echo e(url($haberDetay->haberkat->slug)); ?>"><?php echo e(ucwords(mb_strtolower($haberDetay->haberkat->baslik,'utf8'))); ?></a>
                                    <span class="color-grey d-none d-md-inline-block"></span>
                                    <a class="color-grey d-none d-md-inline-block" href="javascript:;"><?php echo e($haberDetay->baslik); ?></a>
                                </div>
                                <div class="bt-1 border-color-1 mb-3 mt-0 mt-md-3"></div>
                            </div>
                            <?php if($haberDetay->embed != null): ?>
                                <div class="responsive-video forprint">
                                    <?php echo $haberDetay->embed; ?>

                                </div>
                            <?php else: ?>
                                <figure class="single-thumnail">
                                    <?php if($haberDetay->resim != null): ?>
                                        <img src="<?php echo e(url('images/haberler/'.$haberDetay->resim)); ?>" class="img-fluid" alt="<?php echo e($haberDetay->baslik); ?>">
                                    <?php else: ?>
                                        <img src="<?php echo e(url('images/genel/'.config('ayarlar.resimsiz'))); ?>"
                                             class="img-fluid" alt="<?php echo e($haberDetay->baslik); ?>">
                                    <?php endif; ?>
                                </figure>
                            <?php endif; ?>
                            <?php if(!empty($haberResimAlt)): ?>
                                <section class="block-wrapper text-center reklam mt-2 pb-0">
                                    <?php if($haberResimAlt->tip == 1): ?>
                                        <a target="_blank" href="<?php echo e($haberResimAlt->link); ?>">
                                            <img src="<?php echo e(url('images/reklamlar/'.$haberResimAlt->resim)); ?>"
                                                 alt="<?php echo e($haberResimAlt->baslik); ?>">
                                        </a>
                                    <?php else: ?>
                                        <?php echo $haberResimAlt->metin; ?>

                                    <?php endif; ?>
                                </section>
                            <?php endif; ?>

                            <?php if($haberDetay->metadesc != null): ?>
                                <blockquote class="wp-block-quote is-style-large" itemprop="description">
                                    <p class="mb-0"><?php echo e($haberDetay->metadesc); ?></p>
                                </blockquote>
                            <?php endif; ?>
                            <div class="single-social-share mt-15 d-flex justify-content-between align-items-center">
                                <div class="entry-meta meta-1 color-grey">
                                    <span class="post-on" itemprop="datePublished" content="<?php echo e(date('c',strtotime($haberDetay->tarih))); ?>"><?php echo e(\Carbon\Carbon::parse($haberDetay->tarih)->formatLocalized('%d %B, %Y, %A %R')); ?></span>
                                    <?php if(config('ayarlar.okunma') == 1): ?>
                                        <span class="hit-count"><i class="ti-eye"></i> <?php echo e($haberDetay->hit); ?></span>
                                    <?php endif; ?>
                                    <?php if($haberDetay->sehir != 0): ?>
                                        <span>
                                        <i class="ti-location-pin"></i>
                                        <a class="color-grey d-inline-block" target="_blank" href="<?php echo e(url($haberDetay->haberili->slug)); ?>"><?php echo e($haberDetay->haberili->il_adi); ?></a>
                                    </span>
                                    <?php endif; ?>
                                </div>
                                <ul class="d-none d-md-inline-block list-inline forprint">
                                    <li class="list-inline-item">
                                        <div class="d-flex align-items-center">
                                            <a title="Yazdır" href="javascript:window.print()" class="mr-md-1">
                                                <img src="<?php echo e(url('assets/frontend/tema9/images/print.png')); ?>" alt="yazdır">
                                            </a>
                                            <?php if($haberDetay->yorum == 1): ?>
                                                <a title="Yorum Yaz" href="#yorumyaz<?php echo e($haberDetay->id); ?>" class="scrollLink mr-md-1">
                                                    <img src="<?php echo e(url('assets/frontend/tema9/images/speech-bubble-with-dots.png')); ?>" alt="yorum yaz">
                                                </a>
                                            <?php endif; ?>
                                            <a href="javascript:;" class="fontkucult">
                                                <img src="<?php echo e(url('assets/frontend/tema9/images/a-decrease.png')); ?>" alt="font küçült">
                                            </a>
                                            <a href="javascript:;" class="fontbuyut">
                                                <img src="<?php echo e(url('assets/frontend/tema9/images/a-increase.png')); ?>" alt="font büyüt">
                                            </a>
                                        </div>
                                    </li>
                                </ul>
                            </div>
                            <div class="bt-1 border-color-1 mb-3 mt-0 mt-md-3"></div>
                            <?php if(config('ayarlar.googlenews') != null): ?>
                                <a href="<?php echo e(config('ayarlar.googlenews')); ?>" target="_blank" rel="nofollow" title="Google Haberlere Abone ol" class="google-news_wrapper mt-0 mb-3">
                                    <span class="text">Abone ol</span>
                                    <span class="custom-icon_google-news"></span>
                                </a>
                            <?php endif; ?>
                            <?php if(!empty($haberOzetAlt)): ?>
                                <section class="block-wrapper text-center reklam mt-0 pt-0 pb-0 mb-15">
                                    <?php if($haberOzetAlt->tip == 1): ?>
                                        <a target="_blank" href="<?php echo e($haberOzetAlt->link); ?>">
                                            <img src="<?php echo e(url('images/reklamlar/'.$haberOzetAlt->resim)); ?>"
                                                 alt="<?php echo e($haberOzetAlt->baslik); ?>">
                                        </a>
                                    <?php else: ?>
                                        <?php echo $haberOzetAlt->metin; ?>

                                    <?php endif; ?>
                                </section>
                            <?php endif; ?>
                            <?php if(isset($iliskilianket)): ?>
                                <form class="anketForm">
                                    <?php echo csrf_field(); ?>

                                    <div class="vote_widget anket_oyla">
                                        <div class="iliskilianket text-center p-2 mt-1 mb-3">
                                            <h5 class="text-white mb-0">Anket</h5>
                                            <div class="anket_detay_message"></div>
                                            <p class="text-white mb-1"><?php echo e($iliskilianket->question); ?></p>
                                            <ul class="list-group pl-0 mb-3 text-left">
                                                <?php if($iliskilianket->options): ?>
                                                    <?php $__currentLoopData = $iliskilianket->options; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $option): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                                        <li class="list-group-item mr-0 p-2">
                                                            <input id="option<?php echo e($option->id); ?>" type="radio" name="data" value="<?php echo e($option->id); ?>">
                                                            <label for="option<?php echo e($option->id); ?>" class="mb-0 ml-1"><?php echo e($option->name); ?></label>
                                                        </li>
                                                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                                <?php endif; ?>
                                            </ul>
                                            <input type="hidden" id="pollId" name="pollId" value="<?php echo e($iliskilianket->id); ?>">
                                            <input type="hidden" id="newsId" name="newsId" value="<?php echo e($haberDetay->id); ?>">
                                            <div class="vote_buttons">
                                                <a href="javascript:;" class="btn btn-dark p-2 mr-1" onclick="anketSend()">Anketi Oyla</a>
                                                <a href="<?php echo e(url('anketler/'.Illuminate\Support\Str::slug($iliskilianket->question) . '-' . $iliskilianket->id)); ?>" class="btn p-2 btn-dark">Oyları Göster</a>
                                            </div>
                                        </div>
                                    </div>
                                </form>
                            <?php endif; ?>
                            <div class="entry-main-content" itemprop="articleBody">
                                <div class="mobile-sharing-container">
                                    <div class="sharing">
                                        <a onclick="myPopup('https://www.facebook.com/share.php?u=<?php echo e(URL::current()); ?>', 'facebook', 620, 430);" href="javascript:;" class="facebook" title="Facebook'da paylaş">
                                            <span class="ti-facebook"></span>
                                        </a>
                                        <a onclick="myPopup('https://twitter.com/share?url=<?php echo e(URL::current()); ?>&amp;text=<?php echo e(urlencode(html_entity_decode($haberDetay->baslik))); ?>', 'twiiter', 620, 430);" href="javascript:;" class="twitter" title="Twitter'da paylaş">
                                            <span class="fa fa-twitter"></span>
                                        </a>
                                        <a href="whatsapp://send?text=<?php echo e($haberDetay->baslik); ?> - <?php echo e(URL::current()); ?>" class="whatsapp" title="WHATSAPP' da paylaş">
                                            <span class="fa fa-whatsapp"></span>
                                        </a>
                                        <a onclick="myPopup('https://www.linkedin.com/sharing/share-offsite/?url=<?php echo e(URL::current()); ?>', 'linkedin', 620, 430);" href="javascript:;" class="linkedin" title="Linkedin'de paylaş">
                                            <span class="fa fa-linkedin"></span>
                                        </a>
                                    </div>
                                </div>
                                <?php if(!empty($haberDetayici)): ?>
                                    <section class="float-left text-center reklam mt-0 mr-2 mb-1 pt-0 pb-2">
                                        <?php if($haberDetayici->tip == 1): ?>
                                            <a target="_blank" href="<?php echo e($haberDetayici->link); ?>">
                                                <img src="<?php echo e(url('images/reklamlar/'.$haberDetayici->resim)); ?>" alt="<?php echo e($haberDetayici->baslik); ?>">
                                            </a>
                                        <?php else: ?>
                                            <?php echo $haberDetayici->metin; ?>

                                        <?php endif; ?>
                                    </section>
                                <?php endif; ?>
                                <?php echo $haberDetay->detay; ?>


                                <?php if(isset($iliskilihaberler)): ?>
                                    <ul class="list-unstyled pl-0 forprint">
                                        <?php $__currentLoopData = $iliskilihaberler; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $iliskili): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                            <li>
                                                <div class="alert alert-secondary clearfix">
                                                    <a class="text-dark font-medium font-weight-bold d-flex align-items-center"
                                                       href="<?php echo e(url('haber/'.$iliskili->slug.'-'.$iliskili->id)); ?>">
                                                        <img class="img-thumbnail float-left mr-3"
                                                             width="200"
                                                             src="<?php echo e(url('images/tn/'.$iliskili->resim)); ?>"
                                                             alt="<?php echo e($iliskili->baslik); ?>">
                                                        <?php echo e($iliskili->baslik); ?>

                                                    </a>
                                                </div>
                                            </li>
                                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                    </ul>
                                <?php endif; ?>
                                <?php if(!empty($haberDetayAlt)): ?>
                                    <section class="block-wrapper text-center reklam mt-0 pt-0 mb-3">
                                        <?php if($haberDetayAlt->tip == 1): ?>
                                            <a target="_blank" href="<?php echo e($haberDetayAlt->link); ?>">
                                                <img src="<?php echo e(url('images/reklamlar/'.$haberDetayAlt->resim)); ?>"
                                                     alt="<?php echo e($haberDetayAlt->baslik); ?>">
                                            </a>
                                        <?php else: ?>
                                            <?php echo $haberDetayAlt->metin; ?>

                                        <?php endif; ?>
                                    </section>
                                <?php endif; ?>
                                <div class="entry-bottom mt-15 mb-15">
                                    <?php if(isset($iliskilimakale)): ?>
                                        <h4>İlgili Makale</h4>
                                        <div class="iliskilimakale media p-2 my-3 d-flex align-items-center">
                                            <a target="_blank"
                                               href="<?php echo e(url('makale/'.Illuminate\Support\Str::slug($iliskilimakale->baslik).'-'. $iliskilimakale->id)); ?>">
                                                <img width="100"
                                                     src="<?php echo e(url('images/kullanicilar/'.$iliskilimakale->makaleyazar->photo)); ?>"
                                                     class="align-self-center mr-3"
                                                     alt="<?php echo e($iliskilimakale->makaleyazar->name); ?>">
                                            </a>
                                            <div class="media-body">
                                                <a target="_blank"
                                                   href="<?php echo e(url('makale/'.Illuminate\Support\Str::slug($iliskilimakale->baslik).'-'. $iliskilimakale->id)); ?>">
                                                    <h5 class="my-0"><?php echo e($iliskilimakale->makaleyazar->name); ?></h5>
                                                    <p class="mb-0 line-camp line-2"><?php echo e($iliskilimakale->baslik); ?></p>
                                                </a>
                                            </div>
                                        </div>
                                    <?php endif; ?>
                                    <?php if(isset($iliskilivideo)): ?>
                                        <h4>İlgili Video</h4>
                                        <div class="iliskilivideo media p-2 my-3 d-flex align-items-center">
                                            <a target="_blank"
                                               href="<?php echo e(url('video/'.Illuminate\Support\Str::slug($iliskilivideo->baslik).'-'.$iliskilivideo->id)); ?>">
                                                <img width="200"
                                                     src="<?php echo e(url('images/videolar/'.$iliskilivideo->resim)); ?>"
                                                     class="mr-3" alt="<?php echo e($iliskilivideo->baslik); ?>">
                                            </a>
                                            <div class="media-body">
                                                <a target="_blank"
                                                   href="<?php echo e(url('video/'.Illuminate\Support\Str::slug($iliskilivideo->baslik).'-'.$iliskilivideo->id)); ?>">
                                                    <h5 class="mt-0"><?php echo e($iliskilivideo->baslik); ?></h5>
                                                    <p class="mb-0 line-camp line-2"><?php echo e(Illuminate\Support\Str::limit(strip_tags($iliskilivideo->metadesc),130)); ?></p>
                                                </a>
                                            </div>
                                        </div>
                                    <?php endif; ?>
                                    <?php if(isset($iliskiligaleri)): ?>
                                        <h4>İlgili Galeri</h4>
                                        <div class="iliskiligaleri media p-2 my-3 d-flex align-items-center">
                                            <a target="_blank"
                                               href="<?php echo e(url('galeri/'.Illuminate\Support\Str::slug($iliskiligaleri->baslik).'-'. $iliskiligaleri->id)); ?>">
                                                <img width="200"
                                                     src="<?php echo e(url('images/galeriler/'.$iliskiligaleri->resim)); ?>"
                                                     class="align-self-center mr-3"
                                                     alt="<?php echo e($iliskiligaleri->baslik); ?>">
                                            </a>
                                            <div class="media-body">
                                                <a target="_blank"
                                                   href="<?php echo e(url('galeri/'.Illuminate\Support\Str::slug($iliskiligaleri->baslik).'-'. $iliskiligaleri->id)); ?>">
                                                    <h5 class="mt-0"><?php echo e($iliskiligaleri->baslik); ?></h5>
                                                    <p class="mb-0 line-camp line-2"><?php echo e(Illuminate\Support\Str::limit(strip_tags($iliskiligaleri->metadesc),130)); ?></p>
                                                </a>
                                            </div>
                                        </div>
                                    <?php endif; ?>
                                    <?php if($haberDetay->kaynak != 0): ?>
                                        <p>
                                            <small class="text-muted"><strong>Kaynak: </strong> <a
                                                    class="text-muted" target="_blank" rel="nofollow"
                                                    href="<?php echo e($haberDetay->haberkaynagi->url); ?>"><?php echo e($haberDetay->haberkaynagi->baslik); ?></a>
                                            </small>
                                        </p>
                                    <?php endif; ?>
                                    <?php if(isset($etiketler)): ?>
                                        <div class="tags forprint mb-3">
                                            <?php $__currentLoopData = $etiketler; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $etiket): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                                <?php if(!empty($etiket)): ?>
                                                    <a rel="tag" href="<?php echo e(url('etiketler/'.Illuminate\Support\Str::slug($etiket).'-haberleri')); ?>"><?php echo e(trim($etiket)); ?></a>
                                                <?php endif; ?>
                                            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                        </div>
                                    <?php endif; ?>
                                </div>
                                    <div class="mobile-sharing-container mb-0">
                                        <div class="sharing">
                                            <a onclick="myPopup('https://www.facebook.com/share.php?u=<?php echo e(URL::current()); ?>', 'facebook', 620, 430);" href="javascript:;" class="facebook" title="Facebook'da paylaş">
                                                <span class="ti-facebook"></span>
                                            </a>
                                            <a onclick="myPopup('https://twitter.com/share?url=<?php echo e(URL::current()); ?>&amp;text=<?php echo e(urlencode(html_entity_decode($haberDetay->baslik))); ?>', 'twiiter', 620, 430);" href="javascript:;" class="twitter" title="Twitter'da paylaş">
                                                <span class="fa fa-twitter"></span>
                                            </a>
                                            <a href="whatsapp://send?text=<?php echo e($haberDetay->baslik); ?> - <?php echo e(URL::current()); ?>" class="whatsapp" title="WHATSAPP' da paylaş">
                                                <span class="fa fa-whatsapp"></span>
                                            </a>
                                            <a onclick="myPopup('https://www.linkedin.com/sharing/share-offsite/?url=<?php echo e(URL::current()); ?>', 'linkedin', 620, 430);" href="javascript:;" class="linkedin" title="Linkedin'de paylaş">
                                                <span class="fa fa-linkedin"></span>
                                            </a>
                                        </div>
                                    </div>
                                <div class="sharing-container forprint">
                                    <div class="sharing">
                                        <a onclick="myPopup('https://www.facebook.com/share.php?u=<?php echo e(URL::current()); ?>', 'facebook', 620, 430);" href="javascript:;" class="facebook" title="Facebook'da paylaş">
                                            <span class="ti-facebook"></span>
                                        </a>
                                        <a onclick="myPopup('https://twitter.com/share?url=<?php echo e(URL::current()); ?>&amp;text=<?php echo e(urlencode(html_entity_decode($haberDetay->baslik))); ?>', 'twiiter', 620, 430);" href="javascript:;" class="twitter" title="Twitter'da paylaş">
                                            <span class="fa fa-twitter"></span>
                                        </a>
                                        <a href="whatsapp://send?text=<?php echo e($haberDetay->baslik); ?> - <?php echo e(URL::current()); ?>" class="whatsapp" title="WHATSAPP' da paylaş">
                                            <span class="fa fa-whatsapp"></span>
                                        </a>
                                        <a onclick="myPopup('https://www.linkedin.com/sharing/share-offsite/?url=<?php echo e(URL::current()); ?>', 'linkedin', 620, 430);" href="javascript:;" class="linkedin" title="Linkedin'de paylaş">
                                            <span class="fa fa-linkedin"></span>
                                        </a>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="bt-1 border-color-1 mt-30 mb-30"></div>
                        <?php if(config('ayarlar.emoji') == 1): ?>
                            <div class="reactions text-center forprint">
                                <ul class="reactions-box">
                                    <?php $__currentLoopData = $emojiler; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $emoji): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                        <li onclick="arttir('<?php echo e($emoji->id); ?>','<?php echo e($haberDetay->id); ?>')"
                                            class="reaction <?php echo e($emoji->class_isim); ?> emojiBorder<?php echo e($emoji->id); ?>"
                                            data-item-icon="<?php echo e($emoji->class_isim); ?>"
                                            data-item-id="<?php echo e($emoji->id); ?>">
                                            <div class="count rateEmoji<?php echo e($emoji->id); ?>"
                                                 style="height: <?php echo e($sonuclarArray[$emoji->id]['yuzde'].'px'); ?>">
                                                <span class="count-text countEmoji<?php echo e($emoji->id); ?>"><?php echo e($sonuclarArray[$emoji->id]['sayi']); ?></span>
                                            </div>
                                            <div class="emoji">
                                                <span class="emoji-img"></span>
                                                <span class="emoji-text"><?php echo e($emoji->emoji_isim); ?></span>
                                            </div>
                                        </li>
                                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                </ul>
                            </div>
                            <div class="bt-1 border-color-1 mt-30 mb-30"></div>
                        <?php endif; ?>

                        <?php if(config('ayarlar.editor') == 1): ?>
                            <div class="author-bio d-flex">
                                <div class="author-image mb-15">
                                    <a href="<?php echo e(url('editorler/'.Illuminate\Support\Str::slug($haberDetay->habereditoru->name).'-'.$haberDetay->habereditoru->id)); ?>">
                                        <?php if($haberDetay->habereditoru->photo == null): ?>
                                            <img class="avatar"
                                                 src="<?php echo e(url('images/kullanicilar/no_photo.jpeg')); ?>"
                                                 alt="<?php echo e($haberDetay->habereditoru->name); ?>">
                                        <?php else: ?>
                                            <img class="avatar"
                                                 src="<?php echo e(url('images/kullanicilar/'.$haberDetay->habereditoru->photo)); ?>"
                                                 alt="<?php echo e($haberDetay->habereditoru->name); ?>">
                                        <?php endif; ?>
                                    </a>
                                </div>
                                <div class="author-info">
                                    <h3><span class="vcard author"><span class="fn"><a href="<?php echo e(url('editorler/'.Illuminate\Support\Str::slug($haberDetay->habereditoru->name).'-'.$haberDetay->habereditoru->id)); ?>" rel="author"><?php echo e($haberDetay->habereditoru->name); ?></a></span></span>
                                    </h3>
                                    <div class="author-description mt-0">
                                        <a  href="mailto:<?php echo e($haberDetay->habereditoru->email); ?>">Mail: <?php echo e($haberDetay->habereditoru->email); ?></a>
                                    </div>
                                    <a href="<?php echo e(url('editorler/'.Illuminate\Support\Str::slug($haberDetay->habereditoru->name).'-'.$haberDetay->habereditoru->id)); ?>" class="author-bio-link">Tüm yazıları</a>
                                    <div class="author-social">
                                        <ul class="author-social-icons">
                                            <li class="author-social-link-facebook"><a href="<?php echo e($haberDetay->habereditoru->facebook); ?>" target="_blank"><i class="ti-facebook"></i></a></li>
                                            <li class="author-social-link-twitter"><a href="<?php echo e($haberDetay->habereditoru->twitter); ?>" target="_blank"><i class="ti-twitter-alt"></i></a></li>
                                            <li class="author-social-link-instagram"><a href="<?php echo e($haberDetay->habereditoru->instagram); ?>" target="_blank"><i class="ti-instagram"></i></a></li>
                                        </ul>
                                    </div>
                                </div>
                            </div>
                        <?php endif; ?>
                        <?php if($haberDetay->yorum == 1): ?>
                            <?php if(!empty($haberYorumUst)): ?>
                                <section class="block-wrapper text-center reklam my-3 pt-0 pb-0">
                                    <?php if($haberYorumUst->tip == 1): ?>
                                        <a target="_blank" href="<?php echo e($haberYorumUst->link); ?>">
                                            <img src="<?php echo e(url('images/reklamlar/'.$haberYorumUst->resim)); ?>"
                                                 alt="<?php echo e($haberYorumUst->baslik); ?>">
                                        </a>
                                    <?php else: ?>
                                        <?php echo $haberYorumUst->metin; ?>

                                    <?php endif; ?>
                                </section>
                            <?php endif; ?>
                            <?php if($haberDetay->haberyorumlari->count() != 0): ?>
                                <div class="comments-area border-top-0 pt-0">
                                    <h3 class="mb-30">Yorumlar</h3>
                                    <?php $__currentLoopData = $haberDetay->haberyorumlari; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $haberyorum): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                        <div class="comment-list">
                                            <div class="single-comment justify-content-between d-flex">
                                                <div class="user justify-content-between d-flex">
                                                    <div class="thumb">
                                                        <img src="<?php echo e(url('images/no-image.jpg')); ?>" alt="yorum avatar">
                                                    </div>
                                                    <div class="desc">
                                                        <p class="comment">
                                                            <?php echo e($haberyorum->yorum); ?>

                                                        </p>
                                                        <div class="d-flex justify-content-between">
                                                            <div class="d-flex align-items-center">
                                                                <h5>
                                                                    <?php echo e($haberyorum->isim); ?>

                                                                </h5>
                                                                <p class="date"><?php echo e(date('d-m-Y H:i',strtotime($haberyorum->created_at))); ?></p>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                </div>
                            <?php endif; ?>
                            <?php if(config('ayarlar.fbyorum') == 1): ?>
                                <h4 class="mt-3 text-muted">Facebook Yorum</h4>
                                <div class="fb-comments" data-href="<?php echo e(URL::current()); ?>"
                                     data-width="615" data-numposts="5"></div>
                            <?php endif; ?>
                            <div class="comment-form border-top-0 pt-0 forprint" id="yorumyaz<?php echo e($haberDetay->id); ?>">
                                <div class="callback_message<?php echo e($haberDetay->id); ?>"></div>
                                <h3 class="mb-30">Yorum Yazın</h3>
                                <form role="form" class="form-contact comment_form" id="frmComments<?php echo e($haberDetay->id); ?>">
                                    <?php echo csrf_field(); ?>
                                    <div class="row">
                                        <div class="col-sm-6">
                                            <div class="form-group">
                                                <input class="form-control" name="isim" id="isim<?php echo e($haberDetay->id); ?>" type="text" placeholder="İsminiz">
                                            </div>
                                        </div>
                                        <div class="col-sm-6">
                                            <div class="form-group">
                                                <input class="form-control" name="email" id="email<?php echo e($haberDetay->id); ?>" placeholder="E-Posta Adresiniz" type="email">
                                            </div>
                                        </div>
                                        <div class="col-12">
                                            <div class="form-group">
                                                <textarea class="form-control w-100" id="yorum<?php echo e($haberDetay->id); ?>" name="yorum" placeholder="Yorumunuz" cols="30" rows="5"></textarea>
                                            </div>
                                        </div>

                                    </div>
                                    <input type="hidden" name="haberid" id="haberid" value="<?php echo e($haberDetay->id); ?>">
                                    <div class="form-group">
                                        <button type="button" class="button button-contactForm" onclick="yorumYap('<?php echo e($haberDetay->id); ?>')">Yorumu Gönder</button>
                                    </div>

                                </form>
                            </div>

                            <?php if(!empty($haberYorumAlt)): ?>
                                <section class="block-wrapper text-center reklam mt-3 pt-0 pb-0 mb-3">
                                    <?php if($haberYorumAlt->tip == 1): ?>
                                        <a target="_blank" href="<?php echo e($haberYorumAlt->link); ?>">
                                            <img src="<?php echo e(url('images/reklamlar/'.$haberYorumAlt->resim)); ?>"
                                                 alt="<?php echo e($haberYorumAlt->baslik); ?>">
                                        </a>
                                    <?php else: ?>
                                        <?php echo $haberYorumAlt->metin; ?>

                                    <?php endif; ?>
                                </section>
                            <?php endif; ?>
                        <?php endif; ?>

                    </div>



                    <?php if(config('ayarlar.detaymanset') == 1): ?>
                        <div class="widget-thin-slider mb-3 forprint">
                            <div class="swiper-container slider">
                                <div class="swiper-wrapper">
                                    <?php if(count($anaManset) != 0): ?>
                                        <?php $__currentLoopData = $anaManset; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $normalmanset): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                            <div class="swiper-slide color-yellow">
                                                <a class="yenisekme"
                                                   href="<?php echo e(url('haber/'.$normalmanset->slug.'-'.$normalmanset->id)); ?>"
                                                   title="<?php echo e($normalmanset->baslik); ?>">
                                                    <figure class="mb-0">
                                                        <div class="img">
                                                            <?php if($normalmanset->resim != null): ?>
                                                                <img class="maxwidth w-100 swiper-lazy"
                                                                     height="<?php echo e(config('ayarlar.mansety')); ?>"
                                                                     src="<?php echo e(url('images/transparent.gif')); ?>"
                                                                     data-src="<?php echo e(url('images/haberler/'.$normalmanset->resim)); ?>"
                                                                     alt="<?php echo e($normalmanset->baslik); ?>">
                                                            <?php else: ?>
                                                                <img class="maxwidth w-100 swiper-lazy"
                                                                     height="<?php echo e(config('ayarlar.mansety')); ?>"
                                                                     src="<?php echo e(url('images/transparent.gif')); ?>"
                                                                     data-src="<?php echo e(url('images/genel/'.config('ayarlar.resimsiz'))); ?>"
                                                                     alt="<?php echo e($normalmanset->baslik); ?>">
                                                            <?php endif; ?>
                                                        </div>
                                                        <?php if($normalmanset->mansetbaslik == 1): ?>
                                                            <div class="caption-area">
                                                                <?php if($normalmanset->baslik2 != null): ?>
                                                                    <span class="secondtitle" title="Başlık"><?php echo e($normalmanset->baslik2); ?></span>
                                                                <?php endif; ?>
                                                                <figcaption
                                                                    style="background-color: <?php echo e($normalmanset->renk); ?>">
                                                                    <span class="title"><?php echo e($normalmanset->baslik); ?></span>
                                                                </figcaption>
                                                            </div>
                                                        <?php endif; ?>
                                                    </figure>
                                                </a>
                                                <div class="swiper-lazy-preloader swiper-lazy-preloader-white"></div>
                                            </div>
                                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                    <?php endif; ?>
                                </div>
                                <ul class="indicator type1 bottom">
                                    <li>
                                        <div class="swiper-pagination paginations justify-md-content-between"></div>
                                    </li>
                                </ul>
                            </div>
                        </div>
                    <?php endif; ?>
                    <?php if(config('ayarlar.sonrakihaber') == 1 && $sonrakiHaber): ?>
                        <div class="scroller-status">
                            <div class="loader-ellips infinite-scroll-request">
                                <span class="loader-ellips__dot"></span>
                                <span class="loader-ellips__dot"></span>
                                <span class="loader-ellips__dot"></span>
                                <span class="loader-ellips__dot"></span>
                            </div>
                            <p class="scroller-status__message infinite-scroll-last text-center">Başka haber bulunmuyor!</p>
                        </div>
                        <p class="pagination">
                            <a class="pagination__next" rel="next"
                               href="<?php echo e(url('haber/'.$sonrakiHaber->slug.'-'.$sonrakiHaber->id)); ?>"></a>
                        </p>
                    <?php endif; ?>

                </div>
                <div class="col-lg-4 col-md-12 col-sm-12 primary-sidebar sticky-sidebar sticky-sidebar d-none d-md-block">
                    <?php echo $__env->make('frontend.'.$temaadi.'.blocks.sidebarHaberler', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
                </div>
            </div>
        </div>
    </section>

    <?php if(!empty($haberSayfaAlt)): ?>
        <section class="block-wrapper text-center reklam pt-0 pb-0 mt-15">
            <?php if($haberSayfaAlt->tip == 1): ?>
                <a target="_blank" href="<?php echo e($haberSayfaAlt->link); ?>">
                    <img src="<?php echo e(url('images/reklamlar/'.$haberSayfaAlt->resim)); ?>"
                         alt="<?php echo e($haberSayfaAlt->baslik); ?>">
                </a>
            <?php else: ?>
                <?php echo $haberSayfaAlt->metin; ?>

            <?php endif; ?>
        </section>
    <?php endif; ?>
<?php $__env->stopSection(); ?>
<?php $__env->startPush("customJs"); ?>
    <script>
        $.ajaxSetup({headers: {'X-CSRF-TOKEN': '<?php echo e(csrf_token()); ?>'}});
        $("a.scrollLink").click(function (event) {
            event.preventDefault();
            $("html, body").animate({scrollTop: $($(this).attr("href")).offset().top - 100}, 500);
        });
        $('.fontbuyut').click(function () {
            curSize = parseInt($('.entry-main-content p').css('font-size')) + 2;
            if (curSize <= 28)
                $('.entry-main-content p').css('font-size', curSize);
        });
        $('.fontkucult').click(function () {
            curSize = parseInt($('.entry-main-content p').css('font-size')) - 2;
            if (curSize >= 10)
                $('.entry-main-content p').css('font-size', curSize);
        });
        function myPopup(myURL, title, myWidth, myHeight) {
            var left = (screen.width - myWidth) / 2;
            var top = (screen.height - myHeight) / 4;
            var myWindow = window.open(myURL, title, 'toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=no, resizable=no, copyhistory=no, width=' + myWidth + ', height=' + myHeight + ', top=' + top + ', left=' + left);
        }
        function arttir(emoji_id, haber_id) {
            $.ajax({
                url: '/emoji-oy-arttir/ajax',
                type: 'POST',
                data: {emoji_id: emoji_id, haber_id: haber_id},
                success: function (response) {
                    if (response.status === 'success') {
                        $('.rateEmoji' + emoji_id).css('background-color', '#163471');
                        $('.emojiBorder' + emoji_id).css('border-bottom-color', '#3b5998');

                        $.each(response.data, function (i, v) {
                            $('.rateEmoji' + v.id).css('height', v.yuzde);
                            $('.countEmoji' + v.id).empty().append(v.sayi);

                            if (v.sayi === 0) {
                                $('.emojiBorder' + v.id).css('border-bottom-color', '#ffffff');
                            }
                        });
                    }
                }
            });
        }
        function yorumYap(haberid){
            let isim = $('#isim'+haberid).val();
            let email = $('#email'+haberid).val();
            let yorum = $('#yorum'+haberid).val();
            $.ajax({
                type: "POST",
                url: '/haberyorum',
                data: {isim: isim, email: email, yorum: yorum, haberid: haberid},
                dataType: 'json',
                success: function (response) {
                    $(".callback_message"+haberid).empty().append("<div class='alert alert-success'>" + response.msg + "</div>");
                    $('#frmComments'+haberid)[0].reset();
                    setTimeout(function () {
                        $('.callback_message'+haberid).hide();
                    }, 2000);
                },
                error: function (request, status, error) {
                    let responseData = JSON.parse(request.responseText);
                    let content = '';

                    $.each(responseData.errors,function (item, value) {
                        content += value[0]+' ';
                    });

                    $(".callback_message"+haberid).empty().append("<div class='alert alert-danger'>"+ content +"</div>");
                }
            });
        }
    </script>
    <?php if(config('ayarlar.sonrakihaber') == 1 && $sonrakiHaber): ?>
        <script src="<?php echo e(asset('assets/frontend/'.$temaadi.'/js/infinite-scroll.pkgd.min.js')); ?>"></script>
        <script>
            let nextURL = "";

            function updateNextURL(doc) {
                nextURL = $(doc).find('.pagination__next').attr('href');
                if (!nextURL){
                    nextURL = false;
                }
            }
            updateNextURL(document);
            var $container = $('.single-post-wrapper-scroll').infiniteScroll({
                path: function () {
                    if(nextURL !== false){
                        return nextURL;
                    }else{
                        return '';
                    }
                },
                historyTitle: true,
                history: 'push',
                prefill: true,
                append: '.single-post-wrapper',
                status: '.scroller-status',
                hideNav: '.pagination'
            });
            $container.on('history.infiniteScroll', function (event, title, path) {
                ga('set', 'page', location.pathname);
                ga('send', 'pageview');
            });

            $container.on('load.infiniteScroll', function (event, response, path) {
                updateNextURL(response);
            });

            $container.on('append.infiniteScroll', function (event, error, path) {

                $("a.scrollLink").click(function (event) {
                    event.preventDefault();
                    $("html, body").animate({scrollTop: $($(this).attr("href")).offset().top - 100}, 500);
                });

                $('.fontbuyut').click(function () {
                    curSize = parseInt($('.entry-main-content p').css('font-size')) + 2;
                    if (curSize <= 28)
                        $('.entry-main-content p').css('font-size', curSize);
                });
                $('.fontkucult').click(function () {
                    curSize = parseInt($('.entry-main-content p').css('font-size')) - 2;
                    if (curSize >= 10)
                        $('.entry-main-content p').css('font-size', curSize);
                });
            });
        </script>
    <?php endif; ?>

    <script>
        function anket() {
            let form = $('.anketForm');
            $.ajax({
                type: "POST",
                url: "<?php echo e(url('/anketler/oy-ver')); ?>",
                data: form.serialize(),
                success : function (response) {
                    $('.anket_detay_message').empty().append(response.message);
                    setTimeout(function () {
                        window.location.reload();
                    },2000)
                },
                error: function (request, status, error) {
                    var responseData = JSON.parse(request);
                    var content = '';

                    console.log(responseData);
                }
            });
        }
        function anketSend() {
            let form = $('.anketForm');
            $.ajax({
                type: "POST",
                url: "<?php echo e(url('anketler/oy-ver')); ?>",
                data: form.serialize(),
                success : function (response) {
                    $('.anket_detay_message').empty().append(response.message);
                    setTimeout(function () {
                        window.location.reload();
                    },2000)
                },
                error: function (request, status, error) {
                    var responseData = JSON.parse(request);
                    var content = '';

                    console.log(responseData);
                }
            });
        }
        function addLink() {
            var body_element = document.getElementsByTagName('body')[0];
            var selection;
            selection = window.getSelection();
            var pagelink = "<br /><br /> Kaynak Linki = <a target='_blank' href='"+document.location.href+"'>"+document.location.href+"</a><br />";
            var copytext = selection + pagelink;
            var newdiv = document.createElement('div');
            newdiv.style.position='absolute';
            newdiv.style.left='-99999px';
            body_element.appendChild(newdiv);
            newdiv.innerHTML = copytext;
            selection.selectAllChildren(newdiv);
            window.setTimeout(function() {
                body_element.removeChild(newdiv);
            },0);
        }
        document.oncopy = addLink;
    </script>
<?php $__env->stopPush(); ?>
<?php $__env->startPush("customCss"); ?>
    <link rel="stylesheet" href="<?php echo e(asset('assets/frontend/tema9/css/hdetay.css?v=1.5')); ?>">
    <style>
        .entry-main-content img{
            max-width:100%;
            height:auto !important;
        }
    </style>
<?php $__env->stopPush(); ?>

<?php echo $__env->make('frontend.'.$temaadi.'.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/yeniistik/public_html/resources/views/frontend/tema9/haberDetay.blade.php ENDPATH**/ ?>