82 lines
3.2 KiB
Smarty
82 lines
3.2 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 à été envoye' 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'}*</label>
|
|
<input type="text" name="compagny" id="compagny">
|
|
</p>
|
|
|
|
<p class="text module-contactform-input-group" style="display: inline-block">
|
|
<label for="function">{l s='Fonction' mod='contactform'}*</label>
|
|
<input type="text" name="function" id="function">
|
|
</p>
|
|
</div>
|
|
|
|
<div>
|
|
<p class="text module-contactform-input-group" style="display: inline-block">
|
|
<label for="lastname">{l s='Nom' mod='contactform'}*</label>
|
|
<input type="text" name="lastname" id="lastname">
|
|
</p>
|
|
|
|
<p class="text module-contactform-input-group" style="display: inline-block">
|
|
<label for="firstname">{l s='Prénom' mod='contactform'}*</label>
|
|
<input type="text" name="firstname" id="firstname">
|
|
</p>
|
|
</div>
|
|
|
|
<div>
|
|
<p class="text module-contactform-input-group" style="display: inline-block">
|
|
<label for="email1">{l s='Email' mod='contactform'}*</label>
|
|
<input type="text" name="email1" id="email1">
|
|
</p>
|
|
|
|
<p class="text module-contactform-input-group" style="display: inline-block">
|
|
<label for="email2">{l s='Email secondaire' mod='contactform'}</label>
|
|
<input type="text" name="email2" id="email2">
|
|
</p>
|
|
</div>
|
|
|
|
<div>
|
|
<p class="text module-contactform-input-group" style="display: inline-block">
|
|
<label for="phone1">{l s='Téléphone' mod='contactform'}*</label>
|
|
<input type="text" name="phone1" id="phone1">
|
|
</p>
|
|
|
|
<p class="text module-contactform-input-group" style="display: inline-block">
|
|
<label for="phone2">{l s='Téléphone secondaire' mod='contactform'}</label>
|
|
<input type="text" name="phone2" id="phone2">
|
|
</p>
|
|
</div>
|
|
|
|
<p class="text module-contactform-input-group">
|
|
<label for="content">{l s='Message' mod='contactform'}*</label>
|
|
<textarea name="content" id="content" cols="65" rows="10"></textarea>
|
|
</p>
|
|
|
|
<input type="hidden" name="type" value="{Contactform::TYPE_PRESS}">
|
|
|
|
<button type="submit" id="SubmitLogin" class="module-contactform-button">{l s='Envoyer' mod='contactform'}</button>
|
|
</form>
|
|
|
|
</div>
|