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/Xtento/StockImport/view/adminhtml/templates/tools/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/corals/cartforge.co/app/code/Xtento/StockImport/view/adminhtml/templates/tools/import.phtml
<div class="entry-edit" style="margin-top:20px;">
    <div class="entry-edit-head">
        <h2><?php echo __('Tools - Import Settings') ?></h2>

        <div class="form-buttons"></div>
    </div>
    <form id="import_form" name="import_form" method="post" enctype="multipart/form-data" action="<?php echo $block->getUrl(
        '*/tools/importSettings'
    ) ?>">
        <input name="form_key" type="hidden" value="<?php echo $block->getFormKey() ?>"/>

        <div class="fieldset fieldset-wide" id="import_fieldset">
            <div class="hor-scroll">
                <div style="padding-bottom:5px;">
                    <?php echo __(
                        '<b>Note:</b> You can upload previously exported settings and import them here. Passwords for sources must be entered again, they won\'t be imported.'
                    ) ?>
                    <div style="position: relative; border: 1px solid #a6a6a6; display:table; width:98.5%; margin-top: 5px; padding: 3px 5px 5px;">
                        <div style="padding-top:4px; padding-bottom: 4px;">
                            <input type="file" title="File" name="settings_file" accept=".json">
                        </div>
                        <input id="update_by_name" type="checkbox" name="update_by_name" checked="checked" class="required-input">&nbsp;
                        <label for="update_by_name"><?php echo __(
                                'Update existing profiles if the profile/source name matches'
                            ) ?></label>
                        <br/>
                    </div>
                    <button class="scalable save" type="submit" onclick="jQuery('#import_form').submit();" style="margin-top:5px;">
                        <span><?php echo __('Import Settings') ?></span>
                    </button>
                </div>
            </div>
        </div>
    </form>
</div>

Spamworldpro Mini