82 lines
2.8 KiB
Smarty
Raw Normal View History

2016-02-24 11:07:18 +01:00
<h1>{l s='Formulaire de contact presse' mod='contactform'}</h1>
2016-02-23 15:38:51 +01:00
2016-02-23 17:33:08 +01:00
<ul class="idTabs">
2016-02-24 11:07:18 +01:00
<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>
2016-02-23 17:33:08 +01:00
</ul>
<div class="sheets" style="padding: 20px 20px;">
2016-02-23 15:38:51 +01:00
<div id="idTab1">
2016-02-24 10:35:05 +01:00
{if $_POST}
{if $result|is_array}
{foreach from=$result item=error}
2016-02-24 11:07:18 +01:00
<p class="bold text" style="color: red">{$error}</p>
2016-02-24 10:35:05 +01:00
{/foreach}
{else}
2016-02-24 11:07:18 +01:00
<p class="bold text">{l s='Votre message à été envoye' mod='contactform'}</p>
2016-02-24 10:35:05 +01:00
{/if}
{/if}
2016-02-23 15:38:51 +01:00
<form action="/modules/contactform/press.php" method="post">
2016-02-24 12:06:11 +01:00
<div>
<p class="text" style="display: inline-block">
<label for="compagny">{l s='Entreprise' mod='contactform'}*</label>
<input type="text" name="compagny" id="compagny">
</p>
<p class="text" 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" style="display: inline-block">
<label for="lastname">{l s='Nom' mod='contactform'}*</label>
<input type="text" name="lastname" id="lastname">
</p>
<p class="text" 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" style="display: inline-block">
<label for="email1">{l s='Email' mod='contactform'}*</label>
<input type="text" name="email1" id="email1">
</p>
<p class="text" 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" 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" 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>
2016-02-24 10:54:12 +01:00
<p class="text">
2016-02-24 11:03:00 +01:00
<label for="content">{l s='Message' mod='contactform'}*</label>
2016-02-24 12:06:11 +01:00
<textarea name="content" id="content" cols="65" rows="10"></textarea>
2016-02-24 10:54:12 +01:00
</p>
2016-02-23 15:38:51 +01:00
2016-02-23 17:33:08 +01:00
<input type="hidden" name="type" value="{Contactform::TYPE_PRESS}">
2016-02-23 15:38:51 +01:00
2016-02-24 11:03:00 +01:00
<button type="submit" id="SubmitLogin">{l s='Envoyer' mod='contactform'}</button>
2016-02-23 15:38:51 +01:00
</form>
</div>