82 lines
4.0 KiB
Smarty
82 lines
4.0 KiB
Smarty
<h1 class="module-contactform-h1">{l s='Formulaire de contact presse' mod='contactform'}</h1>
|
|
|
|
<ul class="idTabs module-contactform-idTabs">
|
|
<li><a href="/modules/contactform/provider.php" >{l s='Fournisseur' mod='invite'}</a></li>
|
|
<li><a href="/modules/contactform/press.php" class="selected">{l s='Presse' mod='invite'}</a></li>
|
|
</ul>
|
|
|
|
<div class="sheets module-contactform-sheets clear" style="padding: 20px 20px;">
|
|
<div id="idTab1">
|
|
|
|
{if $_POST}
|
|
{if $result|is_array}
|
|
{foreach from=$result item=error}
|
|
<p class="bold text" style="color: red">{$error}</p>
|
|
{/foreach}
|
|
{else}
|
|
<p class="bold text">{l s='Votre message a été envoyé' mod='contactform'}</p>
|
|
{/if}
|
|
{/if}
|
|
|
|
<form action="/modules/contactform/press.php" method="post">
|
|
|
|
<div>
|
|
<p class="text module-contactform-input-group" style="display: inline-block">
|
|
<label for="compagny">{l s='Entreprise' mod='contactform'}<sup>*</sup> </label>
|
|
<input type="text" name="compagny" id="compagny" value="{if Tools::getValue('compagny')} {Tools::getValue('compagny')} {/if}">
|
|
</p>
|
|
|
|
<p class="text module-contactform-input-group" style="display: inline-block; margin-left: 30px">
|
|
<label for="function">{l s='Fonction' mod='contactform'}<sup>*</sup></label>
|
|
<input type="text" name="function" id="function" value="{if Tools::getValue('function')} {Tools::getValue('function')} {/if}">
|
|
</p>
|
|
</div>
|
|
|
|
<div>
|
|
<p class="text module-contactform-input-group" style="display: inline-block">
|
|
<label for="lastname">{l s='Nom' mod='contactform'}<sup>*</sup></label>
|
|
<input type="text" name="lastname" id="lastname" value="{if Tools::getValue('lastname')} {Tools::getValue('lastname')} {/if}">
|
|
</p>
|
|
|
|
<p class="text module-contactform-input-group" style="display: inline-block; margin-left: 30px">
|
|
<label for="firstname">{l s='Prénom' mod='contactform'}<sup>*</sup></label>
|
|
<input type="text" name="firstname" id="firstname" value="{if Tools::getValue('firtname')} {Tools::getValue('firstname')} {/if}">
|
|
</p>
|
|
</div>
|
|
|
|
<div>
|
|
<p class="text module-contactform-input-group" style="display: inline-block">
|
|
<label for="email1">{l s='Email' mod='contactform'}<sup>*</sup></label>
|
|
<input type="text" name="email1" id="email1" value="{if Tools::getValue('email1')} {Tools::getValue('email1')} {/if}">
|
|
</p>
|
|
|
|
<p class="text module-contactform-input-group" style="display: inline-block; margin-left: 30px">
|
|
<label for="email2">{l s='Email secondaire' mod='contactform'}</label>
|
|
<input type="text" name="email2" id="email2" value="{if Tools::getValue('email2')} {Tools::getValue('email2')} {/if}">
|
|
</p>
|
|
</div>
|
|
|
|
<div>
|
|
<p class="text module-contactform-input-group" style="display: inline-block">
|
|
<label for="phone1">{l s='Téléphone' mod='contactform'}<sup>*</sup></label>
|
|
<input type="text" name="phone1" id="phone1" {if Tools::getValue('phone1')} {Tools::getValue('phone1')} {/if}>
|
|
</p>
|
|
|
|
<p class="text module-contactform-input-group" style="display: inline-block; margin-left: 30px">
|
|
<label for="phone2">{l s='Téléphone secondaire' mod='contactform'}</label>
|
|
<input type="text" name="phone2" id="phone2" {if Tools::getValue('phone2')} {Tools::getValue('phone2')} {/if}>
|
|
</p>
|
|
</div>
|
|
|
|
<p class="text module-contactform-input-group">
|
|
<label for="content">{l s='Message' mod='contactform'}<sup>*</sup></label>
|
|
<textarea name="content" id="content" cols="65" rows="10">{if Tools::getValue('content')} {Tools::getValue('content')} {/if}</textarea>
|
|
</p>
|
|
|
|
<input type="hidden" name="type" value="{Contactform::TYPE_PRESS}">
|
|
|
|
<button type="submit" id="SubmitLogin" class="module-contactform-button" name="press_form">{l s='Envoyer' mod='contactform'}</button>
|
|
</form>
|
|
|
|
</div>
|