toString(); // lists requires a unique ID in case there are multiple lists per page $hundred_years_ago = new Date(date('Y') - 100); ?> getPreference('MAX_ALIVE_AGE'); // init chart data $marr_by_age = []; for ($age = 0; $age <= $max_age; $age++) { $marr_by_age[$age] = ''; } $birt_by_decade = []; $marr_by_decade = []; for ($year = 1550; $year < 2030; $year += 10) { $birt_by_decade[$year] = ''; $marr_by_decade[$year] = ''; } ?>
= I18N::translate('Given names') ?> | = I18N::translate('Surname') ?> | = I18N::translate('Age') ?> | = I18N::translate('Given names') ?> | = I18N::translate('Surname') ?> | = I18N::translate('Age') ?> | = I18N::translate('Marriage') ?> | = I18N::translate('Place') ?> | = I18N::translate('Last change') ?> | |||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
getAllNames() as $num => $name) : ?>
getPrimaryName()) : ?>
= $name['full'] ?>
getPrimaryName()) : ?>
= $husb->getSexImage() ?>
= $husb->getPrimaryParentsNames('parents details1', 'none') ?> |
getMarriageDate(); $hdate = $husb->getBirthDate(); if ($hdate->isOK() && $mdate->isOK()) { if ($hdate->gregorianYear() >= 1550 && $hdate->gregorianYear() < 2030) { $birt_by_decade[(int) ($hdate->gregorianYear() / 10) * 10] .= $husb->getSex(); } $hage = Date::getAgeYears($hdate, $mdate); if ($hage >= 0 && $hage <= $max_age) { $marr_by_age[$hage] .= $husb->getSex(); } } ?> | = Date::getAge($hdate, $mdate) ?> |
getAllNames() as $num => $name) : ?>
getPrimaryName()) : ?>
= $name['full'] ?>
getPrimaryName()) : ?>
= $wife->getSexImage() ?>
= $wife->getPrimaryParentsNames('parents details1', 'none') ?> |
getBirthDate(); if ($wdate->isOK() && $mdate->isOK()) { if ($wdate->gregorianYear() >= 1550 && $wdate->gregorianYear() < 2030) { $birt_by_decade[(int) ($wdate->gregorianYear() / 10) * 10] .= $wife->getSex(); } $wage = Date::getAgeYears($wdate, $mdate); if ($wage >= 0 && $wage <= $max_age) { $marr_by_age[$wage] .= $wife->getSex(); } } ?> | = Date::getAge($wdate, $mdate) ?> |
getAllMarriageDates()) : ?>
$marriage_date) : ?>
= $marriage_date->display(true) ?>
gregorianYear() >= 1550 && $marriage_dates[0]->gregorianYear() < 2030) : ?>
gregorianYear() / 10) * 10] .= $husb->getSex() . $wife->getSex() ?>
facts(['_NMR'])) : ?>
= I18N::translate('no') ?>
facts(['MARR'])) : ?>
= I18N::translate('yes') ?>
|
= Date::getAge($family->getMarriageDate(), null) ?> |
getAllMarriagePlaces() as $n => $marriage_place) : ?>
= $marriage_place->getShortName() ?>
|
= I18N::number($family->getNumberOfChildren()) ?> | = $family->lastChangeTimestamp() ?> | canShow() || !$mdate->isOK()) : ?> U 0) : ?> Y100 YES facts(Gedcom::DIVORCE_EVENTS)) : ?> D getSpouseFamilies()) > 1 || count($wife->getSpouseFamilies()) > 1) : ?> M | isDead() && $wife->isDead()) : ?> Y isDead() && !$wife->isDead()) : ?> getSex() == 'F') : ?> H getSex() == 'M') : ?> W isDead() && $wife->isDead()) : ?> getSex() == 'M') : ?> W getSex() == 'F') : ?> H isDead() && !$wife->isDead()) : ?> N | getChildFamilies() && !$wife->getChildFamilies()) : ?> R isDead() && !$wife->isDead() && $family->getNumberOfChildren() === 0) : ?> L |