first commit
This commit is contained in:
35
themes/at_movic/modules/contactform/views/index.php
Normal file
35
themes/at_movic/modules/contactform/views/index.php
Normal file
@@ -0,0 +1,35 @@
|
||||
<?php
|
||||
/**
|
||||
* 2007-2017 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License 3.0 (AFL-3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* https://opensource.org/licenses/AFL-3.0
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright PrestaShop SA
|
||||
* @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*/
|
||||
|
||||
header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
|
||||
header('Last-Modified: '.gmdate('D, d M Y H:i:s').' GMT');
|
||||
|
||||
header('Cache-Control: no-store, no-cache, must-revalidate');
|
||||
header('Cache-Control: post-check=0, pre-check=0', false);
|
||||
header('Pragma: no-cache');
|
||||
|
||||
header('Location: ../');
|
||||
exit;
|
||||
@@ -0,0 +1,35 @@
|
||||
<?php
|
||||
/**
|
||||
* 2007-2017 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License 3.0 (AFL-3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* https://opensource.org/licenses/AFL-3.0
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright PrestaShop SA
|
||||
* @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*/
|
||||
|
||||
header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
|
||||
header('Last-Modified: '.gmdate('D, d M Y H:i:s').' GMT');
|
||||
|
||||
header('Cache-Control: no-store, no-cache, must-revalidate');
|
||||
header('Cache-Control: post-check=0, pre-check=0', false);
|
||||
header('Pragma: no-cache');
|
||||
|
||||
header('Location: ../');
|
||||
exit;
|
||||
@@ -0,0 +1,196 @@
|
||||
{**
|
||||
* 2007-2017 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License 3.0 (AFL-3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* https://opensource.org/licenses/AFL-3.0
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright PrestaShop SA
|
||||
* @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*}
|
||||
|
||||
<div class="contact-header">
|
||||
<h1>{l s='Contact' d='Shop.Theme.Global'}</h1>
|
||||
</div>
|
||||
|
||||
<section class="contact-form">
|
||||
<form action="{$urls.pages.contact}" method="post" {if $contact.allow_file_upload}enctype="multipart/form-data"{/if}>
|
||||
|
||||
{if $notifications}
|
||||
<div class="col-xs-12 alert {if $notifications.nw_error}alert-danger{else}alert-success{/if}">
|
||||
<ul>
|
||||
{foreach $notifications.messages as $notif}
|
||||
<li>{$notif}</li>
|
||||
{/foreach}
|
||||
</ul>
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
{if !$notifications || $notifications.nw_error}
|
||||
<div class="contact-form-data">
|
||||
<section class="form-contact-texts">
|
||||
<div class="tiles">
|
||||
<div class="tile tile-1">
|
||||
<div class="tile-icon">
|
||||
<img src="/themes/at_movic/assets/img/icons/phone-icon.svg" alt="">
|
||||
</div>
|
||||
<div class="tile-data">
|
||||
<p>Zadzwoń do nas:</p>
|
||||
<a href="tel:+48 534 430 318">534 430 318</a><br/>
|
||||
<a href="tel:17 85 39 151">17 85 39 151</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="tile tile-2">
|
||||
<div class="tile-icon">
|
||||
<img src="/themes/at_movic/assets/img/icons/mail-icon.svg" alt="">
|
||||
</div>
|
||||
<div class="tile-data">
|
||||
<p>Napisz do nas:</p>
|
||||
<a href="mailto:sklep@kalsport.pl">sklep@kalsport.pl</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="tile tile-3">
|
||||
<div class="tile-icon">
|
||||
<img src="/themes/at_movic/assets/img/icons/point-icon.svg" alt="">
|
||||
</div>
|
||||
<div class="tile-data">
|
||||
<p>KAL- SPORT WYPOSAŻENIE OBIEKTÓW ELŻBIETA PIĘTA<br />
|
||||
ul. Trembeckiego 11a.<br />
|
||||
35-234 Rzeszów</p>
|
||||
<br/>
|
||||
<p>Godziny otwarcia<br/>
|
||||
pon-pt 8:00 - 16:00
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="tile tile-4">
|
||||
<div class="tile-icon">
|
||||
<img src="/themes/at_movic/assets/img/icons/info-icon.svg" alt="">
|
||||
</div>
|
||||
<div class="tile-data">
|
||||
<p>NIP:<br />
|
||||
813-158-37-10</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section class="form-fields">
|
||||
|
||||
<div class="form-group row">
|
||||
<div class="col-md-9 col-md-offset-3">
|
||||
<h3>{l s='Contact form' d='Shop.Theme.Global'}</h3>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group row">
|
||||
<label class="col-md-12 form-control-label">{l s='Email address' d='Shop.Forms.Labels'}</label>
|
||||
<div class="col-md-12">
|
||||
<input
|
||||
class="form-control"
|
||||
name="from"
|
||||
type="email"
|
||||
value="{$contact.email}"
|
||||
placeholder="{l s='your@email.com' d='Shop.Forms.Help'}"
|
||||
>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group row">
|
||||
<label class="col-md-12 form-control-label">{l s='Subject' d='Shop.Forms.Labels'}</label>
|
||||
<div class="col-md-12">
|
||||
<select name="id_contact" class="form-control form-control-select">
|
||||
{foreach from=$contact.contacts item=contact_elt}
|
||||
<option value="{$contact_elt.id_contact}">{$contact_elt.name}</option>
|
||||
{/foreach}
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{if $contact.orders}
|
||||
<div class="form-group row">
|
||||
<label class="col-md-12 form-control-label">{l s='Order reference' d='Shop.Forms.Labels'}</label>
|
||||
<div class="col-md-12">
|
||||
<select name="id_order" class="form-control form-control-select">
|
||||
<option value="">{l s='Select reference' d='Shop.Forms.Help'}</option>
|
||||
{foreach from=$contact.orders item=order}
|
||||
<option value="{$order.id_order}">{$order.reference}</option>
|
||||
{/foreach}
|
||||
</select>
|
||||
</div>
|
||||
<span class="col-md-12 form-control-comment">
|
||||
{l s='optional' d='Shop.Forms.Help'}
|
||||
</span>
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
{if $contact.allow_file_upload}
|
||||
<div class="form-group row add-file">
|
||||
<label class="col-md-12 form-control-label">{l s='Attachment' d='Shop.Forms.Labels'}</label>
|
||||
<div class="col-md-12">
|
||||
<input type="file" name="fileUpload" class="filestyle" data-buttonText="{l s='Choose file' d='Shop.Theme.Actions'}">
|
||||
</div>
|
||||
<span class="col-md-12 form-control-comment">
|
||||
{l s='optional' d='Shop.Forms.Help'}
|
||||
</span>
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
<div class="form-group row">
|
||||
<label class="col-md-12 form-control-label">{l s='Message' d='Shop.Forms.Labels'}</label>
|
||||
<div class="col-md-12">
|
||||
<textarea
|
||||
class="form-control"
|
||||
name="message"
|
||||
placeholder="{l s='How can we help?' d='Shop.Forms.Help'}"
|
||||
rows="3"
|
||||
>{if $contact.message}{$contact.message}{/if}</textarea>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{if isset($id_module)}
|
||||
<div class="form-group row">
|
||||
<div class="form-acceptation">
|
||||
{hook h='displayGDPRConsent' id_module=$id_module}
|
||||
</div>
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
</section>
|
||||
</div>
|
||||
|
||||
<footer class="form-footer text-sm-right">
|
||||
<style>
|
||||
input[name=url] {
|
||||
display: none !important;
|
||||
}
|
||||
</style>
|
||||
<input type="text" name="url" value=""/>
|
||||
<input type="hidden" name="token" value="{$token}" />
|
||||
<input class="btn btn-outline" type="submit" name="submitMessage" value="{l s='Send' d='Shop.Theme.Actions'}">
|
||||
</footer>
|
||||
{/if}
|
||||
|
||||
</form>
|
||||
</section>
|
||||
|
||||
<div class="contact-form-map">
|
||||
<iframe src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d2561.74120967896!2d22.013293016038517!3d50.05367902375478!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x473cfafbbb3e203f%3A0xa38505ea4f50c225!2sKALSPORT%20Hurtownia%20sportowa!5e0!3m2!1spl!2spl!4v1676033007778!5m2!1spl!2spl" width="100%" height="420" style="border:0;" allowfullscreen="" loading="lazy" referrerpolicy="no-referrer-when-downgrade"></iframe>
|
||||
</div>
|
||||
@@ -0,0 +1,35 @@
|
||||
<?php
|
||||
/**
|
||||
* 2007-2017 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License 3.0 (AFL-3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* https://opensource.org/licenses/AFL-3.0
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright PrestaShop SA
|
||||
* @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*/
|
||||
|
||||
header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
|
||||
header('Last-Modified: '.gmdate('D, d M Y H:i:s').' GMT');
|
||||
|
||||
header('Cache-Control: no-store, no-cache, must-revalidate');
|
||||
header('Cache-Control: post-check=0, pre-check=0', false);
|
||||
header('Pragma: no-cache');
|
||||
|
||||
header('Location: ../');
|
||||
exit;
|
||||
Reference in New Issue
Block a user