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/app/design/frontend/Cnc/default/Cnc_Contact/templates/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/corals/old/app/design/frontend/Cnc/default/Cnc_Contact/templates/form.phtml
<?php
// phpcs:disable Generic.Files.LineLength.TooLong
// phpcs:disable Magento2.Templates.ThisInTemplate.FoundHelper

/**
 * Copyright © Magento, Inc. All rights reserved.
 * See COPYING.txt for license details.
 */

/** @var ContactForm $block */

use Magento\Contact\Block\ContactForm;

?>
<form class="form contact"
      action="<?= $block->escapeUrl($block->getFormAction()) ?>"
      id="contact-form"
      method="post"
      data-hasrequired="<?= $block->escapeHtmlAttr(__('* Required Fields')) ?>"
      data-mage-init='{"validation":{}}'>
    <fieldset class="fieldset">
        <legend class="legend"><span><?= $block->escapeHtml(__('Write Us')) ?></span></legend>
        <br/>
        <div class="field note no-label"><?= $block->escapeHtml(__('Jot us a note and we’ll get back to you as quickly as possible.')) ?></div><br>
        <div class="field company required">
            <label class="label" for="company"><span><?= $block->escapeHtml(__('Company')) ?></span></label>
            <div class="control">
                <input name="company" id="company" title="<?= $block->escapeHtmlAttr(__('Company')) ?>"
                       value="<?= $block->escapeHtmlAttr($this->helper(\Magento\Contact\Helper\Data::class)->getPostValue('company')) ?>"
                       class="input-text" type="text" data-validate="{required:true}" placeholder="<?= $block->escapeHtmlAttr(__('Society')) ?>*"/>
            </div>
        </div>
        <div class="field name required">
            <label class="label" for="name"><span><?= $block->escapeHtml(__('Name')) ?></span></label>
            <div class="control">
                <input name="name" id="name" title="<?= $block->escapeHtmlAttr(__('Name')) ?>"
                       value="<?= $block->escapeHtmlAttr($this->helper(\Magento\Contact\Helper\Data::class)->getPostValue('name') ?: $this->helper(\Magento\Contact\Helper\Data::class)->getUserName()) ?>"
                       class="input-text" type="text" data-validate="{required:true}" placeholder="<?= $block->escapeHtmlAttr(__('Name')) ?>*"/>
            </div>
        </div>
        <div class="field email required">
            <label class="label" for="email"><span><?= $block->escapeHtml(__('Email')) ?></span></label>
            <div class="control">
                <input name="email" id="email" title="<?= $block->escapeHtmlAttr(__('Email')) ?>"
                       value="<?= $block->escapeHtmlAttr($this->helper(\Magento\Contact\Helper\Data::class)->getPostValue('email') ?: $this->helper(\Magento\Contact\Helper\Data::class)->getUserEmail()) ?>"
                       class="input-text" type="email" data-validate="{required:true, 'validate-email':true}" placeholder="<?= $block->escapeHtmlAttr(__('Email')) ?>*"/>
            </div>
        </div>
        <div class="field telephone required">
            <label class="label" for="telephone"><span><?= $block->escapeHtml(__('Phone Number')) ?></span></label>
            <div class="control">
                <input name="telephone" id="telephone" title="<?= $block->escapeHtmlAttr(__('Phone Number')) ?>"
                       value="<?= $block->escapeHtmlAttr($this->helper(\Magento\Contact\Helper\Data::class)->getPostValue('telephone')) ?>"
                       class="input-text" type="text" data-validate="{required:true, 'validate-number':true}" placeholder="<?= $block->escapeHtmlAttr(__('Phone number')) ?>*"/>
            </div>
        </div>
        <div class="field country required">
            <label class="label" for="country"><span><?= $block->escapeHtml(__('Country')) ?></span></label>
            <div class="control">
                <input name="country" id="country" title="<?= $block->escapeHtmlAttr(__('Country')) ?>"
                       value="<?= $block->escapeHtmlAttr($this->helper(\Magento\Contact\Helper\Data::class)->getPostValue('country')) ?>"
                       class="input-text" type="text" data-validate="{required:true}" placeholder="<?= $block->escapeHtmlAttr(__('Country')) ?>*"/>
            </div>
        </div>
        <div class="field postcode">
            <label class="label" for="postcode"><span><?= $block->escapeHtml(__('Zip/Post Code')) ?></span></label>
            <div class="control">
                <input name="postcode" id="postcode" title="<?= $block->escapeHtmlAttr(__('Zip/Post Code')) ?>"
                       value="<?= $block->escapeHtmlAttr($this->helper(\Magento\Contact\Helper\Data::class)->getPostValue('postcode')) ?>"
                       class="input-text" type="text" data-validate="{required:false}" placeholder="<?= $block->escapeHtmlAttr(__('Postal code')) ?>" />
            </div>
        </div>
        <div class="field object required">
            <div class="title-2" for="object"><span><?= $block->escapeHtml(__('Subject')) ?></span></div><br>
            <div class="control">
                <input id="subject_1" name="subject" value="<?= $block->escapeHtml(__('Search for parts supply')) ?>" type="radio" title="<?= $block->escapeHtmlAttr(__('Search for parts supply')) ?>"
                       data-validate="{'validate-one-required-by-name':true}">
                <label id="subject_1" for="subject_1" name="subject"><?= $block->escapeHtml(__('Search for parts supply')) ?></label>
                <input id="subject_2" name="subject" value="<?= $block->escapeHtmlAttr(__('Technical information')) ?>" type="radio" title="<?= $block->escapeHtmlAttr(__('Technical information')) ?>"
                       data-validate="{'validate-one-required-by-name':true}">
                <label id="subject_2" for="subject_2" name="subject"><?= $block->escapeHtml(__('Technical information')) ?></label>
                <input id="subject_3" name="subject" value="<?= $block->escapeHtmlAttr(__('Order tracking')) ?>" type="radio" title="<?= $block->escapeHtmlAttr(__('Order tracking')) ?>"
                       data-validate="{'validate-one-required-by-name':true}">
                <label id="subject_3" for="subject_3" name="subject"><?= $block->escapeHtml(__('Order tracking')) ?></label>
                <input id="subject_4" name="subject" value="<?= $block->escapeHtmlAttr(__('Other requests')) ?>" type="radio" title="<?= $block->escapeHtmlAttr(__('Other requests')) ?>"
                       data-validate="{'validate-one-required-by-name':true}">
                <label id="subject_4" for="subject_4" name="subject"><?= $block->escapeHtml(__('Other requests')) ?></label>
            </div>
        </div>
        <div class="field comment required">
            <div class="title-2"><span><?= $block->escapeHtml(__('What’s on your mind?')) ?></span></div><br>
            <div class="control">
                <textarea name="comment" id="comment" title="<?= $block->escapeHtmlAttr(__('What’s on your mind?')) ?>"
                          class="input-text" cols="5" rows="3"
                          data-validate="{required:true}"><?= $block->escapeHtml($this->helper(\Magento\Contact\Helper\Data::class)->getPostValue('comment')) ?></textarea>
            </div>
        </div>
        <?= $block->getChildHtml('form.additional.info') ?>
        <div class="actions-toolbar">
            <div class="primary">
                <input type="hidden" name="hideit" id="hideit" value=""/>
                <button type="submit" title="<?= $block->escapeHtmlAttr(__('Submit')) ?>" class="action submit primary">
                    <span><?= $block->escapeHtml(__('Submit')) ?></span>
                </button>
            </div>
        </div>
    </fieldset>
</form>

Spamworldpro Mini