<?php $__env->startSection('breadcrumb'); ?>
    <nav class="nav-breadcrumb" aria-label="breadcrumb">
        <ol class="breadcrumb">
            <li class="breadcrumb-item"><a href="<?php echo e(LaravelLocalization::getLocalizedURL(getCurrentLocale(), url('/'), [], true)); ?>"><?php echo e(__('main.home_page')); ?></a></li>
            <li class="breadcrumb-item active" aria-current="page"><a href="<?php echo e(LaravelLocalization::getLocalizedURL(getCurrentLocale(), route('ourNews.index'), [], true)); ?>"><?php echo e(__('articles.inner_page')); ?></a></li>
            <li class="breadcrumb-item active" aria-current="page"><?php echo e($article->title); ?></li>
        </ol>
    </nav>
<?php $__env->stopSection(); ?>
<?php $__env->startSection('content'); ?>
    <main>
        <!--start single-blog-->
        <section class="single-blog">
            <div class="container">
                <div class="row">
                    <div class="col-lg-8 col-md-8 col-sm-12 col-xs-12">
                        <div class="card-news">
                            <div class="blog-carousel owl-carousel owl-theme">
                                <?php if($article->photos): ?>
                                    <?php $__currentLoopData = $article->photos; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $photo): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                        <div class="item">
                                            <img src="<?php echo e(asset($photo->image)); ?>" alt="article-<?php echo e($loop->iteration); ?> image">
                                        </div>
                                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                    <?php else: ?>
                                    <div class="item">
                                        <img src="<?php echo e(asset('assets/web/images/blog-3.jp')); ?>g" alt="blog-3.jp">
                                    </div>
                                    <div class="item">
                                        <img src="<?php echo e(asset('assets/web/images/blog-2.jpg')); ?>" alt="blog-2.jp">
                                    </div>
                                <?php endif; ?>

                            </div>
                            <div class="card-header">
                                <h5><?php echo e($article->title); ?></h5>
                                <p class="date">
                                    <i class="far fa-clock"></i> <?php echo e(date('M d, Y h:i A', strtotime($article->created_at))); ?>

                                </p>
                                <p>
                                    <i class="far fa-user"></i> <?php echo e($article->author); ?>

                                </p>
                            </div>
                            <div class="card-body">
                                <p><?php echo $article->description; ?></p>
                            </div>
                        </div>
                    </div>
                    <div class="col-lg-4 col-md-4 col-sm-12 col-xs-12">
                        <div class="card">
                            <div class="card-header">
                                <h6><?php echo e(__('articles.related_news')); ?></h6>
                            </div>
                            <div class="card-body">
                                <?php if($relatedArticles->count()): ?>
                                    <?php $__currentLoopData = $relatedArticles; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $related): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                        <a href="<?php echo e(route('ourNews.show', [$related->id, $related->category_id])); ?>">
                                            <div class="item">
                                                <img src="<?php echo e($related->photos ? asset($related->photos->first()->image) : asset('assets/web/images/blog-1.jpg')); ?>" alt="article-<?php echo e($loop->iteration); ?> image">
                                                <div class="text">
                                                    <p class="title"><b><?php echo e($related->title); ?></b></p>
                                                    <p class="details"><?php echo $related->description; ?></p>
                                                </div>
                                            </div>
                                        </a>
                                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                <?php endif; ?>
                            </div>
                        </div>
                        <div class="card">
                            <div class="card-header">
                                <h6><?php echo e(__('main.connect_with_us')); ?></h6>
                            </div>
                            <div class="card-body">
                                <div class="inner">
                                    <div class="item">
                                        <img src="<?php echo e(asset('assets/web/images/icons/call.png')); ?>" class="icon" alt="call.png">
                                        <div class="text contact-text">
                                            <p class="title"><b><?php echo e(__('main.contact_us')); ?></b></p>
                                            <p class="details"><?php echo e(settings('site_phone')); ?></p>
                                        </div>
                                    </div>
                                </div>
                                <div class="inner">
                                    <div class="item">
                                        <img src="<?php echo e(asset('assets/web/images/icons/email.png')); ?>" class="icon" alt="email.png">
                                        <div class="text contact-text">
                                            <p class="title"><b><?php echo e(__('users.email')); ?></b></p>
                                            <p class="details"><?php echo e(settings('site_email')); ?></p>
                                        </div>
                                    </div>
                                </div>
                                <div class="inner">
                                    <div class="item">
                                        <img src="<?php echo e(asset('assets/web/images/icons/location.png')); ?>" class="icon" alt="location.png">
                                        <div class="text contact-text">
                                            <p class="title"><b><?php echo e(__('users.address')); ?></b></p>
                                            <p class="details"><?php echo e(settings('site_address')); ?></p>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </section>

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


<?php $__env->startSection('inner_js'); ?>
    <script>
        $(document).ready(function () {
            $('.navs-container').addClass('page-heading')
        })
    </script>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('web.layouts.container', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/balyomhost/public_html/motmkn/resources/views/web/news/show.blade.php ENDPATH**/ ?>