37 lines
1.1 KiB
PHP

<script>
function affCache(idpr)
{
var pr = document.getElementById(idpr);
if (pr.style.display == "") {
pr.style.display = "none";
} else {
pr.style.display = "";
}
}
</script>
<div style="border:1px solid silver;background-color:#E0E1E6" align="center">
Cliquez pour afficher la liste
<div align="right" style="float:right">
<img src="/pages/giant/media/icons/application_put.png" onclick="affCache('pr1');" style="cursor:pointer" />
</div>
</div>
<div id="pr1" style="display:none">
<?php
foreach (getArray($Position) as $t) {
if (isset($t->Person) == false) {
continue;
}
if (isset($t->Period->StartDate) == true) {
echo '<b>'.pdate($t->Period->StartDate);
}
echo ' - ';
if (isset($t->Period->EndDate) == true) {
echo pdate($t->Period->EndDate) .' : ';
}
echo '</b>'.$t->PositionTitle->_.' '.$t->Person->LastName . '<br />';
if (isset($t->Person->FirstName) == true) {
echo ' '.$t->Person->FirstName;
}
}
?></div>