From 879a6237b186768356f99caf992f0d25d5ec8612 Mon Sep 17 00:00:00 2001 From: Minteck Date: Sun, 5 Dec 2021 16:38:49 +0100 Subject: Commit --- app/genealogy/search/birth/results/index.php | 38 ++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 app/genealogy/search/birth/results/index.php (limited to 'app/genealogy/search/birth/results/index.php') diff --git a/app/genealogy/search/birth/results/index.php b/app/genealogy/search/birth/results/index.php new file mode 100644 index 0000000..48c6392 --- /dev/null +++ b/app/genealogy/search/birth/results/index.php @@ -0,0 +1,38 @@ + $person) { + if (isset($person["birth"]["date"]) && isset($person["birth"]["date"]["year"])) { + if ((string)$person["birth"]["date"]["year"] === $q) { + $results[] = $id; + } + } +} +if (count($results) === 0): ?> + + +
+ + # + +
+ \ No newline at end of file -- cgit