35 lines
1.3 KiB
PHP
35 lines
1.3 KiB
PHP
<table class="PositionGiant" width="100%">
|
|
<tr>
|
|
<?php foreach($Position as $person) {?>
|
|
<?php if (isset($person->OtherPositions))
|
|
{
|
|
$OtherCompany = '<b>'.SelectTrueLabel($this->labelConfig['Section_rapportPosition'], 'OtherCompany').'</b><br />';
|
|
foreach($person->OtherPositions as $other)
|
|
{
|
|
$OtherCompany .=
|
|
'<table>'.
|
|
'<tr>'.
|
|
'<td colspan="2">'.
|
|
'<a target="_blank" href="/?page=GiantIdentiteSociete&pays='.$other->Company->Country.'&company='.$other->Company->CompanyId.'">'.
|
|
$other->Company->CompanyName->_.
|
|
'</a>'.
|
|
'</td>'.
|
|
'</tr>'.
|
|
'<tr>'.
|
|
'<td>'.SelectTrueLabel($this->labelConfig, 'StartDate').'</td>'.
|
|
'<td>'.$other->Period->StartDate->_.'</td>'.
|
|
'</tr>'.
|
|
'</table>';
|
|
}
|
|
}
|
|
?>
|
|
<tr>
|
|
<td><?php echo $person->Person->Title;?></td>
|
|
<?php if($person->Person->Gender == 'Male'){$genre = 'M.';} else {$genre = 'Mme.';}?>
|
|
<td id="name" class="GiantTooltip" title="<?php echo htmlentities($OtherCompany);?>" ><?php echo $genre. ' ' . $person->Person->LastName?></td>
|
|
<td><b><?php echo SelectTrueLabel($this->labelConfig['Section_rapportPosition'], 'Born ').'</b>'. $person->Person->DateOfBirth->_.' <b>à</b> '.$person->Person->PlaceOfBirth?></td>
|
|
|
|
</tr>
|
|
<?php }?>
|
|
</tr>
|
|
</table>
|