extranet/includes/recherche/recherche_dir.php
2010-05-28 16:25:18 +00:00

49 lines
1.7 KiB
PHP

<?php
foreach (array('dirNom',
'dirPrenom',
'dirDateNaissJJ',
'dirDateNaissMM',
'dirDateNaissAAAA',
'dirCpVille') as $label) {
if (isset($formR[$label]) == false) {
$formR[$label] = '';
}
}
?>
<div id="recherche">
<h2 align="center" class="StyleRechercheTitre">RECHERCHE PAR DIRIGEANT</h2>
<form name="form_recherche" action="./?page=recherche&action=rechercher&vue=list" method="post">
<input type="hidden" name="formR[type]" value="dir"/>
<div class="fieldgrp">
<label>NOM</label>
<input type="text" name="formR[dirNom]" value="<?=$formR['dirNom']?>" size="25" maxlength="40" style="vertical-align:middle;" />
</div>
<div class="fieldgrp marge">
<label>PRENOM</label>
<input type="text" name="formR[dirPrenom]" value="<?=$formR['dirPrenom']?>" size="25" maxlength="40" />
</div>
<div class="fieldgrp">
<label>DATE NAISSANCE</label>
<input maxLength="2" size="2" name="formR[dirDateNaissJJ]" value="<?=$formR['dirDateNaissJJ']?>" />&nbsp;/&nbsp;
<input maxLength="2" size="2" name="formR[dirDateNaissMM]" value="<?=$formR['dirDateNaissMM']?>" />&nbsp;/&nbsp;
<input maxLength="4" size="4" name="formR[dirDateNaissAAAA]" value="<?=$formR['dirDateNaissAAAA']?>" />
</div>
<div class="fieldgrp">
<label>CP OU D&Eacute;P. / VILLE DE NAISSANCE</label>
<input type="text" name="formR[dirCpVille]" value="<?=$formR['dirCpVille']?>" size="25" maxlength="40" />
</div>
<div class="submit">
<input class="button" type="submit" name="submit" value="Recherche" title="Lancer la recherche..." />
<input class="button" type="reset" name="reset" value="Effacer" title="Remise à zéro" />
</div>
</form>
</div>