35 lines
1.3 KiB
PHP
Raw Normal View History

2011-04-06 13:13:14 +00:00
<table class="PositionGiant" width="100%">
<tr>
<?php foreach($Position as $person) {?>
<?php if (isset($person->OtherPositions))
{
2011-04-06 13:13:14 +00:00
$OtherCompany = '<b>'.SelectTrueLabel($this->labelConfig['Section_rapportPosition'], 'OtherCompany').'</b><br />';
foreach($person->OtherPositions as $other)
{
2011-04-06 13:13:14 +00:00
$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>';
}
}
?>
2011-04-06 13:13:14 +00:00
<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>