MOON
Server: Apache
System: Linux server1.studioinfinity.com.br 2.6.32-954.3.5.lve1.4.90.el6.x86_64 #1 SMP Tue Feb 21 12:26:30 UTC 2023 x86_64
User: artinside (517)
PHP: 7.4.33
Disabled: exec,passthru,shell_exec,system
Upload Files
File: //home/artinside/sites.artinside.com.br/festival/themes/web/blog.php
<?php $this->layout("_theme");
$this->insert("views/page-title", ["pageTitle" => $pageTitle, "breadcrumb" => $breadcrumb]);
?>

<section id="content">
    <div class="content-wrap">
        <div class="container">
            <!-- Posts
            ============================================= -->
            <div id="posts" class="post-grid row gutter-30 mt-4">


                <?php if($blog):?>

                    <?php foreach ($blog as $post): ?>
                        <div class="col-sm-6 col-md-4 col-lg-3 entry">
                            <div class="entry-image">
                                <img src="<?= image($post->cover, 600,400)?>" alt="<?= $post->title ?>">
                            </div>
                            <div class="entry-meta mb-2 fw-normal">
                                <ul>
                                    <li><a href="#" class="font-secondary"><?= date_fmt($post->created_at, "d/m/Y")?></a></li>
                                </ul>
                            </div>
                            <div class="entry-title title-sm mb-3">
                                <h3 class="text-transform-none ls-0 fw-bolder text-fill-effect gradient-primary-animated font-body" style="line-height: 1.2em">
                                    <a href="<?= url("blog/{$post->uri}") ?>"><?= $post->title ?></a>
                                </h3>
                            </div>
                            <a href="<?= url("blog/{$post->uri}") ?>" class="read-more stretched-link h-text-secondary text-dark h-op-08 small">Leia mais <i class="bi-arrow-up-right transform-ts"></i></a>
                        </div>
                    <?php endforeach;?>

                <?php
                else:
                    ?>
                <div class="row justify-content-center align-content-center">
                    <div class="col-sm-6 mb-5 center">
                        <h3>Ainda não temos nenhuma matéria cadastrada</h3>
                        <p class="text-muted" style="font-size: 16px;">Acompanhe nossa página para novidades. </p>
                    </div>
                </div>

                <?php endif; ?>




            </div><!-- #posts end -->

            <!-- Pagination
            ============================================= -->
            <?php if($paginator):?>
                <?= $paginator; ?>
            <?php endif; ?>

        </div>
    </div>
</section><!-- #content end -->


<?php $this->insert("views/newsletter-widget2"); ?>