<?php $__env->startPush("head"); ?>
    <title><?php echo e(config('ayarlar.baslik')); ?></title>
    <meta name="keywords" content="<?php echo e(config('ayarlar.seokeyw')); ?>"/>
    <meta name="description" content="<?php echo e(config('ayarlar.seodesc')); ?>"/>
    <link rel="alternate" type="application/rss+xml" title="RSS servisi" href="<?php echo e(url('rss/genel-0')); ?>"/>
    <meta property="og:type" content="website"/>
    <meta property="og:site_name" content="<?php echo e(config('ayarlar.baslik')); ?>" />
    <meta property="og:url" content="<?php echo e(url('/')); ?>"/>
    <meta property="og:title" content="<?php echo e(config('ayarlar.baslik')); ?>"/>
    <meta property="og:description" content="<?php echo e(config('ayarlar.seodesc')); ?>"/>
    <meta property="og:image" content="<?php echo e(url('images/genel/'.config('ayarlar.logo'))); ?>"/>
    <meta property="og:image:width" content="300"/>
    <meta property="og:image:height" content="300"/>
    <meta name="twitter:card" content="summary_large_image">
    <meta name="twitter:image" content="<?php echo e(url('images/genel/'.config('ayarlar.logo'))); ?>"/>
    <meta name="twitter:site" content="<?php echo e('@'.config('ayarlar.twkullanici')); ?>">
    <meta name="twitter:url" content="<?php echo e(url('/')); ?>">
    <meta name="twitter:title" content="<?php echo e(config('ayarlar.baslik')); ?>"/>
    <meta name="twitter:description" content="<?php echo e(config('ayarlar.seodesc')); ?>"/>
    <meta name="application-name" content="<?php echo e(config('ayarlar.baslik')); ?>"/>
    <meta name="msapplication-TileImage" content="<?php echo e(url('images/genel/'.config('ayarlar.logo'))); ?>"/>
