bebeboutik/modules/contactform/provider.tpl

92 lines
4.7 KiB
Smarty
Raw Normal View History

2016-02-24 15:33:47 +01:00
<h1 class="module-contactform-h1">{l s='Formulaire de contact fournisseur' mod='contactform'}</h1>
2016-02-23 13:25:19 +01:00
2016-02-24 15:33:47 +01:00
<ul class="idTabs module-contactform-idTabs">
2016-02-24 11:07:18 +01:00
<li><a href="/modules/contactform/provider.php" class="selected">{l s='Fournisseur' mod='invite'}</a></li>
<li><a href="/modules/contactform/press.php" >{l s='Presse' mod='invite'}</a></li>
2016-02-23 17:33:08 +01:00
</ul>
2016-02-24 15:33:47 +01:00
<div class="sheets module-contactform-sheets clear" style="padding: 20px 20px;" class="module-contactform-sheets">
2016-02-23 17:33:08 +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-25 16:18:37 +01:00
<p class="bold text">{l s='Votre message a été envoyé' mod='contactform'}</p>
2016-02-24 10:35:05 +01:00
{/if}
{/if}
2016-02-23 13:25:19 +01:00
<form action="/modules/contactform/provider.php" method="post">
2016-02-23 17:33:08 +01:00
2016-02-24 12:06:11 +01:00
<div>
2016-02-24 15:33:47 +01:00
<p class="text module-contactform-input-group" style="display: inline-block">
2016-02-25 16:18:37 +01:00
<label for="brand">{l s='Marque' mod='contactform'}<sup>*</sup> </label>
<input type="text" name="brand" id="brand" value="{if Tools::getValue('brand')} {Tools::getValue('brand')} {/if}">
2016-02-24 12:06:11 +01:00
</p>
2016-02-24 15:40:57 +01:00
<p class="text module-contactform-input-group" style="display: inline-block; margin-left: 30px">
2016-02-25 16:18:37 +01:00
<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}">
2016-02-24 12:06:11 +01:00
</p>
</div>
2016-02-24 15:40:57 +01:00
<p class="text module-contactform-input-group">
2016-02-25 16:18:37 +01:00
<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}">
2016-02-24 15:40:57 +01:00
</p>
2016-02-24 12:06:11 +01:00
<div>
2016-02-24 15:33:47 +01:00
<p class="text module-contactform-input-group" style="display: inline-block">
2016-02-25 16:18:37 +01:00
<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}">
2016-02-24 12:06:11 +01:00
</p>
2016-02-24 15:40:57 +01:00
<p class="text module-contactform-input-group" style="display: inline-block; margin-left: 30px">
2016-02-25 16:18:37 +01:00
<label for="firstname">{l s='Prénom' mod='contactform'}<sup>*</sup></label>
<input type="text" name="firstname" id="firstname" value="{if Tools::getValue('firstname')} {Tools::getValue('firstname')} {/if}">
2016-02-24 12:06:11 +01:00
</p>
</div>
<div>
2016-02-24 15:33:47 +01:00
<p class="text module-contactform-input-group" style="display: inline-block">
2016-02-25 16:18:37 +01:00
<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}">
2016-02-24 12:06:11 +01:00
</p>
2016-02-24 15:40:57 +01:00
<p class="text module-contactform-input-group" style="display: inline-block; margin-left: 30px">
2016-02-24 12:06:11 +01:00
<label for="email2">{l s='Email secondaire' mod='contactform'}</label>
2016-02-25 16:18:37 +01:00
<input type="text" name="email2" id="email2" value="{if Tools::getValue('email2')} {Tools::getValue('email2')} {/if}">
2016-02-24 12:06:11 +01:00
</p>
</div>
<div>
2016-02-24 15:33:47 +01:00
<p class="text module-contactform-input-group" style="display: inline-block">
2016-02-25 16:18:37 +01:00
<label for="phone1">{l s='Téléphone' mod='contactform'}<sup>*</sup></label>
<input type="text" name="phone1" id="phone1" value="{if Tools::getValue('phone1')} {Tools::getValue('phone1')} {/if}">
2016-02-24 12:06:11 +01:00
</p>
2016-02-24 15:33:47 +01:00
2016-02-24 15:40:57 +01:00
<p class="text module-contactform-input-group" style="display: inline-block; margin-left: 30px">
2016-02-24 15:33:47 +01:00
<label for="phone2">{l s='Téléphone secondaire' mod='contactform'}</label>
2016-02-25 16:18:37 +01:00
<input type="text" name="phone2" id="phone2" value="{if Tools::getValue('phone2')} {Tools::getValue('phone1')} {/if}">
2016-02-24 15:33:47 +01:00
</p>
2016-02-24 12:06:11 +01:00
</div>
2016-02-24 10:54:12 +01:00
2016-02-24 15:33:47 +01:00
<p class="text module-contactform-input-group">
2016-02-25 16:18:37 +01:00
<label for="purpose">{l s='Proposition' mod='contactform'}<sup>*</sup></label>
<input type="text" name="purpose" id="purpose" value="{if Tools::getValue('purpose')} {Tools::getValue('purpose')} {/if}">
2016-02-24 10:54:12 +01:00
</p>
2016-02-24 15:33:47 +01:00
<p class="text module-contactform-input-group">
2016-02-25 16:18:37 +01:00
<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>
2016-02-24 10:54:12 +01:00
</p>
2016-02-23 13:25:19 +01:00
<input type="hidden" name="type" value="{Contactform::TYPE_PROVIDER}">
2016-02-25 10:42:49 +01:00
<button type="submit" id="SubmitLogin" class="btn_box login_box module-contactform-button" name="provider_form">{l s='Envoyer' mod='contactform'}</button>
2016-02-23 13:25:19 +01:00
</form>
2016-02-23 17:33:08 +01:00
</div>
2016-02-23 13:25:19 +01:00
</div>
2016-02-23 17:33:08 +01:00