From d0982c5250d2e33c824ddccb8bd245ca39faa724 Mon Sep 17 00:00:00 2001 From: Minteck Date: Wed, 12 Jan 2022 18:58:54 +0100 Subject: Upadte --- search/marriage/results/index.php | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 search/marriage/results/index.php (limited to 'search/marriage/results/index.php') diff --git a/search/marriage/results/index.php b/search/marriage/results/index.php new file mode 100644 index 0000000..172a124 --- /dev/null +++ b/search/marriage/results/index.php @@ -0,0 +1,38 @@ + $person) { + if (isset($person["family"]) && isset($person["family"]["marriage"]["date"]) && isset($person["family"]["marriage"]["date"]["year"])) { + if ((string)$person["family"]["marriage"]["date"]["year"] === $q) { + $results[] = $id; + } + } +} +if (count($results) === 0): ?> + + +
+ + # + +
+ \ No newline at end of file -- cgit