<?php $__env->stopPush(); ?>
<?php $__env->startSection("content"); ?>
    <?php if(!empty($anasayfaMastReklam)): ?>
        <?php echo $__env->make('frontend.tema9.ads.masthead', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
    <?php endif; ?>
    <?php if(config('ayarlar.flas') == 1 && count($sonDakika) != 0): ?>
        <?php echo $__env->make('frontend.'.$temaadi.'.blocks.sonDakika', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
    <?php endif; ?>
    <?php if(config('ayarlar.canliyayin') != null): ?>
        <?php echo $__env->make('frontend.'.$temaadi.'.blocks.canliYayin', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
    <?php endif; ?>
    <?php if($modullerNew): ?>
        <?php ($ozelKatCheck = true); ?>
        <?php ($gundemCheck = true); ?>
        <?php $__currentLoopData = $modullerNew; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
            <?php switch($item->code):
                case ('yataymanset'): ?>
                <?php echo $__env->make('frontend.'.$temaadi.'.blocks.yatayManset',['yataymansetler' => $item->contents], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
                <?php break; ?>
                <?php case ('normalmanset'): ?>
                <?php echo $__env->make('frontend.tema9.blocks.normalManset',['normalMansetler' => $item->contents], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
                <?php if(!empty($anasayfaNormalAlt1)): ?>
                    <section class="block-wrapper text-center reklam">

                            <?php if($anasayfaNormalAlt1->tip == 1): ?>
                                <a target="_blank" href="<?php echo e($anasayfaNormalAlt1->link); ?>">
                                    <img src="<?php echo e(url('images/reklamlar/'.$anasayfaNormalAlt1->resim)); ?>" alt="<?php echo e($anasayfaNormalAlt1->baslik); ?>">
                                </a>
                            <?php else: ?>
                                <?php echo $anasayfaNormalAlt1->metin; ?>

                            <?php endif; ?>

                    </section>
                <?php endif; ?>
                <?php if(!empty($anasayfaNormalAlt2)): ?>
                    <section class="block-wrapper text-center reklam">

                            <?php if($anasayfaNormalAlt2->tip == 1): ?>
                                <a target="_blank" href="<?php echo e($anasayfaNormalAlt2->link); ?>">
                                    <img src="<?php echo e(url('images/reklamlar/'.$anasayfaNormalAlt2->resim)); ?>" alt="<?php echo e($anasayfaNormalAlt2->baslik); ?>">
                                </a>
                            <?php else: ?>
                                <?php echo $anasayfaNormalAlt2->metin; ?>

                            <?php endif; ?>

                    </section>
                <?php endif; ?>
                <?php break; ?>
                <?php case ('spotmanset'): ?>
                    <?php echo $__env->make('frontend.'.$temaadi.'.blocks.spot', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
                <?php break; ?>
                <?php case ('yazarlar'): ?>
                <?php if(config('ayarlar.yazarlarblok') == 1): ?>
                    <?php if($yazarlar): ?>
                        <?php echo $__env->make('frontend.'.$temaadi.'.blocks.yazarlarYatay', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
                    <?php endif; ?>
                <?php endif; ?>
                <?php break; ?>
                <?php case ('editorsectikleri'): ?>
                    <?php echo $__env->make('frontend.'.$temaadi.'.blocks.editorSectikleri', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
                <?php break; ?>
                <?php case ('altblok'): ?>
                <?php echo $__env->make('frontend.'.$temaadi.'.blocks.altBlok', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
                <?php break; ?>
                <?php case ('fotogaleri'): ?>
                    <?php if(config('ayarlar.fotogaleri') == 1 or $fotoGaleri != null): ?>
                        <?php if(!empty($anasayfaFotoUst)): ?>
                            <section class="block-wrapper text-center reklam">
                                    <?php if($anasayfaFotoUst->tip == 1): ?>
                                        <a target="_blank" href="<?php echo e($anasayfaFotoUst->link); ?>">
                                            <img src="<?php echo e(url('images/reklamlar/'.$anasayfaFotoUst->resim)); ?>" alt="<?php echo e($anasayfaFotoUst->baslik); ?>">
                                        </a>
                                    <?php else: ?>
                                        <?php echo $anasayfaFotoUst->metin; ?>

                                    <?php endif; ?>
                            </section>
                        <?php endif; ?>
                        <?php echo $__env->make('frontend.'.$temaadi.'.blocks.fotoGaleriHome', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
                        <?php if(!empty($anasayfaFotoAlt)): ?>
                            <section class="block-wrapper text-center reklam">

                                    <?php if($anasayfaFotoAlt->tip == 1): ?>
                                        <a target="_blank" href="<?php echo e($anasayfaFotoAlt->link); ?>">
                                            <img src="<?php echo e(url('images/reklamlar/'.$anasayfaFotoAlt->resim)); ?>" alt="<?php echo e($anasayfaFotoAlt->baslik); ?>">
                                        </a>
                                    <?php else: ?>
                                        <?php echo $anasayfaFotoAlt->metin; ?>

                                    <?php endif; ?>

                            </section>
                        <?php endif; ?>
                    <?php endif; ?>
                <?php break; ?>
                <?php case ('gundemkont'): ?>
                <div class="pt-30 pb-30 bg-white box-shadow mb-30">
                    <?php $__currentLoopData = $item->childs; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $child): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                        <?php if($child->code == 'gundemhaber' && count($child->contents) != 0): ?>
                            <div class="container mb-30">
                                <div class="sidebar-widget loop-grid">
                                    <div class="row">
                                        <div class="col-md-12">
                                            <div class="widget-header position-relative mb-30">
                                                <h5 class="widget-title mb-30 text-uppercase color1 font-weight-ultra">Gündem</h5>
                                                <div class="letter-background">Haberleri</div>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="row">
                                        <div class="col-12">
                                            <div class="pt-30 bt-1 border-color-1"></div>
                                        </div>
                                        <?php $__currentLoopData = $child->contents; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $haber): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                        <div class="col-lg-4 col-md-6 col-sm-12 mb-30">
                                            <div class="post-thumb position-relative thumb-overlay hover-box-shadow-2 mb-30">
                                                <div class="img-hover-slide border-radius-5 position-relative" style="background-image: url(<?php echo e($haber->resim != null ? url('images/tn/'.$haber->resim ) : url('images/genel/'.config('ayarlar.resimsiz'))); ?>)">
                                                    <a class="img-link" href="<?php echo e($haber->ozellink != 1 ? url('haber/'.$haber->slug.'-'.$haber->id) : $haber->ozelurl); ?>"></a>
                                                </div>
                                            </div>
                                            <div class="post-content">
                                                <h4 class="post-title">
                                                    <a class="text-limit-2-row" href="<?php echo e($haber->ozellink != 1 ? url('haber/'.$haber->slug.'-'.$haber->id) : $haber->ozelurl); ?>"><?php echo e($haber->baslik); ?></a>
                                                </h4>
                                            </div>
                                        </div>
                                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                        <div class="col-12">
                                            <div class="mt-30 bt-1 border-color-1"></div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        <?php elseif($child->code == 'sporhaber' && count($child->contents) != 0): ?>
                            <?php echo $__env->make('frontend.'.$temaadi.'.blocks.spor', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
                        <?php endif; ?>
                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                    <?php if(!empty($anasayfaGundemAlt)): ?>
                        <section class="block-wrapper text-center reklam mt-1">
                            <?php if($anasayfaGundemAlt->tip == 1): ?>
                                <a target="_blank" href="<?php echo e($anasayfaGundemAlt->link); ?>">
                                    <img src="<?php echo e(url('images/reklamlar/'.$anasayfaGundemAlt->resim)); ?>" alt="<?php echo e($anasayfaGundemAlt->baslik); ?>">
                                </a>
                            <?php else: ?>
                                <?php echo $anasayfaGundemAlt->metin; ?>

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

                <?php case ('ozelkategori1'): ?>
                    <?php if(count($item->contents) != 0): ?>
                        <?php echo $__env->make('frontend.'.$temaadi.'.blocks.ozelkat1', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
                    <?php endif; ?>
                <?php break; ?>
                <?php case ('ozelkategori2'): ?>
                <?php if(count($item->contents) != 0): ?>
                    <?php echo $__env->make('frontend.'.$temaadi.'.blocks.ozelkat2', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
                <?php endif; ?>
                <?php break; ?>
                <?php case ('ozelkategori3'): ?>
                <?php if(count($item->contents) != 0): ?>
                    <?php echo $__env->make('frontend.'.$temaadi.'.blocks.ozelkat3', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
                <?php endif; ?>
                <?php break; ?>
                <?php case ('videogaleri'): ?>
                    <?php echo $__env->make('frontend.'.$temaadi.'.blocks.videoGaleriHome', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
                <?php break; ?>
                <?php default: ?>
                <?php break; ?>
            <?php endswitch; ?>
        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
    <?php endif; ?>
    <div class="row">
        <?php $__currentLoopData = $sonHaberler; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $haber): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
        <div class="col-6 col-md-4">
            <a href="<?php echo e($haber->ozellink != 1 ? url('haber/'.$haber->slug.'-'.$haber->id) : $haber->ozelurl); ?>" title="<?php echo e($haber->baslik); ?>" class="news-list no-image">
                <span class="text-limit-2-row"><?php echo e($haber->baslik); ?></span>
            </a>
        </div>
        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
    </div>
    <?php if(!empty($anasayfaAltReklam)): ?>
        <section class="block-wrapper text-center reklam">

                <?php if($anasayfaAltReklam->tip == 1): ?>
                    <a target="_blank" href="<?php echo e($anasayfaAltReklam->link); ?>">
                        <img src="<?php echo e(url('images/reklamlar/'.$anasayfaAltReklam->resim)); ?>" alt="<?php echo e($anasayfaAltReklam->baslik); ?>">
                    </a>
                <?php else: ?>
                    <?php echo $anasayfaAltReklam->metin; ?>

                <?php endif; ?>

        </section>
    <?php endif; ?>
<?php $__env->stopSection(); ?>

<?php $__env->startPush("customJs"); ?>
    <script>
        if ($('.g-slider-b').length) {
            var prevBT = $('.g-slider-b').find('ins.prev');
            var nextBT = $('.g-slider-b').find('ins.next');
            var galleryTop = new Swiper("#g-slider-b .swiper-container", {
                    navigation: {
                        nextEl: nextBT,
                        prevEl: prevBT,
                    },
                    spaceBetween: 0,
                    freeMode: !1,
                    mousewheel: !1,
                    loop: true,
                    allowTouchMove: !1,
                    speed: 1,
                    autoplay: {delay: 4e3},
                    autoplayDisableOnInteraction: !0,

                on: {
                    init: function () {
                        var swiper = this;
                        var slideHover = function () {
                            if (!swiper.pagination.bullets || swiper.pagination.bullets.length === 0) {
                                return setTimeout(slideHover, 200);
                            }
                            $(swiper.pagination.bullets).on("mouseover", function () {
                                var index = parseInt($(this).attr("data-id"));
                                if (swiper.loopedSlides) {
                                    index = (index + 1)
                                }
                                swiper.slideTo(index);
                            });
                        };
                        setTimeout(slideHover, 50);
                    }
                },
                pagination: {
                    el: '.g-slider-b .swiper-pagination',
                    renderBullet: function (index, className) {
                        var id = index;
                        if (this.loopedSlides) {
                            index = (index + 1);
                        }
                        var slideLink = this.slides[index].querySelector("a");
                        var buttonHtml = '<span data-id="' + id + '" class="' + className + '">' + (id + 1) + '</span>';
                        if (slideLink) {
                            buttonHtml = '<a href="' + slideLink.getAttribute("href") + '">' + buttonHtml + "</a>";
                        }
                        return buttonHtml;
                    },
                },
                    breakpoints: {
                        479: {
                            pagination: {
                                el: '.g-slider-b .swiper-pagination',
                                renderBullet: function (index, className) {
                                    var id = index;
                                    if (this.loopedSlides) {
                                        index = (index + 1);
                                    }
                                    var slideLink = this.slides[index].querySelector("a");
                                    var buttonHtml = '<span data-id="' + id + '" class="' + className + ' bullets"></span>';
                                    if (slideLink) {
                                        buttonHtml = '<a href="' + slideLink.getAttribute("href") + '" target="' + slideLink.getAttribute("target") + '">' + buttonHtml + "</a>";
                                    }
                                    return buttonHtml;
                                },
                            },
                            allowTouchMove: true,
                        }
                    }
                });
            $("#g-slider-b .swiper-container").hover(function () {
                this.swiper.autoplay.stop()
            }, function () {
                this.swiper.autoplay.start()
            });
        }

        if ($('.autsld').length) {
            var prvBT = $('.authbx').find('ins.prev');
            var nxtBT = $('.authbx').find('ins.next');
            var autsld = new Swiper('.autsld', {
                navigation: {
                    nextEl: nxtBT,
                    prevEl: prvBT,
                },
                slidesPerView: 3, slidesPerGroup: 3,
                preventClicks: false,
                breakpoints: {
                    479: {slidesPerView: 1, slidesPerGroup: 1, spaceBetween: 0},
                    767: {slidesPerView: 2, slidesPerGroup: 2, spaceBetween: 0},
                    991: {slidesPerView: 3, slidesPerGroup: 3, spaceBetween: 0}
                },
                loop: true,
                autoplay: {
                    delay: 5000,
                },
                spaceBetween: 0
            });

            $(".autsld").mouseenter(function() {
                autsld.autoplay.stop();
            });
            $(".autsld").mouseleave(function() {
                autsld.autoplay.start();
            });
        }
    </script>
<?php $__env->stopPush(); ?>

<?php $__env->startPush("customCss"); ?>
    <link rel="stylesheet" href="<?php echo e(asset('assets/frontend/tema9/css/home.css?v=1.2.3')); ?>">

<?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/index.blade.php ENDPATH**/ ?>