2009-07-22 07:12:37 +00:00
< script type = " text/javascript " >
$ ( document ) . ready ( function (){
2010-02-10 17:27:03 +00:00
$ ( 'input[name=formR[siret]]' ) . focus ();
2009-07-22 07:12:37 +00:00
$ ( " form[name=form_recherche] " ) . submit ( function (){
var reg = / [ a - z ]{ 3 } / i ;
var siret = $ ( 'input[name=formR[siret]]' ) . val ();
if ( siret . match ( reg )){
$ ( 'input[name=formR[raisonSociale]]' ) . attr ( 'value' , siret );
$ ( 'input[name=formR[siret]]' ) . attr ( 'value' , '' );
}
return true ;
});
});
</ script >
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
?>
2009-07-22 13:05:51 +00:00
< br />< br />< br />< br />< br />
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-07-22 07:12:37 +00:00
< table cellpadding = " 0 " cellspacing = " 0 " >
2009-08-12 10:16:34 +00:00
< tr >
< td valign = " top " width = " 580 " height = " 200 " align = " center " >
< table >
2009-07-22 07:12:37 +00:00
< tr >
2009-08-12 10:16:34 +00:00
< td align = " center " >< h2 align = " center " class = " StyleRechercheTitre " > RECHERCHE ENTREPRISE </ h2 ></ td >
2009-07-22 07:12:37 +00:00
</ tr >
2009-08-12 10:16:34 +00:00
</ table >
< table >
< tr >
< td width = " 208 " align = " right " class = " StyleRechercheLib " >< b > SIREN </ b ></ td >
2009-12-04 17:17:09 +00:00
< td width = " 300 " align = " left " style = " line-height:20px; " >
< input type = " text " name = " formR[siret] " value = " <?= $formR['siret'] ?> " size = " 25 " maxlength = " 20 " style = " vertical-align:middle; " />
2010-02-10 17:27:03 +00:00
& nbsp ; < img src = " img/exclamation.png " title = " Recherche par SIREN, SIRET, N° TVA intracommunautaire, N° RC, N° WALDEC, ISIN " style = " vertical-align:middle; " />
2009-12-04 17:17:09 +00:00
</ td >
2009-08-12 10:16:34 +00:00
< td width = " 72 " >& nbsp ; </ td >
</ tr >
< tr >
< td width = " 208 " align = " right " class = " StyleRechercheLib " >< b > RAISON SOCIALE < br /> ENSEIGNE / SIGLE </ b ></ td >
2009-12-04 17:17:09 +00:00
< td width = " 300 " align = " left " >< input type = " text " name = " formR[raisonSociale] " value = " <?= $formR['raisonSociale'] ?> " size = " 25 " maxlength = " 40 " /></ td >
2009-08-12 10:16:34 +00:00
< td width = " 72 " >& nbsp ; </ td >
</ tr >
</ table >
<!-- < div id = " subcontent1 " style = " display:block " > -->
< br />
< table >
< tr >
< td width = " 208 " align = " right " class = " StyleRechercheLib " >< b > N & deg ; & amp ; VOIE </ b ></ td >
2009-12-04 17:17:09 +00:00
< td width = " 300 " align = " left " >< input type = " text " name = " formR[numVoie] " value = " <?= $formR['numVoie'] ?> " size = " 4 " maxlength = " 4 " />
< input type = " text " name = " formR[voie] " value = " <?= $formR['voie'] ?> " size = " 17 " maxlength = " 30 " /></ td >
2009-08-12 10:16:34 +00:00
< td width = " 72 " >& nbsp ; </ td >
</ tr >
< tr >
< td width = " 208 " align = " right " class = " StyleRechercheLib " >< b > CP OU D & Eacute ; P . / VILLE </ b ></ td >
2009-12-04 17:17:09 +00:00
< td width = " 300 " align = " left " >< input type = " text " name = " formR[cpVille] " value = " <?= $formR['cpVille'] ?> " size = " 25 " maxlength = " 40 " /></ td >
2009-08-12 10:16:34 +00:00
< td width = " 72 " >& nbsp ; </ td >
</ tr >
</ table >
< br />
< table >
2009-07-22 07:12:37 +00:00
< tr >
2009-08-12 10:16:34 +00:00
< td width = " 208 " align = " right " class = " StyleRechercheLib " >< b > T & Eacute ; L / FAX </ b ></ td >
2009-12-04 17:17:09 +00:00
< td width = " 300 " align = " left " >< input type = " text " name = " formR[telFax] " value = " <?= $formR['telFax'] ?> " size = " 15 " maxlength = " 15 " /><!--& nbsp ; & nbsp ; & nbsp ; & nbsp ; & nbsp ; & nbsp ; & nbsp ; & nbsp ; & nbsp ; & nbsp ; & nbsp ; & nbsp ; & nbsp ; & nbsp ; & nbsp ; & nbsp ; < img onClick = " return overlay(this, 'subcontent1') " src = " ./img/puce_plus_rond.gif " alt = " Plus d'options de recherche... " />--></ td >
2009-08-12 10:16:34 +00:00
< td width = " 72 " >& nbsp ; </ td >
2009-07-22 07:12:37 +00:00
</ tr >
2009-08-12 10:16:34 +00:00
</ table >
< div id = " subcontent1 " style = " display:block " >
< table >
< tr >
< td width = " 208 " align = " right " class = " StyleRechercheLib " >< b > NAF </ b ></ td >
2009-12-04 17:17:09 +00:00
< td width = " 300 " align = " left " >
2010-02-10 17:27:03 +00:00
< input type = " text " title = " Commencer à saisir le code ou le libellé du Naf, puis séléctionner l'une des propositions " size = " 15 " name = " formR[naf] " id = " formR-naf " value = " <?= $formR['naf'] ?> " />
2009-08-12 10:16:34 +00:00
</ td >
< td width = " 72 " >& nbsp ; </ td >
</ tr >
</ table >
</ div >
</ td >
</ tr >
</ table >
< table width = " 580 " >
< tr >
< td align = " center " valign = " top " >
2009-12-04 17:17:09 +00:00
< input type = " image " src = " ./img/boutton_valider_off.gif " name = " submit " id = " formR-submit " onmouseover = " this.src='./img/boutton_valider_on.gif' " onmouseout = " this.src='./img/boutton_valider_off.gif' " title = " Lancer la recherche... " />
2009-08-12 10:16:34 +00:00
</ td >
</ tr >
2009-07-22 07:12:37 +00:00
</ table >
</ form >