<?php
/************************************************************************/
/* SFORM Extender for NPDS SABLE Contact Example                        */
/* ===========================                                          */
/* NPDS Copyright (c) 2002-2011 by Philippe Brunier                     */
/*                                                                      */
/* This program is free software. You can redistribute it and/or modify */
/* it under the terms of the GNU General Public License as published by */
/* the Free Software Foundation; either version 2 of the License.       */
/************************************************************************/

$m->add_form_field_size(50);
$m->add_title("[french]Contactez-nous[/french][english]Contact us[/english]");
$m->add_field('nom', "[french]Nom / Raison Sociale[/french][english]Name/Corporate name[/english]",$nom,'text',true,150,"","");
$m->add_field('ad1', "[french]Adresse[/french][english]more address[/english]",$ad1,'text',true,150,"","");
$m->add_field('ville', "[french]Ville[/french][english]City[/english]",$ville,'text',false,150,"","");
$m->add_field('dpt', "[french]D&#xE9;partement[/french][english]Department[/english]",$dpt,'text',true,50,"","");
$m->add_field('cpt', "[french]Code Postal[/french][english]Postal code[/english]",$cpt,'text',true,5,"","0-9");
$m->add_field('tel', "[french]Tel[/french][english]Phone[/english]",$tel,'text',true,25,"","0-9extend");
$m->add_field('fax', "[french]Fax[/french][english]Fax[/english]",$fax,'text',false,25,"","0-9extend");
$m->add_field('mob', "[french]Mobile[/french][english]Gsm[/english]",$mob,'text',false,25,"","0-9extend");
$m->add_field('email', "[french]Adresse de messagerie[/french][english]mail address[/english]",$email,'text',false,255,"","email");
$m->add_field('act', "[french]Activit&#xE9;[/french][english]Activity[/english]",$act,'text',true,150,"","");
$m->add_field('des', "[french]Description de votre demande[/french][english]Your request[/english]",$des,'textarea',false,430,10,"","");

// ----------------------------------------------------------------
// CES CHAMPS sont indispensables --- Don't remove these fields
// Anti-Spam
$m->add_Qspam();
// Reset bouton
$m->add_field('Reset',"",translate("Cancel"),'reset',false);
// Submit bouton
$m->add_extra("&nbsp;&nbsp;&nbsp;");
$m->add_field("","","[french]Soumettre[/french][english]Submit[/english]",'submit',false);
// ----------------------------------------------------------------
?>