154 lines
7.0 KiB
Smarty
154 lines
7.0 KiB
Smarty
|
{*
|
||
|
* 2007-2013 PrestaShop
|
||
|
*
|
||
|
* NOTICE OF LICENSE
|
||
|
*
|
||
|
* This source file is subject to the Academic Free License (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:
|
||
|
* http://opensource.org/licenses/afl-3.0.php
|
||
|
* 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 2007-2013 PrestaShop SA
|
||
|
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||
|
* International Registered Trademark & Property of PrestaShop SA
|
||
|
*}
|
||
|
<script type="text/javascript">{literal}
|
||
|
function cleanTel(id){
|
||
|
var valTel=$('#'+id).val();
|
||
|
var newNum="";
|
||
|
for(i=0;i<valTel.length;i++){
|
||
|
if(valTel[i]<10 && valTel[i]!=' '){
|
||
|
newNum+=valTel[i];
|
||
|
}
|
||
|
}
|
||
|
$('#'+id).attr('value',newNum);
|
||
|
}
|
||
|
{/literal}
|
||
|
</script>
|
||
|
{capture name=path}{l s='Contact'}{/capture}
|
||
|
{include file="$tpl_dir./breadcrumb.tpl"}
|
||
|
|
||
|
<div class="borderGreen">
|
||
|
<h1>[{l s='Contact'}]</h1>
|
||
|
{if isset($confirmation)}
|
||
|
<p class="success">{l s='Your message has been successfully sent to our team.'}</p>
|
||
|
{elseif isset($alreadySent)}
|
||
|
<p class="error">{l s='Your message has already been sent.'}</p>
|
||
|
{/if}
|
||
|
{*<p class="bold">{l s='For questions about an order or for more information about our products'}.</p>*}
|
||
|
{include file="$tpl_dir./errors.tpl"}
|
||
|
<form action="{$request_uri|escape:'htmlall':'UTF-8'}" method="post" class="std" enctype="multipart/form-data" id="formContact">
|
||
|
<fieldset>
|
||
|
<p class="select">
|
||
|
<label for="id_contact" style="font-size:13px">{l s='Sujets'} <sup>*</sup></label>
|
||
|
{if isset($customerThread.id_contact)}
|
||
|
{foreach from=$contacts item=contact}
|
||
|
{if $contact.id_contact == $customerThread.id_contact}
|
||
|
<input type="text" id="contact_name" name="contact_name" value="{$contact.name|escape:'htmlall':'UTF-8'}" readonly="readonly" />
|
||
|
<input type="hidden" name="id_contact" value="{$contact.id_contact}" />
|
||
|
{/if}
|
||
|
{/foreach}
|
||
|
</p>
|
||
|
{else}
|
||
|
<select id="id_contact" name="id_contact" onchange="showElemFromSelect('id_contact', 'desc_contact')">
|
||
|
<option value="0">{l s='---'}</option>
|
||
|
{foreach from=$contacts item=contact}
|
||
|
<option value="{$contact.id_contact|intval}" {if isset($smarty.post.id_contact) && $smarty.post.id_contact == $contact.id_contact}selected="selected"{/if}>{$contact.name|escape:'htmlall':'UTF-8'}</option>
|
||
|
{/foreach}
|
||
|
</select>
|
||
|
</p>
|
||
|
{/if}
|
||
|
<p class="radio clear">
|
||
|
<input type="radio" id="civilite_mme" name="contact_civilite" value="Mme" />
|
||
|
<label for="civilite_mme" style="font-size:13px">{l s='Mme'}</label>
|
||
|
<input type="radio" id="civilite_mlle" name="contact_civilite" value="Mlle" />
|
||
|
<label for="civilite_mlle" style="font-size:13px">{l s='Mlle'}</label>
|
||
|
<input type="radio" id="civilite_mr" name="contact_civilite" value="M." />
|
||
|
<label for="civilite_mr" style="font-size:13px">{l s='M.'}</label>
|
||
|
</p>
|
||
|
<p class="text">
|
||
|
<label for="contact_nom">{l s='Nom'} <sup>*</sup></label>
|
||
|
<input type="text" id="contact_nom" name="contact_nom" value="{$contact_nom|escape:'htmlall':'UTF-8'}" />
|
||
|
</p>
|
||
|
<p class="text">
|
||
|
<label for="contact_prenom">{l s='Prénom'} <sup>*</sup></label>
|
||
|
<input type="text" id="contact_prenom" name="contact_prenom" value="{$contact_prenom|escape:'htmlall':'UTF-8'}" />
|
||
|
</p>
|
||
|
<p class="text">
|
||
|
<label for="contact_adresse">{l s='Adresse'} <sup>*</sup></label>
|
||
|
<input type="text" id="contact_adresse" name="contact_adresse" value="{$contact_adresse|escape:'htmlall':'UTF-8'}" />
|
||
|
</p>
|
||
|
<p class="text">
|
||
|
<label for="contact_cp">{l s='Code postal'} <sup>*</sup></label>
|
||
|
<input type="text" id="contact_cp" name="contact_cp" value="{$contact_cp|escape:'htmlall':'UTF-8'}" />
|
||
|
</p>
|
||
|
<p class="text">
|
||
|
<label for="contact_ville">{l s='Ville'} <sup>*</sup></label>
|
||
|
<input type="text" id="contact_ville" name="contact_ville" value="{$contact_ville|escape:'htmlall':'UTF-8'}" />
|
||
|
</p>
|
||
|
<p class="select">
|
||
|
<label for="contact_pays">{l s='Pays'} <sup>*</sup></label>
|
||
|
<select id="contact_pays" name="contact_pays">{$countries_list}</select>
|
||
|
</p>
|
||
|
<p class="text">
|
||
|
<label for="contact_tel">{l s='Téléphone'}</label>
|
||
|
<input type="text" id="contact_tel" name="contact_tel" value="{$contact_tel|escape:'htmlall':'UTF-8'}" onkeyup="cleanTel('contact_tel')"/>
|
||
|
</p>
|
||
|
<p class="text">
|
||
|
<label for="email">{l s='Adresse e-mail'} <sup>*</sup></label>
|
||
|
{if isset($customerThread.email)}
|
||
|
<input type="text" id="email" name="from" value="{$customerThread.email|escape:'htmlall':'UTF-8'}" readonly="readonly" />
|
||
|
{else}
|
||
|
<input type="text" id="email" name="from" value="{$email|escape:'htmlall':'UTF-8'}" />
|
||
|
{/if}
|
||
|
</p>
|
||
|
<p class="textarea">
|
||
|
<label for="message">{l s='Objet de votre demande'} <sup>*</sup></label>
|
||
|
<textarea id="message" name="message" rows="15" cols="10">{if isset($message)}{$message|escape:'htmlall':'UTF-8'|stripslashes}{/if}</textarea>
|
||
|
</p>
|
||
|
<p class="checkbox">
|
||
|
<input type="checkbox" value="1" name="contact_newsletter" id="contact_newsletter"/> <label for="contact_newsletter">{l s='Je souhaite recevoir la newsletter du Laboratoire Garancia'}</label>
|
||
|
</p>
|
||
|
<p class="submit">
|
||
|
<input type="submit" name="submitMessage" id="submitMessage" value="{l s='Send'}" class="button_large" {*onclick="$(this).hide();"*} />
|
||
|
</p>
|
||
|
<p class="textLoi">
|
||
|
{l s='Conformément à la loi informatique et libertés du 6.01.78, vous disposez d\'un droit d\'accès, de rectification et de suppression des informations vous concernant utilisées exclusivement par GARANCIA que vous pouvez exercer à tout moment en nous adresse un courrier ou un e-mail.'}
|
||
|
<br/>
|
||
|
<br/>
|
||
|
<i>{l s='* Champ obligatoire'}</i>
|
||
|
</p>
|
||
|
</fieldset>
|
||
|
</form>
|
||
|
</div>
|
||
|
<div class="rightCol">
|
||
|
<div class="blocRight">
|
||
|
<h5>{l s='Demande d\'échantillons'}</h5>
|
||
|
<p>{l s='Devant les fortes demandes d\'échantillons, nous vous invitons à vous rendre dans vos points de vente habituels qui pourront vous remettre des échantillons adaptés à votre type de peau.'}</p>
|
||
|
</div>
|
||
|
<div class="blocRight">
|
||
|
<h5>{l s='Recrutement / RH'}</h5>
|
||
|
<p>{l s='Nous sommes en perpétuelle recherche de talents. Vous pouvez nous envoyer par email votre candidature spontannée pour :'}
|
||
|
<br/>
|
||
|
<br/><b>{l s='Un emploi'} :</b> <a href="mailto:recrutement-rh@garancia-beauty.com">recrutement-rh@garancia-beauty.com</a>
|
||
|
<br/><b>{l s='Un stage'} :</b> <a href="mailto:stage@garancia-beauty.com">stage@garancia-beauty.com</a>
|
||
|
</p>
|
||
|
</div>
|
||
|
<div class="blocRight green" style="height:auto">
|
||
|
<h5>{l s='Nous écrire'}</h5>
|
||
|
<p><b>{l s='Laboratoire Garancia'}</b>
|
||
|
<br/>{l s='18 Avenue du Recteur Poincarré'}
|
||
|
<br/>{l s='75016 Paris'}
|
||
|
</p>
|
||
|
</div>
|
||
|
</div>
|