<commit_before><style>
.tableau td, .tableau th, .tableau table {border: 1px solid black; }
pre {display: inline;}
</style>

<span style="background-color: black; color: white; font-weight: bold;">Exploitation</span><br/>
<table style="border: 1px solid black;"><tr><td>
<table border="0">
  <tr><td>N° CVI : <i><?php echo $recoltant->cvi; ?></i></td><td>Nom : <i><?php echo $recoltant->intitule.' '.$recoltant->nom; ?></i></td></tr>
  <tr><td>SIRET : <i><?php echo $recoltant->siret; ?></i></td><td>Adresse : <i><?php echo $recoltant->siege->adresse; ?></i></td></tr>
  <tr><td>Régime Fiscal : <i><?php echo $recoltant->regime_fiscal; ?></i></td><td>Commune : <i><?php echo $recoltant->siege->code_postal." ".$recoltant->siege->commune; ?></i></td></tr>
  <tr><td>Tel. : <i><?php echo $recoltant->telephone; ?></i></td><td>Fax : <i><?php echo $recoltant->fax; ?></i></td></tr>
</table>
</td></tr></table>

<span style="background-color: black; color: white; font-weight: bold;">Gestionnaire de l&apos;exploitation</span><br/>
<table style="border: 1px solid black;"><tr><td>
<table border="0" style="margin: 0px; padding: 0px;">
  <tr><td>Nom et prénom : <i><?php echo $recoltant->exploitant->nom; ?></i></td><td>Né le <i><?php echo $recoltant->exploitant->date_naissance; ?></i></td></tr>
  <tr><td>Adresse complete : <i><?php echo $recoltant->exploitant->adresse.', '.$recoltant->exploitant->code_postal.' '.$recoltant->exploitant->commune; ?></i></td><td>Tel. <i><?php echo $recoltant->exploitant->telephone; ?></i></td></tr>
</table>
</td></tr></table>
  <div><span style="background-color: black; color: white; font-weight: bold;"><?php echo $libelle_appellation; ?></span></div>
<table border=1 cellspacing=0 cellpaggind=0 style="text-align: center; border: 1px solid black;">
<?php 

if (!function_exists('printColonne')) {
  function printColonne($libelle, $colonnes, $key, $unite = '') {
    echo '<tr><th style="text-align: left; font-weight: bold; width: 200px;">'.$libelle.'</th>';
    foreach($colonnes as $c) {
      if (isset($c[$key]) && $v = $c[$key]) {
	echo '<td style="width: 120px;">';
	if ($c['type'] == 'total')    echo '<b>';
	echo $v;
	if ($c['type'] == 'total')    echo '</b>';
	if ($unite)
	  echo "&nbsp;<small>$unite</small>";
	echo '</td>';
      }else
	echo '<td style="width: 120px;">&nbsp;</td>';
    }
    echo '</tr>';
  }
}

echo printColonne('Cépage', $colonnes_cepage, 'cepage');
echo printColonne('Dénom. complém.', $colonnes_cepage, 'denomination');
echo printColonne('Superficie', $colonnes_cepage, 'superficie', 'ares');
echo printColonne('Récolte totale', $colonnes_cepage, 'volume', 'hl');
foreach ($acheteurs as $cvi => $val) {
  echo printColonne('Vente à '.$cvi, $colonnes_cepage, $cvi, 'hl');
}
echo printColonne('Cave particulière', $colonnes_cepage, 'cave_particuliere', 'hl');
echo printColonne('Volume revendiqué', $colonnes_cepage, 'revendique', 'hl');
echo printColonne('DPLC', $colonnes_cepage, 'dplc', 'hl');
?>
</table>
<?php if (count($acheteurs)) : ?>
<div style="margin-top: 20px;">
<div><span style="background-color: black; color: white; font-weight: bold;">Identification des acheteurs et caves coopératives</span></div>
<table border=1 cellspacing=0 cellpaggind=0 style="text-align: center; border: 1px solid black;">
  <tr style="font-weight: bold;"><th style="width: 100px;">N° CVI</th><th style="width: 300px;">Raison social (commune)</th><th style="width: 100px;">Superficie</th><th style="width: 120px;">Vente raisins</th><th style="width: 100px;">dont DPLC</th></tr>
  <?php foreach($acheteurs as $cvi => $a) : ?>
  <tr><td style="width: 100px;"><?php echo $cvi; ?></td><td style="width: 300px;"><?php echo $cvi; ?></td><td style="width: 100px;"><?php echo $a->superficie; ?>&nbsp;</td><td  style="width: 120px;"><?php echo $a->volume; ?>&nbsp;<small>hl</small></td><td style="width: 100px;"><?php echo $a->dontdplc; ?>&nbsp;</td></tr>
  <?php endforeach; ?>
<?php endif; ?>
</table>
</div>
</div>

<commit_msg>Correction de l'HTML non conforme<commit_after><style>
.tableau td, .tableau th, .tableau table {border: 1px solid black; }
pre {display: inline;}
</style>

