<?php $__env->startSection('title',$PhotoGallery->name.' - '. config('settings.site_title', 'Varsayılan Başlık')); ?>
<?php $__env->startSection('description',$PhotoGallery->short_description ?? config('settings.site_description', 'Varsayılan Başlık')); ?>
<?php $__env->startSection('image',config('settings.site_url', 'Varsayılan Başlık').'/uploads/images/news/'.date("Y/m/d", strtotime($PhotoGallery->date)).'/'.$PhotoGallery->gallery_image); ?>



<?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>FOTO GALERİLER</h2>
            <div class="line" style="background-color:#FF0000"></div>
          </div>
        </div>

        <div class="row">
            <div class="col-md-12">
                    <nav aria-label="breadcrumb">
            <ol class="breadcrumb">
                <li class="breadcrumb-item"><a href="/" title="Haberler">Foto Galeri</a></li>
                <li class="breadcrumb-item active" aria-current="page"><?php echo e($PhotoGallery->name); ?></li>
            </ol>
        </nav>
            </div>
        </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($PhotoGallery->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($PhotoGallery->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($PhotoGallery->date); ?> <?php echo e($PhotoGallery->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>
               <a href="https://www.facebook.com/sharer/sharer.php?u=<?php echo e(url('foto-galeri/'.$PhotoGallery->slug)); ?>" target="_blank" class="mx-2 newsShareIcon">
    <i class="bi bi-facebook"></i>
</a>
<a href="https://twitter.com/intent/tweet?url=<?php echo e(url('foto-galeri/'.$PhotoGallery->slug)); ?>" target="_blank" class="mx-2 newsShareIcon">
    <i class="bi bi-twitter"></i>
</a>
<a href="https://www.linkedin.com/shareArticle?url=<?php echo e(url('foto-galeri/'.$PhotoGallery->slug)); ?>" target="_blank" class="mx-2 newsShareIcon">
    <i class="bi bi-linkedin"></i>
</a>
<a href="https://api.whatsapp.com/send?text=<?php echo e(url('foto-galeri/'.$PhotoGallery->slug)); ?>" target="_blank" class="mx-2 newsShareIcon">
    <i class="bi bi-whatsapp"></i>
</a>
<a href="https://t.me/share/url?url=<?php echo e(url('foto-galeri/'.$PhotoGallery->slug)); ?>" target="_blank" class="mx-2 newsShareIcon">
    <i class="bi bi-telegram"></i>
</a>
    </div>
  </div>
    <!-- Article Content -->

    <div class="row">
        <div class="col-12">
            <div class="article-content" id="photo">
                <?php if($currentpage!=$PhotoGalleryImagesCount): ?><a href="/foto-galeri/<?php echo e($PhotoGallery->slug); ?>/<?php echo e($currentpage+1); ?>#photo" title="<?php echo e($PhotoGallery->name); ?> Sıradaki Fotoğraf"> <?php else: ?> <a href="/foto-galeri/<?php echo e($PhotoGallery->slug); ?>/1#photo" title="<?php echo e($PhotoGallery->name); ?> İlk Fotoğraf"> <?php endif; ?> <img src="/uploads/images/news/<?php echo e(date("Y/m/d", strtotime($PhotoGallery->date))); ?>/<?php echo e($PhotoGalleryImages->image); ?>" alt="<?php echo e($PhotoGallery->name); ?>" style="width:100%"></a>

                <p class="mt-5"><?php echo e($PhotoGalleryImages->short_description); ?></p>
            </div>
        </div>
        <div class="col-md-12 mt-5">
        <nav aria-label="Page navigation example">
  <ul class="pagination justify-content-center" style="display:block;">
    <?php 

    for($i=1;$i<=$PhotoGalleryImagesCount; $i++) {
    ?>
    <li class="page-item <?php if($i==$currentpage): ?> active <?php endif; ?>"><a class="page-link" href="/foto-galeri/<?php echo e($PhotoGallery->slug); ?>/<?php echo e($i); ?>#photo"  title="<?php echo e($PhotoGallery->name); ?> <?php echo e($i); ?>. Fotoğraf"><?php echo e($i); ?></a></li>
    <?php } ?>
  </ul>
</nav>
        </div>
    </div>
<style type="text/css">
   .page-link{
    font-size: 18px;
    text-align: center;
        padding: 10px;
    width: 50px;
   }
   .page-item{
    margin-left:10px;
    margin-top:5px;
    float: left;
   }
</style>
    <!-- Article Footer -->


    <div class="row">
        <div class="col-12 article-footer">
    <?php if(isset($video->tag)): ?>
    <?php 

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

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

      <div class="container newseight" style="margin-top:20px">
            <div class="container mt-5">
        <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">
            <a href="/foto-galeri/<?php echo e($ekonomikhaberNews->slug); ?>"><img src="/uploads/images/news/<?php echo e(date("Y/m/d", strtotime($ekonomikhaberNews->date))); ?>/<?php echo e($ekonomikhaberNews->gallery_image); ?>" alt="Yıkım" 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"><a href="/foto-galeri/<?php echo e($ekonomikhaberNews->slug); ?>"><div class="news-title"><?php echo e($ekonomikhaberNews->name); ?></div></a></div>
        </div>
            </div>
                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
            
           
        </div>
    </div>


            </div>
            <div class="col-md-3">
                <div class="row">
                    <div class="col-md-12 ads" >   <?php echo showAd('904'); ?></div>
                    <div class="col-md-12" style="margin-top:20px">
                        
                         <div class="row">
        <div class="col-12">
            <div class="section-header" style="display: contents;">
                    <h2>En Çok Görüntülenen Galeriler</h2>
                    <div class="line" style="background-color:#FF0000;     margin-top: 5px;"></div>
                  </div>
        </div>
    </div>
    <div class="row mt-3">
        <div class="col-12">
            <?php $__currentLoopData = $recentNews; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $recentNew): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
            <div class="most-read-item d-flex">
               
                 <a href="/foto-galeri/<?php echo e($recentNew->slug); ?>" title="<?php echo e($recentNew->name); ?>"><img src="/uploads/images/news/<?php echo e(date("Y/m/d", strtotime($recentNew->date))); ?>/<?php echo e($recentNew->gallery_image); ?>" alt="<?php echo e($recentNew->name); ?>"></a>
                 <a href="/foto-galeri/<?php echo e($recentNew->slug); ?>" title="<?php echo e($recentNew->name); ?>"><h6><?php echo e($recentNew->name); ?></h6></a>
            
            </div>
      
            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
        </div>
    </div>


                    </div>
                    <div class="col-md-12" style="margin-top:20px">  </div>

                </div>


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

</div>

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


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