2012-11-29 15:19:24 +00:00

69 lines
1.7 KiB
PHTML

<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>
<?php if ($this->surveillance) {?>
<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>
<?php }?>
</table>
</div>
<h2>Historique des dirigeants</h2>
<div class="paragraph">
<?php if (count($this->dirigeants) > 0) {?>
<style>
table.data td { border:1px solid #ccc; padding:5px; }
</style>
<table class="data">
<?php 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 }?>
</table>
<?php } else {?>
<table>
<tr>
<td class="StyleInfoData" width="550">
Aucune donn&eacute;e n'est pr&eacute;sente dans notre base
</td>
</tr>
</table>
<?php }?>
</div>
<?=$this->render('cgu.phtml', $this->cgu)?>
</div>