<span style="background-color: black; color: white; font-weight: bold;">Exploitation</span><br/>
<table style="border: 1px solid black;"><tr><td>
<table border="0">
  <tr><td>N° CVI : <i><?php echo $recoltant->cvi; ?></i></td><td>Nom : <i><?php echo $recoltant->intitule.' '.$recoltant->nom; ?></i></td></tr>
  <tr><td>SIRET : <i><?php echo $recoltant->siret; ?></i></td><td>Adresse : <i><?php echo $recoltant->siege->adresse; ?></i></td></tr>
  <tr><td>Régime Fiscal : <i><?php echo $recoltant->regime_fiscal; ?></i></td><td>Commune : <i><?php echo $recoltant->siege->code_postal." ".$recoltant->siege->commune; ?></i></td></tr>
  <tr><td>Tel. : <i><?php echo $recoltant->telephone; ?></i></td><td>Fax : <i><?php echo $recoltant->fax; ?></i></td></tr>
</table>
</td></tr></table>

<span style="background-color: black; color: white; font-weight: bold;">Gestionnaire de l&apos;exploitation</span><br/>
<table style="border: 1px solid black;"><tr><td>
<table border="0" style="margin: 0px; padding: 0px;">
  <tr><td>Nom et prénom : <i><?php echo $recoltant->exploitant->nom; ?></i></td><td>Né le <i><?php echo $recoltant->exploitant->date_naissance; ?></i></td></tr>
  <tr><td>Adresse complete : <i><?php echo $recoltant->exploitant->adresse.', '.$recoltant->exploitant->code_postal.' '.$recoltant->exploitant->commune; ?></i></td><td>Tel. <i><?php echo $recoltant->exploitant->telephone; ?></i></td></tr>
</table>
</td></tr></table>
  <div><span style="background-color: black; color: white; font-weight: bold;"><?php echo $libelle_appellation; ?></span></div>
<table border=1 cellspacing=0 cellpaggind=0 style="text-align: center; border: 1px solid black;">
<?php 

if (!function_exists('printColonne')) {
  function printColonne($libelle, $colonnes, $key, $unite = '') {
    echo '<tr><th style="text-align: left; font-weight: bold; width: 200px;">'.$libelle.'</th>';
    foreach($colonnes as $c) {
      if (isset($c[$key]) && $v = $c[$key]) {
	echo '<td style="width: 120px;">';
	if ($c['type'] == 'total')    echo '<b>';
	echo $v;
	if ($c['type'] == 'total')    echo '</b>';
	if ($unite)
	  echo "&nbsp;<small>$unite</small>";
	echo '</td>';
      }else
	echo '<td style="width: 120px;">&nbsp;</td>';
    }
    echo '</tr>';
  }
}

echo printColonne('Cépage', $colonnes_cepage, 'cepage');
echo printColonne('Dénom. complém.', $colonnes_cepage, 'denomination');
echo printColonne('Superficie', $colonnes_cepage, 'superficie', 'ares');
echo printColonne('Récolte totale', $colonnes_cepage, 'volume', 'hl');
foreach ($acheteurs as $cvi => $val) {
  echo printColonne('Vente à '.$cvi, $colonnes_cepage, $cvi, 'hl');
}
echo printColonne('Cave particulière', $colonnes_cepage, 'cave_particuliere', 'hl');
echo printColonne('Volume revendiqué', $colonnes_cepage, 'revendique', 'hl');
echo printColonne('DPLC', $colonnes_cepage, 'dplc', 'hl');
?>
</table>
<?php if (count($acheteurs)) : ?>
<div style="margin-top: 20px;">
<div><span style="background-color: black; color: white; font-weight: bold;">Identification des acheteurs et caves coopératives</span></div>
<table border=1 cellspacing=0 cellpaggind=0 style="text-align: center; border: 1px solid black;">
  <tr style="font-weight: bold;"><th style="width: 100px;">N° CVI</th><th style="width: 300px;">Raison social (commune)</th><th style="width: 100px;">Superficie</th><th style="width: 120px;">Vente raisins</th><th style="width: 100px;">dont DPLC</th></tr>
  <?php foreach($acheteurs as $cvi => $a) : ?>
  <tr><td style="width: 100px;"><?php echo $cvi; ?></td><td style="width: 300px;"><?php echo $cvi; ?></td><td style="width: 100px;"><?php echo $a->superficie; ?>&nbsp;</td><td  style="width: 120px;"><?php echo $a->volume; ?>&nbsp;<small>hl</small></td><td style="width: 100px;"><?php echo $a->dontdplc; ?>&nbsp;</td></tr>
  <?php endforeach; ?>
</table>
</div>
<?php endif;?>


{'fraction_non_alphanumeric': 0.24924774322968907, 'fraction_numerical': 0.014042126379137413, 'mean_word_length': 6.022007042253521, 'pattern_counts': {'":': 0, '<': 322, '<?xml version=': 0, '>': 382, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4146399', 'n_tokens_mistral': 3159, 'n_tokens_neox': 3039, 'n_words': 649}