Spamworldpro Mini Shell
Spamworldpro


Server : Apache
System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64
User : corals ( 1002)
PHP Version : 7.4.33
Disable Function : exec,passthru,shell_exec,system
Directory :  /home/corals/old/vendor/magefan/module-blog/view/frontend/templates/post/view/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/corals/old/vendor/magefan/module-blog/view/frontend/templates/post/view/nextprev-modern.phtml
<?php
/**
 * Copyright © Magefan ([email protected]). All rights reserved.
 * Please visit Magefan.com for license details (https://magefan.com/end-user-license-agreement).
 *
 * Glory to Ukraine! Glory to the heroes!
 */
?>
<?php
/**
 * Blog post next and prev post links
 *
 * @var $block \Magefan\Blog\Block\Post\View\NextPrev
 */
?>

<?php if ($block->displayLinks()) { ?>
    <?php
        $prevPost = $block->getPrevPost();
        $nextPost = $block->getNextPost();
    ?>
    <?php if ($prevPost || $nextPost) { ?>
        <div class="post-nextprev clearfix row-cols-2">
            <div class="post-prev">
                <?php if ($prevPost) { ?>
                    <?php $title = $prevPost->getTitle() ?>
                    <a class="nextprev-link prev-link float-left"
                       href="<?= $block->escapeUrl($prevPost->getPostUrl()) ?>"
                       title="<?= $block->escapeHtml(__('Read %1', $title)) ?>">
                        <span class="text-left"><?= $block->escapeHtml(__('Previous')) ?></span>
                        <?= $block->escapeHtml($title) ?>
                    </a>
                <?php } ?>
            </div>

            <div class="post-next">
                <?php if ($nextPost) { ?>
                    <?php $title = $nextPost->getTitle() ?>
                    <a class="nextprev-link next-link float-right"
                       href="<?= $block->escapeUrl($nextPost->getPostUrl()) ?>"
                       title="<?= $block->escapeHtml(__('Read %1', $title)) ?>">
                        <span class="text-right"><?= $block->escapeHtml(__('Next')) ?></span>
                        <?= $block->escapeHtml($title) ?>
                    </a>
                <?php } ?>
            </div>
        </div>
    <?php } ?>
<?php } ?>

Spamworldpro Mini