" . $place["city"] . "
");
}
if (isset($place["dept"])) {
$info = true;
echo("" . $place["dept"] . "
");
}
if (isset($place["country"])) {
$info = true;
echo($place["country"] . "
");
}
if (!$info) {
echo("Non renseigné");
}
}
if (isset($_GET['_']) && trim($_GET['_']) !== "" && isset($data[$_GET['_']])) {
$id = $_GET['_'];
$person = $data[$_GET['_']];
} else {
header("Location: /");
die();
}
$_TITLE = $person["famname"] . " " . $person["surname"] . " (#" . $id . ")"; require_once $_SERVER['DOCUMENT_ROOT'] . "/private/header.php"; ?>
Noms et prénoms | |
Nom de famille | ">= strtoupper($person["famname"]) ?> |
Premier prénom | ">= $person["surname"] ?> |
Prénoms alternatifs | ' . $name . ' '); } } ?> |
Nom complet | = strtoupper($person["famname"]) ?> = strtoupper($person["surname"]) ?> = strtoupper(implode(" ", $person["altnames"])) ?> |
Informations générales | |
Identifiant généalogique | #= $id ?> |
Sexe | |
Date de naissance | = strftime("%A %e %B", strtotime($person["birth"]["date"]["day"] . "-" . $person["birth"]["date"]["month"] . "-" . $person["birth"]["date"]["year"])) ?> ">= strftime("%Y", strtotime("1-1-" . $person["birth"]["date"]["year"])) ?> |
Mois de naissance | = strftime("%B", strtotime("1-" . $person["death"]["date"]["month"] . "-" . $person["death"]["date"]["year"])) ?> ">= strftime("%Y", strtotime("1-1-" . $person["birth"]["date"]["year"])) ?> |
Année de naissance | ">= strftime("%Y", strtotime("1-1-" . $person["birth"]["date"]["year"])) ?> |
Date de naissance | Non renseignée |
Lieux et endroits | |
Lieu de naissance | |
Lieu de décès | |
Lieu de mariage |
Dates | |
Date de naissance | = strftime("%A %e %B", strtotime($person["birth"]["date"]["day"] . "-" . $person["birth"]["date"]["month"] . "-" . $person["birth"]["date"]["year"])) ?> ">= strftime("%Y", strtotime("1-1-" . $person["birth"]["date"]["year"])) ?> |
Mois de naissance | = strftime("%B", strtotime("1-" . $person["birth"]["date"]["month"] . "-" . $person["birth"]["date"]["year"])) ?> ">= strftime("%Y", strtotime("1-1-" . $person["birth"]["date"]["year"])) ?> |
Année de naissance | ">= strftime("%Y", strtotime("1-1-" . $person["birth"]["date"]["year"])) ?> |
Date de naissance | Non renseigné |
Date de décès | = strftime("%A %e %B", strtotime($person["death"]["date"]["day"] . "-" . $person["death"]["date"]["month"] . "-" . $person["death"]["date"]["year"])) ?> ">= strftime("%Y", strtotime("1-1-" . $person["death"]["date"]["year"])) ?> |
Mois de décès | = strftime("%B", strtotime("1-" . $person["death"]["date"]["month"] . "-" . $person["death"]["date"]["year"])) ?> ">= strftime("%Y", strtotime("1-1-" . $person["death"]["date"]["year"])) ?> |
Année de décès | ">= strftime("%Y", strtotime("1-1-" . $person["death"]["date"]["year"])) ?> |
Date de décès | Non applicable |
Date de mariage | = strftime("%A %e %B", strtotime($person["family"]["marriage"]["date"]["day"] . "-" . $person["family"]["marriage"]["date"]["month"] . "-" . $person["family"]["marriage"]["date"]["year"])) ?> ">= strftime("%Y", strtotime("1-1-" . $person["family"]["marriage"]["date"]["year"])) ?> |
Mois de mariage | = strftime("%B", strtotime("1-" . $person["family"]["marriage"]["date"]["month"] . "-" . $person["family"]["marriage"]["date"]["year"])) ?> ">= strftime("%Y", strtotime("1-1-" . $person["family"]["marriage"]["date"]["year"])) ?> |
Année de mariage | ">= strftime("%Y", strtotime("1-1-" . $person["family"]["marriage"]["date"]["year"])) ?> |
Date de mariage | Non applicable |
Date de mariage | Non applicable |
Liens de parenté | |
= $person["sex"] === "F" ? "Époux" : "Épouse" ?> | " . $data[$person["family"][$soid]]["famname"] . " " . $data[$person["family"][$soid]]["surname"] . " (#" . $person["family"][$soid] . ")"); } else { echo("Non applicable"); } if (isset($person["family"]["marriage"]) && isset($person["family"]["marriage"]["date"]["year"]) && isset($person["birth"]["date"]["year"])) { echo(" (marié" . ($person["sex"] === "F" ? "e" : "") . " à " . ($person["family"]["marriage"]["date"]["year"] - $person["birth"]["date"]["year"]) . " ans)"); } else if (!isset($person["family"]["marriage"])) { echo(" (pas de mariage)"); } ?> |
Enfant 1) { echo("s"); } } ?> | " . $data[$child]["famname"] . " " . $data[$child]["surname"] . " (#" . $child . ")");
if (isset($person["birth"]["date"]["year"]) && isset($data[$child]["birth"]["date"]["year"])) {
echo(" (né" . ($data[$child]["sex"] === "F" ? "e" : "") . " à " . ($data[$child]["birth"]["date"]["year"] - $person["birth"]["date"]["year"]) . " ans)");
}
echo(" "); } } if (!$found) { echo("Non applicable"); } ?> |
Père | $potential) {
if (isset($potential["family"]) && count($potential["family"]["children"]) > 0 && in_array($id, $potential["family"]["children"]) && $potential["sex"] !== "F") {
$found = true;
echo("" . $potential["famname"] . " " . $potential["surname"] . " (#" . $potid . ") "); } } if (!$found) { echo("Non renseigné"); } ?> |
Mère | $potential) {
if (isset($potential["family"]) && count($potential["family"]["children"]) > 0 && in_array($id, $potential["family"]["children"]) && $potential["sex"] === "F") {
$found = true;
echo("" . $potential["famname"] . " " . $potential["surname"] . " (#" . $potid . ") "); } } if (!$found) { echo("Non renseigné"); } ?> |