garancia/themes/default/mobile/contact-form.tpl
2016-10-10 15:24:25 +02:00

165 lines
7.5 KiB
Smarty
Executable File

{*
* 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
*}
{*<link href="{$css_dir}{$page_name}.css" rel="stylesheet" type="text/css" media="all" /> *}
<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)}
<div class="success">{l s='Your message has been successfully sent to our team.'}
<br/>{l s='Nous vous répondrons dans les plus brefs délais.'}</div>
{elseif isset($alreadySent)}
<div class="error">{l s='Your message has already been sent.'}</div>
{/if}
<div class="champObligatoire hidden">
<span class="erreur hidden">{l s='Champ obligatoire'}</span>
</div>
{*<div class="bold">{l s='For questions about an order or for more information about our products'}.</div>*}
{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>
<div class="select">
<label for="id_contact" style="font-size:18px">{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}
</div>
{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>
</div>
{/if}
<div class="radio clear">
<div style="float:left;margin-left:-11px">
<input type="radio" id="civilite_mme" name="contact_civilite" value="Mme" style="margin-left:0"/>
<label for="civilite_mme" style="font-size:18px">{l s='Mme'}</label>
</div>
<div style="float:left">
<input type="radio" id="civilite_mlle" name="contact_civilite" value="Mlle" />
<label for="civilite_mlle" style="font-size:18px">{l s='Mlle'}</label>
</div>
<div style="float:left">
<input type="radio" id="civilite_mr" name="contact_civilite" value="M." />
<label for="civilite_mr" style="font-size:18px">{l s='M.'}</label>
</div>
</div>
<div 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'}" />
</div>
<div 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'}" />
</div>
<div 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'}" />
</div>
<div 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'}" />
</div>
<div 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'}" />
</div>
<div class="select">
<label for="contact_pays">{l s='Pays'}<sup>*</sup></label>
<select id="contact_pays" name="contact_pays">{$countries_list}</select>
</div>
<div 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')"/>
</div>
<div 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}
</div>
<div class="textarea">
<label for="message">{l s='Objet de votre'}<br/>{l s='demande'}<sup>*</sup></label>
<textarea id="message" name="message" rows="15" cols="10">{if isset($message)}{$message|escape:'htmlall':'UTF-8'|stripslashes}{/if}</textarea>
</div>
<div class="clear">
<span class="grey">{l s='* Champ obligatoire'}</i>
</div>
<div 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>
</div>
<div 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.'}
</div>
<div class="submit">
<input type="submit" name="submitMessage" id="submitMessage" value="{l s='Send'}" class="button_large" {*onclick="$(this).hide();"*} />
</div>
</fieldset>
</form>
</div>
<div class="rightCol">
<div class="blocRight">
<h5>{l s='Demande d\'échantillons'}</h5>
<div>{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.'}</div>
</div>
<div class="blocRight">
<h5>{l s='Recrutement / RH'}</h5>
<div>{l s='Nous sommes en perpétuelles 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>
</div>
</div>
<div class="blocRight green" style="height:auto">
<h5>{l s='Nous écrire'}</h5>
<div><b>{l s='Laboratoire Garancia'}</b>
<br/>{l s='18 Avenue du Recteur Poincaré'}
<br/>{l s='75016 Paris'}
</div>
</div>
</div>