<div id="center">
<h1>DIRIGEANTS</h1>
<div class="paragraph">
<table class="identite">
  <tr>
    <td width="30">&nbsp;</td>
    <td width="200" class="StyleInfoLib">
      Num&eacute;ro identifiant Siren
    </td>
    <td width="350" class="StyleInfoData">
      <?=$this->SirenTexte($this->siren)?>
    </td>
  </tr>
  <tr>
    <td width="30">&nbsp;</td>
    <td width="200" class="StyleInfoLib">Raison Sociale</td>
    <td width="350" class="StyleInfoData"><?=$this->raisonSociale?></td>
  </tr>
  <tr>
    <td width="30">&nbsp;</td>
    <td colspan="2" width="550" class="StyleInfoData">
    <?=$this->action('infos','surveillance', null, array(
     	'source' => 'dirigeants',
     	'siret' => $this->siret
     ))?>
	</td>
  </tr>
</table>
</div>

<h2>Historique des dirigeants</h2>
<div class="paragraph">
<table>
<?php
if (count($this->dirigeants) > 0) {
	foreach ($this->dirigeants as $dir) {
    ?>
    <tr>
    <td class="StyleInfoData" width="270"><?=$dir->Titre?></td>
	<td class="StyleInfoData" width="200"><?=$dir->Societe.' '.$dir->Nom.' '.$dir->Prenom?></td>
    <td class="StyleInfoData" width="200">
    <?php if ($dir->DateFct != '') { ?>
    Modification le
	<?php
    	if (strpos($dir->DateFct, '/') != false) {
    		echo $dir->DateFct.' ';
		} else {
        	$wdate = new WDate();
            echo $wdate->dateT('Y-m-d', 'd/m/Y', $dir->DateFct);
		}
	}
	?>
    </td>
    </tr>
	<?php
    }
} else {
?>
<tr>
<td class="StyleInfoData" width="550">
Aucune donn&eacute;e n'est pr&eacute;sente dans notre base
</td>
</tr>
<?php }?>
</table>
</div>

</div>