<?php
include_once(realpath(dirname(__FILE__).'/constantes.php'));
header('Content-Type: text/html; charset=ISO-8859-1');
?>

<script type="text/javascript" src="./js/thickbox.js"></script>
<label>Date cessation de paiement </label>
<input type="text" class="date" name="jugement[datePaie]" size="10" maxlength="10" value="" />
<span class="left">(Format JJ/MM/AAAA)</span>
<script type="text/javascript">
$(document).ready(function(){
	$(".date").blur(function() {
		//Test du format date
		$(this).val(dateInputFormat($(this).val()));
		//Test spécifique
		if( $(this).attr('name')=='jugement[dateJuge]' ){
			if (ctrlDateJugement($(this).val())==false){ $(this).val(''); }
		}
		if( $(this).attr('name')=='jugement[datePaie]' ){
			if (ctrlDatePaiement($(this).val())==false){ $(this).val(''); }
		}
	});
});
</script>
<?php
require_once realpath(dirname(__FILE__)).'/field_administrateur.php';
require_once realpath(dirname(__FILE__)).'/field_mandataire.php';
?>

<label>Compl&eacute;ment, huissier, opposition, etc...</label>
<input type="text" name="jugement[comp]" size="70" maxlength="255" value="" />