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/Ecombricks/InventoryCatalog/view/frontend/templates/product/view/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/corals/Ecombricks/InventoryCatalog/view/frontend/templates/product/view/source.phtml
<?php
/**
 * Copyright © eComBricks. All rights reserved.
 * See LICENSE.txt for license details.
 */
?>
<?php $sources = $block->getSources(); ?>
<?php if (count($sources)) : ?>
<?php $currentSourceCode = $block->getCurrentSourceCode(); ?>
<div class="fieldset" tabindex="0">
    <div class="field option required">
        <label class="label"><span><?= $block->escapeHtml(__('Source')) ?></span></label>
        <div class="control">
            <div class="nested options-list">
                <?php foreach ($sources as $source) :  ?>
                <?php $sourceCode = $source->getSourceCode(); ?>
                <div class="field choice source">
                    <input type="radio"
                           class="radio product-custom-option product source"
                           id="source_<?= $block->escapeHtmlAttr($sourceCode) ?>"
                           name="source"
                           value="<?= $block->escapeHtmlAttr($sourceCode) ?>"
                           <?php if ($sourceCode == $currentSourceCode) : ?>checked="true"<?php endif; ?>
                           data-validate="<?= $block->escapeHtmlAttr(json_encode($block->getSourceValidators())) ?>"/>
                    <label class="label" for="source_<?= $block->escapeHtmlAttr($sourceCode) ?>"><span><?= $block->escapeHtml($source->getName()) ?></span></label>
                </div>
                <?php endforeach; ?>
            </div>
        </div>
    </div>
</div>
<?php endif; ?>

Spamworldpro Mini