bebeboutik/modules/contactform/provider.tpl
Alexandre Simonet e3ce8e7869 Refactor
2016-02-24 11:03:00 +01:00

84 lines
2.7 KiB
Smarty

<h1>{l s='Contact provider form' mod='contactform'}</h1>
<ul class="idTabs">
<li><a href="/modules/contactform/provider.php" class="selected">{l s='Provider' mod='invite'}</a></li>
<li><a href="/modules/contactform/press.php" >{l s='Press' mod='invite'}</a></li>
</ul>
<div class="sheets" style="padding: 20px 20px;">
<div id="idTab1">
{if $_POST}
{if $result|is_array}
{foreach from=$result item=error}
<p class="bold" style="color: red">{$error}</p>
{/foreach}
{else}
<p class="bold">{l s='Votre message à été envoye' mod='contactform'}</p>
{/if}
{/if}
<form action="/modules/contactform/provider.php" method="post">
<p class="text">
<label for="brand">{l s='Marque' mod='contactform'}*</label>
<input type="text" name="brand" id="brand">
</p>
<p class="text">
<label for="compagny">{l s='Entreprise' mod='contactform'}*</label>
<input type="text" name="compagny" id="compagny">
</p>
<p class="text">
<label for="lastname">{l s='Nom' mod='contactform'}*</label>
<input type="text" name="lastname" id="lastname">
</p>
<p class="text">
<label for="firstname">{l s='Prénom' mod='contactform'}*</label>
<input type="text" name="firstname" id="firstname">
</p>
<p class="text">
<label for="function">{l s='Fonction' mod='contactform'}*</label>
<input type="text" name="function" id="function">
</p>
<p class="text">
<label for="email1">{l s='Email' mod='contactform'}*</label>
<input type="text" name="email1" id="email1">
</p>
<p class="text">
<label for="email2">{l s='Email secondaire' mod='contactform'}</label>
<input type="text" name="email2" id="email2">
</p>
<p class="text">
<label for="phone1">{l s='Téléphone' mod='contactform'}*</label>
<input type="text" name="phone1" id="phone1">
</p>
<p class="text">
<label for="phone2">{l s='Téléphone secondaire' mod='contactform'}</label>
<input type="text" name="phone2" id="phone2">
</p>
<p class="text">
<label for="purpose">{l s='Proposition' mod='contactform'}*</label>
<input type="text" name="purpose" id="purpose">
</p>
<p class="text">
<label for="content">{l s='Message' mod='contactform'}*</label>
<textarea name="content" id="content" style="width: 268px"></textarea>
</p>
<input type="hidden" name="type" value="{Contactform::TYPE_PROVIDER}">
<button type="submit" id="SubmitLogin">{l s='Envoyer' mod='contactform'}</button>
</form>
</div>
</div>