2010-03-02 15:50:11 +00:00
< ? php
2010-03-02 16:23:02 +00:00
foreach ( array ( 'siret' ,
'raisonSociale' ,
'numVoie' ,
'voie' ,
'cpVille' ,
'telFax' ,
'naf' ) as $label ) {
if ( isset ( $formR [ $label ]) == false ) {
$formR [ $label ] = '' ;
}
}
2010-03-02 15:50:11 +00:00
?>
2010-05-11 07:44:51 +00:00
< div id = " recherche " >
2010-05-11 09:02:39 +00:00
< h2 align = " center " class = " StyleRechercheTitre " > RECHERCHE ENTREPRISE </ h2 >
2010-02-18 13:26:01 +00:00
< form name = " form_recherche " id = " formR-id " action = " ./?page=recherche&action=rechercher&vue=list " method = " post " >
2009-12-04 17:17:09 +00:00
< input type = " hidden " name = " formR[type] " value = " ent " />
2009-08-12 10:16:34 +00:00
2010-05-11 07:44:51 +00:00
< div class = " fieldgrp " >
< label > SIREN </ label >
2011-03-01 09:55:57 +00:00
< input type = " text " id = " siret " name = " formR[siret] " value = " <?= $formR['siret'] ?> " size = " 30 "
2010-05-28 16:25:18 +00:00
maxlength = " 20 " style = " vertical-align:middle; "
2010-11-18 10:48:51 +00:00
title = " Recherche par SIREN, SIRET, N° TVA intracommunautaire, N° RC, R.N.A., ISIN " />
2010-05-28 16:44:14 +00:00
< img src = " img/info.gif " style = " vertical-align:middle; "
2010-11-18 10:48:51 +00:00
title = " Recherche par SIREN, SIRET, N° TVA intracommunautaire, N° RC, R.N.A., ISIN " />
2010-07-15 14:43:48 +00:00
< img id = " goidentite " src = " img/siretdirect.gif " style = " vertical-align:middle; "
2010-09-01 15:21:32 +00:00
title = " Accès direct à la fiche identité (Raccourci clavier : Maintenir touche CTRL puis ENTREE) " />
2010-05-11 07:44:51 +00:00
</ div >
< div class = " fieldgrp marge " >
< label > RAISON SOCIALE < br /> ENSEIGNE / SIGLE </ label >
2010-06-24 09:19:42 +00:00
< input type = " text " name = " formR[raisonSociale] " value = " <?= $formR['raisonSociale'] ?> " size = " 30 " maxlength = " 250 " />
2010-05-11 07:44:51 +00:00
</ div >
< div class = " fieldgrp " >
< label > N & deg ; & amp ; VOIE </ label >
< input type = " text " name = " formR[numVoie] " value = " <?= $formR['numVoie'] ?> " size = " 4 " maxlength = " 4 " />
2010-06-24 09:19:42 +00:00
< input type = " text " name = " formR[voie] " value = " <?= $formR['voie'] ?> " size = " 20 " maxlength = " 250 " />
2010-05-11 07:44:51 +00:00
</ div >
< div class = " fieldgrp marge " >
< label > CP OU D & Eacute ; P . / VILLE </ label >
2010-06-24 09:19:42 +00:00
< input type = " text " name = " formR[cpVille] " value = " <?= $formR['cpVille'] ?> " size = " 30 " maxlength = " 250 " />
2010-05-11 07:44:51 +00:00
</ div >
< div class = " fieldgrp " >
< label > T & Eacute ; L / FAX </ label >
< input type = " text " name = " formR[telFax] " value = " <?= $formR['telFax'] ?> " size = " 30 " maxlength = " 15 " />
</ div >
< div class = " fieldgrp " >
< label > NAF </ label >
< input type = " text " title = " Commencer à saisir le code ou le libellé du Naf, puis séléctionner l'une des propositions " size = " 30 " name = " formR[naf] " id = " formR-naf " value = " <?= $formR['naf'] ?> " />
</ div >
2010-08-31 13:55:19 +00:00
< ? php
if ( isset ( $formR [ 'pays' ]) == false ) {
2011-04-08 13:54:21 +00:00
$formR [ 'pays' ] = '' ;
2010-08-31 13:55:19 +00:00
}
2011-08-12 15:54:11 +00:00
if ( hasPerm ( 'INTERNATIONAL' ) && hasModeEdition ()) {
2011-03-10 09:08:44 +00:00
$recherchePaysListe = array (
'FR' => 'France' ,
'BE' => 'Belgique' ,
2011-04-08 15:40:51 +00:00
'NL' => 'Pays bas' ,
'ES' => 'Espagne'
2011-03-10 09:08:44 +00:00
);
2010-08-31 13:55:19 +00:00
print '<div class="fieldgrp">' ;
print '<label>Pays</label>' ;
2011-08-12 06:58:27 +00:00
print '<select name="formR[pays]" style="width:176px">' ;
2011-04-08 13:54:21 +00:00
print '<option value=""></option>' ;
2010-08-31 13:55:19 +00:00
foreach ( $recherchePaysListe as $index => $valeur ) {
print '<option value="' . $index . '"' ;
if ( $formR [ 'pays' ] == $index ) {
2011-04-11 06:35:43 +00:00
print ' selected' ;
2010-08-31 13:55:19 +00:00
}
print '>' . $recherchePaysListe [ $index ] . '</option>' ;
}
print '</select>' ;
2010-09-03 13:24:57 +00:00
print '</div>' ;
2010-10-15 07:39:10 +00:00
} else {
2011-04-11 06:35:43 +00:00
echo '<input type="hidden" name="formR[pays]" value="" />' ;
2010-08-31 13:55:19 +00:00
}
?>
2010-05-11 07:44:51 +00:00
< div class = " submit " >
< input class = " button " type = " submit " name = " submit " value = " Recherche " title = " Lancer la recherche... " />
2010-05-28 16:25:18 +00:00
< input class = " button " type = " reset " name = " reset " value = " Effacer " title = " Remise à zéro " />
2010-05-11 07:44:51 +00:00
</ div >
</ form >
</ div >