23 lines
654 B
PHP
Raw Normal View History

<?php
if (isset($Even) == true) {
$tab = getArray($Even);
usort($tab, 'cmp');
foreach ($tab as $t) {
if (isset($t->Value) == true) {
$desc = printObj($t->Value);
if ( isset($t->Description->_) == true) {
$desc = $t->Description->_.' '.$desc;
}
echo '<b>'.pdate($t->Date) . '</b> ' .$desc;
} else if (isset($t->Description->_) == true) {
echo '<b>'.pdate($t->Date).'</b> '.$t->Description->_;
} else {
echo '<b>'.pdate($t->Date) . '</b>('.$t->EventCode.')';
echo '<br />';
}
}
}
?>