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/cartforge.co/app/code/Mageplaza/AjaxLayer/view/frontend/templates/layer/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/corals/cartforge.co/app/code/Mageplaza/AjaxLayer/view/frontend/templates/layer/view.phtml
<?php
/**
 * Mageplaza
 *
 * NOTICE OF LICENSE
 *
 * This source file is subject to the Mageplaza.com license that is
 * available through the world-wide-web at this URL:
 * https://www.mageplaza.com/LICENSE.txt
 *
 * DISCLAIMER
 *
 * Do not edit or add to this file if you wish to upgrade this extension to newer
 * version in the future.
 *
 * @category    Mageplaza
 * @package     Mageplaza_AjaxLayer
 * @copyright   Copyright (c) Mageplaza (http://www.mageplaza.com/)
 * @license     https://www.mageplaza.com/LICENSE.txt
 */
?>
<?php if ($block->canShowBlock()) : ?>
    <?php
    $helper = $this->helper(\Mageplaza\AjaxLayer\Helper\Data::class);
    $filters = $block->getFilters();
    $layerConfig = $helper->getLayerConfiguration($filters);
    $filtered = count($block->getLayer()->getState()->getFilters());
    ?>
    <div class="block filter" id="layered-filter-block"
         data-mage-init='{"collapsible":{"openedState": "active", "collapsible": true, "active": false, "collateral": { "openedState": "filter-active", "element": "body" } }}'>
        <div id="ln_overlay" class="ln_overlay">
            <div class="loader">
                <img src="<?= /** @noEscape */ $block->getViewFileUrl('images/loader-1.gif') ?>" alt="Loading...">
            </div>
        </div>
        <div class="block-title filter-title" data-count="<?= /** @noEscape */ $filtered ?>">
            <strong data-role="title"><?= /** @noEscape */ __('Shop By') ?></strong>
        </div>
        <div class="block-content filter-content">
            <?= /** @noEscape */ $block->getChildHtml('state') ?>
            <?php if ($block->getLayer()->getState()->getFilters()) : ?>
                <div class="block-actions filter-actions">
                    <a href="<?= /** @noEscape */ $block->getClearUrl() ?>" class="action clear filter-clear">
                        <span><?= /** @noEscape */ __('Clear All') ?></span>
                    </a>
                </div>
            <?php endif; ?>
            <?php $wrapOptions = false; ?>
            <?php foreach ($filters as $key => $filter) : ?>
                <?php if ($filter->getItemsCount()) : ?>
                    <?php if (!$wrapOptions) : ?>
                        <strong role="heading" aria-level="2" class="block-subtitle filter-subtitle">
                            <?= /** @noEscape */ __('Shopping Options') ?>
                        </strong>
                        <div class="filter-options" id="narrow-by-list" data-role="content">
                        <?php $wrapOptions = true;
                    endif; ?>
                    <div data-role="ln_collapsible" class="filter-options-item"
                         attribute="<?= /** @noEscape */ $filter->getRequestVar() ?>">
                        <div data-role="ln_title" class="filter-options-title"><?= /** @noEscape */ __($filter->getName()) ?></div>
                        <div data-role="ln_content" class="filter-options-content">
                            <?= /** @noEscape */ $block->getChildBlock('renderer')->setFilter($filter)->render($filter); ?>
                        </div>
                    </div>
                <?php endif; ?>
            <?php endforeach; ?>
            <?php if ($wrapOptions) : ?>
                </div>
            <?php else : ?>
            <script>
                require([
                    'jquery'
                ], function ($) {
                    $('#layered-filter-block').addClass('filter-no-options');
                });
            </script>
            <?php endif; ?>
            <?php if ($helper->ajaxEnabled()) : ?>
            <script type="text/x-magento-init">
                {
                     ".block-content.filter-content":{
                         "mpAjax": <?= /** @noEscape */ $layerConfig ?>
                     }
                }
            </script>
            <?php endif; ?>
        </div>
    </div>
<?php endif; ?>

Spamworldpro Mini